/freebsd-current/sys/contrib/dev/mediatek/mt76/ |
H A D | sdio.c | 23 static u32 mt76s_read_whisr(struct mt76_dev *dev) argument 25 return sdio_readl(dev->sdio.func, MCR_WHISR, NULL); 28 u32 mt76s_read_pcr(struct mt76_dev *dev) argument 30 struct mt76_sdio *sdio = &dev->sdio; 36 static u32 mt76s_read_mailbox(struct mt76_dev *dev, u32 offset) argument 38 struct sdio_func *func = dev->sdio.func; 46 dev_err(dev->dev, "failed setting address [err=%d]\n", err); 52 dev_err(dev->dev, "faile 91 mt76s_write_mailbox(struct mt76_dev *dev, u32 offset, u32 val) argument 144 mt76s_rr(struct mt76_dev *dev, u32 offset) argument 153 mt76s_wr(struct mt76_dev *dev, u32 offset, u32 val) argument 162 mt76s_rmw(struct mt76_dev *dev, u32 offset, u32 mask, u32 val) argument 171 mt76s_write_copy(struct mt76_dev *dev, u32 offset, const void *data, int len) argument 184 mt76s_read_copy(struct mt76_dev *dev, u32 offset, void *data, int len) argument 197 mt76s_wr_rp(struct mt76_dev *dev, u32 base, const struct mt76_reg_pair *data, int len) argument 212 mt76s_rd_rp(struct mt76_dev *dev, u32 base, struct mt76_reg_pair *data, int len) argument 226 mt76s_hw_init(struct mt76_dev *dev, struct sdio_func *func, int hw_ver) argument 304 mt76s_alloc_rx_queue(struct mt76_dev *dev, enum mt76_rxq_id qid) argument 323 mt76s_alloc_tx_queue(struct mt76_dev *dev) argument 343 mt76s_alloc_tx(struct mt76_dev *dev) argument 383 mt76s_process_rx_queue(struct mt76_dev *dev, struct mt76_queue *q) argument 412 struct mt76_dev *dev = container_of(sdio, struct mt76_dev, sdio); local 429 mt76s_process_tx_queue(struct mt76_dev *dev, struct mt76_queue *q) argument 465 struct mt76_dev *dev = container_of(sdio, struct mt76_dev, sdio); local 494 struct mt76_dev *dev; local 517 mt76s_tx_queue_skb(struct mt76_dev *dev, struct mt76_queue *q, enum mt76_txq_id qid, struct sk_buff *skb, struct mt76_wcid *wcid, struct ieee80211_sta *sta) argument 548 mt76s_tx_queue_skb_raw(struct mt76_dev *dev, struct mt76_queue *q, struct sk_buff *skb, u32 tx_info) argument 582 mt76s_tx_kick(struct mt76_dev *dev, struct mt76_queue *q) argument 595 mt76s_deinit(struct mt76_dev *dev) argument 630 mt76s_init(struct mt76_dev *dev, struct sdio_func *func, const struct mt76_bus_ops *bus_ops) argument [all...] |
H A D | mt76x02_phy.c | 12 void mt76x02_phy_set_rxpath(struct mt76x02_dev *dev) argument 16 val = mt76_rr(dev, MT_BBP(AGC, 0)); 19 switch (dev->mphy.chainmask & 0xf) { 28 mt76_wr(dev, MT_BBP(AGC, 0), val); 30 val = mt76_rr(dev, MT_BBP(AGC, 0)); 34 void mt76x02_phy_set_txdac(struct mt76x02_dev *dev) argument 38 txpath = (dev->mphy.chainmask >> 8) & 0xf; 41 mt76_set(dev, MT_BBP(TXBE, 5), 0x3); 44 mt76_clear(dev, MT_BBP(TXBE, 5), 0x3); 93 void mt76x02_phy_set_txpower(struct mt76x02_dev *dev, in argument 124 mt76x02_phy_set_bw(struct mt76x02_dev *dev, int width, u8 ctrl) argument 150 mt76x02_phy_set_band(struct mt76x02_dev *dev, int band, bool primary_upper) argument 169 mt76x02_phy_adjust_vga_gain(struct mt76x02_dev *dev) argument 193 mt76x02_init_agc_gain(struct mt76x02_dev *dev) argument [all...] |
H A D | mt792x_mac.c | 21 mt792x_mutex_acquire(phy->dev); 30 mt792x_mutex_release(phy->dev); 32 mt76_tx_status_check(mphy->dev, false); 41 struct mt792x_dev *dev = phy->dev; local 53 mt76_set(dev, MT_ARB_SCR(0), 61 mt76_wr(dev, MT_TMAC_CDTR(0), cck + reg_offset); 62 mt76_wr(dev, MT_TMAC_ODTR(0), ofdm + reg_offset); 63 mt76_wr(dev, MT_TMAC_ICR0(0), 74 mt76_rmw_field(dev, MT_AGG_ACR 83 struct mt792x_dev *dev = phy->dev; local 141 mt792x_rx_get_wcid(struct mt792x_dev *dev, u16 idx, bool unicast) argument 182 mt792x_mac_assoc_rssi(struct mt792x_dev *dev, struct sk_buff *skb) argument 198 struct mt792x_dev *dev = phy->dev; local 228 struct mt792x_dev *dev = container_of(mphy->dev, struct mt792x_dev, mt76); local 259 struct mt792x_dev *dev = container_of(mphy->dev, struct mt792x_dev, mt76); local 273 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); local 289 mt792x_mac_init_band(struct mt792x_dev *dev, u8 band) argument 320 struct mt792x_dev *dev; local 354 struct mt792x_dev *dev; local [all...] |
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7921/ |
H A D | sdio_mcu.c | 19 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); local 29 if (dev->fw_assert) 41 mt7921_skb_add_usb_sdio_hdr(dev, skb, type); 45 ret = mt76_tx_queue_skb_raw(dev, mdev->q_mcu[txq], skb, 0); 49 mt76_queue_kick(dev, mdev->q_mcu[txq]); 54 static u32 mt7921s_read_rm3r(struct mt792x_dev *dev) argument 56 struct mt76_sdio *sdio = &dev->mt76.sdio; 61 static u32 mt7921s_clear_rm3r_drv_own(struct mt792x_dev *dev) argument 63 struct mt76_sdio *sdio = &dev->mt76.sdio; 74 int mt7921s_mcu_init(struct mt792x_dev *dev) argument 100 mt7921s_mcu_drv_pmctrl(struct mt792x_dev *dev) argument 136 mt7921s_mcu_fw_pmctrl(struct mt792x_dev *dev) argument [all...] |
/freebsd-current/sys/dev/ichiic/ |
H A D | ig4_acpi.c | 40 #include <contrib/dev/acpica/include/acpi.h> 41 #include <contrib/dev/acpica/include/accommon.h> 43 #include <dev/acpica/acpivar.h> 44 #include <dev/iicbus/iiconf.h> 46 #include <dev/ichiic/ig4_reg.h> 47 #include <dev/ichiic/ig4_var.h> 49 static int ig4iic_acpi_probe(device_t dev); 50 static int ig4iic_acpi_attach(device_t dev); 51 static int ig4iic_acpi_detach(device_t dev); 68 ig4iic_acpi_probe(device_t dev) argument 83 ig4iic_acpi_attach(device_t dev) argument 127 ig4iic_acpi_detach(device_t dev) argument 154 ig4iic_acpi_suspend(device_t dev) argument 162 ig4iic_acpi_resume(device_t dev) argument [all...] |
/freebsd-current/sys/dev/ata/ |
H A D | ata-isa.c | 44 #include <dev/ata/ata-all.h> 59 ata_isa_probe(device_t dev) argument 66 if (ISA_PNP_PROBE(device_get_parent(dev), dev, ata_ids) == ENXIO) 71 if (!(io = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT, &rid, 76 if (bus_get_resource(dev, SYS_RES_IOPORT, ATA_CTLADDR_RID, &tmp, &tmp)) { 77 bus_set_resource(dev, SYS_RES_IOPORT, ATA_CTLADDR_RID, 83 if (!(ctlio = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT, &rid, 85 bus_release_resource(dev, SYS_RES_IOPORT, ATA_IOADDR_RID, io); 90 bus_release_resource(dev, SYS_RES_IOPOR 98 ata_isa_attach(device_t dev) argument 147 ata_isa_detach(device_t dev) argument 166 ata_isa_suspend(device_t dev) argument 177 ata_isa_resume(device_t dev) argument [all...] |
/freebsd-current/sys/dev/sdhci/ |
H A D | sdhci_fdt_gpio.c | 38 #include <dev/gpio/gpiobusvar.h> 39 #include <dev/mmc/bridge.h> 40 #include <dev/ofw/ofw_bus.h> 41 #include <dev/ofw/ofw_bus_subr.h> 42 #include <dev/sdhci/sdhci.h> 43 #include <dev/sdhci/sdhci_fdt_gpio.h> 46 device_t dev; member in struct:sdhci_fdt_gpio 77 device_t dev; local 80 dev = gpio->dev; 173 device_t dev; local 196 sdhci_fdt_gpio_setup(device_t dev, struct sdhci_slot *slot) argument [all...] |
/freebsd-current/sys/dev/gpio/ |
H A D | gpioiic.c | 40 #include <dev/gpio/gpiobusvar.h> 41 #include <dev/iicbus/iiconf.h> 52 device_t dev; member in struct:gpioiic_softc 59 #include <dev/ofw/ofw_bus.h> 70 gpioiic_get_node(device_t bus, device_t dev) argument 83 node = ofw_bus_get_node(sc->dev); 91 if ((err = gpio_pin_get_by_ofw_idx(sc->dev, node, 93 device_printf(sc->dev, "invalid gpios property\n"); 96 if ((err = gpio_pin_get_by_ofw_idx(sc->dev, node, 98 device_printf(sc->dev, "ivali 189 gpioiic_setsda(device_t dev, int val) argument 203 gpioiic_setscl(device_t dev, int val) argument 217 gpioiic_getscl(device_t dev) argument 228 gpioiic_getsda(device_t dev) argument 239 gpioiic_reset(device_t dev, u_char speed, u_char addr, u_char *oldaddr) argument 265 gpioiic_probe(device_t dev) argument 288 gpioiic_attach(device_t dev) argument 328 gpioiic_detach(device_t dev) argument [all...] |
H A D | pl061_acpi.c | 41 #include <contrib/dev/acpica/include/acpi.h> 42 #include <contrib/dev/acpica/include/accommon.h> 44 #include <dev/acpica/acpivar.h> 45 #include <dev/gpio/gpiobusvar.h> 52 pl061_acpi_probe(device_t dev) argument 59 rv = ACPI_ID_PROBE(device_get_parent(dev), dev, gpio_ids, NULL); 62 device_set_desc(dev, "Arm PL061 GPIO Controller"); 68 pl061_acpi_attach(device_t dev) argument 72 error = pl061_attach(dev); [all...] |
/freebsd-current/sys/dev/drm2/ |
H A D | drm_memory.c | 37 #include <dev/drm2/drmP.h> 43 struct drm_device * dev) 93 struct drm_device * dev) 100 void drm_core_ioremap(struct drm_local_map *map, struct drm_device *dev) argument 102 if (drm_core_has_AGP(dev) && 103 dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP) 104 map->handle = agp_remap(map->offset, map->size, dev); 110 void drm_core_ioremap_wc(struct drm_local_map *map, struct drm_device *dev) argument 112 if (drm_core_has_AGP(dev) 42 agp_remap(unsigned long offset, unsigned long size, struct drm_device * dev) argument 92 agp_remap(unsigned long offset, unsigned long size, struct drm_device * dev) argument 121 drm_core_ioremapfree(struct drm_local_map *map, struct drm_device *dev) argument [all...] |
/freebsd-current/sys/dev/bhnd/cores/pmu/ |
H A D | bhnd_pmu_core.c | 43 #include <dev/bhnd/bhnd.h> 60 bhnd_pmu_core_probe(device_t dev) argument 65 id = bhnd_device_lookup(dev, bhnd_pmucore_devices, 71 if ((error = bhnd_pmu_probe(dev)) > 0) 74 bhnd_set_default_core_desc(dev); 79 bhnd_pmu_core_attach(device_t dev) argument 86 sc = device_get_softc(dev); 90 res = bhnd_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, RF_ACTIVE); 92 device_printf(dev, "failed to allocate resources\n"); 97 if ((error = bhnd_alloc_pmu(dev))) { 115 bhnd_pmu_core_detach(device_t dev) argument [all...] |
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt76x2/ |
H A D | eeprom.h | 43 void mt76x2_get_rate_power(struct mt76x02_dev *dev, struct mt76x02_rate_power *t, 45 void mt76x2_get_power_info(struct mt76x02_dev *dev, 48 int mt76x2_get_temp_comp(struct mt76x02_dev *dev, struct mt76x2_temp_comp *t); 49 void mt76x2_read_rx_gain(struct mt76x02_dev *dev); 52 mt76x2_has_ext_lna(struct mt76x02_dev *dev) argument 54 u32 val = mt76x02_eeprom_get(dev, MT_EE_NIC_CONF_1); 56 if (dev->mphy.chandef.chan->band == NL80211_BAND_2GHZ) 63 mt76x2_temp_tx_alc_enabled(struct mt76x02_dev *dev) argument 67 val = mt76x02_eeprom_get(dev, MT_EE_TX_POWER_EXT_PA_5G); 71 return mt76x02_eeprom_get(dev, MT_EE_NIC_CONF_ 76 mt76x2_tssi_enabled(struct mt76x02_dev *dev) argument [all...] |
H A D | eeprom.c | 15 mt76x2_eeprom_get_macaddr(struct mt76x02_dev *dev) argument 17 void *src = dev->mt76.eeprom.data + MT_EE_MAC_ADDR; 19 memcpy(dev->mphy.macaddr, src, ETH_ALEN); 24 mt76x2_has_cal_free_data(struct mt76x02_dev *dev, u8 *efuse) argument 50 mt76x2_apply_cal_free_data(struct mt76x02_dev *dev, u8 *efuse) argument 80 struct device_node *np = dev->mt76.dev->of_node; 81 u8 *eeprom = dev->mt76.eeprom.data; 94 if (!mt76x2_has_cal_free_data(dev, efuse)) 123 static int mt76x2_check_eeprom(struct mt76x02_dev *dev) argument 141 mt76x2_eeprom_load(struct mt76x02_dev *dev) argument 183 mt76x2_set_rx_gain_group(struct mt76x02_dev *dev, u8 val) argument 198 mt76x2_set_rssi_offset(struct mt76x02_dev *dev, int chain, u8 val) argument 227 mt76x2_get_5g_rx_gain(struct mt76x02_dev *dev, u8 channel) argument 254 mt76x2_read_rx_gain(struct mt76x02_dev *dev) argument 283 mt76x2_get_rate_power(struct mt76x02_dev *dev, struct mt76x02_rate_power *t, struct ieee80211_channel *chan) argument 335 mt76x2_get_power_info_2g(struct mt76x02_dev *dev, struct mt76x2_tx_power_info *t, struct ieee80211_channel *chan, int chain, int offset) argument 365 mt76x2_get_power_info_5g(struct mt76x02_dev *dev, struct mt76x2_tx_power_info *t, struct ieee80211_channel *chan, int chain, int offset) argument 416 mt76x2_get_power_info(struct mt76x02_dev *dev, struct mt76x2_tx_power_info *t, struct ieee80211_channel *chan) argument 449 mt76x2_get_temp_comp(struct mt76x02_dev *dev, struct mt76x2_temp_comp *t) argument 483 mt76x2_eeprom_init(struct mt76x02_dev *dev) argument [all...] |
/freebsd-current/sys/dev/dpaa/ |
H A D | fman_fdt.c | 33 #include <dev/fdt/simplebus.h> 34 #include <dev/ofw/ofw_bus.h> 35 #include <dev/ofw/ofw_bus_subr.h> 44 static int fman_fdt_probe(device_t dev); 69 fman_fdt_probe(device_t dev) argument 72 if (!ofw_bus_status_okay(dev)) 75 if (!ofw_bus_is_compatible(dev, "fsl,fman")) 78 device_set_desc(dev, FFMAN_DEVSTR); 86 device_t dev; local 90 dev [all...] |
/freebsd-current/sys/dev/altera/jtag_uart/ |
H A D | altera_jtag_uart_fdt.c | 52 #include <dev/altera/jtag_uart/altera_jtag_uart.h> 54 #include <dev/fdt/fdt_common.h> 55 #include <dev/ofw/openfirm.h> 56 #include <dev/ofw/ofw_bus.h> 57 #include <dev/ofw/ofw_bus_subr.h> 63 altera_jtag_uart_fdt_probe(device_t dev) argument 66 if (!ofw_bus_status_okay(dev)) 69 if (ofw_bus_is_compatible(dev, "altera,jtag_uart-11_0")) { 70 device_set_desc(dev, "Altera JTAG UART"); 77 altera_jtag_uart_fdt_attach(device_t dev) argument 119 altera_jtag_uart_fdt_detach(device_t dev) argument [all...] |
/freebsd-current/sys/dev/beri/ |
H A D | beri_mem.c | 47 #include <dev/fdt/fdt_common.h> 48 #include <dev/ofw/openfirm.h> 49 #include <dev/ofw/ofw_bus.h> 50 #include <dev/ofw/ofw_bus_subr.h> 60 device_t dev; member in struct:beri_mem_softc 71 mem_open(struct cdev *dev, int flags __unused, argument 76 sc = dev->si_drv1; 82 mem_close(struct cdev *dev, int flags __unused, argument 87 sc = dev->si_drv1; 93 mem_ioctl(struct cdev *dev, u_lon argument 101 mem_mmap(struct cdev *dev, vm_ooffset_t offset, vm_paddr_t *paddr, int nprot, vm_memattr_t *memattr) argument 126 beri_mem_probe(device_t dev) argument 140 beri_mem_attach(device_t dev) argument [all...] |
/freebsd-current/sys/dev/pst/ |
H A D | pst-pci.c | 46 #include <dev/pci/pcivar.h> 47 #include <dev/pci/pcireg.h> 49 #include "dev/pst/pst-iop.h" 52 iop_pci_probe(device_t dev) argument 55 if (pci_get_devid(dev) == 0x19628086 && pci_get_subvendor(dev) == 0x105a) { 56 device_set_desc(dev, "Promise SuperTrak SX6000 ATA RAID controller"); 61 if (pci_get_devid(dev) == 0x19608086 && pci_get_subvendor(dev) == 0x105a) { 62 device_set_desc(dev, "Promis 70 iop_pci_attach(device_t dev) argument 101 iop_pci_detach(device_t dev) argument [all...] |
/freebsd-current/sys/dev/dwc/ |
H A D | if_dwc_aw.c | 39 #include <dev/mii/miivar.h> 41 #include <dev/ofw/ofw_bus.h> 42 #include <dev/ofw/ofw_bus_subr.h> 44 #include <dev/clk/clk.h> 45 #include <dev/hwreset/hwreset.h> 46 #include <dev/regulator/regulator.h> 50 #include <dev/dwc/if_dwcvar.h> 51 #include <dev/dwc/dwc1000_reg.h> 56 a20_if_dwc_probe(device_t dev) argument 59 if (!ofw_bus_status_okay(dev)) 69 a20_if_dwc_init(device_t dev) argument 126 a20_if_dwc_mii_clk(device_t dev) argument [all...] |
/freebsd-current/sys/dev/iicbus/mux/ |
H A D | ltc430x.c | 37 #include <dev/iicbus/iicbus.h> 38 #include <dev/iicbus/iiconf.h> 55 #include <dev/ofw/ofw_bus.h> 56 #include <dev/ofw/ofw_bus_subr.h> 57 #include <dev/ofw/openfirm.h> 67 #include <dev/iicbus/mux/iicmux.h> 84 ltc430x_bus_select(device_t dev, int busidx, struct iic_reqbus_data *rd) argument 86 struct ltc430x_softc *sc = device_get_softc(dev); 111 return (iicdev_writeto(dev, LTC430X_CTLREG_3, &busbits, sizeof(busbits), 116 ltc430x_find_chiptype(device_t dev) argument 137 ltc430x_probe(device_t dev) argument 156 ltc430x_attach(device_t dev) argument 220 ltc430x_detach(device_t dev) argument [all...] |
/freebsd-current/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_cq.c | 39 #include <dev/mlx4/cmd.h> 40 #include <dev/mlx4/cq.h> 54 void mlx4_cq_completion(struct mlx4_dev *dev, u32 cqn) argument 58 cq = radix_tree_lookup(&mlx4_priv(dev)->cq_table.tree, 59 cqn & (dev->caps.num_cqs - 1)); 61 mlx4_dbg(dev, "Completion event for bogus CQ %08x\n", cqn); 70 void mlx4_cq_event(struct mlx4_dev *dev, u32 cqn, int event_type) argument 72 struct mlx4_cq_table *cq_table = &mlx4_priv(dev)->cq_table; 77 cq = radix_tree_lookup(&cq_table->tree, cqn & (dev->caps.num_cqs - 1)); 84 mlx4_warn(dev, "Asyn 94 mlx4_SW2HW_CQ(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox, int cq_num) argument 102 mlx4_MODIFY_CQ(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox, int cq_num, u32 opmod) argument 109 mlx4_HW2SW_CQ(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox, int cq_num) argument 117 mlx4_cq_modify(struct mlx4_dev *dev, struct mlx4_cq *cq, u16 count, u16 period) argument 139 mlx4_cq_resize(struct mlx4_dev *dev, struct mlx4_cq *cq, int entries, struct mlx4_mtt *mtt) argument 165 __mlx4_cq_alloc_icm(struct mlx4_dev *dev, int *cqn) argument 192 mlx4_cq_alloc_icm(struct mlx4_dev *dev, int *cqn) argument 211 __mlx4_cq_free_icm(struct mlx4_dev *dev, int cqn) argument 221 mlx4_cq_free_icm(struct mlx4_dev *dev, int cqn) argument 237 mlx4_cq_alloc(struct mlx4_dev *dev, int nent, struct mlx4_mtt *mtt, struct mlx4_uar *uar, u64 db_rec, struct mlx4_cq *cq, unsigned vector, int collapsed, int timestamp_en) argument 312 mlx4_cq_free(struct mlx4_dev *dev, struct mlx4_cq *cq) argument 339 mlx4_init_cq_table(struct mlx4_dev *dev) argument 357 mlx4_cleanup_cq_table(struct mlx4_dev *dev) argument [all...] |
/freebsd-current/sys/dev/dpaa2/ |
H A D | dpaa2_mac.c | 51 #include <dev/pci/pcivar.h> 102 dpaa2_mac_probe(device_t dev) argument 105 device_set_desc(dev, "DPAA2 MAC"); 110 dpaa2_mac_attach(device_t dev) argument 112 device_t pdev = device_get_parent(dev); 113 device_t child = dev; 115 struct dpaa2_mac_softc *sc = device_get_softc(dev); 117 struct dpaa2_devinfo *dinfo = device_get_ivars(dev); 123 sc->dev = dev; 194 dpaa2_mac_detach(device_t dev) argument 204 dpaa2_mac_setup_irq(device_t dev) argument 310 device_t dev = sc->dev; local [all...] |
/freebsd-current/sys/dev/mthca/ |
H A D | mthca_cmd.h | 244 int mthca_cmd_init(struct mthca_dev *dev); 245 void mthca_cmd_cleanup(struct mthca_dev *dev); 246 int mthca_cmd_use_events(struct mthca_dev *dev); 247 void mthca_cmd_use_polling(struct mthca_dev *dev); 248 void mthca_cmd_event(struct mthca_dev *dev, u16 token, 251 struct mthca_mailbox *mthca_alloc_mailbox(struct mthca_dev *dev, 253 void mthca_free_mailbox(struct mthca_dev *dev, struct mthca_mailbox *mailbox); 255 int mthca_SYS_EN(struct mthca_dev *dev); 256 int mthca_SYS_DIS(struct mthca_dev *dev); 257 int mthca_MAP_FA(struct mthca_dev *dev, struc [all...] |
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7603/ |
H A D | dma.c | 8 mt7603_rx_loopback_skb(struct mt7603_dev *dev, struct sk_buff *skb) argument 40 wcid = rcu_dereference(dev->mt76.wcid[idx]); 58 spin_lock_bh(&dev->ps_lock); 64 spin_unlock_bh(&dev->ps_lock); 74 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); local 83 mt76_mcu_rx_event(&dev->mt76, skb); 85 mt7603_rx_loopback_skb(dev, skb); 92 mt7603_mac_add_txs(dev, rxd); 96 mt76_mcu_rx_event(&dev->mt76, skb); 99 if (mt7603_mac_fill_rx(dev, sk 111 mt7603_init_rx_queue(struct mt7603_dev *dev, struct mt76_queue *q, int idx, int n_desc, int bufsize) argument 128 struct mt7603_dev *dev; local 152 mt7603_dma_init(struct mt7603_dev *dev) argument 233 mt7603_dma_cleanup(struct mt7603_dev *dev) argument [all...] |
/freebsd-current/sys/dev/agp/ |
H A D | agp_apple.c | 41 #include <dev/agp/agppriv.h> 42 #include <dev/agp/agpreg.h> 43 #include <dev/pci/pcivar.h> 44 #include <dev/pci/pcireg.h> 68 agp_apple_probe(device_t dev) argument 71 if (resource_disabled("agp", device_get_unit(dev))) 74 if (pci_get_class(dev) != PCIC_BRIDGE 75 || pci_get_subclass(dev) != PCIS_BRIDGE_HOST) 78 if (agp_find_caps(dev) == 0) 81 if (pci_get_class(dev) ! 110 agp_apple_attach(device_t dev) argument 163 agp_apple_detach(device_t dev) argument 187 agp_apple_get_aperture(device_t dev) argument 195 agp_apple_set_aperture(device_t dev, uint32_t aperture) argument 218 agp_apple_bind_page(device_t dev, vm_offset_t offset, vm_offset_t physical) argument 230 agp_apple_unbind_page(device_t dev, vm_offset_t offset) argument 242 agp_apple_flush_tlb(device_t dev) argument [all...] |
/freebsd-current/sys/compat/linuxkpi/common/src/ |
H A D | linux_interrupt.c | 41 struct device *dev; member in struct:irq_ent 51 lkpi_irq_rid(struct device *dev, unsigned int irq) argument 54 if (irq >= dev->irq_start && irq < dev->irq_end) 55 return (irq - dev->irq_start + 1); 61 lkpi_irq_ent(struct device *dev, unsigned int irq) argument 65 list_for_each_entry(irqe, &dev->irqents, links) 90 lkpi_irq_release(struct device *dev, struct irq_ent *irqe) argument 93 bus_teardown_intr(dev->bsddev, irqe->res, irqe->tag); 95 bus_release_resource(dev 101 lkpi_devm_irq_release(struct device *dev, void *p) argument 119 struct device *dev; local 171 struct device *dev; local 187 struct device *dev; local 204 struct device *dev; local 221 struct device *dev; local 236 struct device *dev; local [all...] |