Home
last modified time | relevance | path

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

12

/Linux-v4.19/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 CARDvSetLoopbackMode(struct vnt_private *priv, unsigned short wLoopbackMode);
48 bool CARDbSoftwareReset(struct vnt_private *priv);
49 void CARDvSetFirstNextTBTT(struct vnt_private *priv,
51 void CARDvUpdateNextTBTT(struct vnt_private *priv, u64 qwTSF,
53 bool CARDbGetCurrentTSF(struct vnt_private *priv, u64 *pqwCurrTSF);
56 unsigned char CARDbyGetPktType(struct vnt_private *priv);
[all …]
Dbaseband.h54 void vnt_get_phy_field(struct vnt_private *priv, u32 frame_length,
57 bool BBbReadEmbedded(struct vnt_private *priv, unsigned char byBBAddr,
59 bool BBbWriteEmbedded(struct vnt_private *priv, unsigned char byBBAddr,
62 void BBvSetShortSlotTime(struct vnt_private *priv);
63 void BBvSetVGAGainOffset(struct vnt_private *priv, unsigned char byData);
66 bool BBbVT3253Init(struct vnt_private *priv);
67 void BBvSoftwareReset(struct vnt_private *priv);
68 void BBvPowerSaveModeON(struct vnt_private *priv);
69 void BBvPowerSaveModeOFF(struct vnt_private *priv);
70 void BBvSetTxAntennaMode(struct vnt_private *priv, unsigned char byAntennaMode);
[all …]
Drf.h62 bool IFRFbWriteEmbedded(struct vnt_private *priv, unsigned long dwData);
63 bool RFbSelectChannel(struct vnt_private *priv, unsigned char byRFType, u16 byChannel);
65 struct vnt_private *priv
67 bool RFvWriteWakeProgSyn(struct vnt_private *priv, unsigned char byRFType, u16 uChannel);
68 bool RFbSetPower(struct vnt_private *priv, unsigned int rate, u16 uCH);
70 struct vnt_private *priv,
77 struct vnt_private *priv,
83 bool RFbAL7230SelectChannelPostProcess(struct vnt_private *priv, u16 byOldChannel, u16 byNewChannel…
Dmac.c60 bool MACbIsRegBitsOn(struct vnt_private *priv, unsigned char byRegOfs, in MACbIsRegBitsOn()
83 bool MACbIsRegBitsOff(struct vnt_private *priv, unsigned char byRegOfs, in MACbIsRegBitsOff()
104 bool MACbIsIntDisable(struct vnt_private *priv) in MACbIsIntDisable()
128 void MACvSetShortRetryLimit(struct vnt_private *priv, in MACvSetShortRetryLimit()
150 void MACvSetLongRetryLimit(struct vnt_private *priv, in MACvSetLongRetryLimit()
172 void MACvSetLoopbackMode(struct vnt_private *priv, unsigned char byLoopbackMode) in MACvSetLoopbackMode()
195 void MACvSaveContext(struct vnt_private *priv, unsigned char *cxt_buf) in MACvSaveContext()
225 void MACvRestoreContext(struct vnt_private *priv, unsigned char *cxt_buf) in MACvRestoreContext()
276 bool MACbSoftwareReset(struct vnt_private *priv) in MACbSoftwareReset()
307 bool MACbSafeSoftwareReset(struct vnt_private *priv) in MACbSafeSoftwareReset()
[all …]
Dmac.h879 bool MACbIsRegBitsOn(struct vnt_private *priv, unsigned char byRegOfs,
881 bool MACbIsRegBitsOff(struct vnt_private *priv, unsigned char byRegOfs,
884 bool MACbIsIntDisable(struct vnt_private *priv);
886 void MACvSetShortRetryLimit(struct vnt_private *priv, unsigned char byRetryLimit);
888 void MACvSetLongRetryLimit(struct vnt_private *priv, unsigned char byRetryLimit);
889 void MACvGetLongRetryLimit(struct vnt_private *priv,
892 void MACvSetLoopbackMode(struct vnt_private *priv, unsigned char byLoopbackMode);
894 void MACvSaveContext(struct vnt_private *priv, unsigned char *pbyCxtBuf);
895 void MACvRestoreContext(struct vnt_private *priv, unsigned char *pbyCxtBuf);
897 bool MACbSoftwareReset(struct vnt_private *priv);
[all …]
Ddevice_main.c125 static void device_free_info(struct vnt_private *priv);
126 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, struct vnt_rx_desc *rd);
[all …]
Dcard.c193 bool CARDbSetPhyParameter(struct vnt_private *priv, u8 bb_type) in CARDbSetPhyParameter()
352 bool CARDbUpdateTSF(struct vnt_private *priv, unsigned char byRxRate, in CARDbUpdateTSF()
387 bool CARDbSetBeaconPeriod(struct vnt_private *priv, in CARDbSetBeaconPeriod()
419 bool CARDbRadioPowerOff(struct vnt_private *priv) in CARDbRadioPowerOff()
466 bool CARDbRadioPowerOn(struct vnt_private *priv) in CARDbRadioPowerOn()
511 struct vnt_private *priv in CARDvSafeResetTx()
560 void CARDvSafeResetRx(struct vnt_private *priv) in CARDvSafeResetRx()
606 static unsigned short CARDwGetCCKControlRate(struct vnt_private *priv, in CARDwGetCCKControlRate()
632 static unsigned short CARDwGetOFDMControlRate(struct vnt_private *priv, in CARDwGetOFDMControlRate()
667 void CARDvSetRSPINF(struct vnt_private *priv, u8 bb_type) in CARDvSetRSPINF()
[all …]
Dbaseband.c1768 void vnt_get_phy_field(struct vnt_private *priv, u32 frame_length, in vnt_get_phy_field()
1913 bool BBbReadEmbedded(struct vnt_private *priv, in BBbReadEmbedded()
1956 bool BBbWriteEmbedded(struct vnt_private *priv, in BBbWriteEmbedded()
1999 bool BBbVT3253Init(struct vnt_private *priv) in BBbVT3253Init()
2204 BBvSetShortSlotTime(struct vnt_private *priv) in BBvSetShortSlotTime()
2224 void BBvSetVGAGainOffset(struct vnt_private *priv, unsigned char byData) in BBvSetVGAGainOffset()
2255 BBvSoftwareReset(struct vnt_private *priv) in BBvSoftwareReset()
2276 BBvPowerSaveModeON(struct vnt_private *priv) in BBvPowerSaveModeON()
2298 BBvPowerSaveModeOFF(struct vnt_private *priv) in BBvPowerSaveModeOFF()
2322 BBvSetTxAntennaMode(struct vnt_private *priv, unsigned char byAntennaMode) in BBvSetTxAntennaMode()
[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);
Dpower.c53 struct vnt_private *priv, in PSvEnablePowerSaving()
105 struct vnt_private *priv in PSvDisablePowerSaving()
134 struct vnt_private *priv in PSbIsNextTBTTWakeUp()
/Linux-v4.19/drivers/staging/vt6656/
Dcard.h26 struct vnt_private;
28 void vnt_set_channel(struct vnt_private *priv, u32 connection_channel);
29 void vnt_set_rspinf(struct vnt_private *priv, u8 bb_type);
30 void vnt_update_ifs(struct vnt_private *priv);
31 void vnt_update_top_rates(struct vnt_private *priv);
32 int vnt_ofdm_min_rate(struct vnt_private *priv);
33 void 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 void vnt_reset_next_tbtt(struct vnt_private *priv, u16 beacon_interval);
[all …]
Dmac.c38 void vnt_mac_set_filter(struct vnt_private *priv, u64 mc_filter) in vnt_mac_set_filter()
57 void vnt_mac_shutdown(struct vnt_private *priv) in vnt_mac_shutdown()
62 void vnt_mac_set_bb_type(struct vnt_private *priv, u8 type) in vnt_mac_set_bb_type()
87 void vnt_mac_disable_keyentry(struct vnt_private *priv, u8 entry_idx) in vnt_mac_disable_keyentry()
107 void vnt_mac_set_keyentry(struct vnt_private *priv, u16 key_ctl, u32 entry_idx, in vnt_mac_set_keyentry()
132 void vnt_mac_reg_bits_off(struct vnt_private *priv, u8 reg_ofs, u8 bits) in vnt_mac_reg_bits_off()
144 void vnt_mac_reg_bits_on(struct vnt_private *priv, u8 reg_ofs, u8 bits) in vnt_mac_reg_bits_on()
155 void vnt_mac_write_word(struct vnt_private *priv, u8 reg_ofs, u16 word) in vnt_mac_write_word()
166 void vnt_mac_set_bssid_addr(struct vnt_private *priv, u8 *addr) in vnt_mac_set_bssid_addr()
172 void vnt_mac_enable_protect_mode(struct vnt_private *priv) in vnt_mac_enable_protect_mode()
[all …]
Dmac.h357 void vnt_mac_set_filter(struct vnt_private *priv, u64 mc_filter);
358 void vnt_mac_shutdown(struct vnt_private *priv);
359 void vnt_mac_set_bb_type(struct vnt_private *priv, u8 type);
360 void vnt_mac_disable_keyentry(struct vnt_private *priv, u8 entry_idx);
361 void vnt_mac_set_keyentry(struct vnt_private *priv, u16 key_ctl, u32 entry_idx,
363 void vnt_mac_reg_bits_off(struct vnt_private *priv, u8 reg_ofs, u8 bits);
364 void vnt_mac_reg_bits_on(struct vnt_private *priv, u8 reg_ofs, u8 bits);
365 void vnt_mac_write_word(struct vnt_private *priv, u8 reg_ofs, u16 word);
366 void vnt_mac_set_bssid_addr(struct vnt_private *priv, u8 *addr);
367 void vnt_mac_enable_protect_mode(struct vnt_private *priv);
[all …]
Dbaseband.h79 void vnt_get_phy_field(struct vnt_private *priv, u32 frame_length,
82 void vnt_set_short_slot_time(struct vnt_private *priv);
83 void vnt_set_vga_gain_offset(struct vnt_private *priv, u8 data);
84 void vnt_set_antenna_mode(struct vnt_private *priv, u8 antenna_mode);
85 int vnt_vt3184_init(struct vnt_private *priv);
86 void vnt_set_deep_sleep(struct vnt_private *priv);
87 void vnt_exit_deep_sleep(struct vnt_private *priv);
88 void vnt_update_pre_ed_threshold(struct vnt_private *priv, int scanning);
Dusbpipe.h21 int vnt_control_out(struct vnt_private *priv, u8 request, u16 value,
23 int vnt_control_in(struct vnt_private *priv, u8 request, u16 value,
26 void vnt_control_out_u8(struct vnt_private *priv, u8 reg, u8 ref_off, u8 data);
27 void vnt_control_in_u8(struct vnt_private *priv, u8 reg, u8 reg_off, u8 *data);
29 int vnt_start_interrupt_urb(struct vnt_private *priv);
30 int vnt_submit_rx_urb(struct vnt_private *priv, struct vnt_rcb *rcb);
31 int vnt_tx_context(struct vnt_private *priv,
Drf.h43 int vnt_rf_write_embedded(struct vnt_private *priv, u32 data);
44 int vnt_rf_setpower(struct vnt_private *priv, u32 rate, u32 channel);
45 int vnt_rf_set_txpower(struct vnt_private *priv, u8 power, u32 rate);
46 void vnt_rf_rssi_to_dbm(struct vnt_private *priv, u8 rssi, long *dbm);
47 void vnt_rf_table_download(struct vnt_private *priv);
Dcard.c57 void vnt_set_channel(struct vnt_private *priv, u32 connection_channel) in vnt_set_channel()
88 static u16 vnt_get_cck_rate(struct vnt_private *priv, u16 rate_idx) in vnt_get_cck_rate()
114 static u16 vnt_get_ofdm_rate(struct vnt_private *priv, u16 rate_idx) in vnt_get_ofdm_rate()
250 void vnt_set_rspinf(struct vnt_private *priv, u8 bb_type) in vnt_set_rspinf()
342 void vnt_update_ifs(struct vnt_private *priv) in vnt_update_ifs()
414 void vnt_update_top_rates(struct vnt_private *priv) in vnt_update_top_rates()
441 int vnt_ofdm_min_rate(struct vnt_private *priv) in vnt_ofdm_min_rate()
453 u8 vnt_get_pkt_type(struct vnt_private *priv) in vnt_get_pkt_type()
497 void vnt_adjust_tsf(struct vnt_private *priv, u8 rx_rate, in vnt_adjust_tsf()
531 bool vnt_get_current_tsf(struct vnt_private *priv, u64 *current_tsf) in vnt_get_current_tsf()
[all …]
Dmain_usb.c83 static void vnt_set_options(struct vnt_private *priv) in vnt_set_options()
110 static int vnt_init_registers(struct vnt_private *priv) in vnt_init_registers()
359 static void vnt_free_tx_bufs(struct vnt_private *priv) in vnt_free_tx_bufs()
376 static void vnt_free_rx_bufs(struct vnt_private *priv) in vnt_free_rx_bufs()
400 static void vnt_free_int_bufs(struct vnt_private *priv) in vnt_free_int_bufs()
405 static bool vnt_alloc_bufs(struct vnt_private *priv) in vnt_alloc_bufs()
478 struct vnt_private *priv = hw->priv; in vnt_tx_80211()
486 struct vnt_private *priv = hw->priv; in vnt_start()
526 struct vnt_private *priv = hw->priv; in vnt_stop()
559 struct vnt_private *priv = hw->priv; in vnt_add_interface()
[all …]
Dusbpipe.c36 int vnt_control_out(struct vnt_private *priv, u8 request, u16 value, in vnt_control_out()
68 void vnt_control_out_u8(struct vnt_private *priv, u8 reg, u8 reg_off, u8 data) in vnt_control_out_u8()
74 int vnt_control_in(struct vnt_private *priv, u8 request, u16 value, in vnt_control_in()
109 void vnt_control_in_u8(struct vnt_private *priv, u8 reg, u8 reg_off, u8 *data) in vnt_control_in_u8()
117 struct vnt_private *priv = urb->context; in vnt_start_interrupt_urb_complete()
148 int vnt_start_interrupt_urb(struct vnt_private *priv) in vnt_start_interrupt_urb()
178 struct vnt_private *priv = rcb->priv; in vnt_submit_rx_urb_complete()
216 int vnt_submit_rx_urb(struct vnt_private *priv, struct vnt_rcb *rcb) in vnt_submit_rx_urb()
248 struct vnt_private *priv = context->priv; in vnt_tx_context_complete()
276 int vnt_tx_context(struct vnt_private *priv, in vnt_tx_context()
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()
Dfirmware.h21 int vnt_download_firmware(struct vnt_private *priv);
22 int vnt_firmware_branch_to_sram(struct vnt_private *priv);
23 int vnt_check_firmware_version(struct vnt_private *priv);
Dpower.h21 void 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);
Drxtx.c68 *vnt_get_free_context(struct vnt_private *priv) in vnt_get_free_context()
100 static __le16 vnt_time_stamp_off(struct vnt_private *priv, u16 rate) in vnt_time_stamp_off()
106 static u32 vnt_get_rsvtime(struct vnt_private *priv, u8 pkt_type, in vnt_get_rsvtime()
127 static __le16 vnt_rxtx_rsvtime_le16(struct vnt_private *priv, u8 pkt_type, in vnt_rxtx_rsvtime_le16()
134 static __le16 vnt_get_rtscts_rsvtime_le(struct vnt_private *priv, u8 rsv_type, in vnt_get_rtscts_rsvtime_le()
187 static __le16 vnt_get_duration_le(struct vnt_private *priv, u8 pkt_type, in vnt_get_duration_le()
211 struct vnt_private *priv = context->priv; in vnt_get_rtscts_duration_le()
268 struct vnt_private *priv = tx_context->priv; in vnt_rxtx_datahead_g()
305 struct vnt_private *priv = tx_context->priv; in vnt_rxtx_datahead_g_fb()
338 struct vnt_private *priv = tx_context->priv; in vnt_rxtx_datahead_a_fb()
[all …]
Dpower.c41 void vnt_enable_power_saving(struct vnt_private *priv, u16 listen_interval) in vnt_enable_power_saving()
90 void vnt_disable_power_saving(struct vnt_private *priv) in vnt_disable_power_saving()
113 int vnt_next_tbtt_wakeup(struct vnt_private *priv) in vnt_next_tbtt_wakeup()

12