/freebsd/sys/dev/gpio/dwgpio/ |
H A D | dwgpio_bus.c | 50 device_t dev; member 60 dwgpiobus_probe(device_t dev) in dwgpiobus_probe() 75 dwgpiobus_attach(device_t dev) in dwgpiobus_attach() 109 dwgpiobus_detach(device_t dev) in dwgpiobus_detach() 121 dwgpiobus_write(device_t dev, bus_size_t offset, int val) in dwgpiobus_write() 133 dwgpiobus_read(device_t dev, bus_size_t offset) in dwgpiobus_read()
|
/freebsd/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_diag_cnt.c | 37 struct mlx5_core_dev *dev; in mlx5_sysctl_counter_id() local 96 struct mlx5_core_dev *dev; in mlx5_sysctl_params() local 177 struct mlx5_core_dev *dev; in mlx5_sysctl_dump_set() local 207 struct mlx5_core_dev *dev; in mlx5_sysctl_dump_get() local 250 struct mlx5_core_dev *dev; in mlx5_sysctl_cap_read() local 295 get_supported_cnt_ids(struct mlx5_core_dev *dev) in get_supported_cnt_ids() 314 reset_cnt_id(struct mlx5_core_dev *dev) in reset_cnt_id() 325 enable_cnt_id(struct mlx5_core_dev *dev, u16 id) in enable_cnt_id() 357 mlx5_diag_set_params(struct mlx5_core_dev *dev) in mlx5_diag_set_params() 509 mlx5_diag_cnt_init(struct mlx5_core_dev *dev) in mlx5_diag_cnt_init() [all …]
|
H A D | mlx5_eq.c | 88 static int mlx5_cmd_destroy_eq(struct mlx5_core_dev *dev, u8 eqn) in mlx5_cmd_destroy_eq() 228 static int mlx5_eq_int(struct mlx5_core_dev *dev, struct mlx5_eq *eq) in mlx5_eq_int() 403 struct mlx5_core_dev *dev = eq->dev; in mlx5_msix_handler() local 528 int mlx5_eq_init(struct mlx5_core_dev *dev) in mlx5_eq_init() 540 void mlx5_eq_cleanup(struct mlx5_core_dev *dev) in mlx5_eq_cleanup() 544 int mlx5_start_eqs(struct mlx5_core_dev *dev) in mlx5_start_eqs() 610 int mlx5_stop_eqs(struct mlx5_core_dev *dev) in mlx5_stop_eqs() 629 int mlx5_core_eq_query(struct mlx5_core_dev *dev, struct mlx5_eq *eq, in mlx5_core_eq_query() 687 static void mlx5_port_module_event(struct mlx5_core_dev *dev, in mlx5_port_module_event() 756 mlx5_disable_interrupts(struct mlx5_core_dev *dev) in mlx5_disable_interrupts() [all …]
|
/freebsd/sys/dev/etherswitch/ip17x/ |
H A D | ip17x.c | 91 ip17x_probe(device_t dev) in ip17x_probe() 207 ip17x_attach(device_t dev) in ip17x_attach() 282 ip17x_detach(device_t dev) in ip17x_detach() 374 ip17x_lock(device_t dev) in ip17x_lock() 384 ip17x_unlock(device_t dev) in ip17x_unlock() 394 ip17x_getinfo(device_t dev) in ip17x_getinfo() 403 ip17x_getport(device_t dev, etherswitch_port_t *p) in ip17x_getport() 456 ip17x_setport(device_t dev, etherswitch_port_t *p) in ip17x_setport() 518 ip17x_statchg(device_t dev) in ip17x_statchg() 557 ip17x_readreg(device_t dev, int addr) in ip17x_readreg() [all …]
|
/freebsd/sys/dev/powermac_nvram/ |
H A D | powermac_nvram.c | 107 powermac_nvram_probe(device_t dev) in powermac_nvram_probe() 128 powermac_nvram_attach(device_t dev) in powermac_nvram_attach() 185 powermac_nvram_detach(device_t dev) in powermac_nvram_detach() 263 powermac_nvram_read(struct cdev *dev, struct uio *uio, int ioflag) in powermac_nvram_read() 290 powermac_nvram_write(struct cdev *dev, struct uio *uio, int ioflag) in powermac_nvram_write() 387 erase_bank_amd(device_t dev, uint8_t *bank) in erase_bank_amd() 420 write_bank_amd(device_t dev, uint8_t *bank, uint8_t *data) in write_bank_amd() 465 erase_bank_sm(device_t dev, uint8_t *bank) in erase_bank_sm() 490 write_bank_sm(device_t dev, uint8_t *bank, uint8_t *data) in write_bank_sm() 516 erase_bank(device_t dev, uint8_t *bank) in erase_bank() [all …]
|
/freebsd/sys/arm/mv/ |
H A D | a37x0_gpio.c | 83 a37x0_gpio_get_node(device_t bus, device_t dev) in a37x0_gpio_get_node() 90 a37x0_gpio_get_bus(device_t dev) in a37x0_gpio_get_bus() 100 a37x0_gpio_pin_max(device_t dev, int *maxpin) in a37x0_gpio_pin_max() 111 a37x0_gpio_pin_getname(device_t dev, uint32_t pin, char *name) in a37x0_gpio_pin_getname() 124 a37x0_gpio_pin_getcaps(device_t dev, uint32_t pin, uint32_t *caps) in a37x0_gpio_pin_getcaps() 175 a37x0_gpio_pin_get(device_t dev, uint32_t pin, unsigned int *val) in a37x0_gpio_pin_get() 195 a37x0_gpio_pin_set(device_t dev, uint32_t pin, unsigned int val) in a37x0_gpio_pin_set() 215 a37x0_gpio_pin_toggle(device_t dev, uint32_t pin) in a37x0_gpio_pin_toggle() 235 a37x0_gpio_probe(device_t dev) in a37x0_gpio_probe() 264 a37x0_gpio_attach(device_t dev) in a37x0_gpio_attach() [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt76x2/ |
H A D | pci_phy.c | 13 mt76x2_phy_tssi_init_cal(struct mt76x02_dev *dev) in mt76x2_phy_tssi_init_cal() 36 mt76x2_phy_channel_calibrate(struct mt76x02_dev *dev, bool mac_stopped) in mt76x2_phy_channel_calibrate() 71 void mt76x2_phy_set_antenna(struct mt76x02_dev *dev) in mt76x2_phy_set_antenna() 117 int mt76x2_phy_set_channel(struct mt76x02_dev *dev, in mt76x2_phy_set_channel() 254 mt76x2_phy_temp_compensate(struct mt76x02_dev *dev) in mt76x2_phy_temp_compensate() 283 struct mt76x02_dev *dev; in mt76x2_phy_calibrate() local 300 int mt76x2_phy_start(struct mt76x02_dev *dev) in mt76x2_phy_start()
|
H A D | phy.c | 13 mt76x2_adjust_high_lna_gain(struct mt76x02_dev *dev, int reg, s8 offset) in mt76x2_adjust_high_lna_gain() 24 mt76x2_adjust_agc_gain(struct mt76x02_dev *dev, int reg, s8 offset) in mt76x2_adjust_agc_gain() 33 void mt76x2_apply_gain_adj(struct mt76x02_dev *dev) in mt76x2_apply_gain_adj() 45 void mt76x2_phy_set_txpower_regs(struct mt76x02_dev *dev, in mt76x2_phy_set_txpower_regs() 137 void mt76x2_phy_set_txpower(struct mt76x02_dev *dev) in mt76x2_phy_set_txpower() 184 void mt76x2_configure_tx_delay(struct mt76x02_dev *dev, in mt76x2_configure_tx_delay() 203 void mt76x2_phy_tssi_compensate(struct mt76x02_dev *dev) in mt76x2_phy_tssi_compensate() 245 mt76x2_phy_set_gain_val(struct mt76x02_dev *dev) in mt76x2_phy_set_gain_val() 274 void mt76x2_phy_update_channel_gain(struct mt76x02_dev *dev) in mt76x2_phy_update_channel_gain()
|
H A D | usb_mcu.c | 21 static void mt76x2u_mcu_load_ivb(struct mt76x02_dev *dev) in mt76x2u_mcu_load_ivb() 28 static void mt76x2u_mcu_enable_patch(struct mt76x02_dev *dev) in mt76x2u_mcu_enable_patch() 43 static void mt76x2u_mcu_reset_wmt(struct mt76x02_dev *dev) in mt76x2u_mcu_reset_wmt() 57 static int mt76x2u_mcu_load_rom_patch(struct mt76x02_dev *dev) in mt76x2u_mcu_load_rom_patch() 144 static int mt76x2u_mcu_load_firmware(struct mt76x02_dev *dev) in mt76x2u_mcu_load_firmware() 235 int mt76x2u_mcu_fw_init(struct mt76x02_dev *dev) in mt76x2u_mcu_fw_init() 246 int mt76x2u_mcu_init(struct mt76x02_dev *dev) in mt76x2u_mcu_init()
|
/freebsd/sys/dev/agp/ |
H A D | agp_apple.c | 68 agp_apple_probe(device_t dev) in agp_apple_probe() 110 agp_apple_attach(device_t dev) in agp_apple_attach() 163 agp_apple_detach(device_t dev) in agp_apple_detach() 187 agp_apple_get_aperture(device_t dev) in agp_apple_get_aperture() 195 agp_apple_set_aperture(device_t dev, uint32_t aperture) in agp_apple_set_aperture() 218 agp_apple_bind_page(device_t dev, vm_offset_t offset, vm_offset_t physical) in agp_apple_bind_page() 230 agp_apple_unbind_page(device_t dev, vm_offset_t offset) in agp_apple_unbind_page() 242 agp_apple_flush_tlb(device_t dev) in agp_apple_flush_tlb()
|
/freebsd/sys/dev/bhnd/cores/pci/ |
H A D | bhnd_pcib.c | 55 bhnd_pcib_attach(device_t dev) in bhnd_pcib_attach() 62 bhnd_pcib_detach(device_t dev) in bhnd_pcib_detach() 69 bhnd_pcib_suspend(device_t dev) in bhnd_pcib_suspend() 75 bhnd_pcib_resume(device_t dev) in bhnd_pcib_resume()
|
/freebsd/sys/dev/bhnd/cores/pcie2/ |
H A D | bhnd_pcie2b.c | 55 bhnd_pcie2b_attach(device_t dev) in bhnd_pcie2b_attach() 62 bhnd_pcie2b_detach(device_t dev) in bhnd_pcie2b_detach() 69 bhnd_pcie2b_suspend(device_t dev) in bhnd_pcie2b_suspend() 75 bhnd_pcie2b_resume(device_t dev) in bhnd_pcie2b_resume()
|
/freebsd/sys/dev/usb/controller/ |
H A D | ehci_imx.c | 143 device_t dev; member 155 imx_usbmisc_set_ctrl(device_t dev, u_int index, uint32_t bits) in imx_usbmisc_set_ctrl() 167 imx_usbmisc_clr_ctrl(device_t dev, u_int index, uint32_t bits) in imx_usbmisc_clr_ctrl() 179 imx_usbmisc_probe(device_t dev) in imx_usbmisc_probe() 193 imx_usbmisc_detach(device_t dev) in imx_usbmisc_detach() 206 imx_usbmisc_attach(device_t dev) in imx_usbmisc_attach() 263 device_t dev; member 292 imx_ehci_probe(device_t dev) in imx_ehci_probe() 306 imx_ehci_detach(device_t dev) in imx_ehci_detach() 368 imx_ehci_attach(device_t dev) in imx_ehci_attach()
|
/freebsd/sys/dev/smartpqi/ |
H A D | smartpqi_main.c | 321 pqi_find_ident(device_t dev) in pqi_find_ident() 376 smartpqi_probe(device_t dev) in smartpqi_probe() 394 device_t dev = softs->os_specific.pqi_dev; in pqisrc_save_controller_info() local 407 device_t dev = softs->os_specific.pqi_dev; in read_device_hint_resource() local 437 device_t dev = softs->os_specific.pqi_dev; in read_device_hint_decimal_value() local 499 smartpqi_attach(device_t dev) in smartpqi_attach() 706 smartpqi_detach(device_t dev) in smartpqi_detach() 745 smartpqi_suspend(device_t dev) in smartpqi_suspend() 766 smartpqi_resume(device_t dev) in smartpqi_resume() 786 smartpqi_shutdown(device_t dev) in smartpqi_shutdown()
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/ |
H A D | main.c | 25 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_run() local 99 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_start() local 113 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_stop() local 208 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_add_interface() local 289 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_remove_interface() local 322 struct mt7915_dev *dev = phy->dev; in mt7915_set_channel() local 367 struct mt7915_dev *dev = mt7915_hw_dev(hw); in mt7915_set_key() local 1024 struct mt7915_dev *dev = phy->dev; in mt7915_set_coverage_class() local 1147 struct mt7915_dev *dev = phy->dev; in mt7915_sta_rc_update() local 1159 struct mt7915_dev *dev = phy->dev; in mt7915_set_bitrate_mask() local [all …]
|
/freebsd/sys/dev/mthca/ |
H A D | mthca_mr.c | 299 int mthca_write_mtt_size(struct mthca_dev *dev) in mthca_write_mtt_size() 315 static void mthca_tavor_write_mtt_seg(struct mthca_dev *dev, in mthca_tavor_write_mtt_seg() 329 static void mthca_arbel_write_mtt_seg(struct mthca_dev *dev, in mthca_arbel_write_mtt_seg() 421 static inline u32 adjust_key(struct mthca_dev *dev, u32 key) in adjust_key() 512 int mthca_mr_alloc_notrans(struct mthca_dev *dev, u32 pd, in mthca_mr_alloc_notrans() 519 int mthca_mr_alloc_phys(struct mthca_dev *dev, u32 pd, in mthca_mr_alloc_phys() 567 int mthca_fmr_alloc(struct mthca_dev *dev, u32 pd, in mthca_fmr_alloc() 720 struct mthca_dev *dev = to_mdev(ibfmr->device); in mthca_tavor_map_phys_fmr() local 761 struct mthca_dev *dev = to_mdev(ibfmr->device); in mthca_arbel_map_phys_fmr() local 826 int mthca_init_mr_table(struct mthca_dev *dev) in mthca_init_mr_table() [all …]
|
/freebsd/sys/arm/mv/clk/ |
H A D | armada38x_coreclk.c | 85 armada38x_coreclk_read_4(device_t dev, bus_addr_t addr, uint32_t *val) in armada38x_coreclk_read_4() 100 armada38x_coreclk_write_4(device_t dev, bus_addr_t addr, uint32_t val) in armada38x_coreclk_write_4() 115 armada38x_coreclk_device_lock(device_t dev) in armada38x_coreclk_device_lock() 124 armada38x_coreclk_device_unlock(device_t dev) in armada38x_coreclk_device_unlock() 133 armada38x_coreclk_probe(device_t dev) in armada38x_coreclk_probe() 148 armada38x_coreclk_create_coreclk(device_t dev) in armada38x_coreclk_create_coreclk() 165 armada38x_coreclk_attach(device_t dev) in armada38x_coreclk_attach()
|
/freebsd/sys/dev/bhnd/cores/chipc/ |
H A D | chipc.c | 148 chipc_probe(device_t dev) in chipc_probe() 161 chipc_attach(device_t dev) in chipc_attach() 238 chipc_detach(device_t dev) in chipc_detach() 541 chipc_suspend(device_t dev) in chipc_suspend() 547 chipc_resume(device_t dev) in chipc_resume() 553 chipc_probe_nomatch(device_t dev, device_t child) in chipc_probe_nomatch() 574 chipc_print_child(device_t dev, device_t child) in chipc_print_child() 1142 chipc_enable_sprom(device_t dev) in chipc_enable_sprom() 1179 chipc_disable_sprom(device_t dev) in chipc_disable_sprom() 1310 chipc_read_chipst(device_t dev) in chipc_read_chipst() [all …]
|
/freebsd/sys/riscv/sifive/ |
H A D | sifive_gpio.c | 66 device_t dev; member 91 sfgpio_probe(device_t dev) in sfgpio_probe() 105 sfgpio_attach(device_t dev) in sfgpio_attach() 183 sfgpio_get_bus(device_t dev) in sfgpio_get_bus() 193 sfgpio_pin_max(device_t dev, int *maxpin) in sfgpio_pin_max() 205 sfgpio_pin_set(device_t dev, uint32_t pin, unsigned int val) in sfgpio_pin_set() 228 sfgpio_pin_get(device_t dev, uint32_t pin, unsigned int *val) in sfgpio_pin_get() 250 sfgpio_pin_toggle(device_t dev, uint32_t pin) in sfgpio_pin_toggle() 270 sfgpio_pin_getcaps(device_t dev, uint32_t pin, uint32_t *caps) in sfgpio_pin_getcaps() 304 sfgpio_pin_getname(device_t dev, uint32_t pin, char *name) in sfgpio_pin_getname() [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | mt792x_mac.c | 41 struct mt792x_dev *dev = phy->dev; in mt792x_mac_set_timeing() local 83 struct mt792x_dev *dev = phy->dev; in mt792x_mac_update_mib_stats() local 141 struct mt76_wcid *mt792x_rx_get_wcid(struct mt792x_dev *dev, u16 idx, in mt792x_rx_get_wcid() 182 void mt792x_mac_assoc_rssi(struct mt792x_dev *dev, struct sk_buff *skb) in mt792x_mac_assoc_rssi() 198 struct mt792x_dev *dev = phy->dev; in mt792x_mac_reset_counters() local 228 struct mt792x_dev *dev = container_of(mphy->dev, struct mt792x_dev, mt76); in mt792x_phy_update_channel() local 259 struct mt792x_dev *dev = container_of(mphy->dev, struct mt792x_dev, mt76); in mt792x_update_channel() local 273 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt792x_reset() local 289 void mt792x_mac_init_band(struct mt792x_dev *dev, u8 band) in mt792x_mac_init_band() 320 struct mt792x_dev *dev; in mt792x_pm_wake_work() local [all …]
|
H A D | mt76x02_eeprom.c | 12 mt76x02_efuse_read(struct mt76x02_dev *dev, u16 addr, u8 *data, in mt76x02_efuse_read() 45 int mt76x02_eeprom_copy(struct mt76x02_dev *dev, in mt76x02_eeprom_copy() 57 int mt76x02_get_efuse_data(struct mt76x02_dev *dev, u16 base, void *buf, in mt76x02_get_efuse_data() 72 void mt76x02_eeprom_parse_hw_cap(struct mt76x02_dev *dev) in mt76x02_eeprom_parse_hw_cap() 91 bool mt76x02_ext_pa_enabled(struct mt76x02_dev *dev, enum nl80211_band band) in mt76x02_ext_pa_enabled() 102 void mt76x02_get_rx_gain(struct mt76x02_dev *dev, enum nl80211_band band, in mt76x02_get_rx_gain() 130 u8 mt76x02_get_lna_gain(struct mt76x02_dev *dev, in mt76x02_get_lna_gain()
|
H A D | debugfs.c | 10 struct mt76_dev *dev = data; in mt76_reg_set() local 19 struct mt76_dev *dev = data; in mt76_reg_get() local 31 struct mt76_dev *dev = data; in mt76_napi_threaded_set() local 45 struct mt76_dev *dev = data; in mt76_napi_threaded_get() local 56 struct mt76_dev *dev = dev_get_drvdata(s->private); in mt76_queues_read() local 76 struct mt76_dev *dev = dev_get_drvdata(s->private); in mt76_rx_queues_read() local 108 struct mt76_dev *dev = phy->dev; in mt76_register_debugfs_fops() local
|
/freebsd/sys/dev/acpica/ |
H A D | acpi_acad.c | 96 device_t dev; in acpi_acad_get_status() local 124 device_t dev; in acpi_acad_notify_handler() local 141 acpi_acad_probe(device_t dev) in acpi_acad_probe() 155 acpi_acad_attach(device_t dev) in acpi_acad_attach() 195 device_t dev; in acpi_acad_ioctl() local 219 device_t dev = oidp->oid_arg1; in acpi_acad_sysctl() local 232 device_t dev; in acpi_acad_init_acline() local 271 device_t dev; in acpi_acad_get_acline() local
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/ |
H A D | sdio.c | 32 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); in mt7663s_txrx_worker() local 44 struct mt7615_dev *dev; in mt7663s_init_work() local 53 static int mt7663s_parse_intr(struct mt76_dev *dev, struct mt76s_intr *intr) in mt7663s_parse_intr() 102 struct mt7615_dev *dev; in mt7663s_probe() local 173 struct mt7615_dev *dev = sdio_get_drvdata(func); in mt7663s_remove() local 183 static int mt7663s_suspend(struct device *dev) in mt7663s_suspend() 216 static int mt7663s_resume(struct device *dev) in mt7663s_resume()
|
/freebsd/sys/crypto/via/ |
H A D | padlock.c | 80 padlock_probe(device_t dev) in padlock_probe() 114 padlock_attach(device_t dev) in padlock_attach() 130 padlock_detach(device_t dev) in padlock_detach() 139 padlock_probesession(device_t dev, const struct crypto_session_params *csp) in padlock_probesession() 176 padlock_newsession(device_t dev, crypto_session_t cses, in padlock_newsession() 213 padlock_freesession(device_t dev, crypto_session_t cses) in padlock_freesession() 222 padlock_process(device_t dev, struct cryptop *crp, int hint __unused) in padlock_process()
|