Home
last modified time | relevance | path

Searched refs:vnt_private (Results 1 – 25 of 42) sorted by relevance

12

/Linux-v5.10/drivers/staging/vt6656/
Dcard.h26 struct vnt_private;
28 int vnt_set_channel(struct vnt_private *priv, u32 connection_channel);
29 int vnt_set_rspinf(struct vnt_private *priv, u8 bb_type);
30 int vnt_update_ifs(struct vnt_private *priv);
31 void vnt_update_top_rates(struct vnt_private *priv);
32 bool vnt_ofdm_min_rate(struct vnt_private *priv);
33 int vnt_adjust_tsf(struct vnt_private *priv, u8 rx_rate,
35 bool vnt_get_current_tsf(struct vnt_private *priv, u64 *current_tsf);
36 bool vnt_clear_current_tsf(struct vnt_private *priv);
37 int vnt_reset_next_tbtt(struct vnt_private *priv, u16 beacon_interval);
[all …]
Dmac.c25 int vnt_mac_set_filter(struct vnt_private *priv, u64 mc_filter) in vnt_mac_set_filter()
34 int vnt_mac_shutdown(struct vnt_private *priv) in vnt_mac_shutdown()
39 int vnt_mac_set_bb_type(struct vnt_private *priv, u8 type) in vnt_mac_set_bb_type()
51 int vnt_mac_disable_keyentry(struct vnt_private *priv, u8 entry_idx) in vnt_mac_disable_keyentry()
57 int vnt_mac_set_keyentry(struct vnt_private *priv, u16 key_ctl, u32 entry_idx, in vnt_mac_set_keyentry()
82 int vnt_mac_reg_bits_off(struct vnt_private *priv, u8 reg_ofs, u8 bits) in vnt_mac_reg_bits_off()
93 int vnt_mac_reg_bits_on(struct vnt_private *priv, u8 reg_ofs, u8 bits) in vnt_mac_reg_bits_on()
104 int vnt_mac_write_word(struct vnt_private *priv, u8 reg_ofs, u16 word) in vnt_mac_write_word()
115 int vnt_mac_set_bssid_addr(struct vnt_private *priv, u8 *addr) in vnt_mac_set_bssid_addr()
121 int vnt_mac_enable_protect_mode(struct vnt_private *priv) in vnt_mac_enable_protect_mode()
[all …]
Dbaseband.h69 int vnt_set_short_slot_time(struct vnt_private *priv);
70 int vnt_set_vga_gain_offset(struct vnt_private *priv, u8 data);
71 int vnt_set_antenna_mode(struct vnt_private *priv, u8 antenna_mode);
72 int vnt_vt3184_init(struct vnt_private *priv);
73 int vnt_set_deep_sleep(struct vnt_private *priv);
74 int vnt_exit_deep_sleep(struct vnt_private *priv);
75 int vnt_update_pre_ed_threshold(struct vnt_private *priv, int scanning);
Dusbpipe.h52 int vnt_control_out(struct vnt_private *priv, u8 request, u16 value,
54 int vnt_control_in(struct vnt_private *priv, u8 request, u16 value,
57 int vnt_control_out_u8(struct vnt_private *priv, u8 reg, u8 ref_off, u8 data);
58 int vnt_control_in_u8(struct vnt_private *priv, u8 reg, u8 reg_off, u8 *data);
60 int vnt_control_out_blocks(struct vnt_private *priv,
63 int vnt_start_interrupt_urb(struct vnt_private *priv);
64 int vnt_submit_rx_urb(struct vnt_private *priv, struct vnt_rcb *rcb);
65 int vnt_tx_context(struct vnt_private *priv,
Dmac.h358 int vnt_mac_set_filter(struct vnt_private *priv, u64 mc_filter);
359 int vnt_mac_shutdown(struct vnt_private *priv);
360 int vnt_mac_set_bb_type(struct vnt_private *priv, u8 type);
361 int vnt_mac_disable_keyentry(struct vnt_private *priv, u8 entry_idx);
362 int vnt_mac_set_keyentry(struct vnt_private *priv, u16 key_ctl, u32 entry_idx,
364 int vnt_mac_reg_bits_off(struct vnt_private *priv, u8 reg_ofs, u8 bits);
365 int vnt_mac_reg_bits_on(struct vnt_private *priv, u8 reg_ofs, u8 bits);
366 int vnt_mac_write_word(struct vnt_private *priv, u8 reg_ofs, u16 word);
367 int vnt_mac_set_bssid_addr(struct vnt_private *priv, u8 *addr);
368 int vnt_mac_enable_protect_mode(struct vnt_private *priv);
[all …]
Dcard.c49 int vnt_set_channel(struct vnt_private *priv, u32 connection_channel) in vnt_set_channel()
92 int vnt_set_rspinf(struct vnt_private *priv, u8 bb_type) in vnt_set_rspinf()
125 int vnt_update_ifs(struct vnt_private *priv) in vnt_update_ifs()
168 void vnt_update_top_rates(struct vnt_private *priv) in vnt_update_top_rates()
179 bool vnt_ofdm_min_rate(struct vnt_private *priv) in vnt_ofdm_min_rate()
184 u8 vnt_get_pkt_type(struct vnt_private *priv) in vnt_get_pkt_type()
213 int vnt_adjust_tsf(struct vnt_private *priv, u8 rx_rate, in vnt_adjust_tsf()
247 bool vnt_get_current_tsf(struct vnt_private *priv, u64 *current_tsf) in vnt_get_current_tsf()
265 bool vnt_clear_current_tsf(struct vnt_private *priv) in vnt_clear_current_tsf()
306 int vnt_reset_next_tbtt(struct vnt_private *priv, u16 beacon_interval) in vnt_reset_next_tbtt()
[all …]
Drf.h43 int vnt_rf_write_embedded(struct vnt_private *priv, u32 data);
44 int vnt_rf_setpower(struct vnt_private *priv, struct ieee80211_channel *ch);
45 void vnt_rf_rssi_to_dbm(struct vnt_private *priv, u8 rssi, long *dbm);
46 int vnt_rf_table_download(struct vnt_private *priv);
Dmain_usb.c80 static void vnt_set_options(struct vnt_private *priv) in vnt_set_options()
101 static int vnt_download_firmware(struct vnt_private *priv) in vnt_download_firmware()
135 static int vnt_firmware_branch_to_sram(struct vnt_private *priv) in vnt_firmware_branch_to_sram()
142 static int vnt_check_firmware_version(struct vnt_private *priv) in vnt_check_firmware_version()
182 static int vnt_init_registers(struct vnt_private *priv) in vnt_init_registers()
443 static void vnt_free_tx_bufs(struct vnt_private *priv) in vnt_free_tx_bufs()
459 static void vnt_free_rx_bufs(struct vnt_private *priv) in vnt_free_rx_bufs()
483 static void vnt_free_int_bufs(struct vnt_private *priv) in vnt_free_int_bufs()
488 static int vnt_alloc_bufs(struct vnt_private *priv) in vnt_alloc_bufs()
566 struct vnt_private *priv = hw->priv; in vnt_tx_80211()
[all …]
Dwcmd.c31 static void vnt_cmd_timer_wait(struct vnt_private *priv, unsigned long msecs) in vnt_cmd_timer_wait()
36 static int vnt_cmd_complete(struct vnt_private *priv) in vnt_cmd_complete()
83 struct vnt_private *priv = in vnt_run_command()
84 container_of(work, struct vnt_private, run_command_work.work); in vnt_run_command()
155 int vnt_schedule_command(struct vnt_private *priv, enum vnt_cmd command) in vnt_schedule_command()
171 void vnt_reset_command_timer(struct vnt_private *priv) in vnt_reset_command_timer()
Dusbpipe.c36 int vnt_control_out(struct vnt_private *priv, u8 request, u16 value, in vnt_control_out()
73 int vnt_control_out_u8(struct vnt_private *priv, u8 reg, u8 reg_off, u8 data) in vnt_control_out_u8()
79 int vnt_control_out_blocks(struct vnt_private *priv, in vnt_control_out_blocks()
96 int vnt_control_in(struct vnt_private *priv, u8 request, u16 value, in vnt_control_in()
136 int vnt_control_in_u8(struct vnt_private *priv, u8 reg, u8 reg_off, u8 *data) in vnt_control_in_u8()
142 static int vnt_int_report_rate(struct vnt_private *priv, u8 pkt_no, u8 tsr) in vnt_int_report_rate()
178 static void vnt_int_process_data(struct vnt_private *priv) in vnt_int_process_data()
215 struct vnt_private *priv = urb->context; in vnt_start_interrupt_urb_complete()
240 int vnt_start_interrupt_urb(struct vnt_private *priv) in vnt_start_interrupt_urb()
262 static int vnt_rx_data(struct vnt_private *priv, struct vnt_rcb *ptr_rcb, in vnt_rx_data()
[all …]
Dpower.h21 int vnt_disable_power_saving(struct vnt_private *priv);
22 void vnt_enable_power_saving(struct vnt_private *priv, u16 listen_interval);
23 int vnt_next_tbtt_wakeup(struct vnt_private *priv);
Dwcmd.h42 struct vnt_private;
44 void vnt_reset_command_timer(struct vnt_private *priv);
46 int vnt_schedule_command(struct vnt_private *priv, enum vnt_cmd);
Dbaseband.c209 int vnt_set_antenna_mode(struct vnt_private *priv, u8 antenna_mode) in vnt_set_antenna_mode()
242 int vnt_vt3184_init(struct vnt_private *priv) in vnt_vt3184_init()
363 int vnt_set_short_slot_time(struct vnt_private *priv) in vnt_set_short_slot_time()
384 int vnt_set_vga_gain_offset(struct vnt_private *priv, u8 data) in vnt_set_vga_gain_offset()
414 int vnt_set_deep_sleep(struct vnt_private *priv) in vnt_set_deep_sleep()
427 int vnt_exit_deep_sleep(struct vnt_private *priv) in vnt_exit_deep_sleep()
440 int vnt_update_pre_ed_threshold(struct vnt_private *priv, int scanning) in vnt_update_pre_ed_threshold()
Dpower.c41 void vnt_enable_power_saving(struct vnt_private *priv, u16 listen_interval) in vnt_enable_power_saving()
72 int vnt_disable_power_saving(struct vnt_private *priv) in vnt_disable_power_saving()
101 int vnt_next_tbtt_wakeup(struct vnt_private *priv) in vnt_next_tbtt_wakeup()
Drxtx.c58 *vnt_get_free_context(struct vnt_private *priv) in vnt_get_free_context()
86 static void vnt_get_phy_field(struct vnt_private *priv, u32 frame_length, in vnt_get_phy_field()
146 static __le16 vnt_time_stamp_off(struct vnt_private *priv, u16 rate) in vnt_time_stamp_off()
154 struct vnt_private *priv = context->priv; in vnt_rxtx_rsvtime_le16()
166 struct vnt_private *priv = context->priv; in vnt_get_rts_duration()
175 struct vnt_private *priv = context->priv; in vnt_get_cts_duration()
185 struct vnt_private *priv = tx_context->priv; in vnt_rxtx_datahead_g()
207 struct vnt_private *priv = tx_context->priv; in vnt_rxtx_datahead_ab()
239 struct vnt_private *priv = tx_context->priv; in vnt_rxtx_rts_g_head()
259 struct vnt_private *priv = tx_context->priv; in vnt_rxtx_rts_ab_head()
[all …]
/Linux-v5.10/drivers/staging/vt6655/
Dcard.h42 struct vnt_private;
44 void CARDvSetRSPINF(struct vnt_private *priv, u8 bb_type);
45 void CARDvUpdateBasicTopRate(struct vnt_private *priv);
46 bool CARDbIsOFDMinBasicRate(struct vnt_private *priv);
47 void CARDvSetFirstNextTBTT(struct vnt_private *priv,
49 void CARDvUpdateNextTBTT(struct vnt_private *priv, u64 qwTSF,
51 bool CARDbGetCurrentTSF(struct vnt_private *priv, u64 *pqwCurrTSF);
54 unsigned char CARDbyGetPktType(struct vnt_private *priv);
55 void CARDvSafeResetTx(struct vnt_private *priv);
56 void CARDvSafeResetRx(struct vnt_private *priv);
[all …]
Dbaseband.h54 void vnt_get_phy_field(struct vnt_private *priv, u32 frame_length,
57 bool bb_read_embedded(struct vnt_private *priv, unsigned char by_bb_addr,
59 bool bb_write_embedded(struct vnt_private *priv, unsigned char by_bb_addr,
62 void bb_set_short_slot_time(struct vnt_private *priv);
63 void bb_set_vga_gain_offset(struct vnt_private *priv, unsigned char by_data);
66 bool bb_vt3253_init(struct vnt_private *priv);
67 void bb_software_reset(struct vnt_private *priv);
68 void bb_power_save_mode_on(struct vnt_private *priv);
69 void bb_power_save_mode_off(struct vnt_private *priv);
70 void bb_set_tx_antenna_mode(struct vnt_private *priv,
[all …]
Drf.h62 bool IFRFbWriteEmbedded(struct vnt_private *priv, unsigned long dwData);
63 bool RFbSelectChannel(struct vnt_private *priv, unsigned char byRFType, u16 byChannel);
64 bool RFbInit(struct vnt_private *priv);
65 bool RFvWriteWakeProgSyn(struct vnt_private *priv, unsigned char byRFType, u16 uChannel);
66 bool RFbSetPower(struct vnt_private *priv, unsigned int rate, u16 uCH);
67 bool RFbRawSetPower(struct vnt_private *priv, unsigned char byPwr,
70 void RFvRSSITodBm(struct vnt_private *priv, unsigned char byCurrRSSI,
74 bool RFbAL7230SelectChannelPostProcess(struct vnt_private *priv, u16 byOldChannel, u16 byNewChannel…
Dmac.c59 bool MACbIsRegBitsOff(struct vnt_private *priv, unsigned char byRegOfs, in MACbIsRegBitsOff()
80 bool MACbIsIntDisable(struct vnt_private *priv) in MACbIsIntDisable()
104 void MACvSetShortRetryLimit(struct vnt_private *priv, in MACvSetShortRetryLimit()
126 void MACvSetLongRetryLimit(struct vnt_private *priv, in MACvSetLongRetryLimit()
148 void MACvSetLoopbackMode(struct vnt_private *priv, unsigned char byLoopbackMode) in MACvSetLoopbackMode()
171 void MACvSaveContext(struct vnt_private *priv, unsigned char *cxt_buf) in MACvSaveContext()
201 void MACvRestoreContext(struct vnt_private *priv, unsigned char *cxt_buf) in MACvRestoreContext()
252 bool MACbSoftwareReset(struct vnt_private *priv) in MACbSoftwareReset()
283 bool MACbSafeSoftwareReset(struct vnt_private *priv) in MACbSafeSoftwareReset()
315 bool MACbSafeRxOff(struct vnt_private *priv) in MACbSafeRxOff()
[all …]
Dmac.h879 bool MACbIsRegBitsOff(struct vnt_private *priv, unsigned char byRegOfs,
882 bool MACbIsIntDisable(struct vnt_private *priv);
884 void MACvSetShortRetryLimit(struct vnt_private *priv,
887 void MACvSetLongRetryLimit(struct vnt_private *priv, unsigned char byRetryLimit);
889 void MACvSetLoopbackMode(struct vnt_private *priv, unsigned char byLoopbackMode);
891 void MACvSaveContext(struct vnt_private *priv, unsigned char *pbyCxtBuf);
892 void MACvRestoreContext(struct vnt_private *priv, unsigned char *pbyCxtBuf);
894 bool MACbSoftwareReset(struct vnt_private *priv);
895 bool MACbSafeSoftwareReset(struct vnt_private *priv);
896 bool MACbSafeRxOff(struct vnt_private *priv);
[all …]
Ddevice_main.c124 static void device_free_info(struct vnt_private *priv);
125 static void device_print_info(struct vnt_private *priv);
127 static int device_init_rd0_ring(struct vnt_private *priv);
128 static int device_init_rd1_ring(struct vnt_private *priv);
129 static int device_init_td0_ring(struct vnt_private *priv);
130 static int device_init_td1_ring(struct vnt_private *priv);
132 static int device_rx_srv(struct vnt_private *priv, unsigned int idx);
133 static int device_tx_srv(struct vnt_private *priv, unsigned int idx);
134 static bool device_alloc_rx_buf(struct vnt_private *, struct vnt_rx_desc *);
135 static void device_free_rx_buf(struct vnt_private *priv,
[all …]
Dpower.h25 void PSvDisablePowerSaving(struct vnt_private *priv);
27 void PSvEnablePowerSaving(struct vnt_private *priv, unsigned short wListenInterval);
29 bool PSbIsNextTBTTWakeUp(struct vnt_private *priv);
Dbaseband.c1762 void vnt_get_phy_field(struct vnt_private *priv, u32 frame_length, in vnt_get_phy_field()
1907 bool bb_read_embedded(struct vnt_private *priv, unsigned char by_bb_addr, in bb_read_embedded()
1950 bool bb_write_embedded(struct vnt_private *priv, unsigned char by_bb_addr, in bb_write_embedded()
1993 bool bb_vt3253_init(struct vnt_private *priv) in bb_vt3253_init()
2198 bb_set_short_slot_time(struct vnt_private *priv) in bb_set_short_slot_time()
2218 void bb_set_vga_gain_offset(struct vnt_private *priv, unsigned char by_data) in bb_set_vga_gain_offset()
2249 bb_software_reset(struct vnt_private *priv) in bb_software_reset()
2270 bb_power_save_mode_on(struct vnt_private *priv) in bb_power_save_mode_on()
2292 bb_power_save_mode_off(struct vnt_private *priv) in bb_power_save_mode_off()
2316 bb_set_tx_antenna_mode(struct vnt_private *priv, unsigned char by_antenna_mode) in bb_set_tx_antenna_mode()
[all …]
Dcard.c181 bool CARDbSetPhyParameter(struct vnt_private *priv, u8 bb_type) in CARDbSetPhyParameter()
340 bool CARDbUpdateTSF(struct vnt_private *priv, unsigned char byRxRate, in CARDbUpdateTSF()
375 bool CARDbSetBeaconPeriod(struct vnt_private *priv, in CARDbSetBeaconPeriod()
406 void CARDbRadioPowerOff(struct vnt_private *priv) in CARDbRadioPowerOff()
439 void CARDvSafeResetTx(struct vnt_private *priv) in CARDvSafeResetTx()
487 void CARDvSafeResetRx(struct vnt_private *priv) in CARDvSafeResetRx()
533 static unsigned short CARDwGetCCKControlRate(struct vnt_private *priv, in CARDwGetCCKControlRate()
559 static unsigned short CARDwGetOFDMControlRate(struct vnt_private *priv, in CARDwGetOFDMControlRate()
594 void CARDvSetRSPINF(struct vnt_private *priv, u8 bb_type) in CARDvSetRSPINF()
715 void CARDvUpdateBasicTopRate(struct vnt_private *priv) in CARDvUpdateBasicTopRate()
[all …]
Dpower.c51 void PSvEnablePowerSaving(struct vnt_private *priv, in PSvEnablePowerSaving()
97 void PSvDisablePowerSaving(struct vnt_private *priv) in PSvDisablePowerSaving()
126 bool PSbIsNextTBTTWakeUp(struct vnt_private *priv) in PSbIsNextTBTTWakeUp()

12