Lines Matching refs:dhd_bus
199 struct dhd_bus;
203 void (*handle_mb_data)(struct dhd_bus *);
268 typedef struct dhd_bus { struct
730 extern uint32 dhdpcie_bus_cfg_read_dword(struct dhd_bus *bus, uint32 addr, uint32 size);
731 extern void dhdpcie_bus_cfg_write_dword(struct dhd_bus *bus, uint32 addr, uint32 size, uint32 data);
732 extern void dhdpcie_bus_intr_enable(struct dhd_bus *bus);
733 extern void dhdpcie_bus_intr_disable(struct dhd_bus *bus);
735 extern void dhdpcie_bus_release(struct dhd_bus *bus);
736 extern int32 dhdpcie_bus_isr(struct dhd_bus *bus);
738 extern void dhdpcie_bus_ringbell_fast(struct dhd_bus *bus, uint32 value);
739 extern void dhdpcie_bus_ringbell_2_fast(struct dhd_bus *bus, uint32 value, bool devwake);
741 extern int dhd_bus_cfg_sprom_ctrl_bp_reset(struct dhd_bus *bus);
742 extern int dhd_bus_cfg_ss_ctrl_bp_reset(struct dhd_bus *bus);
744 extern int dhdpcie_bus_suspend(struct dhd_bus *bus, bool state, bool byint);
746 extern int dhdpcie_bus_suspend(struct dhd_bus *bus, bool state);
748 extern int dhdpcie_pci_suspend_resume(struct dhd_bus *bus, bool state);
749 extern uint32 dhdpcie_force_alp(struct dhd_bus *bus, bool enable);
750 extern uint32 dhdpcie_set_l1_entry_time(struct dhd_bus *bus, int force_l1_entry_time);
755 extern void dhdpcie_set_pmu_min_res_mask(struct dhd_bus *bus, uint min_res_mask);
761 extern void dhd_bus_dump_dar_registers(struct dhd_bus *bus);
785 extern int dhdpcie_bus_request_irq(struct dhd_bus *bus);
807 extern int dhdpcie_get_oob_irq_num(struct dhd_bus *bus);
808 extern int dhdpcie_get_oob_irq_status(struct dhd_bus *bus);
812 extern void dhd_oob_set_bt_reg_on(struct dhd_bus *bus, bool val);
813 extern int dhd_oob_get_bt_reg_on(struct dhd_bus *bus);
815 extern int dhd_os_oob_set_device_wake(struct dhd_bus *bus, bool val);
816 extern void dhd_os_ib_set_device_wake(struct dhd_bus *bus, bool val);
819 extern void dhd_bus_doorbell_timeout_reset(struct dhd_bus *bus);
916 extern int dhd_bus_flow_ring_resume_request(struct dhd_bus *bus, void *arg);
917 extern void dhd_bus_flow_ring_resume_response(struct dhd_bus *bus, uint16 flowid, int32 status);
918 extern int dhd_bus_flow_ring_suspend_request(struct dhd_bus *bus, void *arg);
919 extern void dhd_bus_flow_ring_suspend_response(struct dhd_bus *bus, uint16 flowid, uint32 status);
920 extern void dhd_flow_ring_move_to_active_list_head(struct dhd_bus *bus,
922 extern void dhd_flow_ring_add_to_active_list(struct dhd_bus *bus,
924 extern void dhd_flow_ring_delete_from_active_list(struct dhd_bus *bus,
926 extern void __dhd_flow_ring_delete_from_active_list(struct dhd_bus *bus,
933 int bcmpcie_get_total_wake(struct dhd_bus *bus);
934 int bcmpcie_set_get_wake(struct dhd_bus *bus, int flag);
941 extern void dhd_bus_hostready(struct dhd_bus *bus);
952 extern int dhd_bus_inb_set_device_wake(struct dhd_bus *bus, bool val);
957 extern int dhdpcie_irq_disabled(struct dhd_bus *bus);
958 extern int dhdpcie_set_master_and_d0_pwrstate(struct dhd_bus *bus);
960 static INLINE bool dhdpcie_irq_disabled(struct dhd_bus *bus) { return BCME_ERROR;} in dhdpcie_irq_disabled()
961 static INLINE int dhdpcie_set_master_and_d0_pwrstate(struct dhd_bus *bus) in dhdpcie_set_master_and_d0_pwrstate()
966 extern bool dhdpcie_is_arm_halted(struct dhd_bus *bus);
971 extern int dhd_wifi_properties(struct dhd_bus *bus, char *arg, int len);
980 static INLINE bool dhdpcie_is_arm_halted(struct dhd_bus *bus) {return TRUE;} in dhdpcie_is_arm_halted()