Home
last modified time | relevance | path

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

12

/linux/drivers/staging/vt6656/
H A 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_clear_current_tsf(struct vnt_private *priv);
34 int vnt_reset_next_tbtt(struct vnt_private *priv, u16 beacon_interval);
35 int vnt_update_next_tbtt(struct vnt_private *priv, u64 tsf,
[all …]
H A 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 …]
H A 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);
H A 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 …]
H A 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,
H A Dcard.c47 int vnt_set_channel(struct vnt_private *priv, u32 connection_channel) in vnt_set_channel()
90 int vnt_set_rspinf(struct vnt_private *priv, u8 bb_type) in vnt_set_rspinf()
123 int vnt_update_ifs(struct vnt_private *priv) in vnt_update_ifs()
166 void vnt_update_top_rates(struct vnt_private *priv) in vnt_update_top_rates()
177 bool vnt_ofdm_min_rate(struct vnt_private *priv) in vnt_ofdm_min_rate()
182 u8 vnt_get_pkt_type(struct vnt_private *priv) in vnt_get_pkt_type()
211 int vnt_adjust_tsf(struct vnt_private *priv, u8 rx_rate, in vnt_adjust_tsf()
243 bool vnt_clear_current_tsf(struct vnt_private *priv) in vnt_clear_current_tsf()
284 int vnt_reset_next_tbtt(struct vnt_private *priv, u16 beacon_interval) in vnt_reset_next_tbtt()
306 int vnt_update_next_tbtt(struct vnt_private *priv, u64 tsf, in vnt_update_next_tbtt()
[all …]
H A 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 …]
H A 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 …]
H A 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()
H A 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);
H A 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()
H A 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);
H A 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);
H A Drxtx.c56 *vnt_get_free_context(struct vnt_private *priv) in vnt_get_free_context()
82 static void vnt_get_phy_field(struct vnt_private *priv, u32 frame_length, in vnt_get_phy_field()
142 static __le16 vnt_time_stamp_off(struct vnt_private *priv, u16 rate) in vnt_time_stamp_off()
150 struct vnt_private *priv = context->priv; in vnt_rxtx_rsvtime_le16()
162 struct vnt_private *priv = context->priv; in vnt_get_rts_duration()
171 struct vnt_private *priv = context->priv; in vnt_get_cts_duration()
181 struct vnt_private *priv = tx_context->priv; in vnt_rxtx_datahead_g()
203 struct vnt_private *priv = tx_context->priv; in vnt_rxtx_datahead_ab()
235 struct vnt_private *priv = tx_context->priv; in vnt_rxtx_rts_g_head()
255 struct vnt_private *priv = tx_context->priv; in vnt_rxtx_rts_ab_head()
[all …]
H A 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()
H A 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/drivers/staging/vt6655/
H A Dcard.h40 struct vnt_private;
42 void card_set_rspinf(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 card_get_pkt_type(struct vnt_private *priv);
53 void card_safe_reset_tx(struct vnt_private *priv);
54 void CARDvSafeResetRx(struct vnt_private *priv);
[all …]
H A 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_set_tx_antenna_mode(struct vnt_private *priv,
68 void bb_set_rx_antenna_mode(struct vnt_private *priv,
70 void bb_set_deep_sleep(struct vnt_private *priv, unsigned char by_local_id);
H A 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 …]
H A 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 …]
H A 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 …]
H A Dcard.c185 bool card_set_phy_parameter(struct vnt_private *priv, u8 bb_type) in card_set_phy_parameter()
290 bool card_update_tsf(struct vnt_private *priv, unsigned char rx_rate, in card_update_tsf()
323 bool card_set_beacon_period(struct vnt_private *priv, in card_set_beacon_period()
354 void card_radio_power_off(struct vnt_private *priv) in card_radio_power_off()
385 void card_safe_reset_tx(struct vnt_private *priv) in card_safe_reset_tx()
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 card_set_rspinf(struct vnt_private *priv, u8 bb_type) in card_set_rspinf()
651 void CARDvUpdateBasicTopRate(struct vnt_private *priv) in CARDvUpdateBasicTopRate()
[all …]
H A 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()
2189 bb_set_tx_antenna_mode(struct vnt_private *priv, unsigned char by_antenna_mode) in bb_set_tx_antenna_mode()
2222 bb_set_rx_antenna_mode(struct vnt_private *priv, unsigned char by_antenna_mode) in bb_set_rx_antenna_mode()
2252 bb_set_deep_sleep(struct vnt_private *priv, unsigned char by_local_id) in bb_set_deep_sleep()
H A 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 rf_type, 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()
H A 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);

12