| /device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/ |
| D | osl.h | 59 #define PKTDBG_TRACE(osh, pkt, bit) BCM_REFERENCE(osh) argument 62 #define PKTCTFMAP(osh, p) BCM_REFERENCE(osh) argument 68 #define SET_REG(osh, r, mask, val) W_REG((osh), (r), ((R_REG((osh), r) & ~(mask)) | (val))) argument 71 #define AND_REG(osh, r, v) W_REG(osh, (r), R_REG(osh, r) & (v)) argument 75 #define OR_REG(osh, r, v) W_REG(osh, (r), R_REG(osh, r) | (v)) argument 167 #define PKTSETCHAINED(osh, skb) BCM_REFERENCE(osh) argument 170 #define PKTCLRCHAINED(osh, skb) BCM_REFERENCE(osh) argument 178 #define PKTFRAGPKTID(osh, lb) (0) argument 181 #define PKTSETFRAGPKTID(osh, lb, id) BCM_REFERENCE(osh) argument 184 #define PKTFRAGTOTNUM(osh, lb) (0) argument [all …]
|
| D | linux_pkt.h | 54 #define PKTGET(osh, len, send) linux_pktget((osh), (len), __LINE__, __FUNCTION__) argument 55 #define PKTDUP(osh, skb) osl_pktdup((osh), (skb), __LINE__, __FUNCTION__) argument 57 #define PKTGET(osh, len, send) linux_pktget((osh), (len)) argument 58 #define PKTDUP(osh, skb) osl_pktdup((osh), (skb)) argument 60 #define PKTLIST_DUMP(osh, buf) BCM_REFERENCE(osh) argument 61 #define PKTDBG_TRACE(osh, pkt, bit) BCM_REFERENCE(osh) argument 63 #define PKTFREE(osh, skb, send) linux_pktfree((osh), (skb), (send), __LINE__, __FUNCTION__) argument 65 #define PKTFREE(osh, skb, send) linux_pktfree((osh), (skb), (send)) argument 68 #define PKTGET_STATIC(osh, len, send) osl_pktget_static((osh), (len)) argument 69 #define PKTFREE_STATIC(osh, skb, send) osl_pktfree_static((osh), (skb), (send)) argument [all …]
|
| D | linux_osl.h | 56 #define OSL_DMA_MAP_DUMP(osh) osl_dma_map_dump(osh) argument 58 #define OSL_DMA_MAP_DUMP(osh) do {} while (0) argument 115 #define OSL_PCMCIA_READ_ATTR(osh, offset, buf, size) \ argument 117 #define OSL_PCMCIA_WRITE_ATTR(osh, offset, buf, size) \ argument 123 #define OSL_PCI_READ_CONFIG(osh, offset, size) \ argument 125 #define OSL_PCI_WRITE_CONFIG(osh, offset, size, val) \ argument 131 #define OSL_PCI_BUS(osh) osl_pci_bus(osh) argument 132 #define OSL_PCI_SLOT(osh) osl_pci_slot(osh) argument 133 #define OSL_PCIE_DOMAIN(osh) osl_pcie_domain(osh) argument 134 #define OSL_PCIE_BUS(osh) osl_pcie_bus(osh) argument [all …]
|
| D | bcmsdh.h | 73 osl_t *osh; member
|
| D | hnd_pktq.h | 281 #define pktqflush(osh, pq, dir) pktq_pflush(osh, (pq), 0, (dir)) argument 294 #define spktqflush(osh, spq, dir) spktq_flush((osh), (spq), (dir)) argument
|
| D | bcmsdh_sdmmc.h | 67 osl_t *osh; /* osh handler */ member
|
| /device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
| D | linux_osl.c | 126 #define DMA_LOCK(osh) osl_dma_lock(osh) argument 127 #define DMA_UNLOCK(osh) osl_dma_unlock(osh) argument 128 #define DMA_LOCK_INIT(osh) osl_dma_lock_init(osh); argument 130 #define DMA_LOCK(osh) do { /* noop */ } while(0) argument 131 #define DMA_UNLOCK(osh) do { /* noop */ } while(0) argument 132 #define DMA_LOCK_INIT(osh) do { /* noop */ } while(0) argument 234 osl_dma_map_dump(osl_t *osh) in osl_dma_map_dump() 277 osl_dma_map_log_deinit(osl_t *osh) in osl_dma_map_log_deinit() 291 osl_dma_map_logging(osl_t *osh, void *handle, dmaaddr_t pa, uint32 len) in osl_dma_map_logging() 325 osl_t *osh; in osl_attach() local [all …]
|
| D | linux_pkt.c | 74 int osl_static_mem_init(osl_t *osh, void *adapter) in osl_static_mem_init() 126 int osl_static_mem_deinit(osl_t *osh, void *adapter) in osl_static_mem_deinit() 147 osl_fwderbuf_reset(osl_t *osh, struct sk_buff *skb) in osl_fwderbuf_reset() 152 osl_alloc_skb(osl_t *osh, unsigned int len) in osl_alloc_skb() 174 osl_pkt_tonative(osl_t *osh, void *pkt) in osl_pkt_tonative() 194 osl_pkt_frmnative(osl_t *osh, void *pkt) in osl_pkt_frmnative() 234 linux_pktget(osl_t *osh, uint len, int line, const char *caller) in linux_pktget() 263 linux_pktfree_irq(osl_t *osh, void *p, bool send, int line, const char *caller) in linux_pktfree_irq() 332 linux_pktfree(osl_t *osh, void *p, bool send, int line, const char *caller) in linux_pktfree() 400 osl_pktget_static(osl_t *osh, uint len) in osl_pktget_static() [all …]
|
| D | hndpmu.c | 102 si_sdiod_drive_strength_init(si_t *sih, osl_t *osh, uint32 drivestrength) in si_sdiod_drive_strength_init() 122 osl_t *osh = si_osh(sih); in si_switch_pmu_dependency() local 285 si_pmu_ulp_chipconfig(si_t *sih, osl_t *osh) in si_pmu_ulp_chipconfig() 318 si_pmu_ulp_ilp_config(si_t *sih, osl_t *osh, uint32 ilp_period) in si_pmu_ulp_ilp_config() 328 si_pmu_ds1_res_init(si_t *sih, osl_t *osh) in si_pmu_ds1_res_init() 390 void si_pmu_set_min_res_mask(si_t *sih, osl_t *osh, uint min_res_mask) in si_pmu_set_min_res_mask() 461 si_pmustatstimer_update(osl_t *osh, pmuregs_t *pmu, uint8 timerid) in si_pmustatstimer_update() 482 osl_t *osh = si_osh(sih); in si_pmustatstimer_int_enable() local 504 osl_t *osh = si_osh(sih); in si_pmustatstimer_int_disable() local 526 osl_t *osh = si_osh(sih); in si_pmustatstimer_init() local [all …]
|
| D | hndlhl.c | 55 si_lhl_setup(si_t *sih, osl_t *osh) in si_lhl_setup() 129 si_lhl_set_lpoclk(si_t *sih, osl_t *osh, uint32 lpo_force) in si_lhl_set_lpoclk() 266 si_lhl_timer_config(si_t *sih, osl_t *osh, int timer_type) in si_lhl_timer_config() 347 si_lhl_ilp_config(si_t *sih, osl_t *osh, uint32 ilp_period) in si_lhl_ilp_config() 369 si_lhl_enable_sdio_wakeup(si_t *sih, osl_t *osh) in si_lhl_enable_sdio_wakeup()
|
| D | hnd_pktpool.c | 118 pktpool_attach(osl_t *osh, uint32 total_pools) in pktpool_attach() 143 pktpool_dettach(osl_t *osh) in pktpool_dettach() 229 pktpool_init(osl_t *osh, pktpool_t *pktp, int *n_pkts, int max_pkt_bytes, bool istx, in pktpool_init() 305 pktpool_deinit(osl_t *osh, pktpool_t *pktp) in pktpool_deinit() 355 pktpool_fill(osl_t *osh, pktpool_t *pktp, bool minimal) in pktpool_fill() 401 pktpool_reclaim(osl_t *osh, pktpool_t *pktp, uint16 free_cnt) in pktpool_reclaim() 477 pktpool_empty(osl_t *osh, pktpool_t *pktp) in pktpool_empty() 942 pktpool_avail_notify_normal(osl_t *osh, pktpool_t *pktp) in pktpool_avail_notify_normal() 961 pktpool_avail_notify_exclusive(osl_t *osh, pktpool_t *pktp, pktpool_cb_t cb) in pktpool_avail_notify_exclusive() 1213 hnd_pktpool_init(osl_t *osh) in hnd_pktpool_init()
|
| D | hndmem.c | 51 osl_t *osh = si_osh(sih); in hndmem_num_banks() local 107 osl_t *osh = si_osh(sih); in hndmem_bank_size() local 206 osl_t *osh = si_osh(sih); in hndmem_sleeppda_bank_config() local 268 osl_t *osh = si_osh(sih); in hndmem_activepda_bank_config() local
|
| D | pcie_core.c | 53 void pcie_watchdog_reset(osl_t *osh, si_t *sih, uint32 wd_mask, uint32 wd_val) in pcie_watchdog_reset() 122 void pcie_serdes_iddqdisable(osl_t *osh, si_t *sih, sbpcieregs_t *sbpcieregs) in pcie_serdes_iddqdisable()
|
| D | dhd_sdio.c | 356 #define PKTALIGN(osh, p, len, align) \ argument 1824 osl_t *osh; in dhd_bus_txdata() local 1989 osl_t *osh; in dhdsdio_txpkt_preprocess() local 2252 osl_t *osh; in dhdsdio_txpkt_postprocess() local 2301 osl_t *osh; in dhdsdio_txpkt() local 2440 osl_t *osh; in dhdsdio_sendfromq() local 4850 osl_t *osh; in dhd_bus_stop() local 5387 osl_t *osh = bus->dhd->osh; in dhdsdio_rxglom() local 5811 osl_t *osh = bus->dhd->osh; in dhdsdio_readframes() local 7239 osl_t *osh = bus->dhd->osh; in dhdsdio_pktgen() local [all …]
|
| D | bcmsdh_sdmmc_linux.c | 88 osl_t *osh = NULL; in sdioh_probe() local 135 osl_t *osh; in sdioh_remove() local
|
| D | bcmutils.c | 79 pkttotlen(osl_t *osh, void *p) in pkttotlen() 102 pktlast(osl_t *osh, void *p) in pktlast() 112 pktsegcnt(osl_t *osh, void *p) in pktsegcnt() 132 pktcopy(osl_t *osh, void *p, uint offset, int len, uchar *buf) in pktcopy() 164 pktfrombuf(osl_t *osh, void *p, uint offset, int len, uchar *buf) in pktfrombuf() 192 pktdataoffset(osl_t *osh, void *p, uint offset) in pktdataoffset() 213 pktoffset(osl_t *osh, void *p, uint offset) in pktoffset() 242 prpkt(const char *msg, osl_t *osh, void *p0) in prpkt() 677 bcm_mwbmap_init(osl_t *osh, uint32 items_max) in bcm_mwbmap_init() 751 bcm_mwbmap_fini(osl_t * osh, struct bcm_mwbmap * mwbmap_hdl) in bcm_mwbmap_fini() [all …]
|
| D | bcmsdspi_linux.c | 203 spi_reg_map(osl_t *osh, uintptr addr, int size) in spi_reg_map() 209 spi_reg_unmap(osl_t *osh, uintptr addr, int size) in spi_reg_unmap()
|
| D | dhd_pcie.c | 419 dhdpcie_bus_reg_map(osl_t *osh, ulong addr, int size) in dhdpcie_bus_reg_map() 425 dhdpcie_bus_reg_unmap(osl_t *osh, volatile char *addr, int size) in dhdpcie_bus_reg_unmap() 632 int dhdpcie_bus_attach(osl_t *osh, dhd_bus_t **bus_ptr, in dhdpcie_bus_attach() 1146 osl_t *osh = bus->osh; in dhdpcie_set_pwr_state() local 1219 osl_t *osh = bus->osh; in dhdpcie_config_restore() local 1267 osl_t *osh = bus->osh; in dhdpcie_config_save() local 1360 osl_t *osh = bus->osh; in dhdpcie_dongle_attach() local 1888 osl_t *osh = NULL; in dhdpcie_bus_release() local 1957 dhdpcie_bus_release_dongle(dhd_bus_t *bus, osl_t *osh, bool dongle_isolation, bool reset_flag) in dhdpcie_bus_release_dongle() 2044 dhdpcie_bus_release_malloc(dhd_bus_t *bus, osl_t *osh) in dhdpcie_bus_release_malloc() [all …]
|
| D | hnd_pktq.c | 1141 pktq_pflush(osl_t *osh, struct pktq *pq, int prec, bool dir) in pktq_pflush() 1156 spktq_flush(osl_t *osh, struct spktq *spq, bool dir) in spktq_flush() 1171 pktq_flush(osl_t *osh, struct pktq *pq, bool dir) in pktq_flush()
|
| D | siutils.c | 171 si_attach(uint devid, osl_t *osh, volatile void *regs, in si_attach() 223 si_kattach(osl_t *osh) in si_kattach() 576 si_check_boot_type(si_t *sih, osl_t *osh) in si_check_boot_type() 628 si_doattach(si_info_t *sii, uint devid, osl_t *osh, volatile void *regs, in si_doattach() 945 si_setosh(si_t *sih, osl_t *osh) in si_setosh() 3138 si_pmu_avb_clk_set(si_t *sih, osl_t *osh, bool set_flag) in si_pmu_avb_clk_set() 3276 osl_t *osh = si_osh(sih); in si_get_sromctl() local 3292 osl_t *osh = si_osh(sih); in si_set_sromctl() local
|
| D | dbus.c | 570 check_file(osl_t *osh, unsigned char *headers) in check_file() 1432 dbus_attach(osl_t *osh, int rxsize, int nrxq, int ntxq, dhd_pub_t *pub, in dbus_attach() 1527 osl_t *osh; in dbus_detach() local 2715 osl_t *osh = NULL; in dhd_dbus_probe_cb() local 2826 osl_t *osh; in dhd_dbus_disconnect_cb() local
|
| D | dhd_msgbuf.c | 440 osl_t *osh; /* OSL handle */ member 1399 osl_t *osh = dhd->osh; in dhd_dma_buf_alloc() local 1455 osl_t *osh = dhd->osh; in dhd_dma_buf_free() local 1685 #define DHD_NATIVE_TO_PKTID_FINI_IOCTL(osh, map) dhd_pktid_map_fini_ioctl((osh), (map)) argument 1750 #define DHD_PKTID_AUDIT_LOCK_INIT(osh) dhd_os_spin_lock_init(osh) argument 1751 #define DHD_PKTID_AUDIT_LOCK_DEINIT(osh, lock) dhd_os_spin_lock_deinit(osh, lock) argument 1755 #define DHD_PKTID_AUDIT_LOCK_INIT(osh) (void *)(1) argument 1756 #define DHD_PKTID_AUDIT_LOCK_DEINIT(osh, lock) do { /* noop */ } while (0) argument 1766 #define DHD_PKTID_LOCK_INIT(osh) dhd_os_spin_lock_init(osh) argument 1767 #define DHD_PKTID_LOCK_DEINIT(osh, lock) dhd_os_spin_lock_deinit(osh, lock) argument [all …]
|
| D | dbus_usb.c | 280 osl_t *osh = pub->osh; in dbus_usb_detach() local 746 osl_t *osh = usbinfo->pub->osh; in dbus_usb_dl_writeimage() local
|
| D | aiutils.c | 1341 osl_t *osh; in ai_dumpregs() local 1448 osl_t *osh = sii->osh; in ai_update_backplane_timeouts() local 1933 osl_t *osh = sii->osh; in ai_clear_backplane_to() local
|
| D | bcm_app_utils.c | 930 osl_t *osh = ctx; in wl_cntbuf_to_xtlv_format() local
|