Home
last modified time | relevance | path

Searched defs:mors (Results 1 – 20 of 20) sorted by relevance

/linux/drivers/net/wireless/morsemicro/mm81x/
H A Dhw.h22 #define MM81X_REG_TRGR_BASE(mors) ((mors)->regs->trgr_base_address) argument
23 #define MM81X_REG_TRGR1_STS(mors) (MM81X_REG_TRGR_BASE(mors) + 0x00) argument
24 #define MM81X_REG_TRGR1_SET(mors) (MM81X_REG_TRGR_BASE(mors) + 0x04) argument
25 #define MM81X_REG_TRGR1_CLR(mors) (MM81X_REG_TRGR_BASE(mors) + 0x08) argument
26 #define MM81X_REG_TRGR1_EN(mors) (MM81X_REG_TRGR_BASE(mors) + 0x0C) argument
27 #define MM81X_REG_TRGR2_STS(mors) (MM81X_REG_TRGR_BASE(mors) + 0x10) argument
28 #define MM81X_REG_TRGR2_SET(mors) (MM81X_REG_TRGR_BASE(mors) + 0x14) argument
29 #define MM81X_REG_TRGR2_CLR(mors) (MM81X_REG_TRGR_BASE(mors) + 0x18) argument
30 #define MM81X_REG_TRGR2_EN(mors) (MM81X_REG_TRGR_BASE(mors) + 0x1C) argument
32 #define MM81X_REG_INT_BASE(mors) ((mors)->regs->irq_base_address) argument
[all …]
H A Dhw.c63 static void mm81x_hw_otp_power_up(struct mm81x *mors) in mm81x_hw_otp_power_up()
75 static void mm81x_hw_otp_power_down(struct mm81x *mors) in mm81x_hw_otp_power_down()
82 static void mm81x_hw_otp_read_enable(struct mm81x *mors) in mm81x_hw_otp_read_enable()
89 static void mm81x_hw_otp_read_disable(struct mm81x *mors) in mm81x_hw_otp_read_disable()
95 static int mm81x_hw_otp_read(struct mm81x *mors, u8 bank_num, u32 *buf, in mm81x_hw_otp_read()
128 int mm81x_hw_otp_get_board_type(struct mm81x *mors) in mm81x_hw_otp_get_board_type()
158 int mm81x_hw_otp_get_mac_addr(struct mm81x *mors) in mm81x_hw_otp_get_mac_addr()
188 void mm81x_hw_irq_enable(struct mm81x *mors, u32 irq, bool enable) in mm81x_hw_irq_enable()
207 int mm81x_hw_irq_handle(struct mm81x *mors) in mm81x_hw_irq_handle()
225 void mm81x_hw_irq_clear(struct mm81x *mors) in mm81x_hw_irq_clear()
[all …]
H A Dhif.h49 static inline void mm81x_hif_clear_events(struct mm81x *mors) in mm81x_hif_clear_events()
54 static inline int mm81x_hif_init(struct mm81x *mors) in mm81x_hif_init()
59 static inline void mm81x_hif_flush_tx_data(struct mm81x *mors) in mm81x_hif_flush_tx_data()
64 static inline void mm81x_hif_flush_cmds(struct mm81x *mors) in mm81x_hif_flush_cmds()
69 static inline void mm81x_hif_finish(struct mm81x *mors) in mm81x_hif_finish()
74 static inline void mm81x_hif_skbq_get_tx_qs(struct mm81x *mors, in mm81x_hif_skbq_get_tx_qs()
80 static inline struct mm81x_skbq *mm81x_hif_get_tx_cmd_queue(struct mm81x *mors) in mm81x_hif_get_tx_cmd_queue()
86 mm81x_hif_get_tx_beacon_queue(struct mm81x *mors) in mm81x_hif_get_tx_beacon_queue()
91 static inline struct mm81x_skbq *mm81x_hif_get_tx_mgmt_queue(struct mm81x *mors) in mm81x_hif_get_tx_mgmt_queue()
96 static inline struct mm81x_skbq *mm81x_hif_get_tx_data_queue(struct mm81x *mors, in mm81x_hif_get_tx_data_queue()
[all …]
H A Dmac.c218 static bool mm81x_tx_h_pkt_over_rts_threshold(struct mm81x *mors, in mm81x_tx_h_pkt_over_rts_threshold()
238 static bool mm81x_tx_h_ps_filtered_for_sta(struct mm81x *mors, in mm81x_tx_h_ps_filtered_for_sta()
266 struct mm81x *mors = hw->priv; in mm81x_mac_check_fw_disabled_chans() local
319 struct mm81x *mors = hw->priv; in mm81x_mac_ops_start() local
325 static int mm81x_tx_h_get_max_bw(struct mm81x *mors) in mm81x_tx_h_get_max_bw()
333 static void mm81x_mac_caps_init(struct mm81x *mors) in mm81x_mac_caps_init()
414 struct mm81x *mors = mm81x_vif_to_mors(mors_vif); in mm81x_mac_beacon_irq_enable() local
423 static void mm81x_beacon_h_fill_tx_info(struct mm81x *mors, in mm81x_beacon_h_fill_tx_info()
452 struct mm81x *mors = mm81x_vif_to_mors(mors_vif); in mm81x_mac_beacon_work() local
481 void mm81x_mac_beacon_irq_handle(struct mm81x *mors, u32 status) in mm81x_mac_beacon_irq_handle()
[all …]
H A Dfw.c55 static void mm81x_fw_parse_info(struct mm81x *mors, const u8 *data, int length) in mm81x_fw_parse_info()
91 static int mm81x_fw_set_boot_addr(struct mm81x *mors, uint32_t addr) in mm81x_fw_set_boot_addr()
102 static int mm81x_fw_load_fw(struct mm81x *mors, const struct firmware *fw) in mm81x_fw_load_fw()
186 static int __mm81x_fw_load_bcf(struct mm81x *mors, unsigned int addr, in __mm81x_fw_load_bcf()
209 static int mm81x_fw_load_bcf(struct mm81x *mors, const struct firmware *bcf, in mm81x_fw_load_bcf()
299 static void mm81x_fw_clear_aon(struct mm81x *mors) in mm81x_fw_clear_aon()
318 static void mm81x_fw_trigger(struct mm81x *mors) in mm81x_fw_trigger()
341 static int mm81x_fw_verify_magic(struct mm81x *mors) in mm81x_fw_verify_magic()
362 static int mm81x_fw_get_flags(struct mm81x *mors) in mm81x_fw_get_flags()
378 static int mm81x_fw_check_compatibility(struct mm81x *mors) in mm81x_fw_check_compatibility()
[all …]
H A Dusb.c96 struct mm81x *mors = container_of(work, struct mm81x, usb_irq_work); in mm81x_usb_irq_work() local
112 struct mm81x *mors = urb->context; in mm81x_usb_int_handler() local
147 static int mm81x_usb_int_enable(struct mm81x *mors) in mm81x_usb_int_enable()
199 static void mm81x_usb_int_stop(struct mm81x *mors) in mm81x_usb_int_stop()
209 struct mm81x *mors = urb->context; in mm81x_usb_cmd_callback() local
231 struct mm81x *mors = usb_get_intfdata(musb->interface); in mm81x_usb_cmd() local
276 static int mm81x_usb_ndr_reset(struct mm81x *mors) in mm81x_usb_ndr_reset()
305 struct mm81x *mors = urb->context; in mm81x_usb_mem_rw_callback() local
328 struct mm81x *mors = usb_get_intfdata(musb->interface); in mm81x_usb_mem_read() local
396 struct mm81x *mors = usb_get_intfdata(musb->interface); in mm81x_usb_mem_write() local
[all …]
H A Dbus.h38 static inline int mm81x_dm_read(struct mm81x *mors, u32 addr, u8 *data, int len) in mm81x_dm_read()
43 static inline int mm81x_dm_write(struct mm81x *mors, u32 addr, const u8 *data, in mm81x_dm_write()
49 static inline int mm81x_reg32_read(struct mm81x *mors, u32 addr, u32 *data) in mm81x_reg32_read()
54 static inline int mm81x_reg32_write(struct mm81x *mors, u32 addr, u32 data) in mm81x_reg32_write()
59 static inline int mm81x_bus_digital_reset(struct mm81x *mors) in mm81x_bus_digital_reset()
67 static inline void mm81x_set_bus_enable(struct mm81x *mors, bool enable) in mm81x_set_bus_enable()
72 static inline void mm81x_bus_config_burst_mode(struct mm81x *mors, in mm81x_bus_config_burst_mode()
79 static inline void mm81x_claim_bus(struct mm81x *mors) in mm81x_claim_bus()
84 static inline void mm81x_bus_set_irq(struct mm81x *mors, bool enable) in mm81x_bus_set_irq()
89 static inline void mm81x_release_bus(struct mm81x *mors) in mm81x_release_bus()
[all …]
H A Dyaps.c72 static struct mm81x_skbq *mm81x_yaps_tc_q_from_aci(struct mm81x *mors, int aci) in mm81x_yaps_tc_q_from_aci()
81 static void mm81x_yaps_get_tx_qs(struct mm81x *mors, struct mm81x_skbq **qs, in mm81x_yaps_get_tx_qs()
88 static struct mm81x_skbq *mm81x_yaps_get_bcn_tc_q(struct mm81x *mors) in mm81x_yaps_get_bcn_tc_q()
93 static struct mm81x_skbq *mm81x_yaps_get_mgmt_tc_q(struct mm81x *mors) in mm81x_yaps_get_mgmt_tc_q()
98 static struct mm81x_skbq *mm81x_yaps_get_tx_cmd_queue(struct mm81x *mors) in mm81x_yaps_get_tx_cmd_queue()
103 static int mm81x_yaps_irq_handler(struct mm81x *mors, u32 status) in mm81x_yaps_irq_handler()
135 struct mm81x *mors = yaps->mors; in mm81x_yaps_read_pkt() local
238 struct mm81x *mors = yaps->mors; in mm81x_yaps_tx() local
329 struct mm81x *mors = yaps->mors; in mm81x_yaps_tx_data_handler() local
419 struct mm81x *mors = container_of(work, struct mm81x, tx_stale_work); in mm81x_yaps_stale_tx_work() local
[all …]
H A Dcommand.c33 static int mm81x_cmd_tx(struct mm81x *mors, struct host_cmd_resp *resp, in mm81x_cmd_tx()
146 int mm81x_cmd_resp_process(struct mm81x *mors, struct sk_buff *skb) in mm81x_cmd_resp_process()
232 int mm81x_cmd_sta_state(struct mm81x *mors, struct mm81x_vif *mors_vif, u16 aid, in mm81x_cmd_sta_state()
249 int mm81x_cmd_add_if(struct mm81x *mors, u16 *vif_id, const u8 *addr, in mm81x_cmd_add_if()
279 int mm81x_cmd_get_capabilities(struct mm81x *mors, u16 vif_id, in mm81x_cmd_get_capabilities()
308 int mm81x_cmd_get_max_txpower(struct mm81x *mors, s32 *out_power_mbm) in mm81x_cmd_get_max_txpower()
324 int mm81x_cmd_hw_scan(struct mm81x *mors, struct mm81x_hw_scan_params *params, in mm81x_cmd_hw_scan()
365 int mm81x_cmd_set_txpower(struct mm81x *mors, s32 *out_power_mbm, in mm81x_cmd_set_txpower()
383 int mm81x_cmd_set_channel(struct mm81x *mors, u32 op_chan_freq_hz, in mm81x_cmd_set_channel()
406 int mm81x_cmd_disable_key(struct mm81x *mors, struct mm81x_vif *mors_vif, in mm81x_cmd_disable_key()
[all …]
H A Dcore.c11 static int mm81x_core_attach_regs(struct mm81x *mors) in mm81x_core_attach_regs()
36 static void mm81x_core_init_mac_addr(struct mm81x *mors) in mm81x_core_init_mac_addr()
67 int mm81x_core_init(struct mm81x *mors) in mm81x_core_init()
108 int mm81x_core_register(struct mm81x *mors) in mm81x_core_register()
114 void mm81x_core_unregister(struct mm81x *mors) in mm81x_core_unregister()
120 void mm81x_core_deinit(struct mm81x *mors) in mm81x_core_deinit()
130 void mm81x_core_free(struct mm81x *mors) in mm81x_core_free()
H A Dps.c16 struct mm81x *mors = container_of(mps, struct mm81x, ps); in mm81x_ps_wakeup() local
27 struct mm81x *mors = container_of(mps, struct mm81x, ps); in mm81x_ps_sleep() local
38 struct mm81x *mors = container_of(mps, struct mm81x, ps); in mm81x_ps_evaluate() local
71 void mm81x_ps_enable(struct mm81x *mors) in mm81x_ps_enable()
87 void mm81x_ps_disable(struct mm81x *mors) in mm81x_ps_disable()
99 int mm81x_ps_init(struct mm81x *mors) in mm81x_ps_init()
112 void mm81x_ps_finish(struct mm81x *mors) in mm81x_ps_finish()
H A Dsdio.c47 struct mm81x *mors = sdio_get_drvdata(func); in irq_handler() local
57 struct mm81x *mors = sdio_get_drvdata(func); in mm81x_sdio_enable_irq() local
78 static void mm81x_sdio_set_irq(struct mm81x *mors, bool enable) in mm81x_sdio_set_irq()
107 struct mm81x *mors = sdio_get_drvdata(sdio->func); in mm81x_sdio_set_func_address_base() local
155 struct mm81x *mors = sdio_get_drvdata(sdio->func); in mm81x_sdio_mem_write_block() local
196 static void mm81x_sdio_claim_host(struct mm81x *mors) in mm81x_sdio_claim_host()
204 static void mm81x_sdio_release_host(struct mm81x *mors) in mm81x_sdio_release_host()
217 struct mm81x *mors = sdio_get_drvdata(sdio->func); in mm81x_sdio_mem_read_block() local
269 static int mm81x_sdio_dm_write(struct mm81x *mors, u32 address, const u8 *data, in mm81x_sdio_dm_write()
326 static int mm81x_sdio_dm_read(struct mm81x *mors, u32 address, u8 *data, in mm81x_sdio_dm_read()
[all …]
H A Dskbq.c123 __mm81x_skbq_tx_status_to_skbq(struct mm81x *mors, in __mm81x_skbq_tx_status_to_skbq()
193 static void mm81x_skbq_sta_eosp(struct mm81x *mors, struct sk_buff *skb) in mm81x_skbq_sta_eosp()
251 static struct sk_buff *__mm81x_skbq_get_pending_by_id(struct mm81x *mors, in __mm81x_skbq_get_pending_by_id()
276 static void mm81x_skbq_check_tx_empty(struct mm81x *mors, struct mm81x_skbq *mq) in mm81x_skbq_check_tx_empty()
287 static void __mm81x_skbq_tx_status_process(struct mm81x *mors, in __mm81x_skbq_tx_status_process()
321 static void mm81x_skbq_tx_status_process(struct mm81x *mors, in mm81x_skbq_tx_status_process()
352 struct mm81x *mors = mq->mors; in mm81x_skbq_dispatch_work() local
433 void mm81x_skbq_purge_aged(struct mm81x *mors, struct mm81x_skbq *mq) in mm81x_skbq_purge_aged()
521 static void mm81x_skbq_stop_tx_queues(struct mm81x *mors) in mm81x_skbq_stop_tx_queues()
534 void mm81x_skbq_may_wake_tx_queues(struct mm81x *mors) in mm81x_skbq_may_wake_tx_queues()
[all …]
H A Drc.c44 struct mm81x *mors = mrc->mors; in mm81x_rc_timer() local
49 void mm81x_rc_init(struct mm81x *mors) in mm81x_rc_init()
61 void mm81x_rc_deinit(struct mm81x *mors) in mm81x_rc_deinit()
93 static void mm81x_rc_sta_add_s1g_sta_caps(struct mm81x *mors, in mm81x_rc_sta_add_s1g_sta_caps()
122 int mm81x_rc_sta_add(struct mm81x *mors, struct ieee80211_vif *vif, in mm81x_rc_sta_add()
178 void mm81x_rc_sta_remove(struct mm81x *mors, struct ieee80211_sta *sta) in mm81x_rc_sta_remove()
217 static int mm81x_rc_sta_get_rates(struct mm81x *mors, struct mm81x_sta *msta, in mm81x_rc_sta_get_rates()
263 void mm81x_rc_sta_fill_tx_rates(struct mm81x *mors, in mm81x_rc_sta_fill_tx_rates()
343 static void mm81x_rc_sta_set_rates(struct mm81x *mors, struct mm81x_sta *msta, in mm81x_rc_sta_set_rates()
363 void mm81x_rc_sta_feedback_rates(struct mm81x *mors, struct sk_buff *skb, in mm81x_rc_sta_feedback_rates()
[all …]
H A Dyaps_hw.c204 void mm81x_yaps_hw_enable_irqs(struct mm81x *mors, bool enable) in mm81x_yaps_hw_enable_irqs()
211 void mm81x_yaps_hw_read_table(struct mm81x *mors, in mm81x_yaps_hw_read_table()
647 int mm81x_yaps_hw_init(struct mm81x *mors) in mm81x_yaps_hw_init()
689 void mm81x_yaps_hw_finish(struct mm81x *mors) in mm81x_yaps_hw_finish()
H A Drc.h24 struct mm81x *mors; member
H A Dmac.h37 mm81x_rcu_dereference_vif_id(struct mm81x *mors, u8 vif_id, bool rcu) in mm81x_rcu_dereference_vif_id()
H A Dyaps.h33 struct mm81x *mors; member
H A Dcore.h203 struct mm81x *mors; member
416 static inline bool mm81x_is_data_tx_allowed(struct mm81x *mors) in mm81x_is_data_tx_allowed()
H A Dskbq.h177 struct mm81x *mors; member