Home
last modified time | relevance | path

Searched refs:bus (Results 1 - 25 of 110) sorted by relevance

12345

/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Ddhd_sdio.c177 * bufpool was present for gspi bus.
179 #define PKTFREE2() if ((bus->bus != SPI_BUS) || bus->usebufpool) \
180 PKTFREE(bus->dhd->osh, pkt, FALSE);
191 #define REMAP_ENAB(bus) ((bus)->remap)
192 #define REMAP_ISADDR(bus, a) (((a) >= ((bus)->orig_ramsize)) && ((a) < ((bus)
376 dhdsdio_is_dataok(dhd_bus_t *bus) dhdsdio_is_dataok() argument
382 dhdsdio_get_databufcnt(dhd_bus_t *bus) dhdsdio_get_databufcnt() argument
592 dhdsdio_tune_fifoparam(struct dhd_bus *bus) dhdsdio_tune_fifoparam() argument
637 dhd_dongle_setramsize(struct dhd_bus *bus, int mem_size) dhd_dongle_setramsize() argument
649 dhdsdio_set_siaddr_window(dhd_bus_t *bus, uint32 address) dhdsdio_set_siaddr_window() argument
665 dhdsdio_wkwlan(dhd_bus_t *bus, bool on) dhdsdio_wkwlan() argument
688 dhdsdio_oobwakeup_init(dhd_bus_t *bus) dhdsdio_oobwakeup_init() argument
714 dhdsdio_sr_cap(dhd_bus_t *bus) dhdsdio_sr_cap() argument
795 dhdsdio_sr_init(dhd_bus_t *bus) dhdsdio_sr_init() argument
850 dhdsdio_clk_kso_init(dhd_bus_t *bus) dhdsdio_clk_kso_init() argument
886 dhdsdio_clk_kso_enab(dhd_bus_t *bus, bool on) dhdsdio_clk_kso_enab() argument
946 dhdsdio_clk_kso_iovar(dhd_bus_t *bus, bool on) dhdsdio_clk_kso_iovar() argument
981 dhdsdio_sleepcsr_get(dhd_bus_t *bus) dhdsdio_sleepcsr_get() argument
994 dhdsdio_devcap_get(dhd_bus_t *bus) dhdsdio_devcap_get() argument
1000 dhdsdio_devcap_set(dhd_bus_t *bus, uint8 cap) dhdsdio_devcap_set() argument
1012 dhdsdio_clk_devsleep_iovar(dhd_bus_t *bus, bool on) dhdsdio_clk_devsleep_iovar() argument
1170 dhdsdio_htclk(dhd_bus_t *bus, bool on, bool pendok) dhdsdio_htclk() argument
1317 dhdsdio_set_sdmode(dhd_bus_t *bus, int32 sd_mode) dhdsdio_set_sdmode() argument
1333 dhdsdio_sdclk(dhd_bus_t *bus, bool on) dhdsdio_sdclk() argument
1401 dhdsdio_clkctl(dhd_bus_t *bus, uint target, bool pendok) dhdsdio_clkctl() argument
1514 dhdsdio_bussleep(dhd_bus_t *bus, bool sleep) dhdsdio_bussleep() argument
1685 __dhdsdio_clk_enable(struct dhd_bus *bus, bus_owner_t owner, int can_wait) __dhdsdio_clk_enable() argument
1719 __dhdsdio_clk_disable(struct dhd_bus *bus, bus_owner_t owner, int can_wait) __dhdsdio_clk_disable() argument
1749 dhdsdio_reset_bt_use_count(struct dhd_bus *bus) dhdsdio_reset_bt_use_count() argument
1789 dhd_enable_oob_intr(struct dhd_bus *bus, bool enable) dhd_enable_oob_intr() argument
1821 dhd_bus_txdata(struct dhd_bus *bus, void *pkt) dhd_bus_txdata() argument
1981 dhdsdio_txpkt_preprocess(dhd_bus_t *bus, void *pkt, int chan, int txseq, int prev_chain_total_len, bool last_chained_pkt, int *pad_pkt_len, void **new_pkt , int first_frame ) dhdsdio_txpkt_preprocess() argument
2250 dhdsdio_txpkt_postprocess(dhd_bus_t *bus, void *pkt) dhdsdio_txpkt_postprocess() argument
2297 dhdsdio_txpkt(dhd_bus_t *bus, uint chan, void** pkts, int num_pkt, bool free_pkt) dhdsdio_txpkt() argument
2433 dhdsdio_sendfromq(dhd_bus_t *bus, uint maxframes) dhdsdio_sendfromq() argument
2578 dhdsdio_sendpendctl(dhd_bus_t *bus) dhdsdio_sendpendctl() argument
2605 dhd_bus_txctl(struct dhd_bus *bus, uchar *msg, uint msglen) dhd_bus_txctl() argument
2809 dhd_bus_rxctl(struct dhd_bus *bus, uchar *msg, uint msglen) dhd_bus_rxctl() argument
3062 dhd_bus_t *bus = dhdp->bus; dhd_bus_dump() local
3181 dhd_bus_t *bus = (dhd_bus_t *)dhdp->bus; dhd_bus_clearcounts() local
3197 dhdsdio_pktgen_get(dhd_bus_t *bus, uint8 *arg) dhdsdio_pktgen_get() argument
3220 dhdsdio_pktgen_set(dhd_bus_t *bus, uint8 *arg) dhdsdio_pktgen_set() argument
3257 dhdsdio_devram_remap(dhd_bus_t *bus, bool val) dhdsdio_devram_remap() argument
3267 dhdsdio_membytes(dhd_bus_t *bus, bool write, uint32 address, uint8 *data, uint size) dhdsdio_membytes() argument
3340 dhdsdio_readshared(dhd_bus_t *bus, sdpcm_shared_t *sh) dhdsdio_readshared() argument
3455 dhdsdio_readconsole(dhd_bus_t *bus) dhdsdio_readconsole() argument
3532 dhdsdio_checkdied(dhd_bus_t *bus, char *data, uint size) dhdsdio_checkdied() argument
3716 dhd_bus_t *bus = dhdp->bus; dhd_bus_mem_dump() local
3736 dhdsdio_get_mem_dump(dhd_bus_t *bus) dhdsdio_get_mem_dump() argument
3785 dhdsdio_mem_dump(dhd_bus_t *bus) dhdsdio_mem_dump() argument
3813 dhd_socram_dump(dhd_bus_t * bus) dhd_socram_dump() argument
3823 dhdsdio_downloadvars(dhd_bus_t *bus, void *arg, int len) dhdsdio_downloadvars() argument
3861 dhd_serialconsole(dhd_bus_t *bus, bool set, bool enable, int *bcmerror) dhd_serialconsole() argument
3898 dhdsdio_doiovar(dhd_bus_t *bus, const bcm_iovar_t *vi, uint32 actionid, const char *name, void *params, int plen, void *arg, int len, int val_size) dhdsdio_doiovar() argument
4415 dhdsdio_write_vars(dhd_bus_t *bus) dhdsdio_write_vars() argument
4534 dhd_bus_is_multibp_capable(struct dhd_bus *bus) dhd_bus_is_multibp_capable() argument
4540 dhdsdio_download_state(dhd_bus_t *bus, bool enter) dhdsdio_download_state() argument
4741 dhd_bus_t *bus = dhdp->bus; dhd_bus_iovar_op() local
4848 dhd_bus_stop(struct dhd_bus *bus, bool enforce_mutex) dhd_bus_stop() argument
4970 dhd_bus_t *bus = dhdp->bus; dhd_txglom_enable() local
5005 dhd_bus_t *bus = dhdp->bus; dhd_bus_init() local
5199 dhdsdio_rxfail(dhd_bus_t *bus, bool abort, bool rtx) dhdsdio_rxfail() argument
5275 dhdsdio_read_control(dhd_bus_t *bus, uint8 *hdr, uint len, uint doff) dhdsdio_read_control() argument
5377 dhdsdio_rxglom(dhd_bus_t *bus, uint8 rxseq) dhdsdio_rxglom() argument
5809 dhdsdio_readframes(dhd_bus_t *bus, uint maxframes, bool *finished) dhdsdio_readframes() argument
6559 dhdsdio_hostmail(dhd_bus_t *bus, uint32 *hmbd) dhdsdio_hostmail() argument
6663 dhdsdio_dpc(dhd_bus_t *bus) dhdsdio_dpc() argument
7066 dhd_bus_dpc(struct dhd_bus *bus) dhd_bus_dpc() argument
7080 dhd_bus_t *bus = (dhd_bus_t*)arg; dhdsdio_isr() local
7142 dhd_bus_dump_txpktstatics(struct dhd_bus *bus) dhd_bus_dump_txpktstatics() argument
7202 dhd_bus_clear_txpktstatics(struct dhd_bus *bus) dhd_bus_clear_txpktstatics() argument
7210 dhdsdio_pktgen_init(dhd_bus_t *bus) dhdsdio_pktgen_init() argument
7233 dhdsdio_pktgen(dhd_bus_t *bus) dhdsdio_pktgen() argument
7367 dhdsdio_sdtest_set(dhd_bus_t *bus, uint count) dhdsdio_sdtest_set() argument
7399 dhdsdio_testrcv(dhd_bus_t *bus, void *pkt, uint seq) dhdsdio_testrcv() argument
7555 dhd_bus_t *bus; dhd_bus_watchdog() local
7730 dhd_bus_t *bus = dhdp->bus; dhd_bus_console_in() local
7812 dhd_bus_t *bus = dhdp->bus; dhd_bus_txcons() local
7949 dhd_bus_t *bus; dhdsdio_probe() local
8145 dhdsdio_probe_attach(struct dhd_bus *bus, osl_t *osh, void *sdh, void *regsva, uint16 devid) dhdsdio_probe_attach() argument
8432 dhdsdio_probe_malloc(dhd_bus_t *bus, osl_t *osh, void *sdh) dhdsdio_probe_malloc() argument
8484 dhdsdio_probe_init(dhd_bus_t *bus, osl_t *osh, void *sdh) dhdsdio_probe_init() argument
8587 dhd_bus_download_firmware(struct dhd_bus *bus, osl_t *osh, char *pfw_path, char *pnv_path, char *pclm_path, char *pconf_path) dhd_bus_download_firmware() argument
8604 dhd_set_bus_params(struct dhd_bus *bus) dhd_set_bus_params() argument
8651 dhdsdio_download_firmware(struct dhd_bus *bus, osl_t *osh, void *sdh) dhdsdio_download_firmware() argument
8691 dhdsdio_release(dhd_bus_t *bus, osl_t *osh) dhdsdio_release() argument
8741 dhdsdio_release_malloc(dhd_bus_t *bus, osl_t *osh) dhdsdio_release_malloc() argument
8776 dhdsdio_release_dongle(dhd_bus_t *bus, osl_t *osh, bool dongle_isolation, bool reset_flag) dhdsdio_release_dongle() argument
8810 dhd_bus_t *bus = (dhd_bus_t *)ptr; dhdsdio_disconnect() local
8834 dhd_bus_t *bus = (dhd_bus_t*)context; dhdsdio_suspend() local
8910 dhd_bus_t *bus = (dhd_bus_t*)context; dhdsdio_resume() local
8981 dhdsdio_download_code_file(struct dhd_bus *bus, char *pfw_path) dhdsdio_download_code_file() argument
9101 dhdsdio_ucode_base(struct dhd_bus *bus) dhdsdio_ucode_base() argument
9118 dhdsdio_download_ucode_file(struct dhd_bus *bus, char *ucode_path) dhdsdio_download_ucode_file() argument
9194 dhd_bus_ucode_download(struct dhd_bus *bus) dhd_bus_ucode_download() argument
9224 dhdsdio_download_nvram(struct dhd_bus *bus) dhdsdio_download_nvram() argument
9289 _dhdsdio_download_firmware(struct dhd_bus *bus) _dhdsdio_download_firmware() argument
9343 dhd_bcmsdh_recv_buf(dhd_bus_t *bus, uint32 addr, uint fn, uint flags, uint8 *buf, uint nbytes, void *pkt, bcmsdh_cmplt_fn_t complete_fn, void *handle) dhd_bcmsdh_recv_buf() argument
9359 dhd_bcmsdh_send_buf(dhd_bus_t *bus, uint32 addr, uint fn, uint flags, uint8 *buf, uint nbytes, void *pkt, bcmsdh_cmplt_fn_t complete_fn, void *handle, int max_retry) dhd_bcmsdh_send_buf() argument
9409 dhd_bus_is_ioready(struct dhd_bus *bus) dhd_bus_is_ioready() argument
9421 dhd_bus_chip(struct dhd_bus *bus) dhd_bus_chip() argument
9428 dhd_bus_chiprev(struct dhd_bus *bus) dhd_bus_chiprev() argument
9436 dhd_bus_pub(struct dhd_bus *bus) dhd_bus_pub() argument
9442 dhd_bus_sih(struct dhd_bus *bus) dhd_bus_sih() argument
9448 dhd_bus_txq(struct dhd_bus *bus) dhd_bus_txq() argument
9454 dhd_bus_hdrlen(struct dhd_bus *bus) dhd_bus_hdrlen() argument
9460 dhd_bus_set_dotxinrx(struct dhd_bus *bus, bool val) dhd_bus_set_dotxinrx() argument
9516 dhd_bus_t *bus; dhd_bus_devreset() local
9658 dhd_bus_t *bus = dhdp->bus; dhd_bus_chip_id() local
9669 dhd_bus_t *bus = dhdp->bus; dhd_bus_chiprev_id() local
9680 dhd_bus_t *bus = dhdp->bus; dhd_bus_chippkg_id() local
9685 dhd_bus_get_ids(struct dhd_bus *bus, uint32 *bus_type, uint32 *bus_num, uint32 *slot_num) dhd_bus_get_ids() argument
9696 dhd_bus_t *bus; dhd_bus_membytes() local
9704 concate_revision_bcm4335(dhd_bus_t *bus, char *fw_path, char *nv_path) concate_revision_bcm4335() argument
9737 concate_revision_bcm4339(dhd_bus_t *bus, char *fw_path, char *nv_path) concate_revision_bcm4339() argument
9767 concate_revision_bcm4350(dhd_bus_t *bus, char *fw_path, char *nv_path) concate_revision_bcm4350() argument
9796 concate_revision_bcm4354(dhd_bus_t *bus, char *fw_path, char *nv_path) concate_revision_bcm4354() argument
9820 concate_revision_bcm43454(dhd_bus_t *bus, char *fw_path, char *nv_path) concate_revision_bcm43454() argument
9852 concate_revision(dhd_bus_t *bus, char *fw_path, char *nv_path) concate_revision() argument
9891 dhd_bus_update_fw_nv_path(struct dhd_bus *bus, char *pfw_path, char *pnv_path, char *pclm_path, char *pconf_path) dhd_bus_update_fw_nv_path() argument
9903 dhd_bus_t *bus = dhd->bus; dhd_enableOOB() local
9938 dhd_bus_t *bus = dhdp->bus; dhd_bus_pktq_flush() local
9960 dhd_bus_t *bus = dhd->bus; dhd_sr_config() local
9971 dhd_bus_t *bus = dhd->bus; dhd_get_chipid() local
9982 dhd_sdio_reg_read(struct dhd_bus *bus, ulong addr) dhd_sdio_reg_read() argument
10000 dhd_sdio_reg_write(struct dhd_bus *bus, ulong addr, uint32 val) dhd_sdio_reg_write() argument
10020 dhd_bus_t *bus = (dhd_bus_t *)dhdp->bus; dhd_bus_cfg_read() local
10034 dhd_bus_t *bus = (dhd_bus_t *)dhdp->bus; dhd_bus_cfg_write() local
10056 read_more_btbytes(struct dhd_bus *bus, void * file, char *line, int * addr_mode, uint16 * hi_addr, uint32 * dest_addr, uint8 *data_bytes, uint32 * num_bytes) read_more_btbytes() argument
10110 _dhdsdio_download_btfw(struct dhd_bus *bus) _dhdsdio_download_btfw() argument
10251 dhdsdio_download_btfw(struct dhd_bus *bus, osl_t *osh, void *sdh) dhdsdio_download_btfw() argument
10270 dhd_bus_download_btfw(struct dhd_bus *bus, osl_t *osh, char *pbtfw_path) dhd_bus_download_btfw() argument
10284 dhd_bus_dump_trap_info(dhd_bus_t *bus, struct bcmstrbuf *strbuf) dhd_bus_dump_trap_info() argument
10302 dhd_bcmsdh_send_buffer(void *bus, uint8 *frame, uint16 len) dhd_bcmsdh_send_buffer() argument
10317 dhd_bus_set_default_min_res_mask(struct dhd_bus *bus) dhd_bus_set_default_min_res_mask() argument
10355 struct dhd_bus *bus = dhdp->bus; dhd_bus_pmu_reg_reset() local
10383 dhd_bus_ulp_reinit_fw(dhd_bus_t *bus) dhd_bus_ulp_reinit_fw() argument
10428 struct dhd_bus *bus = dhdp->bus; dhd_bus_readwrite_bp_addr() local
10466 dhd_bus_t *bus = dhdp->bus; dhd_bus_sleep() local
[all...]
H A Ddhd_pcie.c117 #define DHD_PCIE_SHARED_MEMBER_ADDR(bus, member) \
118 (bus)->shared_addr + OFFSETOF(pciedev_shared_t, member)
121 #define DHD_RING_INFO_MEMBER_ADDR(bus, member) \
122 (bus)->pcie_sh->rings_info_ptr + OFFSETOF(ring_info_t, member)
125 #define DHD_RING_MEM_MEMBER_ADDR(bus, ringid, member) \
126 (bus)->ring_sh[ringid].ring_mem_addr + OFFSETOF(ring_mem_t, member)
152 static int dhdpcie_checkdied(dhd_bus_t *bus, char *data, uint size);
153 static int dhdpcie_bus_readconsole(dhd_bus_t *bus);
155 static int dhdpcie_mem_dump(dhd_bus_t *bus);
156 static int dhdpcie_get_mem_dump(dhd_bus_t *bus);
391 dhd_bus_get_flr_force_fail(struct dhd_bus *bus) dhd_bus_get_flr_force_fail() argument
436 dhd_bus_db0_addr_get(struct dhd_bus *bus) dhd_bus_db0_addr_get() argument
445 dhd_bus_db0_addr_2_get(struct dhd_bus *bus) dhd_bus_db0_addr_2_get() argument
451 dhd_bus_db1_addr_get(struct dhd_bus *bus) dhd_bus_db1_addr_get() argument
457 dhd_bus_db1_addr_1_get(struct dhd_bus *bus) dhd_bus_db1_addr_1_get() argument
466 dhd_bus_pcie_pwr_req_wl_domain(struct dhd_bus *bus, uint offset, bool enable) dhd_bus_pcie_pwr_req_wl_domain() argument
479 _dhd_bus_pcie_pwr_req_clear_cmn(struct dhd_bus *bus) _dhd_bus_pcie_pwr_req_clear_cmn() argument
507 dhd_bus_pcie_pwr_req_clear(struct dhd_bus *bus) dhd_bus_pcie_pwr_req_clear() argument
517 dhd_bus_pcie_pwr_req_clear_nolock(struct dhd_bus *bus) dhd_bus_pcie_pwr_req_clear_nolock() argument
523 _dhd_bus_pcie_pwr_req_cmn(struct dhd_bus *bus) _dhd_bus_pcie_pwr_req_cmn() argument
550 dhd_bus_pcie_pwr_req(struct dhd_bus *bus) dhd_bus_pcie_pwr_req() argument
560 _dhd_bus_pcie_pwr_req_pd0123_cmn(struct dhd_bus *bus) _dhd_bus_pcie_pwr_req_pd0123_cmn() argument
571 dhd_bus_pcie_pwr_req_reload_war(struct dhd_bus *bus) dhd_bus_pcie_pwr_req_reload_war() argument
581 _dhd_bus_pcie_pwr_req_clear_pd0123_cmn(struct dhd_bus *bus) _dhd_bus_pcie_pwr_req_clear_pd0123_cmn() argument
591 dhd_bus_pcie_pwr_req_clear_reload_war(struct dhd_bus *bus) dhd_bus_pcie_pwr_req_clear_reload_war() argument
601 dhd_bus_pcie_pwr_req_nolock(struct dhd_bus *bus) dhd_bus_pcie_pwr_req_nolock() argument
607 dhdpcie_chip_support_msi(dhd_bus_t *bus) dhdpcie_chip_support_msi() argument
635 dhd_bus_t *bus = NULL; dhdpcie_bus_attach() local
754 dhd_bus_chip(struct dhd_bus *bus) dhd_bus_chip() argument
761 dhd_bus_chiprev(struct dhd_bus *bus) dhd_bus_chiprev() argument
769 dhd_bus_pub(struct dhd_bus *bus) dhd_bus_pub() argument
775 dhd_bus_sih(struct dhd_bus *bus) dhd_bus_sih() argument
781 dhd_bus_txq(struct dhd_bus *bus) dhd_bus_txq() argument
789 dhd_bus_t *bus = dhdp->bus; dhd_bus_chip_id() local
796 dhd_bus_t *bus = dhdp->bus; dhd_bus_chiprev_id() local
803 dhd_bus_t *bus = dhdp->bus; dhd_bus_chippkg_id() local
807 dhd_bus_get_ids(struct dhd_bus *bus, uint32 *bus_type, uint32 *bus_num, uint32 *slot_num) dhd_bus_get_ids() argument
863 dhd_bus_t *bus = dhdp->bus; dhd_bus_query_dpc_sched_errors() local
899 dhdpcie_bus_intstatus(dhd_bus_t *bus) dhdpcie_bus_intstatus() argument
951 dhd_bus_t *bus = dhd->bus; dhdpcie_cto_recovery_handler() local
1004 dhdpcie_bus_isr(dhd_bus_t *bus) dhdpcie_bus_isr() argument
1142 dhdpcie_set_pwr_state(dhd_bus_t *bus, uint state) dhdpcie_set_pwr_state() argument
1198 dhdpcie_config_check(dhd_bus_t *bus) dhdpcie_config_check() argument
1216 dhdpcie_config_restore(dhd_bus_t *bus, bool restore_pmcsr) dhdpcie_config_restore() argument
1264 dhdpcie_config_save(dhd_bus_t *bus) dhdpcie_config_save() argument
1315 dhdpcie_bus_intr_init(dhd_bus_t *bus) dhdpcie_bus_intr_init() argument
1328 dhdpcie_cc_watchdog_reset(dhd_bus_t *bus) dhdpcie_cc_watchdog_reset() argument
1336 dhdpcie_dongle_reset(dhd_bus_t *bus) dhdpcie_dongle_reset() argument
1358 dhdpcie_dongle_attach(dhd_bus_t *bus) dhdpcie_dongle_attach() argument
1688 dhpcie_bus_unmask_interrupt(dhd_bus_t *bus) dhpcie_bus_unmask_interrupt() argument
1694 dhpcie_bus_mask_interrupt(dhd_bus_t *bus) dhpcie_bus_mask_interrupt() argument
1702 dhdpcie_bus_intr_enable(dhd_bus_t *bus) dhdpcie_bus_intr_enable() argument
1731 dhdpcie_bus_intr_disable(dhd_bus_t *bus) dhdpcie_bus_intr_disable() argument
1807 dhdpcie_bus_remove_prep(dhd_bus_t *bus) dhdpcie_bus_remove_prep() argument
1850 dhd_init_bus_lock(dhd_bus_t *bus) dhd_init_bus_lock() argument
1858 dhd_deinit_bus_lock(dhd_bus_t *bus) dhd_deinit_bus_lock() argument
1867 dhd_init_backplane_access_lock(dhd_bus_t *bus) dhd_init_backplane_access_lock() argument
1875 dhd_deinit_backplane_access_lock(dhd_bus_t *bus) dhd_deinit_backplane_access_lock() argument
1885 dhdpcie_bus_release(dhd_bus_t *bus) dhdpcie_bus_release() argument
1957 dhdpcie_bus_release_dongle(dhd_bus_t *bus, osl_t *osh, bool dongle_isolation, bool reset_flag) dhdpcie_bus_release_dongle() argument
2012 dhdpcie_bus_cfg_read_dword(dhd_bus_t *bus, uint32 addr, uint32 size) dhdpcie_bus_cfg_read_dword() argument
2020 dhdpcie_bus_cfg_write_dword(dhd_bus_t *bus, uint32 addr, uint32 size, uint32 data) dhdpcie_bus_cfg_write_dword() argument
2026 dhdpcie_bus_cfg_set_bar0_win(dhd_bus_t *bus, uint32 data) dhdpcie_bus_cfg_set_bar0_win() argument
2032 dhdpcie_bus_dongle_setmemsize(struct dhd_bus *bus, int mem_size) dhdpcie_bus_dongle_setmemsize() argument
2044 dhdpcie_bus_release_malloc(dhd_bus_t *bus, osl_t *osh) dhdpcie_bus_release_malloc() argument
2062 dhd_bus_stop(struct dhd_bus *bus, bool enforce_mutex) dhd_bus_stop() argument
2122 dhd_bus_t *bus = dhd->bus; dhd_bus_watchdog() local
2173 concate_revision_bcm4358(dhd_bus_t *bus, char *fw_path, char *nv_path) concate_revision_bcm4358() argument
2226 concate_revision_bcm4359(dhd_bus_t *bus, char *fw_path, char *nv_path) concate_revision_bcm4359() argument
2437 dhd_parse_board_information_bcm(dhd_bus_t *bus, int *boardtype, unsigned char *vid, int *vid_length) dhd_parse_board_information_bcm() argument
2523 dhd_find_naming_info_by_chip_rev(naming_info_t table[], int table_size, dhd_bus_t *bus, bool *is_murata_fem) dhd_find_naming_info_by_chip_rev() argument
2580 concate_revision_bcm4361(dhd_bus_t *bus, char *fw_path, char *nv_path) concate_revision_bcm4361() argument
2625 concate_revision_bcm4375(dhd_bus_t *bus, char *fw_path, char *nv_path) concate_revision_bcm4375() argument
2663 concate_revision(dhd_bus_t *bus, char *fw_path, char *nv_path) concate_revision() argument
2706 dhd_bus_t *bus = dhd->bus; dhd_get_chipid() local
2728 dhd_bus_download_firmware(struct dhd_bus *bus, osl_t *osh, char *pfw_path, char *pnv_path, char *pclm_path, char *pconf_path) dhd_bus_download_firmware() argument
2761 dhd_set_bus_params(struct dhd_bus *bus) dhd_set_bus_params() argument
2785 dhdpcie_download_firmware(struct dhd_bus *bus, osl_t *osh) dhdpcie_download_firmware() argument
2842 dhdpcie_download_code_file(struct dhd_bus *bus, char *pfw_path) dhdpcie_download_code_file() argument
2980 dhdpcie_download_nvram(struct dhd_bus *bus) dhdpcie_download_nvram() argument
3056 dhdpcie_ramsize_read_image(struct dhd_bus *bus, char *buf, int len) dhdpcie_ramsize_read_image() argument
3094 dhdpcie_ramsize_adj(struct dhd_bus *bus) dhdpcie_ramsize_adj() argument
3195 _dhdpcie_download_firmware(struct dhd_bus *bus) _dhdpcie_download_firmware() argument
3257 dhdpcie_bus_readconsole(dhd_bus_t *bus) dhdpcie_bus_readconsole() argument
3354 dhd_bus_dump_console_buffer(dhd_bus_t *bus) dhd_bus_dump_console_buffer() argument
3435 dhdpcie_checkdied(dhd_bus_t *bus, char *data, uint size) dhdpcie_checkdied() argument
3596 dhdpcie_mem_dump_bugcheck(dhd_bus_t *bus, uint8 *buf) dhdpcie_mem_dump_bugcheck() argument
3642 dhdpcie_get_mem_dump(dhd_bus_t *bus) dhdpcie_get_mem_dump() argument
3696 dhdpcie_mem_dump(dhd_bus_t *bus) dhdpcie_mem_dump() argument
3753 dhd_bus_t *bus = dhdp->bus; dhd_bus_mem_dump() local
3778 dhd_socram_dump(dhd_bus_t *bus) dhd_socram_dump() argument
3795 dhdpcie_bus_membytes(dhd_bus_t *bus, bool write, ulong address, uint8 *data, uint size) dhdpcie_bus_membytes() argument
3885 dhd_bus_schedule_queue(struct dhd_bus *bus, uint16 flow_id, bool txs) dhd_bus_schedule_queue() argument
3995 dhd_bus_txdata(struct dhd_bus *bus, void *txp, uint8 ifidx) dhd_bus_txdata() argument
4118 dhd_bus_stop_queue(struct dhd_bus *bus) dhd_bus_stop_queue() argument
4124 dhd_bus_start_queue(struct dhd_bus *bus) dhd_bus_start_queue() argument
4145 dhd_bus_t *bus = dhd->bus; dhd_bus_console_in() local
4185 dhd_bus_rx_frame(struct dhd_bus *bus, void* pkt, int ifidx, uint pkt_count) dhd_bus_rx_frame() argument
4191 dhdpcie_setbar1win(dhd_bus_t *bus, uint32 addr) dhdpcie_setbar1win() argument
4198 dhdpcie_bus_wtcm8(dhd_bus_t *bus, ulong offset, uint8 data) dhdpcie_bus_wtcm8() argument
4209 dhdpcie_bus_rtcm8(dhd_bus_t *bus, ulong offset) dhdpcie_bus_rtcm8() argument
4222 dhdpcie_bus_wtcm32(dhd_bus_t *bus, ulong offset, uint32 data) dhdpcie_bus_wtcm32() argument
4232 dhdpcie_bus_wtcm16(dhd_bus_t *bus, ulong offset, uint16 data) dhdpcie_bus_wtcm16() argument
4243 dhdpcie_bus_wtcm64(dhd_bus_t *bus, ulong offset, uint64 data) dhdpcie_bus_wtcm64() argument
4255 dhdpcie_bus_rtcm16(dhd_bus_t *bus, ulong offset) dhdpcie_bus_rtcm16() argument
4268 dhdpcie_bus_rtcm32(dhd_bus_t *bus, ulong offset) dhdpcie_bus_rtcm32() argument
4282 dhdpcie_bus_rtcm64(dhd_bus_t *bus, ulong offset) dhdpcie_bus_rtcm64() argument
4297 dhd_bus_cmn_writeshared(dhd_bus_t *bus, void *data, uint32 len, uint8 type, uint16 ringid) dhd_bus_cmn_writeshared() argument
4447 dhd_bus_cmn_readshared(dhd_bus_t *bus, void* data, uint8 type, uint16 ringid) dhd_bus_cmn_readshared() argument
4498 dhd_bus_get_sharedflags(dhd_bus_t *bus) dhd_bus_get_sharedflags() argument
4517 dhd_bus_t *bus = dhdp->bus; dhd_bus_iovar_op() local
4803 dhd_buzzz_dump_dngl(dhd_bus_t *bus) dhd_buzzz_dump_dngl() argument
4911 dhdpcie_enum_reg_init(dhd_bus_t *bus) dhdpcie_enum_reg_init() argument
4959 dhd_bus_perform_flr(dhd_bus_t *bus, bool force_fail) dhd_bus_perform_flr() argument
5067 dhd_bus_perform_bp_reset(struct dhd_bus *bus) dhd_bus_perform_bp_reset() argument
5159 dhd_bus_t *bus = dhdp->bus; dhd_bus_devreset() local
5399 serialized_backplane_access(dhd_bus_t *bus, uint addr, uint size, uint *val, bool read) serialized_backplane_access() argument
5453 dhdpcie_bus_doiovar(dhd_bus_t *bus, const bcm_iovar_t *vi, uint32 actionid, const char *name, void *params, int plen, void *arg, int len, int val_size) dhdpcie_bus_doiovar() argument
6105 dhdpcie_bus_lpback_req(struct dhd_bus *bus, uint32 len) dhdpcie_bus_lpback_req() argument
6124 dhd_bus_dump_dar_registers(struct dhd_bus *bus) dhd_bus_dump_dar_registers() argument
6167 dhd_bus_hostready(struct dhd_bus *bus) dhd_bus_hostready() argument
6194 dhdpcie_bus_clear_intstatus(struct dhd_bus *bus) dhdpcie_bus_clear_intstatus() argument
6211 dhdpcie_bus_suspend(struct dhd_bus *bus, bool state, bool byint) dhdpcie_bus_suspend() argument
6602 dhdpcie_force_alp(struct dhd_bus *bus, bool enable) dhdpcie_force_alp() argument
6617 dhdpcie_set_l1_entry_time(struct dhd_bus *bus, int l1_entry_time) dhdpcie_set_l1_entry_time() argument
6635 dhd_apply_d11_war_length(struct dhd_bus *bus, uint32 len, uint32 d11_lpbk) dhd_apply_d11_war_length() argument
6652 dhdpcie_bus_dmaxfer_req(struct dhd_bus *bus, uint32 len, uint32 srcdelay, uint32 destdelay, uint32 d11_lpbk, uint32 core_num, uint32 wait) dhdpcie_bus_dmaxfer_req() argument
6695 dhd_bus_is_multibp_capable(struct dhd_bus *bus) dhd_bus_is_multibp_capable() argument
6704 dhdpcie_bus_download_state(dhd_bus_t *bus, bool enter) dhdpcie_bus_download_state() argument
6925 dhdpcie_bus_write_vars(dhd_bus_t *bus) dhdpcie_bus_write_vars() argument
7021 dhdpcie_downloadvars(dhd_bus_t *bus, void *arg, int len) dhdpcie_downloadvars() argument
7248 dhd_bus_t *bus; dhd_dump_intr_counters() local
7670 struct dhd_bus *bus = dhd->bus; dhd_update_txflowrings() local
7701 dhd_bus_gen_devmb_intr(struct dhd_bus *bus) dhd_bus_gen_devmb_intr() argument
7728 dhdpcie_fw_trap(dhd_bus_t *bus) dhdpcie_fw_trap() argument
7738 dhd_bus_ringbell(struct dhd_bus *bus, uint32 value) dhd_bus_ringbell() argument
7778 dhd_bus_ringbell_2(struct dhd_bus *bus, uint32 value, bool devwake) dhd_bus_ringbell_2() argument
7803 dhdpcie_bus_ringbell_fast(struct dhd_bus *bus, uint32 value) dhdpcie_bus_ringbell_fast() argument
7837 dhdpcie_bus_ringbell_2_fast(struct dhd_bus *bus, uint32 value, bool devwake) dhdpcie_bus_ringbell_2_fast() argument
7859 dhd_bus_ringbell_oldpcie(struct dhd_bus *bus, uint32 value) dhd_bus_ringbell_oldpcie() argument
7880 dhd_bus_get_mbintr_fn(struct dhd_bus *bus) dhd_bus_get_mbintr_fn() argument
7902 dhd_bus_get_mbintr_2_fn(struct dhd_bus *bus) dhd_bus_get_mbintr_2_fn() argument
7914 dhd_bus_dpc(struct dhd_bus *bus) dhd_bus_dpc() argument
7979 dhdpcie_send_mb_data(dhd_bus_t *bus, uint32 h2d_mb_data) dhdpcie_send_mb_data() argument
8044 dhd_bus_handle_d3_ack(dhd_bus_t *bus) dhd_bus_handle_d3_ack() argument
8077 dhd_bus_handle_mb_data(dhd_bus_t *bus, uint32 d2h_mb_data) dhd_bus_handle_mb_data() argument
8130 dhdpcie_handle_mb_data(dhd_bus_t *bus) dhdpcie_handle_mb_data() argument
8180 dhdpcie_read_handle_mb_data(dhd_bus_t *bus) dhdpcie_read_handle_mb_data() argument
8210 dhdpcie_bus_process_mailbox_intr(dhd_bus_t *bus, uint32 intstatus) dhdpcie_bus_process_mailbox_intr() argument
8264 dhdpci_bus_rte_log_time_sync_poll(dhd_bus_t *bus) dhdpci_bus_rte_log_time_sync_poll() argument
8289 dhdpci_bus_read_frames(dhd_bus_t *bus) dhdpci_bus_read_frames() argument
8384 dhdpcie_tcm_valid(dhd_bus_t *bus) dhdpcie_tcm_valid() argument
8449 dhdpcie_readshared(dhd_bus_t *bus) dhdpcie_readshared() argument
8790 dhd_fillup_ring_sharedptr_info(dhd_bus_t *bus, ring_info_t *ring_info) dhd_fillup_ring_sharedptr_info() argument
8891 dhd_bus_t *bus = dhdp->bus; dhd_bus_init() local
8965 dhdpcie_init_shared_addr(dhd_bus_t *bus) dhdpcie_init_shared_addr() argument
9120 dhdpcie_cc_nvmshadow(dhd_bus_t *bus, struct bcmstrbuf *b) dhdpcie_cc_nvmshadow() argument
9292 dhd_bus_clean_flow_ring(dhd_bus_t *bus, void *node) dhd_bus_clean_flow_ring() argument
9350 dhd_bus_flow_ring_create_request(dhd_bus_t *bus, void *arg) dhd_bus_flow_ring_create_request() argument
9365 dhd_bus_flow_ring_create_response(dhd_bus_t *bus, uint16 flowid, int32 status) dhd_bus_flow_ring_create_response() argument
9431 dhd_bus_flow_ring_delete_request(dhd_bus_t *bus, void *arg) dhd_bus_flow_ring_delete_request() argument
9473 dhd_bus_flow_ring_delete_response(dhd_bus_t *bus, uint16 flowid, uint32 status) dhd_bus_flow_ring_delete_response() argument
9512 dhd_bus_flow_ring_flush_request(dhd_bus_t *bus, void *arg) dhd_bus_flow_ring_flush_request() argument
9552 dhd_bus_flow_ring_flush_response(dhd_bus_t *bus, uint16 flowid, uint32 status) dhd_bus_flow_ring_flush_response() argument
9588 dhd_bus_max_h2d_queues(struct dhd_bus *bus) dhd_bus_max_h2d_queues() argument
9621 dhd_bus_flow_ring_resume_request(dhd_bus_t *bus, void *arg) dhd_bus_flow_ring_resume_request() argument
9637 dhd_bus_flow_ring_resume_response(dhd_bus_t *bus, uint16 flowid, int32 status) dhd_bus_flow_ring_resume_response() argument
9664 dhd_bus_check_idle_scan(dhd_bus_t *bus) dhd_bus_check_idle_scan() argument
9682 dhd_bus_idle_scan(dhd_bus_t *bus) dhd_bus_idle_scan() argument
9743 dhd_flow_ring_move_to_active_list_head(struct dhd_bus *bus, flow_ring_node_t *flow_ring_node) dhd_flow_ring_move_to_active_list_head() argument
9764 dhd_flow_ring_add_to_active_list(struct dhd_bus *bus, flow_ring_node_t *flow_ring_node) dhd_flow_ring_add_to_active_list() argument
9778 __dhd_flow_ring_delete_from_active_list(struct dhd_bus *bus, flow_ring_node_t *flow_ring_node) __dhd_flow_ring_delete_from_active_list() argument
9783 dhd_flow_ring_delete_from_active_list(struct dhd_bus *bus, flow_ring_node_t *flow_ring_node) dhd_flow_ring_delete_from_active_list() argument
9798 dhdpcie_bus_clock_start(struct dhd_bus *bus) dhdpcie_bus_clock_start() argument
9804 dhdpcie_bus_clock_stop(struct dhd_bus *bus) dhdpcie_bus_clock_stop() argument
9810 dhdpcie_bus_disable_device(struct dhd_bus *bus) dhdpcie_bus_disable_device() argument
9816 dhdpcie_bus_enable_device(struct dhd_bus *bus) dhdpcie_bus_enable_device() argument
9822 dhdpcie_bus_alloc_resource(struct dhd_bus *bus) dhdpcie_bus_alloc_resource() argument
9828 dhdpcie_bus_free_resource(struct dhd_bus *bus) dhdpcie_bus_free_resource() argument
9834 dhd_bus_request_irq(struct dhd_bus *bus) dhd_bus_request_irq() argument
9840 dhdpcie_bus_dongle_attach(struct dhd_bus *bus) dhdpcie_bus_dongle_attach() argument
9846 dhd_bus_release_dongle(struct dhd_bus *bus) dhd_bus_release_dongle() argument
9871 dhdpcie_cto_cfg_init(struct dhd_bus *bus, bool enable) dhdpcie_cto_cfg_init() argument
9888 dhdpcie_cto_init(struct dhd_bus *bus, bool enable) dhdpcie_cto_init() argument
9937 dhdpcie_cto_error_recovery(struct dhd_bus *bus) dhdpcie_cto_error_recovery() argument
10004 dhdpcie_ssreset_dis_enum_rst(struct dhd_bus *bus) dhdpcie_ssreset_dis_enum_rst() argument
10015 dhdpcie_init_d11status(struct dhd_bus *bus) dhdpcie_init_d11status() argument
10040 dhdpcie_init_d11status(struct dhd_bus *bus) dhdpcie_init_d11status() argument
10067 dhdpcie_bus_get_pcie_hostready_supported(dhd_bus_t *bus) dhdpcie_bus_get_pcie_hostready_supported() argument
10075 dhd_bus_t *bus = pub->bus; dhd_pcie_dump_core_regs() local
10091 dhdpcie_bus_get_pcie_hwa_supported(dhd_bus_t *bus) dhdpcie_bus_get_pcie_hwa_supported() argument
10103 dhdpcie_bus_get_pcie_idma_supported(dhd_bus_t *bus) dhdpcie_bus_get_pcie_idma_supported() argument
10115 dhdpcie_bus_get_pcie_ifrm_supported(dhd_bus_t *bus) dhdpcie_bus_get_pcie_ifrm_supported() argument
10127 dhdpcie_bus_get_pcie_dar_supported(dhd_bus_t *bus) dhdpcie_bus_get_pcie_dar_supported() argument
10139 dhdpcie_bus_enab_pcie_dw(dhd_bus_t *bus, uint8 dw_option) dhdpcie_bus_enab_pcie_dw() argument
10146 dhd_bus_dump_trap_info(dhd_bus_t *bus, struct bcmstrbuf *strbuf) dhd_bus_dump_trap_info() argument
10168 struct dhd_bus *bus = dhdp->bus; dhd_bus_readwrite_bp_addr() local
10981 dhdpcie_wrt_rnd(struct dhd_bus *bus) dhdpcie_wrt_rnd() argument
11011 struct dhd_bus *bus = dhd->bus; dhd_pcie_intr_count_dump() local
11213 dhdpcie_hw_war_regdump(dhd_bus_t *bus) dhdpcie_hw_war_regdump() argument
11506 dhd_bus_force_bt_quiesce_enabled(struct dhd_bus *bus) dhd_bus_force_bt_quiesce_enabled() argument
11513 dhd_bus_get_hp2p_ring_max_size(struct dhd_bus *bus, bool tx) dhd_bus_get_hp2p_ring_max_size() argument
11522 dhd_bus_set_hp2p_ring_max_size(struct dhd_bus *bus, bool tx, uint16 val) dhd_bus_set_hp2p_ring_max_size() argument
11533 dhd_bus_tcm_test(struct dhd_bus *bus) dhd_bus_tcm_test() argument
[all...]
H A Ddhd_pcie_linux.c94 dhd_bus_t *bus; member
167 static int dhdpcie_set_suspend_resume(dhd_bus_t *bus, bool state);
169 static int dhdpcie_resume_host_dev(dhd_bus_t *bus);
170 static int dhdpcie_suspend_host_dev(dhd_bus_t *bus);
188 static void dhdpcie_config_save_restore_coherent(dhd_bus_t *bus, bool state);
341 dhd_bus_get_tpoweron(dhd_bus_t *bus) in dhd_bus_get_tpoweron() argument
347 tpoweron_rc = dhdpcie_rc_access_cap(bus, PCIE_EXTCAP_ID_L1SS, in dhd_bus_get_tpoweron()
349 tpoweron_ep = dhdpcie_ep_access_cap(bus, PCIE_EXTCAP_ID_L1SS, in dhd_bus_get_tpoweron()
356 dhd_bus_set_tpoweron(dhd_bus_t *bus, uint16 tpoweron) in dhd_bus_set_tpoweron() argument
359 dhd_bus_get_tpoweron(bus); in dhd_bus_set_tpoweron()
372 dhdpcie_chip_req_forced_tpoweron(dhd_bus_t *bus) dhdpcie_chip_req_forced_tpoweron() argument
390 dhd_bus_aspm_enable_dev(dhd_bus_t *bus, struct pci_dev *dev, bool enable) dhd_bus_aspm_enable_dev() argument
433 dhd_bus_is_rc_ep_aspm_capable(dhd_bus_t *bus) dhd_bus_is_rc_ep_aspm_capable() argument
458 dhd_bus_aspm_enable_rc_ep(dhd_bus_t *bus, bool enable) dhd_bus_aspm_enable_rc_ep() argument
482 dhd_bus_l1ss_enable_dev(dhd_bus_t *bus, struct pci_dev *dev, bool enable) dhd_bus_l1ss_enable_dev() argument
522 dhd_bus_is_rc_ep_l1ss_capable(dhd_bus_t *bus) dhd_bus_is_rc_ep_l1ss_capable() argument
547 dhd_bus_l1ss_enable_rc_ep(dhd_bus_t *bus, bool enable) dhd_bus_l1ss_enable_rc_ep() argument
577 dhd_bus_aer_config(dhd_bus_t *bus) dhd_bus_aer_config() argument
610 dhd_bus_t *bus = NULL; dhdpcie_pci_suspend() local
664 dhd_bus_t *bus = NULL; dhdpcie_pci_resume() local
691 dhdpcie_set_suspend_resume(dhd_bus_t *bus, bool state, bool byint) dhdpcie_set_suspend_resume() argument
720 dhd_bus_t *bus = NULL; dhdpcie_pm_runtime_suspend() local
751 dhd_bus_t *bus = pch->bus; dhdpcie_pm_runtime_resume() local
768 dhd_bus_t *bus = NULL; dhdpcie_pm_system_suspend_noirq() local
798 dhd_bus_t *bus = NULL; dhdpcie_pm_system_resume_noirq() local
823 dhdpcie_suspend_dump_cfgregs(struct dhd_bus *bus, char *suspend_state) dhdpcie_suspend_dump_cfgregs() argument
843 dhd_bus_t *bus = pch->bus; dhdpcie_suspend_dev() local
875 bcmpcie_get_total_wake(struct dhd_bus *bus) bcmpcie_get_total_wake() argument
882 bcmpcie_set_get_wake(struct dhd_bus *bus, int flag) bcmpcie_set_get_wake() argument
931 dhdpcie_resume_host_dev(dhd_bus_t *bus) dhdpcie_resume_host_dev() argument
952 dhdpcie_suspend_host_dev(dhd_bus_t *bus) dhdpcie_suspend_host_dev() argument
983 dhdpcie_os_setbar1win(dhd_bus_t *bus, uint32 addr) dhdpcie_os_setbar1win() argument
1022 dhdpcie_os_wtcm8(dhd_bus_t *bus, ulong offset, uint8 data) dhdpcie_os_wtcm8() argument
1031 dhdpcie_os_rtcm8(dhd_bus_t *bus, ulong offset) dhdpcie_os_rtcm8() argument
1042 dhdpcie_os_wtcm16(dhd_bus_t *bus, ulong offset, uint16 data) dhdpcie_os_wtcm16() argument
1051 dhdpcie_os_rtcm16(dhd_bus_t *bus, ulong offset) dhdpcie_os_rtcm16() argument
1062 dhdpcie_os_wtcm32(dhd_bus_t *bus, ulong offset, uint32 data) dhdpcie_os_wtcm32() argument
1071 dhdpcie_os_rtcm32(dhd_bus_t *bus, ulong offset) dhdpcie_os_rtcm32() argument
1083 dhdpcie_os_wtcm64(dhd_bus_t *bus, ulong offset, uint64 data) dhdpcie_os_wtcm64() argument
1092 dhdpcie_os_rtcm64(dhd_bus_t *bus, ulong offset) dhdpcie_os_rtcm64() argument
1104 dhdpcie_rc_config_read(dhd_bus_t *bus, uint offset) dhdpcie_rc_config_read() argument
1186 dhdpcie_rc_access_cap(dhd_bus_t *bus, int cap, uint offset, bool is_ext, bool is_write, uint32 writeval) dhdpcie_rc_access_cap() argument
1199 dhdpcie_ep_access_cap(dhd_bus_t *bus, int cap, uint offset, bool is_ext, bool is_write, uint32 writeval) dhdpcie_ep_access_cap() argument
1214 dhd_debug_get_rc_linkcap(dhd_bus_t *bus) dhd_debug_get_rc_linkcap() argument
1223 dhdpcie_config_save_restore_coherent(dhd_bus_t *bus, bool state) dhdpcie_config_save_restore_coherent() argument
1238 dhdpcie_pci_suspend_resume(dhd_bus_t *bus, bool state) dhdpcie_pci_suspend_resume() argument
1403 dhd_bus_t *bus = NULL; dhdpcie_pci_remove() local
1487 dhd_bus_t *bus = dhdpcie_info->bus; dhdpcie_request_irq() local
1539 dhdpcie_get_pcieirq(struct dhd_bus *bus, unsigned int *irq) dhdpcie_get_pcieirq() argument
1685 dhdpcie_dump_resource(dhd_bus_t *bus) dhdpcie_dump_resource() argument
1720 dhd_bus_t *bus = NULL; dhdpcie_init() local
1979 dhdpcie_free_irq(dhd_bus_t *bus) dhdpcie_free_irq() argument
2027 dhd_bus_t *bus = (dhd_bus_t*)arg; dhdpcie_isr() local
2037 dhdpcie_disable_irq_nosync(dhd_bus_t *bus) dhdpcie_disable_irq_nosync() argument
2051 dhdpcie_disable_irq(dhd_bus_t *bus) dhdpcie_disable_irq() argument
2065 dhdpcie_enable_irq(dhd_bus_t *bus) dhdpcie_enable_irq() argument
2079 dhdpcie_irq_disabled(dhd_bus_t *bus) dhdpcie_irq_disabled() argument
2092 dhdpcie_start_host_pcieclock(dhd_bus_t *bus) dhdpcie_start_host_pcieclock() argument
2122 dhdpcie_stop_host_pcieclock(dhd_bus_t *bus) dhdpcie_stop_host_pcieclock() argument
2152 dhdpcie_disable_device(dhd_bus_t *bus) dhdpcie_disable_device() argument
2171 dhdpcie_enable_device(dhd_bus_t *bus) dhdpcie_enable_device() argument
2236 dhdpcie_alloc_resource(dhd_bus_t *bus) dhdpcie_alloc_resource() argument
2303 dhdpcie_free_resource(dhd_bus_t *bus) dhdpcie_free_resource() argument
2335 dhdpcie_bus_request_irq(struct dhd_bus *bus) dhdpcie_bus_request_irq() argument
2388 dhdpcie_get_oob_irq_status(struct dhd_bus *bus) dhdpcie_get_oob_irq_status() argument
2414 dhdpcie_get_oob_irq_num(struct dhd_bus *bus) dhdpcie_get_oob_irq_num() argument
2440 dhdpcie_oob_intr_set(dhd_bus_t *bus, bool enable) dhdpcie_oob_intr_set() argument
2482 dhd_bus_t *bus; wlan_oob_irq() local
2508 dhdpcie_oob_intr_register(dhd_bus_t *bus) dhdpcie_oob_intr_register() argument
2568 dhdpcie_oob_intr_unregister(dhd_bus_t *bus) dhdpcie_oob_intr_unregister() argument
2613 dhd_bus_to_dev(dhd_bus_t *bus) dhd_bus_to_dev() argument
2721 dhd_bus_t *bus; dhd_bus_check_driver_up() local
[all...]
H A Ddhd_bus.h6 * DHD OS, bus, and protocol modules.
42 * Exported from dhd bus module (dhd_usb, dhd_sdio)
45 /* global variable for the bus */
53 extern int dhd_bus_download_firmware(struct dhd_bus *bus, osl_t *osh,
56 extern int dhd_bus_download_btfw(struct dhd_bus *bus, osl_t *osh, char *btfw_path);
59 /* Stop bus module: clear pending frames, disable data flow */
60 extern void dhd_bus_stop(struct dhd_bus *bus, bool enforce_mutex);
62 /* Initialize bus module: prepare for communication w/dongle */
73 extern int dhd_bus_txdata(struct dhd_bus *bus, void *txp, uint8 ifidx);
75 extern int dhd_bus_txdata(struct dhd_bus *bus, voi
[all...]
H A Ddhd_pcie.h49 #define REMAP_ENAB(bus) ((bus)->remap)
50 #define REMAP_ISADDR(bus, a) (((a) >= ((bus)->orig_ramsize)) && ((a) < ((bus)->ramsize)))
71 #define IDMA_CAPABLE(bus) (((bus)->sih->buscorerev == 19) || ((bus)->sih->buscorerev >= 23))
82 #define DAR_PWRREQ(bus) (((bus)
204 uint32 bus; /* gSPI or SDIO bus */ global() member
555 dhdpcie_is_arm_halted(struct dhd_bus *bus) dhdpcie_is_arm_halted() argument
558 dhdpcie_dongle_flr_or_pwr_toggle(dhd_bus_t *bus) dhdpcie_dongle_flr_or_pwr_toggle() argument
[all...]
H A Ddbus_usb.c84 static int dbus_usb_iovar_op(void *bus, const char *name,
88 static int dbus_usb_doiovar(usb_info_t *bus, const bcm_iovar_t *vi, uint32 actionid,
90 static int dhdusb_downloadvars(usb_info_t *bus, void *arg, int len);
93 static int dbus_usb_dlstart(void *bus, uint8 *fw, int len);
94 static int dbus_usb_dlneeded(void *bus);
95 static int dbus_usb_dlrun(void *bus);
266 pub->bus = usb_info; in dbus_usb_attach()
279 usb_info_t *usb_info = (usb_info_t *) pub->bus; in dbus_usb_detach()
434 dbus_usb_iovar_op(void *bus, const char *name, in dbus_usb_iovar_op() argument
439 err = dbus_iovar_process((usb_info_t*)bus, nam in dbus_usb_iovar_op()
501 dbus_usb_doiovar(usb_info_t *bus, const bcm_iovar_t *vi, uint32 actionid, const char *name, void *params, int plen, void *arg, int len, int val_size) dbus_usb_doiovar() argument
603 dhdusb_downloadvars(usb_info_t *bus, void *arg, int len) dhdusb_downloadvars() argument
857 dbus_usb_dlstart(void *bus, uint8 *fw, int len) dbus_usb_dlstart() argument
958 dbus_usb_dlneeded(void *bus) dbus_usb_dlneeded() argument
1005 dbus_usb_dlrun(void *bus) dbus_usb_dlrun() argument
1053 dbus_bus_fw_get(void *bus, uint8 **fw, int *fwlen, int *decomp) dbus_bus_fw_get() argument
[all...]
H A Ddbus_usb_linux.c417 static int dbus_usbos_errhandler(void *bus, int err);
418 static int dbus_usbos_state_change(void *bus, int state);
518 static int dbus_usbos_intf_send_irb(void *bus, dbus_irb_tx_t *txirb);
519 static int dbus_usbos_intf_recv_irb(void *bus, dbus_irb_rx_t *rxirb);
520 static int dbus_usbos_intf_recv_irb_from_ep(void *bus, dbus_irb_rx_t *rxirb, uint32 ep_idx);
521 static int dbus_usbos_intf_cancel_irb(void *bus, dbus_irb_tx_t *txirb);
522 static int dbus_usbos_intf_send_ctl(void *bus, uint8 *buf, int len);
523 static int dbus_usbos_intf_recv_ctl(void *bus, uint8 *buf, int len);
524 static int dbus_usbos_intf_get_attrib(void *bus, dbus_attrib_t *attrib);
525 static int dbus_usbos_intf_up(void *bus);
1755 dbus_usbos_intf_send_irb(void *bus, dbus_irb_tx_t *txirb) dbus_usbos_intf_send_irb() argument
1931 dbus_usbos_intf_recv_irb(void *bus, dbus_irb_rx_t *rxirb) dbus_usbos_intf_recv_irb() argument
1944 dbus_usbos_intf_recv_irb_from_ep(void *bus, dbus_irb_rx_t *rxirb, uint32 ep_idx) dbus_usbos_intf_recv_irb_from_ep() argument
1976 dbus_usbos_intf_cancel_irb(void *bus, dbus_irb_tx_t *txirb) dbus_usbos_intf_cancel_irb() argument
1988 dbus_usbos_intf_send_ctl(void *bus, uint8 *buf, int len) dbus_usbos_intf_send_ctl() argument
2051 dbus_usbos_intf_recv_ctl(void *bus, uint8 *buf, int len) dbus_usbos_intf_recv_ctl() argument
2107 dbus_usbos_intf_get_attrib(void *bus, dbus_attrib_t *attrib) dbus_usbos_intf_get_attrib() argument
2133 dbus_usbos_intf_up(void *bus) dbus_usbos_intf_up() argument
2195 dbus_usbos_intf_down(void *bus) dbus_usbos_intf_down() argument
2207 dbus_usbos_intf_stop(void *bus) dbus_usbos_intf_stop() argument
2221 dbus_usbos_intf_set_config(void *bus, dbus_config_t *config) dbus_usbos_intf_set_config() argument
2358 dbus_usbos_readreg(void *bus, uint32 regaddr, int datalen, uint32 *value) dbus_usbos_readreg() argument
2396 dbus_usbos_writereg(void *bus, uint32 regaddr, int datalen, uint32 data) dbus_usbos_writereg() argument
2471 dbus_usbos_intf_recv_needed(void *bus) dbus_usbos_intf_recv_needed() argument
2481 dbus_usbos_intf_exec_rxlock(void *bus, exec_cb_t cb, struct exec_parms *args) dbus_usbos_intf_exec_rxlock() argument
2498 dbus_usbos_intf_exec_txlock(void *bus, exec_cb_t cb, struct exec_parms *args) dbus_usbos_intf_exec_txlock() argument
2519 dbus_usbos_errhandler(void *bus, int err) dbus_usbos_errhandler() argument
2539 dbus_usbos_state_change(void *bus, int state) dbus_usbos_state_change() argument
[all...]
H A Ddbus.c5 * provide the caller with one common bus interface for all dongle devices. In practice, it is only
428 /* Lower edge bus interface does not support recv_irb(). in dbus_rxirbs_fill()
558 DBUSTRACE(("%s: bus down, send_irb failed\n", __FUNCTION__)); in dbus_send_irb()
1270 * bus state. When lower DBUS level signals a change in the interface state, take appropriate action
1367 * Called as part of DBUS bus registration. Calls back into higher level (e.g. dhd_linux.c) probe
1419 if (!g_pub->bus) { in dhd_bus_unregister()
1420 dhd_dbus_disconnect_cb(g_pub->bus); in dhd_bus_unregister()
1588 * dlneeded < 0: bus error*/ in dbus_dlneeded()
2022 dhd_bus_t *dhd_bus = (dhd_bus_t *) dhdp->bus; in dhd_bus_iovar_op()
2552 dhd_bus_chip(struct dhd_bus *bus) in dhd_bus_chip() argument
2559 dhd_bus_chiprev(struct dhd_bus *bus) dhd_bus_chiprev() argument
2578 dhd_bus_txdata(struct dhd_bus *bus, void *pktbuf) dhd_bus_txdata() argument
2689 dhd_bus_update_fw_nv_path(struct dhd_bus *bus, char *pfw_path, char *pnv_path, char *pclm_path, char *pconf_path) dhd_bus_update_fw_nv_path() argument
2716 dhd_bus_t *bus = NULL; dhd_dbus_probe_cb() local
2824 dhd_bus_t *bus = (dhd_bus_t *)arg; dhd_dbus_disconnect_cb() local
[all...]
H A Ddhd_msgbuf.c5 * DHD OS, bus, and protocol modules.
136 /* Length of buffer in host for bus throughput measurement */
496 dhd_dma_buf_t host_bus_throughput_buf; /* bus throughput measure buffer */
802 dhd_bus_cmn_readshared(dhd->bus, &wr, RING_WR_UPD, flow_ring->idx); in dhd_prot_is_cmpl_ring_empty()
807 dhd_bus_cmn_readshared(dhd->bus, &rd, RING_RD_UPD, flow_ring->idx); in dhd_prot_is_cmpl_ring_empty()
885 DHD_ERROR(("%s: bus is in suspend(%d) or suspending(0x%x) state, so skip\n", in dhd_prot_d2h_sync_livelock()
890 dhd_bus_dump_console_buffer(dhd->bus); in dhd_prot_d2h_sync_livelock()
934 * Case 1 - Apart from Host CPU some other bus master is in dhd_prot_d2h_sync_seqnum()
1012 * Case 1 - Apart from Host CPU some other bus master is in dhd_prot_d2h_sync_xorcsum()
1130 * Case 1 - Apart from Host CPU some other bus maste in dhd_prot_d2h_sync_edl()
[all...]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Doal_channel_host_if.h39 #define oal_bus_wake_lock(bus) oal_sdio_wake_lock(bus)
40 #define oal_bus_wake_unlock(bus) oal_sdio_wake_unlock(bus)
42 #define oal_bus_message_register(bus, msg, cb, data) oal_sdio_message_register(bus, msg, cb, data)
43 #define oal_bus_message_unregister(bus, msg) oal_sdio_message_unregister(bus, msg)
48 #define oal_bus_claim_host(bus) oal_sdio_claim_host(bus)
[all...]
H A Dplat_sdio.c52 struct BusDev *bus = oal_get_bus_default_handler(); in sdio_patch_writesb() local
54 if (bus == NULL || bus->priData.data == NULL) { in sdio_patch_writesb()
64 bus->ops.claimHost(bus); in sdio_patch_writesb()
65 ret = bus->ops.bulkWrite(bus, HISDIO_REG_FUNC1_FIFO, len, buf, 0); in sdio_patch_writesb()
66 bus->ops.releaseHost(bus); in sdio_patch_writesb()
84 struct BusDev *bus in sdio_patch_readsb() local
[all...]
H A Doal_sdio_host.c121 hi_s32 oal_sdio_data_sg_irq(struct BusDev *bus);
123 static hi_s32 oal_sdio_single_transfer(struct BusDev *bus, hi_s32 rw, hi_void *buf, hi_u32 size);
124 static hi_s32 _oal_sdio_transfer_scatt(struct BusDev *bus, hi_s32 rw, hi_u32 addr, struct scatterlist *sg,
147 hi_s32 oal_sdio_send_msg(struct BusDev *bus, unsigned long val) in oal_sdio_send_msg() argument
150 oal_channel_stru *hi_sdio = (oal_channel_stru *)bus->priData.data; in oal_sdio_send_msg()
165 oal_sdio_wake_lock(bus); in oal_sdio_send_msg()
166 bus->ops.claimHost(bus); in oal_sdio_send_msg()
170 bus->ops.releaseHost(bus); in oal_sdio_send_msg()
191 oal_sdio_rw_buf(struct BusDev *bus, hi_s32 rw, hi_u32 addr, hi_u8 *buf, hi_u32 rw_sz) oal_sdio_rw_buf() argument
222 oal_sdio_xfercount_get(struct BusDev *bus, hi_u32 *xfercount) oal_sdio_xfercount_get() argument
257 oal_sdio_data_sg_irq(struct BusDev *bus) oal_sdio_data_sg_irq() argument
288 oal_sdio_transfer_rx_register(struct BusDev *bus, hisdio_rx rx) oal_sdio_transfer_rx_register() argument
304 oal_sdio_transfer_rx_unregister(struct BusDev *bus) oal_sdio_transfer_rx_unregister() argument
316 oal_sdio_message_register(struct BusDev *bus, hi_u8 msg, sdio_msg_rx cb, hi_void *data) oal_sdio_message_register() argument
333 oal_sdio_message_unregister(struct BusDev *bus, hi_u8 msg) oal_sdio_message_unregister() argument
344 oal_sdio_msg_stat(struct BusDev *bus, hi_u32 *msg) oal_sdio_msg_stat() argument
393 oal_sdio_msg_irq(struct BusDev *bus) oal_sdio_msg_irq() argument
487 oal_sdio_get_credit(struct BusDev *bus, hi_u32 *uc_hipriority_cnt) oal_sdio_get_credit() argument
502 oal_sdio_extend_buf_get(struct BusDev *bus) oal_sdio_extend_buf_get() argument
530 oal_sdio_extend_buf_get(struct BusDev *bus) oal_sdio_extend_buf_get() argument
551 oal_sdio_transfer_rx_reserved_buff(struct BusDev *bus) oal_sdio_transfer_rx_reserved_buff() argument
636 oal_sdio_build_rx_netbuf_list(struct BusDev *bus, oal_netbuf_head_stru *head) oal_sdio_build_rx_netbuf_list() argument
720 oal_sdio_get_func1_int_status(struct BusDev *bus, hi_u8 *int_stat) oal_sdio_get_func1_int_status() argument
740 oal_sdio_clear_int_status(struct BusDev *bus, hi_u8 int_stat) oal_sdio_clear_int_status() argument
761 oal_sdio_do_isr(struct BusDev *bus) oal_sdio_do_isr() argument
844 struct BusDev *bus = oal_get_bus_default_handler(); oal_sdio_isr() local
872 oal_unregister_gpio_intr(struct BusDev *bus) oal_unregister_gpio_intr() argument
890 oal_wlan_gpio_intr_enable(struct BusDev *bus, hi_u32 ul_en) oal_wlan_gpio_intr_enable() argument
909 oal_register_sdio_intr(struct BusDev *bus) oal_register_sdio_intr() argument
931 oal_unregister_sdio_intr(struct BusDev *bus) oal_unregister_sdio_intr() argument
949 oal_sdio_interrupt_unregister(struct BusDev *bus) oal_sdio_interrupt_unregister() argument
961 oal_sdio_get_sleep_state(struct BusDev *bus) oal_sdio_get_sleep_state() argument
980 oal_sdio_get_dev_pm_state(struct BusDev *bus, unsigned long *pst_ul_f1, unsigned long *pst_ul_f2, unsigned long *pst_ul_f3, unsigned long *pst_ul_f4) oal_sdio_get_dev_pm_state() argument
1002 oal_sdio_wakeup_dev(struct BusDev *bus) oal_sdio_wakeup_dev() argument
1019 oal_sdio_wakeup_dev(struct BusDev *bus) oal_sdio_wakeup_dev() argument
1041 oal_sdio_sleep_dev(struct BusDev *bus) oal_sdio_sleep_dev() argument
1057 oal_sdio_sleep_dev(struct BusDev *bus) oal_sdio_sleep_dev() argument
1079 oal_sdio_dev_init(struct BusDev *bus) oal_sdio_dev_init() argument
1142 oal_sdio_dev_deinit(struct BusDev *bus) oal_sdio_dev_deinit() argument
1180 oal_enable_sdio_state(struct BusDev *bus, hi_u32 mask) oal_enable_sdio_state() argument
1194 oal_disable_sdio_state(struct BusDev *bus, hi_u32 mask) oal_disable_sdio_state() argument
1223 oal_sdio_interrupt_register(struct BusDev *bus) oal_sdio_interrupt_register() argument
1256 oal_sdio_init(struct BusDev *bus) oal_sdio_init() argument
1335 oal_sdio_wakelocks_release_detect(struct BusDev *bus) oal_sdio_wakelocks_release_detect() argument
1355 oal_sdio_single_transfer(struct BusDev *bus, hi_s32 rw, hi_void *buf, hi_u32 size) oal_sdio_single_transfer() argument
1365 oal_sdio_transfer_tx(struct BusDev *bus, oal_netbuf_stru *netbuf) oal_sdio_transfer_tx() argument
1599 _oal_sdio_transfer_scatt(struct BusDev *bus, hi_s32 rw, hi_u32 addr, struct scatterlist *sg, hi_u32 sg_len, hi_u32 rw_sz) _oal_sdio_transfer_scatt() argument
1668 oal_sdio_transfer_scatt(struct BusDev *bus, hi_s32 rw, hi_u32 addr, struct scatterlist *sg, hi_u32 sg_len, hi_u32 sg_max_len, hi_u32 rw_sz) oal_sdio_transfer_scatt() argument
1732 oal_sdio_transfer_netbuf_list(struct BusDev *bus, const oal_netbuf_head_stru *head, hi_s32 rw) oal_sdio_transfer_netbuf_list() argument
1899 struct BusDev *bus = oal_get_bus_default_handler(); oal_sdio_dev_shutdown() local
1967 oal_sdio_func_probe_resume(struct BusDev *bus) oal_sdio_func_probe_resume() argument
1985 oal_sdio_func_init(struct BusDev *bus) oal_sdio_func_init() argument
2052 struct BusDev *bus = oal_get_bus_default_handler(); oal_sdio_func_reset() local
2086 oal_sdio_func_remove(struct BusDev *bus) oal_sdio_func_remove() argument
2105 oal_sdio_init_module(struct BusDev *bus, hi_void *data) oal_sdio_init_module() argument
2239 oal_sdio_func_max_req_size(struct BusDev *bus) oal_sdio_func_max_req_size() argument
2282 oal_sdio_transfer_prepare(struct BusDev *bus) oal_sdio_transfer_prepare() argument
2345 sdio_dev_init(struct BusDev *bus) sdio_dev_init() argument
[all...]
H A Doal_sdio_host_if.h199 hi_s32 oal_sdio_get_credit(struct BusDev *bus, hi_u32 *uc_priority_cnt);
205 hi_void oal_enable_sdio_state(struct BusDev *bus, hi_u32 mask);
206 hi_void oal_disable_sdio_state(struct BusDev *bus, hi_u32 mask);
210 hi_s32 oal_sdio_build_rx_netbuf_list(struct BusDev *bus, oal_netbuf_head_stru *head);
212 hi_s32 oal_sdio_func_init(struct BusDev *bus);
214 hi_s32 oal_sdio_func_probe_resume(struct BusDev *bus);
217 hi_void oal_sdio_func_remove(struct BusDev *bus);
218 hi_s32 oal_sdio_message_register(struct BusDev *bus, hi_u8 msg, sdio_msg_rx cb, hi_void *data);
219 hi_void oal_sdio_message_unregister(struct BusDev *bus, hi_u8 msg);
220 hi_s32 oal_sdio_transfer_rx_register(struct BusDev *bus, hisdio_r
245 oal_sdio_claim_host(struct BusDev *bus) oal_sdio_claim_host() argument
260 oal_sdio_release_host(struct BusDev *bus) oal_sdio_release_host() argument
275 oal_sdio_rx_transfer_lock(struct BusDev *bus) oal_sdio_rx_transfer_lock() argument
282 oal_sdio_rx_transfer_unlock(struct BusDev *bus) oal_sdio_rx_transfer_unlock() argument
289 oal_sdio_func1_int_mask(struct BusDev *bus, hi_u32 func1_int_mask) oal_sdio_func1_int_mask() argument
300 oal_sdio_func1_int_unmask(struct BusDev *bus, hi_u32 func1_int_mask) oal_sdio_func1_int_unmask() argument
[all...]
H A Dplat_pm_wlan.c242 oal_disable_bus_state(wlan_pm->bus, OAL_SDIO_RX); in wlan_pm_close_done_callback()
361 if ((wlan_pm == NULL) || (wlan_pm->bus == NULL) || (id > HI_PM_ID_MAX)) { in wlan_pm_add_vote()
387 if ((wlan_pm == NULL) || (wlan_pm->bus == NULL) || (id > HI_PM_ID_MAX)) { in wlan_pm_remove_vote()
413 struct BusDev *bus = hcc_host_get_handler()->bus; in wlan_pm_open() local
414 oal_channel_stru *hi_sdio = (oal_channel_stru *)bus->priData.data; in wlan_pm_open()
418 oal_bus_message_register(bus, D2H_MSG_WLAN_READY, plat_set_device_ready, in wlan_pm_open()
476 if (wlan_pm == NULL || wlan_pm->bus == NULL) { in wlan_pm_dump_host_info()
479 hi_sdio = (oal_channel_stru *)wlan_pm->bus->priData.data; in wlan_pm_dump_host_info()
579 oal_bus_send_msg(wlan_pm->bus, H2D_MSG_PM_DEBU in wlan_pm_dump_device_info()
1272 struct BusDev *bus = oal_get_bus_default_handler(); wlan_pm_init() local
[all...]
H A Doal_sdio_if.h89 static inline hi_s32 oal_sdio_memcpy_fromio(struct BusDev *bus, hi_void *dst, hi_u32 addr, hi_s32 count) in oal_sdio_memcpy_fromio() argument
96 ret = bus->ops.readData(bus, addr, count, (hi_u8 *)dst); in oal_sdio_memcpy_fromio()
159 static inline hi_s32 oal_sdio_memcpy_fromio(struct BusDev *bus, hi_void *dst, hi_u32 addr, hi_s32 count) in oal_sdio_memcpy_fromio() argument
166 ret = bus->ops.readData(bus, addr, count, (hi_u8 *)dst); in oal_sdio_memcpy_fromio()
/device/soc/rockchip/common/vendor/drivers/devfreq/
H A Drockchip_bus.c50 * cpu_high_freq, change bus rate to low_rate, otherwise change it to
68 static int rockchip_bus_smc_config(struct rockchip_bus *bus) in rockchip_bus_smc_config() argument
70 struct device *dev = bus->dev; in rockchip_bus_smc_config()
78 ret = of_property_read_u32_index(child, "bus-id", 0, &bus_id); in rockchip_bus_smc_config()
102 dev_info(dev, "bus smc config error: %x!\n", ret); in rockchip_bus_smc_config()
110 static int rockchip_bus_set_freq_table(struct rockchip_bus *bus) in rockchip_bus_set_freq_table() argument
112 struct device *dev = bus->dev; in rockchip_bus_set_freq_table()
122 bus->max_state = count; in rockchip_bus_set_freq_table()
123 bus->freq_table = devm_kcalloc(dev, bus in rockchip_bus_set_freq_table()
144 rockchip_bus_power_control_init(struct rockchip_bus *bus) rockchip_bus_power_control_init() argument
178 struct rockchip_bus *bus = dev_get_drvdata(dev); rockchip_bus_clkfreq_target() local
204 struct rockchip_bus *bus = to_rockchip_bus_clk_nb(nb); rockchip_bus_clk_notifier() local
232 rockchip_bus_clkfreq(struct rockchip_bus *bus) rockchip_bus_clkfreq() argument
262 struct rockchip_bus *bus = dev_get_drvdata(dev); rockchip_bus_cpufreq_target() local
332 struct rockchip_bus *bus = to_rockchip_bus_cpufreq_nb(nb); rockchip_bus_cpufreq_notifier() local
369 rockchip_bus_cpufreq(struct rockchip_bus *bus) rockchip_bus_cpufreq() argument
450 struct rockchip_bus *bus; rockchip_busfreq_probe() local
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/devfreq/
H A Drockchip_bus.c52 * cpu_high_freq, change bus rate to low_rate, otherwise change it to
70 static int rockchip_bus_smc_config(struct rockchip_bus *bus) in rockchip_bus_smc_config() argument
72 struct device *dev = bus->dev; in rockchip_bus_smc_config()
79 ret = of_property_read_u32_index(child, "bus-id", 0, in rockchip_bus_smc_config()
106 dev_info(dev, "bus smc config error: %x!\n", ret); in rockchip_bus_smc_config()
114 static int rockchip_bus_set_freq_table(struct rockchip_bus *bus) in rockchip_bus_set_freq_table() argument
116 struct device *dev = bus->dev; in rockchip_bus_set_freq_table()
125 bus->max_state = count; in rockchip_bus_set_freq_table()
126 bus->freq_table = devm_kcalloc(dev, in rockchip_bus_set_freq_table()
127 bus in rockchip_bus_set_freq_table()
150 rockchip_bus_power_control_init(struct rockchip_bus *bus) rockchip_bus_power_control_init() argument
184 struct rockchip_bus *bus = dev_get_drvdata(dev); rockchip_bus_clkfreq_target() local
213 struct rockchip_bus *bus = to_rockchip_bus_clk_nb(nb); rockchip_bus_clk_notifier() local
242 rockchip_bus_clkfreq(struct rockchip_bus *bus) rockchip_bus_clkfreq() argument
272 struct rockchip_bus *bus = dev_get_drvdata(dev); rockchip_bus_cpufreq_target() local
349 struct rockchip_bus *bus = to_rockchip_bus_cpufreq_nb(nb); rockchip_bus_cpufreq_notifier() local
393 rockchip_bus_cpufreq(struct rockchip_bus *bus) rockchip_bus_cpufreq() argument
461 struct rockchip_bus *bus; rockchip_busfreq_probe() local
[all...]
/device/soc/rockchip/rk2206/hdf_driver/i2c/
H A Di2c_driver.c40 uint32_t bus; member
60 static int32_t i2cdrv_initdevice(const struct i2c_bus *bus) in i2cdrv_initdevice() argument
69 if (bus == NULL) { in i2cdrv_initdevice()
70 PRINT_ERR("%s: bus is null\n", __func__); in i2cdrv_initdevice()
74 i2cBusId = (unsigned int)(bus->bus); in i2cdrv_initdevice()
75 i2cFreq = (unsigned int)(bus->freq); in i2cdrv_initdevice()
77 i2cBus.id = (FuncID)(bus->id); in i2cdrv_initdevice()
78 i2cBus.mode = (FuncMode)(bus->mode); in i2cdrv_initdevice()
79 i2cBus.scl.gpio = (GpioID)(bus in i2cdrv_initdevice()
115 i2cdrv_deinitdevice(const struct i2c_bus *bus) i2cdrv_deinitdevice() argument
128 i2cdrv_readdrs(struct DeviceResourceNode *node, struct i2c_bus *bus) i2cdrv_readdrs() argument
271 struct i2c_bus *bus; i2cdrv_transfer() local
351 struct i2c_bus *bus = NULL; i2cdrv_init() local
454 struct i2c_bus *bus = NULL; i2cdrv_release() local
[all...]
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/
H A Ddbus.h223 void (*detach)(struct dbus_pub *pub, void *bus);
225 int (*up)(void *bus);
226 int (*down)(void *bus);
227 int (*send_irb)(void *bus, struct dbus_irb_tx *txirb);
228 int (*recv_irb)(void *bus, struct dbus_irb_rx *rxirb);
229 int (*cancel_irb)(void *bus, struct dbus_irb_tx *txirb);
230 int (*send_ctl)(void *bus, uint8 *buf, int len);
231 int (*recv_ctl)(void *bus, uint8 *buf, int len);
232 int (*get_stats)(void *bus, dbus_stats_t *stats);
233 int (*get_attrib)(void *bus, dbus_attrib_
289 void *bus; global() member
[all...]
/device/soc/rockchip/rk2206/hdf_driver/spi/
H A Dspi_driver.c41 uint32_t bus; member
102 ret = iface->GetUint32(node, "bus", &params->bus, 0); in spidrv_readdrs()
104 PRINT_ERR("%s: GetUint32(bus) failed\n", __func__); in spidrv_readdrs()
306 SpiBusIo bus; in spidrv_initdevice() local
315 bus_id = (unsigned int)params->bus; in spidrv_initdevice()
317 memset_s(&bus, sizeof(bus), 0, sizeof(bus)); in spidrv_initdevice()
318 bus in spidrv_initdevice()
[all...]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/linuxkpi/include/linux/
H A Ddevice.h51 struct bus_type *bus; /**< type of bus device is on */ member
67 struct bus_type *bus; member
89 * Define the structure of the parameters used for bus creation.
256 /* bus api */
259 * @brief register a new bus system.
263 * <li>This API is used to register a bus system that can manage its drivers and devices.</li>
268 * <li>The same bus node can not be registered twice.</li>
272 * @param bus [IN]A pointer to bus_type.
274 * @retval #LOS_ERRNO_DRIVER_INPUT_INVALID Invalid input.bus o
[all...]
/device/soc/rockchip/rk3588/kernel/include/linux/usb/
H A Dhcd.h87 struct usb_bus self; /* hcd is-a bus */
95 char irq_descr[24]; /* driver + bus # */
187 * any new bus bandwidth constraints:
247 static inline struct usb_hcd *bus_to_hcd(struct usb_bus *bus) in bus_to_hcd() argument
249 return container_of(bus, struct usb_hcd, self); in bus_to_hcd()
281 * a whole, not just the root hub; they're for PCI bus glue.
378 * endpoint_enable and endpoint_disable, does not exceed bus
509 void *hcd_buffer_alloc(struct usb_bus *bus, size_t size,
511 void hcd_buffer_free(struct usb_bus *bus, size_t size,
514 /* generic bus glu
715 usbmon_urb_submit(struct usb_bus *bus, struct urb *urb) usbmon_urb_submit() argument
721 usbmon_urb_submit_error(struct usb_bus *bus, struct urb *urb, int error) usbmon_urb_submit_error() argument
728 usbmon_urb_complete(struct usb_bus *bus, struct urb *urb, int status) usbmon_urb_complete() argument
740 usbmon_urb_submit(struct usb_bus *bus, struct urb *urb) usbmon_urb_submit() argument
741 usbmon_urb_submit_error(struct usb_bus *bus, struct urb *urb, int error) usbmon_urb_submit_error() argument
743 usbmon_urb_complete(struct usb_bus *bus, struct urb *urb, int status) usbmon_urb_complete() argument
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/pci/
H A Dpci.h36 PCI_MMAP_SYSFS, /* mmap on /sys/bus/pci/devices/<BDF>/resource<N> */
37 PCI_MMAP_PROCFS /* mmap on /proc/bus/pci/<BDF> */
97 void pci_pme_wakeup_bus(struct pci_bus *bus);
156 int pci_proc_detach_bus(struct pci_bus *bus);
160 static inline int pci_proc_detach_bus(struct pci_bus *bus) { return 0; } in pci_proc_detach_bus() argument
167 void pci_create_legacy_files(struct pci_bus *bus);
168 void pci_remove_legacy_files(struct pci_bus *bus);
170 static inline void pci_create_legacy_files(struct pci_bus *bus) { return; } in pci_create_legacy_files() argument
171 static inline void pci_remove_legacy_files(struct pci_bus *bus) { return; } in pci_remove_legacy_files() argument
174 /* Lock for read/write access to pci device and bus list
516 pci_iov_bus_range(struct pci_bus *bus) pci_iov_bus_range() argument
663 pci_set_bus_of_node(struct pci_bus *bus) pci_set_bus_of_node() argument
664 pci_release_bus_of_node(struct pci_bus *bus) pci_release_bus_of_node() argument
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/iommu/
H A Diommu.c82 static struct iommu_domain *iommu_domain_alloc_ext(struct bus_type *bus, unsigned type);
191 const struct iommu_ops *ops = dev->bus->iommu_ops; in iommu_probe_device_ext()
246 const struct iommu_ops *ops = dev->bus->iommu_ops; in iommu_probe_device()
295 const struct iommu_ops *ops = dev->bus->iommu_ops; in iommu_release_device()
1308 if (tmp == pdev || tmp->bus != pdev->bus || PCI_SLOT(tmp->devfn) != PCI_SLOT(pdev->devfn) || in get_pci_function_alias_group()
1325 * aliases are only supported on the same bus, therefore the search
1348 if (tmp == pdev || tmp->bus != pdev->bus) { in get_pci_alias_group()
1401 * Use standard PCI bus topolog
1408 struct pci_bus *bus; pci_device_group() local
1501 iommu_group_alloc_default_domain(struct bus_type *bus, struct iommu_group *group, unsigned int type) iommu_group_alloc_default_domain() argument
1712 probe_alloc_default_domain(struct bus_type *bus, struct iommu_group *group) probe_alloc_default_domain() argument
1775 bus_iommu_probe(struct bus_type *bus) bus_iommu_probe() argument
1822 iommu_bus_init(struct bus_type *bus, const struct iommu_ops *ops) iommu_bus_init() argument
1870 bus_set_iommu(struct bus_type *bus, const struct iommu_ops *ops) bus_set_iommu() argument
1895 iommu_present(struct bus_type *bus) iommu_present() argument
1901 iommu_capable(struct bus_type *bus, enum iommu_cap cap) iommu_capable() argument
1932 iommu_domain_alloc_ext(struct bus_type *bus, unsigned type) iommu_domain_alloc_ext() argument
1953 iommu_domain_alloc(struct bus_type *bus) iommu_domain_alloc() argument
[all...]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/hcc/
H A Dhcc_host.c147 oal_bus_send_msg(g_hcc_host_handler->bus, H2D_MSG_DEVICE_MEM_INFO);
157 oal_bus_send_msg(g_hcc_host_handler->bus, H2D_MSG_TEST);
416 ret = oal_sdio_transfer_netbuf_list(hcc_handler->bus, &head_send, SDIO_WRITE);
758 ret = oal_sdio_transfer_netbuf_list(hcc_handler->bus, &head_send, SDIO_WRITE);
910 if (hcc_handler->bus) {
911 ret = oal_sdio_get_credit(hcc_handler->bus, &priority_cnt);
1158 err_code = oal_sdio_build_rx_netbuf_list(hcc_handler->bus, &netbuf_head);
1164 err_code = oal_sdio_transfer_netbuf_list(hcc_handler->bus, &netbuf_head, SDIO_READ);
1294 oal_bus_send_msg(hcc_handler->bus, H2D_MSG_FLOWCTRL_ON);
1300 oal_bus_send_msg(hcc_handler->bus, H2D_MSG_PM_WLAN_OF
1736 hcc_host_init(struct BusDev *bus) global() argument
1964 struct BusDev *bus = NULL; global() local
2066 struct BusDev *bus = oal_get_bus_default_handler(); global() local
[all...]

Completed in 40 milliseconds

12345