Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/staging/vt6656/
Dcard.h24 struct vnt_private;
26 int vnt_set_channel(struct vnt_private *priv, u32 connection_channel);
27 int vnt_set_rspinf(struct vnt_private *priv, u8 bb_type);
28 int vnt_update_ifs(struct vnt_private *priv);
29 void vnt_update_top_rates(struct vnt_private *priv);
30 bool vnt_ofdm_min_rate(struct vnt_private *priv);
31 int vnt_adjust_tsf(struct vnt_private *priv, u8 rx_rate,
33 bool vnt_get_current_tsf(struct vnt_private *priv, u64 *current_tsf);
34 bool vnt_clear_current_tsf(struct vnt_private *priv);
35 int vnt_reset_next_tbtt(struct vnt_private *priv, u16 beacon_interval);
[all …]
Dmac.c23 int vnt_mac_set_filter(struct vnt_private *priv, u64 mc_filter) in vnt_mac_set_filter()
32 int vnt_mac_shutdown(struct vnt_private *priv) in vnt_mac_shutdown()
37 int vnt_mac_set_bb_type(struct vnt_private *priv, u8 type) in vnt_mac_set_bb_type()
49 int vnt_mac_disable_keyentry(struct vnt_private *priv, u8 entry_idx) in vnt_mac_disable_keyentry()
55 int vnt_mac_set_keyentry(struct vnt_private *priv, u16 key_ctl, u32 entry_idx, in vnt_mac_set_keyentry()
80 int vnt_mac_reg_bits_off(struct vnt_private *priv, u8 reg_ofs, u8 bits) in vnt_mac_reg_bits_off()
91 int vnt_mac_reg_bits_on(struct vnt_private *priv, u8 reg_ofs, u8 bits) in vnt_mac_reg_bits_on()
102 int vnt_mac_write_word(struct vnt_private *priv, u8 reg_ofs, u16 word) in vnt_mac_write_word()
113 int vnt_mac_set_bssid_addr(struct vnt_private *priv, u8 *addr) in vnt_mac_set_bssid_addr()
119 int vnt_mac_enable_protect_mode(struct vnt_private *priv) in vnt_mac_enable_protect_mode()
[all …]
Dbaseband.h67 int vnt_set_short_slot_time(struct vnt_private *priv);
68 int vnt_set_vga_gain_offset(struct vnt_private *priv, u8 data);
69 int vnt_set_antenna_mode(struct vnt_private *priv, u8 antenna_mode);
70 int vnt_vt3184_init(struct vnt_private *priv);
71 int vnt_set_deep_sleep(struct vnt_private *priv);
72 int vnt_exit_deep_sleep(struct vnt_private *priv);
73 int vnt_update_pre_ed_threshold(struct vnt_private *priv, int scanning);
Dusbpipe.h50 int vnt_control_out(struct vnt_private *priv, u8 request, u16 value,
52 int vnt_control_in(struct vnt_private *priv, u8 request, u16 value,
55 int vnt_control_out_u8(struct vnt_private *priv, u8 reg, u8 ref_off, u8 data);
56 int vnt_control_in_u8(struct vnt_private *priv, u8 reg, u8 reg_off, u8 *data);
58 int vnt_control_out_blocks(struct vnt_private *priv,
61 int vnt_start_interrupt_urb(struct vnt_private *priv);
62 int vnt_submit_rx_urb(struct vnt_private *priv, struct vnt_rcb *rcb);
63 int vnt_tx_context(struct vnt_private *priv,
Dmac.h356 int vnt_mac_set_filter(struct vnt_private *priv, u64 mc_filter);
357 int vnt_mac_shutdown(struct vnt_private *priv);
358 int vnt_mac_set_bb_type(struct vnt_private *priv, u8 type);
359 int vnt_mac_disable_keyentry(struct vnt_private *priv, u8 entry_idx);
360 int vnt_mac_set_keyentry(struct vnt_private *priv, u16 key_ctl, u32 entry_idx,
362 int vnt_mac_reg_bits_off(struct vnt_private *priv, u8 reg_ofs, u8 bits);
363 int vnt_mac_reg_bits_on(struct vnt_private *priv, u8 reg_ofs, u8 bits);
364 int vnt_mac_write_word(struct vnt_private *priv, u8 reg_ofs, u16 word);
365 int vnt_mac_set_bssid_addr(struct vnt_private *priv, u8 *addr);
366 int vnt_mac_enable_protect_mode(struct vnt_private *priv);
[all …]
Dcard.c48 int vnt_set_channel(struct vnt_private *priv, u32 connection_channel) in vnt_set_channel()
91 int vnt_set_rspinf(struct vnt_private *priv, u8 bb_type) in vnt_set_rspinf()
124 int vnt_update_ifs(struct vnt_private *priv) in vnt_update_ifs()
167 void vnt_update_top_rates(struct vnt_private *priv) in vnt_update_top_rates()
178 bool vnt_ofdm_min_rate(struct vnt_private *priv) in vnt_ofdm_min_rate()
183 u8 vnt_get_pkt_type(struct vnt_private *priv) in vnt_get_pkt_type()
212 int vnt_adjust_tsf(struct vnt_private *priv, u8 rx_rate, in vnt_adjust_tsf()
246 bool vnt_get_current_tsf(struct vnt_private *priv, u64 *current_tsf) in vnt_get_current_tsf()
264 bool vnt_clear_current_tsf(struct vnt_private *priv) in vnt_clear_current_tsf()
305 int vnt_reset_next_tbtt(struct vnt_private *priv, u16 beacon_interval) in vnt_reset_next_tbtt()
[all …]
Drf.h41 int vnt_rf_write_embedded(struct vnt_private *priv, u32 data);
42 int vnt_rf_setpower(struct vnt_private *priv, struct ieee80211_channel *ch);
43 void vnt_rf_rssi_to_dbm(struct vnt_private *priv, u8 rssi, long *dbm);
44 int vnt_rf_table_download(struct vnt_private *priv);
Dmain_usb.c78 static void vnt_set_options(struct vnt_private *priv) in vnt_set_options()
99 static int vnt_download_firmware(struct vnt_private *priv) in vnt_download_firmware()
133 static int vnt_firmware_branch_to_sram(struct vnt_private *priv) in vnt_firmware_branch_to_sram()
140 static int vnt_check_firmware_version(struct vnt_private *priv) in vnt_check_firmware_version()
180 static int vnt_init_registers(struct vnt_private *priv) in vnt_init_registers()
441 static void vnt_free_tx_bufs(struct vnt_private *priv) in vnt_free_tx_bufs()
457 static void vnt_free_rx_bufs(struct vnt_private *priv) in vnt_free_rx_bufs()
481 static void vnt_free_int_bufs(struct vnt_private *priv) in vnt_free_int_bufs()
486 static int vnt_alloc_bufs(struct vnt_private *priv) in vnt_alloc_bufs()
564 struct vnt_private *priv = hw->priv; in vnt_tx_80211()
[all …]
Dwcmd.c29 static void vnt_cmd_timer_wait(struct vnt_private *priv, unsigned long msecs) in vnt_cmd_timer_wait()
43 static int vnt_cmd_complete(struct vnt_private *priv) in vnt_cmd_complete()
90 struct vnt_private *priv = in vnt_run_command()
91 container_of(work, struct vnt_private, run_command_work.work); in vnt_run_command()
162 int vnt_schedule_command(struct vnt_private *priv, enum vnt_cmd command) in vnt_schedule_command()
178 void vnt_reset_command_timer(struct vnt_private *priv) in vnt_reset_command_timer()
Dusbpipe.c34 int vnt_control_out(struct vnt_private *priv, u8 request, u16 value, in vnt_control_out()
71 int vnt_control_out_u8(struct vnt_private *priv, u8 reg, u8 reg_off, u8 data) in vnt_control_out_u8()
77 int vnt_control_out_blocks(struct vnt_private *priv, in vnt_control_out_blocks()
94 int vnt_control_in(struct vnt_private *priv, u8 request, u16 value, in vnt_control_in()
134 int vnt_control_in_u8(struct vnt_private *priv, u8 reg, u8 reg_off, u8 *data) in vnt_control_in_u8()
140 static int vnt_int_report_rate(struct vnt_private *priv, u8 pkt_no, u8 tsr) in vnt_int_report_rate()
176 static void vnt_int_process_data(struct vnt_private *priv) in vnt_int_process_data()
213 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.h19 int vnt_disable_power_saving(struct vnt_private *priv);
20 void vnt_enable_power_saving(struct vnt_private *priv, u16 listen_interval);
21 int vnt_next_tbtt_wakeup(struct vnt_private *priv);
Dbaseband.c183 int vnt_set_antenna_mode(struct vnt_private *priv, u8 antenna_mode) in vnt_set_antenna_mode()
216 int vnt_vt3184_init(struct vnt_private *priv) in vnt_vt3184_init()
331 int vnt_set_short_slot_time(struct vnt_private *priv) in vnt_set_short_slot_time()
352 int vnt_set_vga_gain_offset(struct vnt_private *priv, u8 data) in vnt_set_vga_gain_offset()
382 int vnt_set_deep_sleep(struct vnt_private *priv) in vnt_set_deep_sleep()
395 int vnt_exit_deep_sleep(struct vnt_private *priv) in vnt_exit_deep_sleep()
408 int vnt_update_pre_ed_threshold(struct vnt_private *priv, int scanning) in vnt_update_pre_ed_threshold()
Dwcmd.h40 struct vnt_private;
42 void vnt_reset_command_timer(struct vnt_private *priv);
44 int vnt_schedule_command(struct vnt_private *priv, enum vnt_cmd);
Drf.c196 int vnt_rf_write_embedded(struct vnt_private *priv, u32 data) in vnt_rf_write_embedded()
211 static u8 vnt_rf_addpower(struct vnt_private *priv) in vnt_rf_addpower()
231 static int vnt_rf_set_txpower(struct vnt_private *priv, u8 power, in vnt_rf_set_txpower()
345 int vnt_rf_setpower(struct vnt_private *priv, in vnt_rf_setpower()
375 void vnt_rf_rssi_to_dbm(struct vnt_private *priv, u8 rssi, long *dbm) in vnt_rf_rssi_to_dbm()
396 int vnt_rf_table_download(struct vnt_private *priv) in vnt_rf_table_download()
Dpower.c39 void vnt_enable_power_saving(struct vnt_private *priv, u16 listen_interval) in vnt_enable_power_saving()
70 int vnt_disable_power_saving(struct vnt_private *priv) in vnt_disable_power_saving()
99 int vnt_next_tbtt_wakeup(struct vnt_private *priv) in vnt_next_tbtt_wakeup()
/linux-6.1.9/drivers/staging/vt6655/
Dcard.h40 struct vnt_private;
42 void CARDvSetRSPINF(struct vnt_private *priv, u8 bb_type);
43 void CARDvUpdateBasicTopRate(struct vnt_private *priv);
44 bool CARDbIsOFDMinBasicRate(struct vnt_private *priv);
45 void CARDvSetFirstNextTBTT(struct vnt_private *priv,
47 void CARDvUpdateNextTBTT(struct vnt_private *priv, u64 qwTSF,
49 u64 vt6655_get_current_tsf(struct vnt_private *priv);
52 unsigned char CARDbyGetPktType(struct vnt_private *priv);
53 void CARDvSafeResetTx(struct vnt_private *priv);
54 void CARDvSafeResetRx(struct vnt_private *priv);
[all …]
Dbaseband.h52 void vnt_get_phy_field(struct vnt_private *priv, u32 frame_length,
55 bool bb_read_embedded(struct vnt_private *priv, unsigned char by_bb_addr,
57 bool bb_write_embedded(struct vnt_private *priv, unsigned char by_bb_addr,
60 void bb_set_short_slot_time(struct vnt_private *priv);
61 void bb_set_vga_gain_offset(struct vnt_private *priv, unsigned char by_data);
64 bool bb_vt3253_init(struct vnt_private *priv);
65 void bb_software_reset(struct vnt_private *priv);
66 void bb_power_save_mode_on(struct vnt_private *priv);
67 void bb_power_save_mode_off(struct vnt_private *priv);
68 void bb_set_tx_antenna_mode(struct vnt_private *priv,
[all …]
Drf.h60 bool IFRFbWriteEmbedded(struct vnt_private *priv, unsigned long dwData);
61 bool RFbSelectChannel(struct vnt_private *priv, unsigned char byRFType, u16 byChannel);
62 bool RFbInit(struct vnt_private *priv);
63 bool rf_write_wake_prog_syn(struct vnt_private *priv, unsigned char rf_type, u16 channel);
64 bool RFbSetPower(struct vnt_private *priv, unsigned int rate, u16 uCH);
65 bool RFbRawSetPower(struct vnt_private *priv, unsigned char byPwr,
68 void RFvRSSITodBm(struct vnt_private *priv, unsigned char byCurrRSSI,
72 bool RFbAL7230SelectChannelPostProcess(struct vnt_private *priv, u16 byOldChannel, u16 byNewChannel…
Dmac.c96 static bool vt6655_mac_is_reg_bits_off(struct vnt_private *priv, in vt6655_mac_is_reg_bits_off()
119 void vt6655_mac_set_short_retry_limit(struct vnt_private *priv, unsigned char retry_limit) in vt6655_mac_set_short_retry_limit()
140 void MACvSetLongRetryLimit(struct vnt_private *priv, in MACvSetLongRetryLimit()
162 static void vt6655_mac_set_loopback_mode(struct vnt_private *priv, u8 loopback_mode) in vt6655_mac_set_loopback_mode()
184 static void vt6655_mac_save_context(struct vnt_private *priv, u8 *cxt_buf) in vt6655_mac_save_context()
214 static void vt6655_mac_restore_context(struct vnt_private *priv, u8 *cxt_buf) in vt6655_mac_restore_context()
265 bool MACbSoftwareReset(struct vnt_private *priv) in MACbSoftwareReset()
296 static void vt6655_mac_save_soft_reset(struct vnt_private *priv) in vt6655_mac_save_soft_reset()
325 static bool vt6655_mac_safe_rx_off(struct vnt_private *priv) in vt6655_mac_safe_rx_off()
379 static bool vt6655_mac_safe_tx_off(struct vnt_private *priv) in vt6655_mac_safe_tx_off()
[all …]
Dmac.h552 void vt6655_mac_set_short_retry_limit(struct vnt_private *priv, unsigned char retry_limit);
554 void MACvSetLongRetryLimit(struct vnt_private *priv, unsigned char byRetryLimit);
556 bool MACbSoftwareReset(struct vnt_private *priv);
557 bool MACbShutdown(struct vnt_private *priv);
558 void MACvInitialize(struct vnt_private *priv);
559 void vt6655_mac_set_curr_rx_0_desc_addr(struct vnt_private *priv, u32 curr_desc_addr);
560 void vt6655_mac_set_curr_rx_1_desc_addr(struct vnt_private *priv, u32 curr_desc_addr);
561 void vt6655_mac_set_curr_tx_desc_addr(int tx_type, struct vnt_private *priv, u32 curr_desc_addr);
562 void MACvSetCurrSyncDescAddrEx(struct vnt_private *priv,
564 void MACvSetCurrATIMDescAddrEx(struct vnt_private *priv,
[all …]
Ddevice_main.c122 static void device_free_info(struct vnt_private *priv);
123 static void device_print_info(struct vnt_private *priv);
128 static int device_init_rd0_ring(struct vnt_private *priv);
129 static int device_init_rd1_ring(struct vnt_private *priv);
130 static int device_init_td0_ring(struct vnt_private *priv);
131 static int device_init_td1_ring(struct vnt_private *priv);
133 static int device_rx_srv(struct vnt_private *priv, unsigned int idx);
134 static int device_tx_srv(struct vnt_private *priv, unsigned int idx);
135 static bool device_alloc_rx_buf(struct vnt_private *, struct vnt_rx_desc *);
136 static void device_free_rx_buf(struct vnt_private *priv,
[all …]
Dbaseband.c1759 void vnt_get_phy_field(struct vnt_private *priv, u32 frame_length, in vnt_get_phy_field()
1904 bool bb_read_embedded(struct vnt_private *priv, unsigned char by_bb_addr, in bb_read_embedded()
1947 bool bb_write_embedded(struct vnt_private *priv, unsigned char by_bb_addr, in bb_write_embedded()
1990 bool bb_vt3253_init(struct vnt_private *priv) in bb_vt3253_init()
2115 bb_set_short_slot_time(struct vnt_private *priv) in bb_set_short_slot_time()
2135 void bb_set_vga_gain_offset(struct vnt_private *priv, unsigned char by_data) in bb_set_vga_gain_offset()
2166 bb_software_reset(struct vnt_private *priv) in bb_software_reset()
2187 bb_power_save_mode_on(struct vnt_private *priv) in bb_power_save_mode_on()
2209 bb_power_save_mode_off(struct vnt_private *priv) in bb_power_save_mode_off()
2233 bb_set_tx_antenna_mode(struct vnt_private *priv, unsigned char by_antenna_mode) in bb_set_tx_antenna_mode()
[all …]
Dpower.h23 void PSvDisablePowerSaving(struct vnt_private *priv);
25 void PSvEnablePowerSaving(struct vnt_private *priv, unsigned short wListenInterval);
27 bool PSbIsNextTBTTWakeUp(struct vnt_private *priv);
Dcard.c185 bool CARDbSetPhyParameter(struct vnt_private *priv, u8 bb_type) in CARDbSetPhyParameter()
290 bool CARDbUpdateTSF(struct vnt_private *priv, unsigned char byRxRate, in CARDbUpdateTSF()
323 bool CARDbSetBeaconPeriod(struct vnt_private *priv, in CARDbSetBeaconPeriod()
354 void CARDbRadioPowerOff(struct vnt_private *priv) in CARDbRadioPowerOff()
385 void CARDvSafeResetTx(struct vnt_private *priv) in CARDvSafeResetTx()
432 void CARDvSafeResetRx(struct vnt_private *priv) in CARDvSafeResetRx()
478 static unsigned short CARDwGetCCKControlRate(struct vnt_private *priv, in CARDwGetCCKControlRate()
504 static unsigned short CARDwGetOFDMControlRate(struct vnt_private *priv, in CARDwGetOFDMControlRate()
539 void CARDvSetRSPINF(struct vnt_private *priv, u8 bb_type) in CARDvSetRSPINF()
651 void CARDvUpdateBasicTopRate(struct vnt_private *priv) in CARDvUpdateBasicTopRate()
[all …]
Drf.c168 bool IFRFbWriteEmbedded(struct vnt_private *priv, unsigned long dwData) in IFRFbWriteEmbedded()
201 static bool RFbAL2230Init(struct vnt_private *priv) in RFbAL2230Init()
246 static bool RFbAL2230SelectChannel(struct vnt_private *priv, unsigned char byChannel) in RFbAL2230SelectChannel()
278 bool RFbInit(struct vnt_private *priv) in RFbInit()
311 bool RFbSelectChannel(struct vnt_private *priv, unsigned char byRFType, in RFbSelectChannel()
344 bool rf_write_wake_prog_syn(struct vnt_private *priv, unsigned char rf_type, in rf_write_wake_prog_syn()
399 bool RFbSetPower(struct vnt_private *priv, unsigned int rate, u16 uCH) in RFbSetPower()
465 bool RFbRawSetPower(struct vnt_private *priv, unsigned char byPwr, in RFbRawSetPower()
517 RFvRSSITodBm(struct vnt_private *priv, unsigned char byCurrRSSI, long *pldBm) in RFvRSSITodBm()

12