| /freebsd/sys/dev/mmc/ |
| H A D | mmcbrvar.h | 118 mmcbr_get_bus_type(device_t dev) in mmcbr_get_bus_type() 132 mmcbr_update_ios(device_t dev) in mmcbr_update_ios() 139 mmcbr_tune(device_t dev, bool hs400) in mmcbr_tune() 146 mmcbr_retune(device_t dev, bool reset) in mmcbr_retune() 153 mmcbr_switch_vccq(device_t dev) in mmcbr_switch_vccq() 160 mmcbr_get_ro(device_t dev) in mmcbr_get_ro()
|
| /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() 202 aw_pwm_detach(device_t dev) in aw_pwm_detach() 221 aw_pwm_get_node(device_t bus, device_t dev) in aw_pwm_get_node() 232 aw_pwm_channel_count(device_t dev, u_int *nchannel) in aw_pwm_channel_count() 241 aw_pwm_channel_config(device_t dev, u_int channel, u_int period, u_int duty) in aw_pwm_channel_config() 321 aw_pwm_channel_get_config(device_t dev, u_int channel, u_int *period, u_int *duty) in aw_pwm_channel_get_config() 334 aw_pwm_channel_enable(device_t dev, u_int channel, bool enable) in aw_pwm_channel_enable() 358 aw_pwm_channel_is_enabled(device_t dev, u_int channel, bool *enabled) in aw_pwm_channel_is_enabled()
|
| /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() 775 tws_shutdown(device_t dev) in tws_shutdown() 792 tws_suspend(device_t dev) in tws_suspend() 805 tws_resume(device_t dev) in tws_resume()
|
| /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() 224 tegra_gpio_pin_getflags(device_t dev, uint32_t pin, uint32_t *flags) in tegra_gpio_pin_getflags() 246 tegra_gpio_pin_getname(device_t dev, uint32_t pin, char *name) in tegra_gpio_pin_getname() 262 tegra_gpio_pin_setflags(device_t dev, uint32_t pin, uint32_t flags) in tegra_gpio_pin_setflags() 287 tegra_gpio_pin_set(device_t dev, uint32_t pin, unsigned int value) in tegra_gpio_pin_set() 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() [all …]
|
| H A D | tegra_sdhci.c | 101 device_t dev; member 126 tegra_sdhci_read_1(device_t dev, struct sdhci_slot *slot, bus_size_t off) in tegra_sdhci_read_1() 135 tegra_sdhci_read_2(device_t dev, struct sdhci_slot *slot, bus_size_t off) in tegra_sdhci_read_2() 144 tegra_sdhci_read_4(device_t dev, struct sdhci_slot *slot, bus_size_t off) in tegra_sdhci_read_4() 158 tegra_sdhci_read_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, in tegra_sdhci_read_multi_4() 168 tegra_sdhci_write_1(device_t dev, struct sdhci_slot *slot, bus_size_t off, in tegra_sdhci_write_1() 178 tegra_sdhci_write_2(device_t dev, struct sdhci_slot *slot, bus_size_t off, in tegra_sdhci_write_2() 188 tegra_sdhci_write_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, in tegra_sdhci_write_4() 198 tegra_sdhci_write_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, in tegra_sdhci_write_multi_4() 225 tegra_sdhci_get_card_present(device_t dev, struct sdhci_slot *slot) in tegra_sdhci_get_card_present() [all …]
|
| /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/efidev/ |
| H A D | efirtc.c | 62 efirtc_probe(device_t dev) in efirtc_probe() 83 efirtc_attach(device_t dev) in efirtc_attach() 121 efirtc_detach(device_t dev) in efirtc_detach() 129 efirtc_gettime(device_t dev, struct timespec *ts) in efirtc_gettime() 152 efirtc_settime(device_t dev, struct timespec *ts) in efirtc_settime()
|
| /freebsd/sys/x86/x86/ |
| H A D | mptable_pci.c | 52 mptable_hostb_probe(device_t dev) in mptable_hostb_probe() 64 mptable_hostb_attach(device_t dev) in mptable_hostb_attach() 99 mptable_hostb_alloc_resource(device_t dev, device_t child, int type, int *rid, in mptable_hostb_alloc_resource() 138 mptable_hostb_adjust_resource(device_t dev, device_t child, in mptable_hostb_adjust_resource() 189 mptable_pcib_probe(device_t dev) in mptable_pcib_probe()
|
| /freebsd/sys/arm64/coresight/ |
| H A D | coresight_replicator.c | 51 replicator_init(device_t dev) in replicator_init() 64 replicator_enable(device_t dev, struct endpoint *endp, in replicator_enable() 84 replicator_disable(device_t dev, struct endpoint *endp, in replicator_disable() 96 replicator_attach(device_t dev) in replicator_attach()
|
| /freebsd/sys/dev/ata/chipsets/ |
| H A D | ata-jmicron.c | 61 ata_jmicron_probe(device_t dev) in ata_jmicron_probe() 90 ata_jmicron_chipinit(device_t dev) in ata_jmicron_chipinit() 129 ata_jmicron_ch_attach(device_t dev) in ata_jmicron_ch_attach() 140 ata_jmicron_setmode(device_t dev, int target, int mode) in ata_jmicron_setmode()
|
| /freebsd/sys/dev/superio/ |
| H A D | superio.c | 70 device_t dev; member 512 superio_detect(device_t dev, bool claim, struct siosc *sc) in superio_detect() 661 superio_probe(device_t dev) in superio_probe() 682 superio_add_known_child(device_t dev, superio_dev_type_t type, uint8_t ldn) in superio_add_known_child() 707 superio_attach(device_t dev) in superio_attach() 733 superio_detach(device_t dev) in superio_detach() 749 superio_add_child(device_t dev, u_int order, const char *name, int unit) in superio_add_child() 771 superio_child_deleted(device_t dev, device_t child) in superio_child_deleted() 783 superio_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) in superio_read_ivar() 814 superio_write_ivar(device_t dev, device_t child, int which, uintptr_t value) in superio_write_ivar() [all …]
|
| /freebsd/sys/powerpc/powernv/ |
| H A D | opal_nvram.c | 117 opal_nvram_probe(device_t dev) in opal_nvram_probe() argument 128 opal_nvram_attach(device_t dev) in opal_nvram_attach() argument 162 opal_nvram_detach(device_t dev) opal_nvram_detach() argument 179 opal_nvram_open(struct cdev * dev,int flags,int fmt,struct thread * td) opal_nvram_open() argument 197 opal_nvram_close(struct cdev * dev,int fflag,int devtype,struct thread * td) opal_nvram_close() argument 209 opal_nvram_read(struct cdev * dev,struct uio * uio,int ioflag) opal_nvram_read() argument 246 opal_nvram_write(struct cdev * dev,struct uio * uio,int ioflag) opal_nvram_write() argument 287 opal_nvram_ioctl(struct cdev * dev,u_long cmd,caddr_t data,int fflag,struct thread * td) opal_nvram_ioctl() argument [all...] |
| /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/dev/thunderbolt/ |
| H A D | nhi_pci.c | 125 nhi_find_ident(device_t dev) in nhi_find_ident() 147 nhi_pci_probe(device_t dev) in nhi_pci_probe() 161 nhi_pci_attach(device_t dev) in nhi_pci_attach() 226 nhi_pci_detach(device_t dev) in nhi_pci_detach() 239 nhi_pci_suspend(device_t dev) in nhi_pci_suspend() 246 nhi_pci_resume(device_t dev) in nhi_pci_resume() 488 device_t dev; in nhi_pci_icl_poweron() local 522 device_t dev; in nhi_pci_get_uuid() 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/contrib/dev/mediatek/mt76/mt7603/ |
| H A D | beacon.c | 6 struct mt7603_dev *dev; member 13 mt7603_mac_stuck_beacon_recovery(struct mt7603_dev *dev) in mt7603_mac_stuck_beacon_recovery() 32 struct mt7603_dev *dev = (struct mt7603_dev *)priv; in mt7603_update_beacon_iter() local 80 struct mt7603_dev *dev = data->dev; in mt7603_add_buffered_bc() local 103 struct mt7603_dev *dev = from_tasklet(dev, t, mt76.pre_tbtt_tasklet); in mt7603_pre_tbtt_tasklet() local 180 void mt7603_beacon_set_timer(struct mt7603_dev *dev, int idx, int intval) in mt7603_beacon_set_timer()
|
| /freebsd/sys/contrib/dev/mediatek/mt76/mt7925/ |
| H A D | usb.c | 22 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7925u_mcu_send_message() local 48 static int mt7925u_mcu_init(struct mt792x_dev *dev) in mt7925u_mcu_init() 72 static int mt7925u_mac_reset(struct mt792x_dev *dev) in mt7925u_mac_reset() 165 struct mt792x_dev *dev; in mt7925u_probe() local 244 struct mt792x_dev *dev = usb_get_intfdata(intf); in mt7925u_suspend() local 276 struct mt792x_dev *dev = usb_get_intfdata(intf); in mt7925u_resume() local
|
| /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() 210 ti_gate_detach(device_t dev) in ti_gate_detach() 216 ti_gate_new_pass(device_t dev) { in ti_gate_new_pass()
|
| /freebsd/sys/dev/mlx5/mlx5_core/ |
| H A D | mlx5_fs_cmd.c | 38 mlx5_cmd_update_root_ft(struct mlx5_core_dev * dev,enum fs_ft_type type,unsigned int id) mlx5_cmd_update_root_ft() argument 56 mlx5_cmd_fs_create_ft(struct mlx5_core_dev * dev,u16 vport,enum fs_ft_type type,unsigned int level,unsigned int log_size,const char * name,unsigned int * table_id) mlx5_cmd_fs_create_ft() argument 89 mlx5_cmd_fs_destroy_ft(struct mlx5_core_dev * dev,u16 vport,enum fs_ft_type type,unsigned int table_id) mlx5_cmd_fs_destroy_ft() argument 111 mlx5_cmd_fs_create_fg(struct mlx5_core_dev * dev,u32 * in,u16 vport,enum fs_ft_type type,unsigned int table_id,unsigned int * group_id) mlx5_cmd_fs_create_fg() argument 139 mlx5_cmd_fs_destroy_fg(struct mlx5_core_dev * dev,u16 vport,enum fs_ft_type type,unsigned int table_id,unsigned int group_id) mlx5_cmd_fs_destroy_fg() argument 163 mlx5_cmd_fs_set_fte(struct mlx5_core_dev * dev,u16 vport,enum fs_fte_status * fte_status,u32 * match_val,enum fs_ft_type type,unsigned int table_id,unsigned int index,unsigned int group_id,struct mlx5_flow_act * flow_act,u32 sw_action,int dest_size,struct list_head * dests) mlx5_cmd_fs_set_fte() argument 293 mlx5_cmd_fs_delete_fte(struct mlx5_core_dev * dev,u16 vport,enum fs_fte_status * fte_status,enum fs_ft_type type,unsigned int table_id,unsigned int index) mlx5_cmd_fs_delete_fte() argument 325 mlx5_cmd_modify_header_alloc(struct mlx5_core_dev * dev,enum mlx5_flow_namespace_type namespace,u8 num_actions,void * modify_actions,struct mlx5_modify_hdr * modify_hdr) mlx5_cmd_modify_header_alloc() argument 384 mlx5_cmd_modify_header_dealloc(struct mlx5_core_dev * dev,struct mlx5_modify_hdr * modify_hdr) mlx5_cmd_modify_header_dealloc() argument 398 mlx5_cmd_packet_reformat_alloc(struct mlx5_core_dev * dev,struct mlx5_pkt_reformat_params * params,enum mlx5_flow_namespace_type namespace,struct mlx5_pkt_reformat * pkt_reformat) mlx5_cmd_packet_reformat_alloc() argument 456 mlx5_cmd_packet_reformat_dealloc(struct mlx5_core_dev * dev,struct mlx5_pkt_reformat * pkt_reformat) mlx5_cmd_packet_reformat_dealloc() argument [all...] |
| /freebsd/sys/dev/amdsbwd/ |
| H A D | amdsbwd.c | 85 #define amdsbwd_verbose_printf(dev, ...) \ argument 92 device_t dev; member 281 amdsbwd_probe_sb7xx(device_t dev, struct resource *pmres, uint32_t *addr) in amdsbwd_probe_sb7xx() 322 amdsbwd_probe_sb8xx(device_t dev, struct resource *pmres, uint32_t *addr) in amdsbwd_probe_sb8xx() 377 amdsbwd_probe_fch41(device_t dev, struct resource *pmres, uint32_t *addr) in amdsbwd_probe_fch41() 422 amdsbwd_probe(device_t dev) in amdsbwd_probe() 484 amdsbwd_attach_sb(device_t dev, struct amdsbwd_softc *sc) in amdsbwd_attach_sb() 509 amdsbwd_attach(device_t dev) in amdsbwd_attach() 545 amdsbwd_detach(device_t dev) in amdsbwd_detach() 568 amdsbwd_suspend(device_t dev) in amdsbwd_suspend() [all …]
|
| /freebsd/sys/powerpc/mpc85xx/ |
| H A D | i2c.c | 81 device_t dev; member 151 i2c_do_wait(device_t dev, struct i2c_softc *sc, int write, int start) in i2c_do_wait() 185 i2c_probe(device_t dev) in i2c_probe() 214 i2c_attach(device_t dev) in i2c_attach() 246 i2c_repeated_start(device_t dev, u_char slave, int timeout) in i2c_repeated_start() 270 i2c_start(device_t dev, u_char slave, int timeout) in i2c_start() 305 i2c_stop(device_t dev) in i2c_stop() 319 i2c_reset(device_t dev, u_char speed, u_char addr, u_char *oldadr) in i2c_reset() 352 i2c_read(device_t dev, char *buf, int len, int *read, int last, int delay) in i2c_read() 402 i2c_write(device_t dev, const char *buf, int len, int *sent, int timeout) in i2c_write() [all …]
|
| /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/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/sys/arm/ti/ |
| H A D | ti_sdhci.c | 68 device_t dev; member 161 ti_sdhci_read_1(device_t dev, struct sdhci_slot *slot, bus_size_t off) in ti_sdhci_read_1() 169 ti_sdhci_read_2(device_t dev, struct sdhci_slot *slot, bus_size_t off) in ti_sdhci_read_2() 212 ti_sdhci_read_4(device_t dev, struct sdhci_slot *slot, bus_size_t off) in ti_sdhci_read_4() 236 ti_sdhci_read_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, in ti_sdhci_read_multi_4() 245 ti_sdhci_write_1(device_t dev, struct sdhci_slot *slot, bus_size_t off, in ti_sdhci_write_1() 275 ti_sdhci_write_2(device_t dev, struct sdhci_slot *slot, bus_size_t off, in ti_sdhci_write_2() 324 ti_sdhci_write_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, in ti_sdhci_write_4() 333 ti_sdhci_write_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, in ti_sdhci_write_multi_4() 397 ti_sdhci_get_card_present(device_t dev, struct sdhci_slot *slot) in ti_sdhci_get_card_present() [all …]
|