/freebsd/sys/dev/nvme/ |
H A D | nvme_pci.c | 184 nvme_pci_attach(device_t dev) in nvme_pci_attach() 223 nvme_pci_detach(device_t dev) in nvme_pci_detach() 263 device_t dev; in nvme_ctrlr_setup_interrupts() local 342 nvme_pci_suspend(device_t dev) in nvme_pci_suspend() 351 nvme_pci_resume(device_t dev) in nvme_pci_resume()
|
/freebsd/sys/dev/iicbus/mux/ |
H A D | pca954x.c | 119 pca954x_bus_select(device_t dev, int busidx, struct iic_reqbus_data *rd) in pca954x_bus_select() 163 pca954x_find_chip(device_t dev) in pca954x_find_chip() 191 pca954x_probe(device_t dev) in pca954x_probe() 204 pca954x_attach(device_t dev) in pca954x_attach() 223 pca954x_detach(device_t dev) in pca954x_detach()
|
/freebsd/sys/dev/sdhci/ |
H A D | fsl_sdhci.c | 79 device_t dev; member 204 fsl_sdhci_read_1(device_t dev, struct sdhci_slot *slot, bus_size_t off) in fsl_sdhci_read_1() 258 fsl_sdhci_read_2(device_t dev, struct sdhci_slot *slot, bus_size_t off) in fsl_sdhci_read_2() 315 fsl_sdhci_read_4(device_t dev, struct sdhci_slot *slot, bus_size_t off) in fsl_sdhci_read_4() 368 fsl_sdhci_read_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, in fsl_sdhci_read_multi_4() 512 fsl_sdhci_write_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, in fsl_sdhci_write_multi_4() 761 fsl_sdhci_get_card_present(device_t dev, struct sdhci_slot *slot) in fsl_sdhci_get_card_present() 770 fsl_sdhci_get_platform_clock(device_t dev) in fsl_sdhci_get_platform_clock() 798 fsl_sdhci_detach(device_t dev) in fsl_sdhci_detach() 825 fsl_sdhci_attach(device_t dev) in fsl_sdhci_attach() [all …]
|
/freebsd/sys/dev/acpi_support/ |
H A D | acpi_wmi.c | 207 acpi_wmi_probe(device_t dev) in acpi_wmi_probe() 228 acpi_wmi_attach(device_t dev) in acpi_wmi_attach() 314 acpi_wmi_detach(device_t dev) in acpi_wmi_detach() 358 acpi_wmi_provides_guid_string_method(device_t dev, const char *guid_string) in acpi_wmi_provides_guid_string_method() 379 acpi_wmi_evaluate_call_method(device_t dev, const char *guid_string, in acpi_wmi_evaluate_call_method() 432 acpi_wmi_install_event_handler_method(device_t dev, const char *guid_string, in acpi_wmi_install_event_handler_method() 465 acpi_wmi_remove_event_handler_method(device_t dev, const char *guid_string) in acpi_wmi_remove_event_handler_method() 494 acpi_wmi_get_event_data_method(device_t dev, UINT32 event_id, ACPI_BUFFER *out) in acpi_wmi_get_event_data_method() 783 acpi_wmi_toggle_we_event_generation(device_t dev, struct wmi_info *winfo, in acpi_wmi_toggle_we_event_generation() 935 acpi_wmi_wmistat_close(struct cdev* dev, int flags, int mode, in acpi_wmi_wmistat_close() [all …]
|
/freebsd/contrib/libfido2/src/ |
H A D | largeblob.c | 157 largeblob_get_tx(fido_dev_t *dev, size_t offset, size_t count, int *ms) in largeblob_get_tx() 202 largeblob_get_rx(fido_dev_t *dev, fido_blob_t **chunk, int *ms) in largeblob_get_rx() 263 get_chunklen(fido_dev_t *dev) in get_chunklen() 434 largeblob_get_array(fido_dev_t *dev, cbor_item_t **item, int *ms) in largeblob_get_array() 649 largeblob_add(fido_dev_t *dev, const fido_blob_t *key, cbor_item_t *item, in largeblob_add() 693 largeblob_drop(fido_dev_t *dev, const fido_blob_t *key, const char *pin, in largeblob_drop() 727 fido_dev_largeblob_get(fido_dev_t *dev, const unsigned char *key_ptr, in fido_dev_largeblob_get() 773 fido_dev_largeblob_set(fido_dev_t *dev, const unsigned char *key_ptr, in fido_dev_largeblob_set() 818 fido_dev_largeblob_remove(fido_dev_t *dev, const unsigned char *key_ptr, in fido_dev_largeblob_remove() 844 fido_dev_largeblob_get_array(fido_dev_t *dev, unsigned char **cbor_ptr, in fido_dev_largeblob_get_array() [all …]
|
H A D | hid_osx.c | 39 get_int32(IOHIDDeviceRef dev, CFStringRef key, int32_t *v) in get_int32() 64 get_utf8(IOHIDDeviceRef dev, CFStringRef key, void *buf, size_t len) in get_utf8() 86 get_report_len(IOHIDDeviceRef dev, int dir, size_t *report_len) in get_report_len() 110 get_id(IOHIDDeviceRef dev, int16_t *vendor_id, int16_t *product_id) in get_id() 134 get_str(IOHIDDeviceRef dev, char **manufacturer, char **product) in get_str() 170 get_path(IOHIDDeviceRef dev) in get_path() 196 is_fido(IOHIDDeviceRef dev) in is_fido() 221 copy_info(fido_dev_info_t *di, IOHIDDeviceRef dev) in copy_info() 312 report_callback(void *context, IOReturn result, void *dev, IOHIDReportType type, in report_callback()
|
/freebsd/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_sdhci.c | 205 bcm_sdhci_probe(device_t dev) in bcm_sdhci_probe() 220 bcm_sdhci_attach(device_t dev) in bcm_sdhci_attach() 379 bcm_sdhci_detach(device_t dev) in bcm_sdhci_detach() 453 bcm_sdhci_read_1(device_t dev, struct sdhci_slot *slot, bus_size_t off) in bcm_sdhci_read_1() 462 bcm_sdhci_read_2(device_t dev, struct sdhci_slot *slot, bus_size_t off) in bcm_sdhci_read_2() 483 bcm_sdhci_read_4(device_t dev, struct sdhci_slot *slot, bus_size_t off) in bcm_sdhci_read_4() 500 bcm_sdhci_write_1(device_t dev, struct sdhci_slot *slot, bus_size_t off, in bcm_sdhci_write_1() 511 bcm_sdhci_write_2(device_t dev, struct sdhci_slot *slot, bus_size_t off, in bcm_sdhci_write_2() 752 bcm_sdhci_will_handle_transfer(device_t dev, struct sdhci_slot *slot) in bcm_sdhci_will_handle_transfer() 786 bcm_sdhci_start_transfer(device_t dev, struct sdhci_slot *slot, in bcm_sdhci_start_transfer() [all …]
|
/freebsd/sys/kern/ |
H A D | kern_cpu.c | 75 device_t dev; member 150 cpufreq_attach(device_t dev) in cpufreq_attach() 211 cpufreq_detach(device_t dev) in cpufreq_detach() 421 cpufreq_get_frequency(device_t dev) in cpufreq_get_frequency() 433 cpufreq_get_level(device_t dev, struct cf_level *levels, int count) in cpufreq_get_level() 453 cf_get_method(device_t dev, struct cf_level *level) in cf_get_method() 572 device_t dev; in cpufreq_add_levels() local 1032 device_t dev; in cpufreq_settings_sysctl() local 1078 cpufreq_register(device_t dev) in cpufreq_register() 1120 cpufreq_unregister(device_t dev) in cpufreq_unregister() [all …]
|
/freebsd/sys/dev/iicbus/pwm/ |
H A D | adt746x.c | 74 device_t dev; member 83 device_t dev; member 177 adt746x_read(device_t dev, uint32_t addr, uint8_t reg, uint8_t *data) in adt746x_read() 205 adt746x_probe(device_t dev) in adt746x_probe() 231 adt746x_attach(device_t dev) in adt746x_attach() 261 device_t dev = (device_t)xdev; in adt746x_start() local 345 adt746x_fill_fan_prop(device_t dev) in adt746x_fill_fan_prop() 397 adt746x_fill_sensor_prop(device_t dev) in adt746x_fill_sensor_prop() 465 adt746x_attach_fans(device_t dev) in adt746x_attach_fans() 571 device_t dev; in adt746x_sensor_sysctl() local [all …]
|
/freebsd/sys/geom/ |
H A D | geom_dev.c | 149 g_dev_setdumpdev(struct cdev *dev, struct diocskerneldump_arg *kda) in g_dev_setdumpdev() 175 init_dumpdev(struct cdev *dev) in init_dumpdev() 267 struct cdev *dev, *old_alias_dev; in g_dev_set_physpath() local 286 struct cdev *dev; in g_dev_set_media() local 331 g_dev_getprovider(struct cdev *dev) in g_dev_getprovider() 352 struct cdev *dev, *adev; in g_dev_taste() local 425 g_dev_open(struct cdev *dev, int flags, int fmt, struct thread *td) in g_dev_open() 478 g_dev_close(struct cdev *dev, int flags, int fmt, struct thread *td) in g_dev_close() 760 struct cdev *dev; in g_dev_strategy() local 848 struct cdev *dev; in g_dev_orphan() local [all …]
|
/freebsd/sys/arm/freescale/imx/ |
H A D | imx_i2c.c | 140 device_t dev; member 207 i2c_get_node(device_t bus, device_t dev) in i2c_get_node() 370 i2c_probe(device_t dev) in i2c_probe() 385 i2c_attach(device_t dev) in i2c_attach() 476 i2c_detach(device_t dev) in i2c_detach() 510 i2c_repeated_start(device_t dev, u_char slave, int timeout) in i2c_repeated_start() 536 i2c_start_ll(device_t dev, u_char slave, int timeout) in i2c_start_ll() 560 i2c_start(device_t dev, u_char slave, int timeout) in i2c_start() 585 i2c_stop(device_t dev) in i2c_stop() 599 i2c_reset(device_t dev, u_char speed, u_char addr, u_char *oldadr) in i2c_reset() [all …]
|
/freebsd/sys/security/audit/ |
H A D | audit_trigger.c | 63 audit_open(struct cdev *dev, int oflags, int devtype, struct thread *td) in audit_open() 80 audit_close(struct cdev *dev, int fflag, int devtype, struct thread *td) in audit_close() 98 audit_read(struct cdev *dev, struct uio *uio, int ioflag) in audit_read() 123 audit_write(struct cdev *dev, struct uio *uio, int ioflag) in audit_write()
|
/freebsd/sys/dev/backlight/ |
H A D | backlight.c | 51 device_t dev; member 56 backlight_ioctl(struct cdev *dev, u_long cmd, caddr_t data, in backlight_ioctl() 104 backlight_register(const char *name, device_t dev) in backlight_register() 146 backlight_destroy(struct cdev *dev) in backlight_destroy()
|
/freebsd/sys/dev/altera/msgdma/ |
H A D | msgdma.c | 97 device_t dev; member 216 msgdma_probe(device_t dev) in msgdma_probe() 233 msgdma_attach(device_t dev) in msgdma_attach() 276 msgdma_detach(device_t dev) in msgdma_detach() 401 msgdma_channel_alloc(device_t dev, struct xdma_channel *xchan) in msgdma_channel_alloc() 432 msgdma_channel_free(device_t dev, struct xdma_channel *xchan) in msgdma_channel_free() 449 msgdma_channel_capacity(device_t dev, xdma_channel_t *xchan, in msgdma_channel_capacity() 466 msgdma_channel_submit_sg(device_t dev, struct xdma_channel *xchan, in msgdma_channel_submit_sg() 534 msgdma_channel_prep_sg(device_t dev, struct xdma_channel *xchan) in msgdma_channel_prep_sg() 583 msgdma_channel_control(device_t dev, xdma_channel_t *xchan, int cmd) in msgdma_channel_control() [all …]
|
/freebsd/sys/dev/xdma/controller/ |
H A D | pl330.c | 99 device_t dev; member 313 pl330_probe(device_t dev) in pl330_probe() 330 pl330_attach(device_t dev) in pl330_attach() 365 pl330_detach(device_t dev) in pl330_detach() 371 pl330_channel_alloc(device_t dev, struct xdma_channel *xchan) in pl330_channel_alloc() 402 pl330_channel_free(device_t dev, struct xdma_channel *xchan) in pl330_channel_free() 413 pl330_channel_capacity(device_t dev, xdma_channel_t *xchan, in pl330_channel_capacity() 466 pl330_channel_submit_sg(device_t dev, struct xdma_channel *xchan, in pl330_channel_submit_sg() 567 pl330_channel_prep_sg(device_t dev, struct xdma_channel *xchan) in pl330_channel_prep_sg() 580 pl330_channel_control(device_t dev, xdma_channel_t *xchan, int cmd) in pl330_channel_control() [all …]
|
/freebsd/sys/arm64/nvidia/tegra210/ |
H A D | max77620_gpio.c | 333 int max77620_pinmux_configure(device_t dev, phandle_t cfgxref) in max77620_pinmux_configure() 391 max77620_gpio_get_bus(device_t dev) in max77620_gpio_get_bus() 400 max77620_gpio_pin_max(device_t dev, int *maxpin) in max77620_gpio_pin_max() 408 max77620_gpio_pin_getcaps(device_t dev, uint32_t pin, uint32_t *caps) in max77620_gpio_pin_getcaps() 422 max77620_gpio_pin_getname(device_t dev, uint32_t pin, char *name) in max77620_gpio_pin_getname() 476 max77620_gpio_pin_getflags(device_t dev, uint32_t pin, uint32_t *out_flags) in max77620_gpio_pin_getflags() 500 max77620_gpio_pin_setflags(device_t dev, uint32_t pin_num, uint32_t flags) in max77620_gpio_pin_setflags() 590 max77620_gpio_pin_set(device_t dev, uint32_t pin, uint32_t val) in max77620_gpio_pin_set() 607 max77620_gpio_pin_get(device_t dev, uint32_t pin, uint32_t *val) in max77620_gpio_pin_get() 632 max77620_gpio_pin_toggle(device_t dev, uint32_t pin) in max77620_gpio_pin_toggle() [all …]
|
/freebsd/sys/dev/flash/ |
H A D | n25q.c | 94 device_t dev; member 144 n25q_wait_for_device_ready(device_t dev) in n25q_wait_for_device_ready() 188 n25q_write(device_t dev, struct bio *bp, off_t offset, caddr_t data, off_t count) in n25q_write() 208 n25q_read(device_t dev, struct bio *bp, off_t offset, caddr_t data, off_t count) in n25q_read() 236 n25q_set_4b_mode(device_t dev, uint8_t command) in n25q_set_4b_mode() 249 n25q_probe(device_t dev) in n25q_probe() 276 n25q_attach(device_t dev) in n25q_attach() 332 n25q_detach(device_t dev) in n25q_detach() 402 device_t dev; in n25q_getattr() local 427 device_t dev; in n25q_task() local
|
/freebsd/sys/dev/dpaa/ |
H A D | fman.c | 383 fman_get_handle(device_t dev, t_Handle *fmh) in fman_get_handle() 393 fman_get_muram_handle(device_t dev, t_Handle *muramh) in fman_get_muram_handle() 403 fman_get_bushandle(device_t dev, vm_offset_t *fm_base) in fman_get_bushandle() 413 fman_attach(device_t dev) in fman_attach() 484 fman_detach(device_t dev) in fman_detach() 517 fman_suspend(device_t dev) in fman_suspend() 524 fman_resume_dev(device_t dev) in fman_resume_dev() 531 fman_shutdown(device_t dev) in fman_shutdown() 538 fman_qman_channel_id(device_t dev, int port) in fman_qman_channel_id()
|
/freebsd/sys/riscv/riscv/ |
H A D | nexus.c | 71 #define DEVTONX(dev) ((struct nexus_device *)device_get_ivars(dev)) argument 141 nexus_fdt_probe(device_t dev) in nexus_fdt_probe() 149 nexus_attach(device_t dev) in nexus_attach() 257 nexus_config_intr(device_t dev, int irq, enum intr_trigger trig, in nexus_config_intr() 265 nexus_setup_intr(device_t dev, device_t child, struct resource *res, int flags, in nexus_setup_intr() 284 nexus_teardown_intr(device_t dev, device_t child, struct resource *r, void *ih) in nexus_teardown_intr() 291 nexus_describe_intr(device_t dev, device_t child, struct resource *irq, in nexus_describe_intr() 333 nexus_get_reslist(device_t dev, device_t child) in nexus_get_reslist() 415 nexus_ofw_map_intr(device_t dev, device_t child, phandle_t iparent, int icells, in nexus_ofw_map_intr()
|
/freebsd/sys/dev/iicbus/controller/vybrid/ |
H A D | vf_i2c.c | 146 vf_i2c_attach_common(device_t dev) in vf_i2c_attach_common() 202 i2c_detach(device_t dev) in i2c_detach() 294 i2c_repeated_start(device_t dev, u_char slave, int timeout) in i2c_repeated_start() 336 i2c_start(device_t dev, u_char slave, int timeout) in i2c_start() 390 i2c_stop(device_t dev) in i2c_stop() 409 i2c_get_div_val(device_t dev) in i2c_get_div_val() 448 i2c_reset(device_t dev, u_char speed, u_char addr, u_char *oldadr) in i2c_reset() 471 i2c_read(device_t dev, char *buf, int len, int *read, int last, int delay) in i2c_read() 521 i2c_write(device_t dev, const char *buf, int len, int *sent, int timeout) in i2c_write()
|
/freebsd/sys/dev/usb/controller/ |
H A D | usb_controller.c | 145 usb_probe(device_t dev) in usb_probe() 167 usb_attach(device_t dev) in usb_attach() 193 usb_detach(device_t dev) in usb_detach() 254 usb_suspend(device_t dev) in usb_suspend() 282 usb_resume(device_t dev) in usb_resume() 327 usb_shutdown(device_t dev) in usb_shutdown() 430 device_t dev; in usb_bus_detach() local 704 device_t dev; in usb_bus_attach() local 803 usb_attach_sub(device_t dev, struct usb_bus *bus) in usb_attach_sub()
|
/freebsd/sys/dev/etherswitch/ip17x/ |
H A D | ip17x_phy.c | 54 ip17x_readphy(device_t dev, int phy, int reg) in ip17x_readphy() 75 ip17x_writephy(device_t dev, int phy, int reg, int data) in ip17x_writephy() 96 ip17x_updatephy(device_t dev, int phy, int reg, int mask, int value) in ip17x_updatephy()
|
/freebsd/contrib/mknod/ |
H A D | pack_dev.c | 69 portdev_t dev = 0; in pack_native() local 86 portdev_t dev = 0; in pack_netbsd() local 108 portdev_t dev = 0; in pack_freebsd() local 130 portdev_t dev = 0; in pack_8_8() local 152 portdev_t dev = 0; in pack_12_20() local 174 portdev_t dev = 0; in pack_14_18() local 196 portdev_t dev = 0; in pack_8_24() local 220 portdev_t dev = 0; in pack_bsdos() local
|
/freebsd/sys/dev/nvdimm/ |
H A D | nvdimm_spa.c | 190 nvdimm_spa_uio(struct nvdimm_spa_dev *dev, struct uio *uio) in nvdimm_spa_uio() 234 nvdimm_spa_rw(struct cdev *dev, struct uio *uio, int ioflag) in nvdimm_spa_rw() 244 struct nvdimm_spa_dev *dev; in nvdimm_spa_ioctl() local 267 struct nvdimm_spa_dev *dev; in nvdimm_spa_mmap_single() local 291 nvdimm_spa_g_all_unmapped(struct nvdimm_spa_dev *dev, struct bio *bp, int rw) in nvdimm_spa_g_all_unmapped() 476 nvdimm_spa_dev_init(struct nvdimm_spa_dev *dev, const char *name, int unit) in nvdimm_spa_dev_init() 532 nvdimm_spa_g_create(struct nvdimm_spa_dev *dev, const char *name) in nvdimm_spa_g_create() 578 nvdimm_spa_dev_fini(struct nvdimm_spa_dev *dev) in nvdimm_spa_dev_fini()
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | eeprom.c | 16 static int mt76_get_of_eeprom_data(struct mt76_dev *dev, void *eep, int len) in mt76_get_of_eeprom_data() 36 static int mt76_get_of_epprom_from_mtd(struct mt76_dev *dev, void *eep, int offset, int len) in mt76_get_of_epprom_from_mtd() 112 static int mt76_get_of_epprom_from_nvmem(struct mt76_dev *dev, void *eep, int len) in mt76_get_of_epprom_from_nvmem() 144 int mt76_get_of_eeprom(struct mt76_dev *dev, void *eep, int offset, int len) in mt76_get_of_eeprom() 171 struct mt76_dev *dev = phy->dev; in mt76_eeprom_override() local 205 mt76_find_power_limits_node(struct mt76_dev *dev) in mt76_find_power_limits_node() 347 struct mt76_dev *dev = phy->dev; in mt76_get_rate_power_limits() local 427 mt76_eeprom_init(struct mt76_dev *dev, int len) in mt76_eeprom_init()
|