/freebsd/sys/dev/ppbus/ |
H A D | ppi.c | 81 #define DEVTOSOFTC(dev) \ argument 136 device_t dev; in ppi_identify() local 147 ppi_probe(device_t dev) in ppi_probe() 159 ppi_attach(device_t dev) in ppi_attach() 198 ppi_detach(device_t dev) in ppi_detach() 285 ppiopen(struct cdev *dev, int flags, int fmt, struct thread *td) in ppiopen() 311 ppiclose(struct cdev *dev, int flags, int fmt, struct thread *td) in ppiclose() 352 ppiread(struct cdev *dev, struct uio *uio, int ioflag) in ppiread() 443 ppiwrite(struct cdev *dev, struct uio *uio, int ioflag) in ppiwrite() 541 ppiioctl(struct cdev *dev, u_long cmd, caddr_t data, int flags, struct thread *td) in ppiioctl()
|
/freebsd/sys/dev/imcsmb/ |
H A D | imcsmb_pci.c | 163 imcsmb_pci_attach(device_t dev) in imcsmb_pci_attach() 210 imcsmb_pci_detach(device_t dev) in imcsmb_pci_detach() 233 imcsmb_pci_probe(device_t dev) in imcsmb_pci_probe() 271 imcsmb_pci_release_bus(device_t dev) in imcsmb_pci_release_bus() 296 imcsmb_pci_request_bus(device_t dev) in imcsmb_pci_request_bus()
|
/freebsd/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_alloc.c | 72 mlx5_buf_alloc(struct mlx5_core_dev *dev, int size, in mlx5_buf_alloc() 140 void mlx5_buf_free(struct mlx5_core_dev *dev, struct mlx5_buf *buf) in mlx5_buf_free() 150 static struct mlx5_db_pgdir *mlx5_alloc_db_pgdir(struct mlx5_core_dev *dev) in mlx5_alloc_db_pgdir() 201 int mlx5_db_alloc(struct mlx5_core_dev *dev, struct mlx5_db *db) in mlx5_db_alloc() 230 void mlx5_db_free(struct mlx5_core_dev *dev, struct mlx5_db *db) in mlx5_db_free()
|
/freebsd/sys/arm/ti/clk/ |
H A D | ti_divider_clock.c | 48 #define DPRINTF(dev, msg...) argument 105 ti_divider_probe(device_t dev) in ti_divider_probe() 119 ti_divider_attach(device_t dev) in ti_divider_attach() 204 ti_divider_detach(device_t dev) in ti_divider_detach() 210 ti_divider_new_pass(device_t dev) in ti_divider_new_pass()
|
/freebsd/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_mad.c | 227 struct mlx4_ib_dev *dev = to_mdev(ibdev); in smp_snoop() local 430 struct mlx4_ib_dev *dev = to_mdev(ibdev); in mlx4_ib_find_real_gid() local 643 struct mlx4_ib_dev *dev = to_mdev(ibdev); in mlx4_ib_demux_mad() local 904 struct mlx4_ib_dev *dev = to_mdev(ibdev); in iboe_process_mad() local 953 struct mlx4_ib_dev *dev = to_mdev(ibdev); in mlx4_ib_process_mad() local 993 int mlx4_ib_mad_init(struct mlx4_ib_dev *dev) in mlx4_ib_mad_init() 1029 void mlx4_ib_mad_cleanup(struct mlx4_ib_dev *dev) in mlx4_ib_mad_cleanup() 1152 struct mlx4_ib_dev *dev = ew->ib_dev; in handle_port_mgmt_change_event() local 1266 struct mlx4_ib_dev *dev = to_mdev(ctx->ib_dev); in mlx4_ib_tunnel_comp_handler() local 1445 struct mlx4_ib_dev *dev = to_mdev(ctx->ib_dev); in mlx4_ib_multiplex_mad() local [all …]
|
/freebsd/sys/dev/dialog/da9063/ |
H A D | da9063_iic.c | 58 device_t dev; member 103 da9063_iic_read(device_t dev, uint16_t addr, uint8_t *val) in da9063_iic_read() 128 da9063_iic_write(device_t dev, uint16_t addr, uint8_t val) in da9063_iic_write() 153 da9063_iic_modify(device_t dev, uint16_t addr, uint8_t clear_mask, in da9063_iic_modify() 190 da9063_iic_probe(device_t dev) in da9063_iic_probe() 204 da9063_iic_attach(device_t dev) in da9063_iic_attach() 228 da9063_iic_detach(device_t dev) in da9063_iic_detach()
|
/freebsd/sys/dev/drm2/ |
H A D | drm_sysctl.c | 58 int drm_sysctl_init(struct drm_device *dev) in drm_sysctl_init() 131 int drm_sysctl_cleanup(struct drm_device *dev) in drm_sysctl_cleanup() 157 struct drm_device *dev = arg1; variable 188 struct drm_device *dev = arg1; variable 271 struct drm_device *dev = arg1; variable 328 struct drm_device *dev = arg1; variable 373 struct drm_device *dev = arg1; variable
|
/freebsd/usr.sbin/ppp/ |
H A D | udp.c | 69 struct device dev; /* What struct physical knows about */ member 85 struct udpdevice *dev = device2udp(p->handler); in udp_Sendto() local 113 struct udpdevice *dev = device2udp(p->handler); in udp_Recvfrom() local 134 struct udpdevice *dev = device2udp(p->handler); in udp_Free() local 180 struct udpdevice *dev = (struct udpdevice *)iov[(*niov)++].iov_base; in udp_iov2device() local 202 struct udpdevice *dev; in udp_CreateDevice() local 256 struct udpdevice *dev; in udp_Create() local
|
/freebsd/sys/dev/nvdimm/ |
H A D | nvdimm_e820.c | 66 nvdimm_e820_dump_prams(device_t dev, const char *func, int hintunit) in nvdimm_e820_dump_prams() 104 nvdimm_e820_create_spas(device_t dev) in nvdimm_e820_create_spas() 241 nvdimm_e820_remove_spas(device_t dev) in nvdimm_e820_remove_spas() 284 nvdimm_e820_probe(device_t dev) in nvdimm_e820_probe() 301 nvdimm_e820_attach(device_t dev) in nvdimm_e820_attach() 334 nvdimm_e820_detach(device_t dev) in nvdimm_e820_detach() 360 device_t dev, parent; in nvdimm_e820_chainevh() local
|
/freebsd/sys/dev/bhnd/ |
H A D | bhnd.h | 653 bhnd_bus_find_hostb_device(device_t dev) { in bhnd_bus_find_hostb_device() 743 bhnd_is_hw_disabled(device_t dev) { in bhnd_is_hw_disabled() 753 bhnd_get_chipid(device_t dev) { in bhnd_get_chipid() 809 bhnd_read_iost(device_t dev, uint16_t *iost) in bhnd_read_iost() 825 bhnd_is_hw_suspended(device_t dev) in bhnd_is_hw_suspended() 868 bhnd_suspend_hw(device_t dev, uint16_t ioctl) in bhnd_suspend_hw() 884 bhnd_get_attach_type (device_t dev) { in bhnd_get_attach_type() 947 bhnd_get_intr_count(device_t dev) in bhnd_get_intr_count() 1005 bhnd_unmap_intr(device_t dev, rman_res_t irq) in bhnd_unmap_intr() 1025 bhnd_alloc_pmu(device_t dev) in bhnd_alloc_pmu() [all …]
|
/freebsd/sys/dev/superio/ |
H A D | superio.c | 70 device_t dev; member 664 superio_probe(device_t dev) in superio_probe() 710 superio_attach(device_t dev) in superio_attach() 736 superio_detach(device_t dev) in superio_detach() 899 superio_vendor(device_t dev) in superio_vendor() 908 superio_devid(device_t dev) in superio_devid() 917 superio_revid(device_t dev) in superio_revid() 926 superio_extid(device_t dev) in superio_extid() 948 superio_read(device_t dev, uint8_t reg) in superio_read() 975 superio_dev_enabled(device_t dev, uint8_t mask) in superio_dev_enabled() [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt76x0/ |
H A D | usb_mcu.c | 17 mt76x0u_upload_firmware(struct mt76x02_dev *dev, in mt76x0u_upload_firmware() 67 static int mt76x0_get_firmware(struct mt76x02_dev *dev, in mt76x0_get_firmware() 85 static int mt76x0u_load_firmware(struct mt76x02_dev *dev) in mt76x0u_load_firmware() 164 int mt76x0u_mcu_init(struct mt76x02_dev *dev) in mt76x0u_mcu_init()
|
/freebsd/sys/dev/xen/xenstore/ |
H A D | xenstored_dev.c | 61 xsd_dev_read(struct cdev *dev, struct uio *uio, int ioflag) in xsd_dev_read() 78 xsd_dev_mmap(struct cdev *dev, vm_ooffset_t offset, vm_paddr_t *paddr, in xsd_dev_mmap() 119 xsd_dev_probe(device_t dev) in xsd_dev_probe() 135 xsd_dev_attach(device_t dev) in xsd_dev_attach()
|
/freebsd/sys/dev/sdhci/ |
H A D | sdhci_fdt.c | 126 device_t dev; /* Controller device */ member 155 sdhci_exported_clocks_init(struct clknode *clk, device_t dev) in sdhci_exported_clocks_init() 252 sdhci_init_clocks(device_t dev) in sdhci_init_clocks() 322 sdhci_init_rk3399(device_t dev) in sdhci_init_rk3399() 406 sdhci_fdt_read_multi_4(device_t dev, struct sdhci_slot *slot, in sdhci_fdt_read_multi_4() 415 sdhci_fdt_write_multi_4(device_t dev, struct sdhci_slot *slot, in sdhci_fdt_write_multi_4() 434 sdhci_fdt_get_ro(device_t bus, device_t dev) in sdhci_fdt_get_ro() 444 sdhci_fdt_set_clock(device_t dev, struct sdhci_slot *slot, int clock) in sdhci_fdt_set_clock() 504 sdhci_fdt_probe(device_t dev) in sdhci_fdt_probe() 565 sdhci_fdt_attach(device_t dev) in sdhci_fdt_attach() [all …]
|
/freebsd/sys/dev/iicbus/sensor/ |
H A D | max44009.c | 68 max44009_get_reading(device_t dev, u_int *reading) in max44009_get_reading() 111 device_t dev; in max44009_lux_sysctl() local 127 max44009_probe(device_t dev) in max44009_probe() 144 max44009_attach(device_t dev) in max44009_attach() 166 max44009_detach(device_t dev) in max44009_detach()
|
/freebsd/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_cong.c | 56 #define CONG_LOCK(dev) sx_xlock(&(dev)->congestion.lock) argument 57 #define CONG_UNLOCK(dev) sx_xunlock(&(dev)->congestion.lock) argument 58 #define CONG_LOCKED(dev) sx_xlocked(&(dev)->congestion.lock) argument 259 mlx5_ib_get_all_cc_params(struct mlx5_ib_dev *dev) in mlx5_ib_get_all_cc_params() 289 mlx5_ib_set_cc_params(struct mlx5_ib_dev *dev, u32 index, u64 var) in mlx5_ib_set_cc_params() 324 struct mlx5_ib_dev *dev = arg1; in mlx5_ib_cong_params_handler() local 354 mlx5_ib_get_all_cc_status(struct mlx5_ib_dev *dev) in mlx5_ib_get_all_cc_status() 377 struct mlx5_ib_dev *dev = arg1; in mlx5_ib_cong_status_handler() local 425 struct mlx5_ib_dev *dev = in mlx5_ib_read_cong_stats() local 465 mlx5_ib_cleanup_congestion(struct mlx5_ib_dev *dev) in mlx5_ib_cleanup_congestion() [all …]
|
/freebsd/sys/dev/amdsbwd/ |
H A D | amdsbwd.c | 85 #define amdsbwd_verbose_printf(dev, ...) \ argument 92 device_t dev; member 280 amdsbwd_probe_sb7xx(device_t dev, struct resource *pmres, uint32_t *addr) in amdsbwd_probe_sb7xx() 321 amdsbwd_probe_sb8xx(device_t dev, struct resource *pmres, uint32_t *addr) in amdsbwd_probe_sb8xx() 376 amdsbwd_probe_fch41(device_t dev, struct resource *pmres, uint32_t *addr) in amdsbwd_probe_fch41() 423 amdsbwd_probe(device_t dev) in amdsbwd_probe() 485 amdsbwd_attach_sb(device_t dev, struct amdsbwd_softc *sc) in amdsbwd_attach_sb() 510 amdsbwd_attach(device_t dev) in amdsbwd_attach() 546 amdsbwd_detach(device_t dev) in amdsbwd_detach() 569 amdsbwd_suspend(device_t dev) in amdsbwd_suspend() [all …]
|
/freebsd/sys/dev/acpica/ |
H A D | acpi_perf.c | 72 device_t dev; member 142 device_t dev; in acpi_perf_identify() local 169 acpi_perf_probe(device_t dev) in acpi_perf_probe() 213 acpi_perf_attach(device_t dev) in acpi_perf_attach() 232 acpi_perf_detach(device_t dev) in acpi_perf_detach() 240 acpi_perf_evaluate(device_t dev) in acpi_perf_evaluate() 441 acpi_px_to_set(device_t dev, struct acpi_px *px, struct cf_setting *set) in acpi_px_to_set() 460 acpi_px_settings(device_t dev, struct cf_setting *sets, int *count) in acpi_px_settings() 481 acpi_px_set(device_t dev, const struct cf_setting *set) in acpi_px_set() 536 acpi_px_get(device_t dev, struct cf_setting *set) in acpi_px_get() [all …]
|
/freebsd/sys/dev/adb/ |
H A D | adb_mouse.c | 130 adb_mouse_probe(device_t dev) in adb_mouse_probe() 144 adb_mouse_attach(device_t dev) in adb_mouse_attach() 253 adb_mouse_detach(device_t dev) in adb_mouse_detach() 269 adb_init_trackpad(device_t dev) in adb_init_trackpad() 333 adb_mouse_receive_packet(device_t dev, u_char status, u_char command, in adb_mouse_receive_packet() 429 ams_open(struct cdev *dev, int flag, int fmt, struct thread *p) in ams_open() 448 ams_close(struct cdev *dev, int flag, int fmt, struct thread *p) in ams_close() 460 ams_poll(struct cdev *dev, int events, struct thread *p) in ams_poll() 487 ams_read(struct cdev *dev, struct uio *uio, int flag) in ams_read() 574 ams_ioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flag, in ams_ioctl() [all …]
|
/freebsd/sys/dev/cpufreq/ |
H A D | cpufreq_dt.c | 52 #define DPRINTF(dev, msg...) argument 74 device_t dev; member 86 cpufreq_dt_notify(device_t dev, uint64_t freq) in cpufreq_dt_notify() 103 cpufreq_dt_find_opp(device_t dev, uint64_t freq) in cpufreq_dt_find_opp() 129 cpufreq_dt_opp_to_setting(device_t dev, const struct cpufreq_dt_opp *opp, in cpufreq_dt_opp_to_setting() 142 cpufreq_dt_get(device_t dev, struct cf_setting *set) in cpufreq_dt_get() 167 cpufreq_dt_set(device_t dev, const struct cf_setting *set) in cpufreq_dt_set() 268 cpufreq_dt_type(device_t dev, int *type) in cpufreq_dt_type() 278 cpufreq_dt_settings(device_t dev, struct cf_setting *sets, int *count) in cpufreq_dt_settings() 327 cpufreq_dt_probe(device_t dev) in cpufreq_dt_probe() [all …]
|
/freebsd/sys/powerpc/powermac/ |
H A D | uninorth.c | 229 unin_update_reg(device_t dev, uint32_t regoff, uint32_t set, uint32_t clr) in unin_update_reg() 244 unin_enable_gmac(device_t dev) in unin_enable_gmac() 250 unin_enable_mpic(device_t dev) in unin_enable_mpic() 256 unin_chip_probe(device_t dev) in unin_chip_probe() 274 unin_chip_attach(device_t dev) in unin_chip_attach() 425 unin_chip_print_child(device_t dev, device_t child) in unin_chip_print_child() 445 unin_chip_probe_nomatch(device_t dev, device_t child) in unin_chip_probe_nomatch() 672 unin_chip_get_resource_list (device_t dev, device_t child) in unin_chip_get_resource_list() 681 unin_chip_get_devinfo(device_t dev, device_t child) in unin_chip_get_devinfo() 690 unin_chip_wake(device_t dev) in unin_chip_wake() [all …]
|
/freebsd/contrib/libpcap/ |
H A D | pcap-dos.c | 508 struct device *dev; in pcap_lookupdev() local 576 struct device *dev; in pcap_platform_finddevs() local 671 struct device *dev; in open_driver() local 750 struct device *dev = active_dev; in close_driver() local 817 struct device *dev; in first_init() local 1119 static void pkt_close (struct device *dev) in pkt_close() 1131 static int pkt_open (struct device *dev) in pkt_open() 1162 static void *pkt_stats (struct device *dev) in pkt_stats() 1175 static int pkt_probe (struct device *dev) in pkt_probe() 1205 static int ndis_open (struct device *dev) in ndis_open() [all …]
|
/freebsd/sys/arm64/cavium/ |
H A D | thunder_pcie_pem.c | 209 thunder_pem_maxslots(device_t dev) in thunder_pem_maxslots() 225 thunder_pem_read_ivar(device_t dev, device_t child, int index, in thunder_pem_read_ivar() 276 thunder_pem_deactivate_resource(device_t dev, device_t child, in thunder_pem_deactivate_resource() 374 thunder_pem_get_dma_tag(device_t dev, device_t child) in thunder_pem_get_dma_tag() 465 thunder_pem_identify(device_t dev) in thunder_pem_identify() 580 thunder_pem_read_config(device_t dev, u_int bus, u_int slot, in thunder_pem_read_config() 625 thunder_pem_write_config(device_t dev, u_int bus, u_int slot, in thunder_pem_write_config() 759 thunder_pem_probe(device_t dev) in thunder_pem_probe() 777 thunder_pem_attach(device_t dev) in thunder_pem_attach() 941 thunder_pem_release_all(device_t dev) in thunder_pem_release_all() [all …]
|
/freebsd/contrib/libfido2/src/ |
H A D | reset.c | 11 fido_dev_reset_tx(fido_dev_t *dev, int *ms) in fido_dev_reset_tx() 24 fido_dev_reset_wait(fido_dev_t *dev, int *ms) in fido_dev_reset_wait() 41 fido_dev_reset(fido_dev_t *dev) in fido_dev_reset()
|
/freebsd/sys/dev/altera/jtag_uart/ |
H A D | altera_jtag_uart_fdt.c | 63 altera_jtag_uart_fdt_probe(device_t dev) in altera_jtag_uart_fdt_probe() 77 altera_jtag_uart_fdt_attach(device_t dev) in altera_jtag_uart_fdt_attach() 119 altera_jtag_uart_fdt_detach(device_t dev) in altera_jtag_uart_fdt_detach()
|