/freebsd/sys/dev/ata/chipsets/ |
H A D | ata-cyrix.c | 61 ata_cyrix_probe(device_t dev) in ata_cyrix_probe() 74 ata_cyrix_chipinit(device_t dev) in ata_cyrix_chipinit() 86 ata_cyrix_ch_attach(device_t dev) in ata_cyrix_ch_attach() 96 ata_cyrix_setmode(device_t dev, int target, int mode) in ata_cyrix_setmode()
|
H A D | ata-national.c | 61 ata_national_probe(device_t dev) in ata_national_probe() 75 ata_national_chipinit(device_t dev) in ata_national_chipinit() 88 ata_national_ch_attach(device_t dev) in ata_national_ch_attach() 98 ata_national_setmode(device_t dev, int target, int mode) in ata_national_setmode()
|
H A D | ata-ati.c | 70 ata_ati_probe(device_t dev) in ata_ati_probe() 125 ata_ati_chipinit(device_t dev) in ata_ati_chipinit() 177 ata_ati_dumb_ch_attach(device_t dev) in ata_ati_dumb_ch_attach() 188 ata_ati_ixp700_ch_attach(device_t dev) in ata_ati_ixp700_ch_attach() 205 ata_ati_setmode(device_t dev, int target, int mode) in ata_ati_setmode()
|
/freebsd/sys/dev/ppbus/ |
H A D | ppbconf.c | 51 #define DEVTOSOFTC(dev) ((struct ppb_data *)device_get_softc(dev)) argument 62 ppbus_print_child(device_t bus, device_t dev) in ppbus_print_child() 80 ppbus_probe(device_t dev) in ppbus_probe() 93 ppbus_add_child(device_t dev, u_int order, const char *name, int unit) in ppbus_add_child() 116 ppbus_read_ivar(device_t bus, device_t dev, int index, uintptr_t* val) in ppbus_read_ivar() 132 ppbus_write_ivar(device_t bus, device_t dev, int index, uintptr_t val) in ppbus_write_ivar() 380 ppbus_attach(device_t dev) in ppbus_attach() 423 ppbus_detach(device_t dev) in ppbus_detach() 505 ppb_request_bus(device_t bus, device_t dev, int how) in ppb_request_bus() 554 ppb_release_bus(device_t bus, device_t dev) in ppb_release_bus()
|
/freebsd/sys/dev/tws/ |
H A D | tws.c | 111 tws_open(struct cdev *dev, int oflags, int devtype, struct thread *td) in tws_open() 121 tws_close(struct cdev *dev, int fflag, int devtype, struct thread *td) in tws_close() 131 tws_read(struct cdev *dev, struct uio *uio, int ioflag) in tws_read() 141 tws_write(struct cdev *dev, struct uio *uio, int ioflag) in tws_write() 157 tws_probe(device_t dev) in tws_probe() 178 tws_attach(device_t dev) in tws_attach() 346 tws_detach(device_t dev) in tws_detach() 776 tws_shutdown(device_t dev) in tws_shutdown() 793 tws_suspend(device_t dev) in tws_suspend() 806 tws_resume(device_t dev) in tws_resume()
|
/freebsd/sys/dev/tdfx/ |
H A D | tdfx_pci.c | 103 tdfx_probe(device_t dev) in tdfx_probe() 133 tdfx_attach(device_t dev) { in tdfx_attach() 253 tdfx_detach(device_t dev) { in tdfx_detach() 287 tdfx_shutdown(device_t dev) { in tdfx_shutdown() 295 tdfx_clrmtrr(device_t dev) { in tdfx_clrmtrr() 308 tdfx_setmtrr(device_t dev) { in tdfx_setmtrr() 380 tdfx_open(struct cdev *dev, int flags, int fmt, struct thread *td) in tdfx_open() 397 tdfx_close(struct cdev *dev, int fflag, int devtype, struct thread *td) in tdfx_close() 413 tdfx_mmap(struct cdev *dev, vm_ooffset_t offset, vm_paddr_t *paddr, in tdfx_mmap() 768 tdfx_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag, struct thread *td) in tdfx_ioctl()
|
/freebsd/sys/dev/pwm/controller/allwinner/ |
H A D | aw_pwm.c | 78 device_t dev; member 117 aw_pwm_probe(device_t dev) in aw_pwm_probe() 130 aw_pwm_attach(device_t dev) in aw_pwm_attach() 201 aw_pwm_detach(device_t dev) in aw_pwm_detach() 223 aw_pwm_get_node(device_t bus, device_t dev) in aw_pwm_get_node() 234 aw_pwm_channel_count(device_t dev, u_int *nchannel) in aw_pwm_channel_count() 243 aw_pwm_channel_config(device_t dev, u_int channel, u_int period, u_int duty) in aw_pwm_channel_config() 323 aw_pwm_channel_get_config(device_t dev, u_int channel, u_int *period, u_int *duty) in aw_pwm_channel_get_config() 336 aw_pwm_channel_enable(device_t dev, u_int channel, bool enable) in aw_pwm_channel_enable() 360 aw_pwm_channel_is_enabled(device_t dev, u_int channel, bool *enabled) in aw_pwm_channel_is_enabled()
|
/freebsd/sys/dev/ofw/ |
H A D | ofw_firmware.c | 47 device_t dev; member 51 ofw_firmware_setup_dinfo(device_t dev, phandle_t node, in ofw_firmware_setup_dinfo() 77 ofw_firmware_add_device(device_t dev, phandle_t node, u_int order, in ofw_firmware_add_device() 101 ofw_firmware_probe(device_t dev) in ofw_firmware_probe() 122 ofw_firmware_attach(device_t dev) in ofw_firmware_attach()
|
/freebsd/share/examples/kld/cdev/module/ |
H A D | cdev.c | 101 mydev_open(struct cdev *dev, int flag, int otyp, struct thread *td) in mydev_open() 113 mydev_close(struct cdev *dev, int flag, int otyp, struct thread *td) in mydev_close() 123 mydev_ioctl(struct cdev *dev, u_long cmd, caddr_t arg, int mode, in mydev_ioctl() 149 mydev_write(struct cdev *dev, struct uio *uio, int ioflag) in mydev_write() 169 mydev_read(struct cdev *dev, struct uio *uio, int ioflag) in mydev_read()
|
/freebsd/contrib/libfido2/regress/ |
H A D | dev.c | 167 fido_dev_t *dev = NULL; in open_iff_ok() local 190 fido_dev_t *dev = NULL; in reopen() local 219 fido_dev_t *dev = NULL; in double_open() local 244 fido_dev_t *dev = NULL; in double_close() local 271 fido_dev_t *dev = NULL; in is_fido2() local 315 fido_dev_t *dev = NULL; in has_pin() local 352 fido_dev_t *dev = NULL; in timeout_rx() local 388 fido_dev_t *dev = NULL; in timeout_ok() local 414 fido_dev_t *dev; in timeout_misc() local
|
/freebsd/sys/dev/bhnd/siba/ |
H A D | siba_bhndb.c | 89 siba_bhndb_probe(device_t dev) in siba_bhndb_probe() 110 siba_bhndb_attach(device_t dev) in siba_bhndb_attach() 145 siba_bhndb_resume(device_t dev) in siba_bhndb_resume() 162 siba_bhndb_suspend_cfgblocks(device_t dev, struct siba_devinfo *dinfo) { in siba_bhndb_suspend_cfgblocks() 173 siba_bhndb_suspend_child(device_t dev, device_t child) in siba_bhndb_suspend_child() 194 siba_bhndb_resume_child(device_t dev, device_t child) in siba_bhndb_resume_child()
|
/freebsd/sys/arm/ti/clk/ |
H A D | ti_gate_clock.c | 48 #define DPRINTF(dev, msg...) device_printf(dev, msg) argument 50 #define DPRINTF(dev, msg...) argument 93 ti_gate_probe(device_t dev) in ti_gate_probe() 131 ti_gate_attach(device_t dev) in ti_gate_attach() 207 ti_gate_detach(device_t dev) in ti_gate_detach() 213 ti_gate_new_pass(device_t dev) { in ti_gate_new_pass()
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_pci.c | 374 lkpinew_pci_dev(device_t dev) in lkpinew_pci_dev() 388 device_t dev; in lkpi_pci_get_class() local 407 device_t dev; in lkpi_pci_get_domain_bus_and_slot() local 419 linux_pci_probe(device_t dev) in linux_pci_probe() 438 linux_pci_attach(device_t dev) in linux_pci_attach() 457 device_t dev; in linux_pci_reserve_bar() local 554 linux_pci_detach(device_t dev) in linux_pci_detach() 878 linux_pci_resume(device_t dev) in linux_pci_resume() 1022 device_t dev; in pci_resource_start() local 1304 struct device *dev; in lkpi_pci_msi_desc_alloc() local [all …]
|
/freebsd/sys/dev/dwc/ |
H A D | if_dwc_socfpga.c | 56 if_dwc_socfpga_probe(device_t dev) in if_dwc_socfpga_probe() 71 if_dwc_socfpga_init(device_t dev) in if_dwc_socfpga_init() 78 if_dwc_socfpga_mii_clk(device_t dev) in if_dwc_socfpga_mii_clk()
|
/freebsd/sys/powerpc/powernv/ |
H A D | opal_nvram.c | 117 opal_nvram_probe(device_t dev) in opal_nvram_probe() 128 opal_nvram_attach(device_t dev) in opal_nvram_attach() 162 opal_nvram_detach(device_t dev) in opal_nvram_detach() 179 opal_nvram_open(struct cdev *dev, int flags, int fmt, struct thread *td) in opal_nvram_open() 197 opal_nvram_close(struct cdev *dev, int fflag, int devtype, struct thread *td) in opal_nvram_close() 209 opal_nvram_read(struct cdev *dev, struct uio *uio, int ioflag) in opal_nvram_read() 246 opal_nvram_write(struct cdev *dev, struct uio *uio, int ioflag) in opal_nvram_write() 287 opal_nvram_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int fflag, in opal_nvram_ioctl()
|
/freebsd/sys/dev/iicbus/rtc/ |
H A D | s35390a.c | 156 s390rtc_read(device_t dev, uint8_t reg, uint8_t *buf, size_t len) in s390rtc_read() 182 s390rtc_write(device_t dev, uint8_t reg, uint8_t *buf, size_t len) in s390rtc_write() 203 s390rtc_probe(device_t dev) in s390rtc_probe() 229 device_t dev; in s390rtc_start() local 273 s390rtc_attach(device_t dev) in s390rtc_attach() 287 s390rtc_detach(device_t dev) in s390rtc_detach() 295 s390rtc_gettime(device_t dev, struct timespec *ts) in s390rtc_gettime() 325 s390rtc_settime(device_t dev, struct timespec *ts) in s390rtc_settime()
|
/freebsd/sys/x86/x86/ |
H A D | legacy.c | 61 #define DEVTOAT(dev) ((struct legacy_device *)device_get_ivars(dev)) argument 104 legacy_probe(device_t dev) in legacy_probe() 118 legacy_pci_cfgregopen(device_t dev) in legacy_pci_cfgregopen() 153 legacy_attach(device_t dev) in legacy_attach() 219 legacy_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) in legacy_read_ivar() 243 legacy_write_ivar(device_t dev, device_t child, int which, uintptr_t value) in legacy_write_ivar() 357 cpu_get_rlist(device_t dev, device_t child) in cpu_get_rlist() 366 cpu_read_ivar(device_t dev, device_t child, int index, uintptr_t *result) in cpu_read_ivar()
|
/freebsd/sys/arm/nvidia/ |
H A D | tegra_gpio.c | 124 device_t dev; member 191 tegra_gpio_get_bus(device_t dev) in tegra_gpio_get_bus() 200 tegra_gpio_pin_max(device_t dev, int *maxpin) in tegra_gpio_pin_max() 208 tegra_gpio_pin_getcaps(device_t dev, uint32_t pin, uint32_t *caps) in tegra_gpio_pin_getcaps() 246 tegra_gpio_pin_getname(device_t dev, uint32_t pin, char *name) in tegra_gpio_pin_getname() 302 tegra_gpio_pin_get(device_t dev, uint32_t pin, unsigned int *val) in tegra_gpio_pin_get() 318 tegra_gpio_pin_toggle(device_t dev, uint32_t pin) in tegra_gpio_pin_toggle() 701 tegra_gpio_probe(device_t dev) in tegra_gpio_probe() 720 tegra_gpio_detach(device_t dev) in tegra_gpio_detach() 752 tegra_gpio_attach(device_t dev) in tegra_gpio_attach() [all …]
|
/freebsd/sys/dev/usb/controller/ |
H A D | dwc_otg_fdt.c | 66 dwc_otg_probe(device_t dev) in dwc_otg_probe() 81 dwc_otg_irq_index(device_t dev, int *rid) in dwc_otg_irq_index() 95 dwc_otg_attach(device_t dev) in dwc_otg_attach() 162 dwc_otg_detach(device_t dev) in dwc_otg_detach()
|
/freebsd/sys/arm/mv/armada38x/ |
H A D | pmsu.c | 57 device_t dev; member 82 pmsu_probe(device_t dev) in pmsu_probe() 97 pmsu_attach(device_t dev) in pmsu_attach() 115 pmsu_detach(device_t dev) in pmsu_detach()
|
/freebsd/sys/dev/acpica/ |
H A D | acpi_pcib_pci.c | 96 acpi_pcib_pci_probe(device_t dev) in acpi_pcib_pci_probe() 113 acpi_pcib_pci_attach(device_t dev) in acpi_pcib_pci_attach() 128 acpi_pcib_pci_detach(device_t dev) in acpi_pcib_pci_detach() 143 acpi_pcib_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) in acpi_pcib_read_ivar() 156 acpi_pcib_pci_route_interrupt(device_t pcib, device_t dev, int pin) in acpi_pcib_pci_route_interrupt()
|
/freebsd/sys/dev/itwd/ |
H A D | itwd.c | 53 device_t dev = priv; in wd_func() local 109 device_t dev = cookie; in itwd_intr() local 119 itwd_probe(device_t dev) in itwd_probe() 131 itwd_attach(device_t dev) in itwd_attach() 197 itwd_detach(device_t dev) in itwd_detach()
|
/freebsd/sys/dev/ath/ |
H A D | if_ath_pci.c | 109 ath_pci_setup(device_t dev) in ath_pci_setup() 149 ath_pci_probe(device_t dev) in ath_pci_probe() 162 ath_pci_attach(device_t dev) in ath_pci_attach() 308 ath_pci_detach(device_t dev) in ath_pci_detach() 343 ath_pci_shutdown(device_t dev) in ath_pci_shutdown() 352 ath_pci_suspend(device_t dev) in ath_pci_suspend() 362 ath_pci_resume(device_t dev) in ath_pci_resume()
|
/freebsd/sys/dev/ow/ |
H A D | owc_gpiobus.c | 75 owc_gpiobus_probe(device_t dev) in owc_gpiobus_probe() 98 owc_gpiobus_attach(device_t dev) in owc_gpiobus_attach() 141 owc_gpiobus_detach(device_t dev) in owc_gpiobus_detach() 184 owc_gpiobus_write_one(device_t dev, struct ow_timing *t) in owc_gpiobus_write_one() 219 owc_gpiobus_write_zero(device_t dev, struct ow_timing *t) in owc_gpiobus_write_zero() 257 owc_gpiobus_read_data(device_t dev, struct ow_timing *t, int *bit) in owc_gpiobus_read_data() 319 owc_gpiobus_reset_and_presence(device_t dev, struct ow_timing *t, int *bit) in owc_gpiobus_reset_and_presence()
|
/freebsd/sys/dev/gpio/ |
H A D | gpiopps.c | 51 device_t dev; member 65 gpiopps_open(struct cdev *dev, int flags, int fmt, struct thread *td) in gpiopps_open() 78 gpiopps_close(struct cdev *dev, int flags, int fmt, struct thread *td) in gpiopps_close() 90 gpiopps_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int flags, struct thread *td) in gpiopps_ioctl() 152 gpiopps_detach(device_t dev) in gpiopps_detach() 169 gpiopps_fdt_attach(device_t dev) in gpiopps_fdt_attach() 255 gpiopps_fdt_probe(device_t dev) in gpiopps_fdt_probe()
|