| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | most.h | 241 int (*configure)(struct most_interface *iface, int channel_idx, 243 int (*enqueue)(struct most_interface *iface, int channel_idx, 245 int (*poison_channel)(struct most_interface *iface, int channel_idx); 246 void (*request_netinfo)(struct most_interface *iface, int channel_idx, 267 int (*probe_channel)(struct most_interface *iface, int channel_idx, 271 int channel_idx); 273 int (*tx_completion)(struct most_interface *iface, int channel_idx); 300 void most_stop_enqueue(struct most_interface *iface, int channel_idx); 310 void most_resume_enqueue(struct most_interface *iface, int channel_idx); 313 struct mbo *most_get_mbo(struct most_interface *iface, int channel_idx, [all …]
|
| /OK3568_Linux_fs/kernel/drivers/tty/ipwireless/ |
| H A D | hardware.c | 38 unsigned int channel_idx, const unsigned char *data, int len); 340 unsigned int channel_idx; member 625 unsigned int channel_idx = address - 1; in queue_received_packet() local 630 if (channel_idx >= NL_NUM_OF_ADDRESSES) { in queue_received_packet() 641 &hw->packet_assembler[channel_idx]; in queue_received_packet() 654 (*assem)->channel_idx = channel_idx; in queue_received_packet() 678 packet->channel_idx = channel_idx; in queue_received_packet() 734 packet->channel_idx, in ipw_receive_data_work() 747 handle_received_CTRL_packet(hw, packet->channel_idx, in ipw_receive_data_work() 766 unsigned int channel_idx, in handle_received_CTRL_packet() argument [all …]
|
| H A D | network.c | 313 unsigned int channel_idx, in ipwireless_network_notify_control_line_change() argument 319 if (channel_idx == IPW_CHANNEL_RAS) in ipwireless_network_notify_control_line_change() 324 network->associated_ttys[channel_idx][i]; in ipwireless_network_notify_control_line_change() 334 channel_idx, in ipwireless_network_notify_control_line_change() 365 unsigned int channel_idx, in ipwireless_network_packet_received() argument 373 struct ipw_tty *tty = network->associated_ttys[channel_idx][i]; in ipwireless_network_packet_received() 384 if (channel_idx == IPW_CHANNEL_RAS in ipwireless_network_packet_received() 452 unsigned int channel_idx, in ipwireless_associate_network_tty() argument 458 if (network->associated_ttys[channel_idx][i] == NULL) { in ipwireless_associate_network_tty() 459 network->associated_ttys[channel_idx][i] = tty; in ipwireless_associate_network_tty() [all …]
|
| H A D | network.h | 35 unsigned int channel_idx, unsigned int control_lines, 38 unsigned int channel_idx, unsigned char *data, 43 unsigned int channel_idx, struct ipw_tty *tty); 45 unsigned int channel_idx);
|
| H A D | tty.c | 50 unsigned int channel_idx; member 312 ret = ipwireless_set_RTS(tty->hardware, tty->channel_idx, 1); in set_control_lines() 323 ret = ipwireless_set_DTR(tty->hardware, tty->channel_idx, 1); in set_control_lines() 334 ret = ipwireless_set_RTS(tty->hardware, tty->channel_idx, 0); in set_control_lines() 343 ret = ipwireless_set_DTR(tty->hardware, tty->channel_idx, 0); in set_control_lines() 439 struct ipw_network *network, int channel_idx, in add_tty() argument 447 ttys[j]->channel_idx = channel_idx; in add_tty() 455 ipwireless_associate_network_tty(network, channel_idx, ttys[j]); in add_tty() 542 ttyj->channel_idx); in ipwireless_tty_free() 616 unsigned int channel_idx, in ipwireless_tty_notify_control_line_change() argument
|
| H A D | hardware.h | 39 int ipwireless_set_DTR(struct ipw_hardware *hw, unsigned int channel_idx, 41 int ipwireless_set_RTS(struct ipw_hardware *hw, unsigned int channel_idx, 44 unsigned int channel_idx,
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/phydm/halrf/ |
| H A D | halrf_kfree.c | 681 void phydm_set_kfree_to_rf_8192f(void *dm_void, u8 e_rf_path, u8 channel_idx, in phydm_set_kfree_to_rf_8192f() argument 696 if (channel_idx == 0) { in phydm_set_kfree_to_rf_8192f() 703 } else if (channel_idx == 1) { in phydm_set_kfree_to_rf_8192f() 709 } else if (channel_idx == 2) { in phydm_set_kfree_to_rf_8192f() 717 if (channel_idx == 0) { in phydm_set_kfree_to_rf_8192f() 723 } else if (channel_idx == 1) { in phydm_set_kfree_to_rf_8192f() 729 } else if (channel_idx == 2) { in phydm_set_kfree_to_rf_8192f() 747 BIT(15) | BIT(14))), e_rf_path, channel_idx); in phydm_set_kfree_to_rf_8192f() 1324 u8 channel_idx = 0, rfpath = 0, max_path = 0, kfree_band_num = 0; in phydm_do_kfree() local 1359 channel_idx = PHYDM_2G; in phydm_do_kfree() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/phydm/halrf/ |
| H A D | halrf_kfree.c | 681 void phydm_set_kfree_to_rf_8192f(void *dm_void, u8 e_rf_path, u8 channel_idx, in phydm_set_kfree_to_rf_8192f() argument 696 if (channel_idx == 0) { in phydm_set_kfree_to_rf_8192f() 703 } else if (channel_idx == 1) { in phydm_set_kfree_to_rf_8192f() 709 } else if (channel_idx == 2) { in phydm_set_kfree_to_rf_8192f() 717 if (channel_idx == 0) { in phydm_set_kfree_to_rf_8192f() 723 } else if (channel_idx == 1) { in phydm_set_kfree_to_rf_8192f() 729 } else if (channel_idx == 2) { in phydm_set_kfree_to_rf_8192f() 747 BIT(15) | BIT(14))), e_rf_path, channel_idx); in phydm_set_kfree_to_rf_8192f() 1324 u8 channel_idx = 0, rfpath = 0, max_path = 0, kfree_band_num = 0; in phydm_do_kfree() local 1359 channel_idx = PHYDM_2G; in phydm_do_kfree() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/phydm/halrf/ |
| H A D | halrf_kfree.c | 681 void phydm_set_kfree_to_rf_8192f(void *dm_void, u8 e_rf_path, u8 channel_idx, in phydm_set_kfree_to_rf_8192f() argument 696 if (channel_idx == 0) { in phydm_set_kfree_to_rf_8192f() 703 } else if (channel_idx == 1) { in phydm_set_kfree_to_rf_8192f() 709 } else if (channel_idx == 2) { in phydm_set_kfree_to_rf_8192f() 717 if (channel_idx == 0) { in phydm_set_kfree_to_rf_8192f() 723 } else if (channel_idx == 1) { in phydm_set_kfree_to_rf_8192f() 729 } else if (channel_idx == 2) { in phydm_set_kfree_to_rf_8192f() 747 BIT(15) | BIT(14))), e_rf_path, channel_idx); in phydm_set_kfree_to_rf_8192f() 1324 u8 channel_idx = 0, rfpath = 0, max_path = 0, kfree_band_num = 0; in phydm_do_kfree() local 1359 channel_idx = PHYDM_2G; in phydm_do_kfree() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/phydm/halrf/ |
| H A D | halrf_kfree.c | 686 u8 channel_idx = 0, i, j; in phydm_config_kfree() local 714 channel_idx = PHYDM_2G; in phydm_config_kfree() 717 … PATH_%d bb_gain:0x%X\n", channel_to_sw, rfpath, p_power_trim_info->bb_gain[channel_idx][rfpath])); in phydm_config_kfree() 718 phydm_set_kfree_to_rf(p_dm, rfpath, p_power_trim_info->bb_gain[channel_idx][rfpath]); in phydm_config_kfree() 724 channel_idx = PHYDM_5GLB1; in phydm_config_kfree() 726 channel_idx = PHYDM_5GLB2; in phydm_config_kfree() 728 channel_idx = PHYDM_5GMB1; in phydm_config_kfree() 730 channel_idx = PHYDM_5GMB2; in phydm_config_kfree() 732 channel_idx = PHYDM_5GHB; in phydm_config_kfree() 735 … PATH_%d bb_gain:0x%X\n", channel_to_sw, rfpath, p_power_trim_info->bb_gain[channel_idx][rfpath])); in phydm_config_kfree() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/most/video/ |
| H A D | video.c | 369 struct most_interface *iface, int channel_idx) in get_comp_dev() argument 376 if (mdev->iface == iface && mdev->ch_idx == channel_idx) { in get_comp_dev() 450 static int comp_probe_channel(struct most_interface *iface, int channel_idx, in comp_probe_channel() argument 455 struct most_video_dev *mdev = get_comp_dev(iface, channel_idx); in comp_probe_channel() 482 mdev->ch_idx = channel_idx; in comp_probe_channel() 510 int channel_idx) in comp_disconnect_channel() argument 512 struct most_video_dev *mdev = get_comp_dev(iface, channel_idx); in comp_disconnect_channel()
|
| /OK3568_Linux_fs/kernel/drivers/staging/most/net/ |
| H A D | net.c | 305 static int comp_probe_channel(struct most_interface *iface, int channel_idx, in comp_probe_channel() argument 354 ch->ch_id = channel_idx; in comp_probe_channel() 363 int channel_idx) in comp_disconnect_channel() argument 377 if (nd->rx.linked && channel_idx == nd->rx.ch_id) { in comp_disconnect_channel() 379 } else if (nd->tx.linked && channel_idx == nd->tx.ch_id) { in comp_disconnect_channel() 410 int channel_idx) in comp_resume_tx_channel() argument 418 if (nd->tx.ch_id != channel_idx) in comp_resume_tx_channel()
|
| /OK3568_Linux_fs/kernel/drivers/hwtracing/coresight/ |
| H A D | coresight-cti.h | 224 enum cti_trig_dir direction, u32 channel_idx, 227 u32 channel_idx); 229 u32 channel_idx);
|
| H A D | coresight-cti-core.c | 330 enum cti_trig_dir direction, u32 channel_idx, in cti_channel_trig_op() argument 341 if ((channel_idx >= config->nr_ctm_channels) || in cti_channel_trig_op() 361 chan_bitmask = BIT(channel_idx); in cti_channel_trig_op() 389 u32 channel_idx) in cti_channel_gate_op() argument 397 if (channel_idx >= config->nr_ctm_channels) in cti_channel_gate_op() 400 chan_bitmask = BIT(channel_idx); in cti_channel_gate_op() 427 u32 channel_idx) in cti_channel_setop() argument 436 if (channel_idx >= config->nr_ctm_channels) in cti_channel_setop() 439 chan_bitmask = BIT(channel_idx); in cti_channel_setop()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/phydm/ |
| H A D | phydm_acs.c | 117 u8 channel_idx = 0, search_idx = 0; in odm_auto_channel_select() local 149 channel_idx = channel - 1; in odm_auto_channel_select() 150 p_acs->channel_info_2g[1][channel_idx]++; in odm_auto_channel_select() 152 if (p_acs->channel_info_2g[1][channel_idx] >= 2) in odm_auto_channel_select() 153 p_acs->channel_info_2g[0][channel_idx] = (p_acs->channel_info_2g[0][channel_idx] >> 1) + in odm_auto_channel_select() 154 (p_acs->channel_info_2g[0][channel_idx] >> 2) + (low_pwr_cnt >> 2); in odm_auto_channel_select() 156 p_acs->channel_info_2g[0][channel_idx] = low_pwr_cnt; in odm_auto_channel_select() 159 …d, CH_Info[1][%d]=%d\n", channel_idx, p_acs->channel_info_2g[0][channel_idx], channel_idx, p_acs->… in odm_auto_channel_select()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/phydm/halrf/ |
| H A D | halrf_kfree.c | 680 void phydm_set_kfree_to_rf_8192f(void *dm_void, u8 e_rf_path, u8 channel_idx, in phydm_set_kfree_to_rf_8192f() argument 695 if (channel_idx == 0) { in phydm_set_kfree_to_rf_8192f() 702 } else if (channel_idx == 1) { in phydm_set_kfree_to_rf_8192f() 708 } else if (channel_idx == 2) { in phydm_set_kfree_to_rf_8192f() 716 if (channel_idx == 0) { in phydm_set_kfree_to_rf_8192f() 722 } else if (channel_idx == 1) { in phydm_set_kfree_to_rf_8192f() 728 } else if (channel_idx == 2) { in phydm_set_kfree_to_rf_8192f() 746 BIT(15) | BIT(14))), e_rf_path, channel_idx); in phydm_set_kfree_to_rf_8192f() 2554 u8 channel_idx = 0, rfpath = 0, max_path = 0, kfree_band_num = 0; in phydm_do_kfree() local 2589 channel_idx = PHYDM_2G; in phydm_do_kfree() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/hal/phydm/halrf/ |
| H A D | halrf_kfree.c | 681 void phydm_set_kfree_to_rf_8192f(void *dm_void, u8 e_rf_path, u8 channel_idx, in phydm_set_kfree_to_rf_8192f() argument 696 if (channel_idx == 0) { in phydm_set_kfree_to_rf_8192f() 703 } else if (channel_idx == 1) { in phydm_set_kfree_to_rf_8192f() 709 } else if (channel_idx == 2) { in phydm_set_kfree_to_rf_8192f() 717 if (channel_idx == 0) { in phydm_set_kfree_to_rf_8192f() 723 } else if (channel_idx == 1) { in phydm_set_kfree_to_rf_8192f() 729 } else if (channel_idx == 2) { in phydm_set_kfree_to_rf_8192f() 747 BIT(15) | BIT(14))), e_rf_path, channel_idx); in phydm_set_kfree_to_rf_8192f() 2777 u8 channel_idx = 0, rfpath = 0, max_path = 0, kfree_band_num = 0; in phydm_do_kfree() local 2812 channel_idx = PHYDM_2G; in phydm_do_kfree() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/falcon/ |
| H A D | rx.c | 909 unsigned int channel_idx, index, size; in __ef4_filter_rfs_expire() local 916 channel_idx = efx->rps_expire_channel; in __ef4_filter_rfs_expire() 920 struct ef4_channel *channel = ef4_get_channel(efx, channel_idx); in __ef4_filter_rfs_expire() 927 index, channel_idx, flow_id); in __ef4_filter_rfs_expire() 931 if (++channel_idx == efx->n_channels) in __ef4_filter_rfs_expire() 932 channel_idx = 0; in __ef4_filter_rfs_expire() 936 efx->rps_expire_channel = channel_idx; in __ef4_filter_rfs_expire()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/ |
| H A D | rtw_scan.c | 1447 ss->channel_idx = 3; 1449 , ss->channel_idx 1455 ss->channel_idx = ss->ch_num; 1457 , ss->channel_idx 1475 ss->channel_idx = 0; 1536 scan_ch = pwdinfo->rx_invitereq_info.operation_ch[ss->channel_idx]; 1538 scan_ch = pwdinfo->p2p_info.operation_ch[ss->channel_idx]; 1545 scan_ch = pwdinfo->social_chan[ss->channel_idx]; 1566 …while (ss->channel_idx < ss->ch_num && rtw_chset_is_dfs_ch(rfctl->channel_set, ss->ch[ss->channel_… 1567 ss->channel_idx++; [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/ |
| H A D | rtw_scan.c | 1421 ss->channel_idx = 3; 1423 , ss->channel_idx 1429 ss->channel_idx = ss->ch_num; 1431 , ss->channel_idx 1449 ss->channel_idx = 0; 1510 scan_ch = pwdinfo->rx_invitereq_info.operation_ch[ss->channel_idx]; 1512 scan_ch = pwdinfo->p2p_info.operation_ch[ss->channel_idx]; 1519 scan_ch = pwdinfo->social_chan[ss->channel_idx]; 1540 …while (ss->channel_idx < ss->ch_num && rtw_chset_is_dfs_ch(rfctl->channel_set, ss->ch[ss->channel_… 1541 ss->channel_idx++; [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/hal/phydm/halrf/ |
| H A D | halrf_kfree.c | 680 void phydm_set_kfree_to_rf_8192f(void *dm_void, u8 e_rf_path, u8 channel_idx, in phydm_set_kfree_to_rf_8192f() argument 695 if (channel_idx == 0) { in phydm_set_kfree_to_rf_8192f() 702 } else if (channel_idx == 1) { in phydm_set_kfree_to_rf_8192f() 708 } else if (channel_idx == 2) { in phydm_set_kfree_to_rf_8192f() 716 if (channel_idx == 0) { in phydm_set_kfree_to_rf_8192f() 722 } else if (channel_idx == 1) { in phydm_set_kfree_to_rf_8192f() 728 } else if (channel_idx == 2) { in phydm_set_kfree_to_rf_8192f() 746 BIT(15) | BIT(14))), e_rf_path, channel_idx); in phydm_set_kfree_to_rf_8192f() 3541 u8 channel_idx = 0, rfpath = 0, max_path = 0, kfree_band_num = 0; in phydm_do_kfree() local 3576 channel_idx = PHYDM_2G; in phydm_do_kfree() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/phydm/halrf/ |
| H A D | halrf_kfree.c | 681 void phydm_set_kfree_to_rf_8192f(void *dm_void, u8 e_rf_path, u8 channel_idx, in phydm_set_kfree_to_rf_8192f() argument 696 if (channel_idx == 0) { in phydm_set_kfree_to_rf_8192f() 703 } else if (channel_idx == 1) { in phydm_set_kfree_to_rf_8192f() 709 } else if (channel_idx == 2) { in phydm_set_kfree_to_rf_8192f() 717 if (channel_idx == 0) { in phydm_set_kfree_to_rf_8192f() 723 } else if (channel_idx == 1) { in phydm_set_kfree_to_rf_8192f() 729 } else if (channel_idx == 2) { in phydm_set_kfree_to_rf_8192f() 747 BIT(15) | BIT(14))), e_rf_path, channel_idx); in phydm_set_kfree_to_rf_8192f() 3542 u8 channel_idx = 0, rfpath = 0, max_path = 0, kfree_band_num = 0; in phydm_do_kfree() local 3577 channel_idx = PHYDM_2G; in phydm_do_kfree() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/hal/phydm/halrf/ |
| H A D | halrf_kfree.c | 680 void phydm_set_kfree_to_rf_8192f(void *dm_void, u8 e_rf_path, u8 channel_idx, in phydm_set_kfree_to_rf_8192f() argument 695 if (channel_idx == 0) { in phydm_set_kfree_to_rf_8192f() 702 } else if (channel_idx == 1) { in phydm_set_kfree_to_rf_8192f() 708 } else if (channel_idx == 2) { in phydm_set_kfree_to_rf_8192f() 716 if (channel_idx == 0) { in phydm_set_kfree_to_rf_8192f() 722 } else if (channel_idx == 1) { in phydm_set_kfree_to_rf_8192f() 728 } else if (channel_idx == 2) { in phydm_set_kfree_to_rf_8192f() 746 BIT(15) | BIT(14))), e_rf_path, channel_idx); in phydm_set_kfree_to_rf_8192f() 3541 u8 channel_idx = 0, rfpath = 0, max_path = 0, kfree_band_num = 0; in phydm_do_kfree() local 3576 channel_idx = PHYDM_2G; in phydm_do_kfree() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/phydm/halrf/ |
| H A D | halrf_kfree.c | 680 void phydm_set_kfree_to_rf_8192f(void *dm_void, u8 e_rf_path, u8 channel_idx, in phydm_set_kfree_to_rf_8192f() argument 695 if (channel_idx == 0) { in phydm_set_kfree_to_rf_8192f() 702 } else if (channel_idx == 1) { in phydm_set_kfree_to_rf_8192f() 708 } else if (channel_idx == 2) { in phydm_set_kfree_to_rf_8192f() 716 if (channel_idx == 0) { in phydm_set_kfree_to_rf_8192f() 722 } else if (channel_idx == 1) { in phydm_set_kfree_to_rf_8192f() 728 } else if (channel_idx == 2) { in phydm_set_kfree_to_rf_8192f() 746 BIT(15) | BIT(14))), e_rf_path, channel_idx); in phydm_set_kfree_to_rf_8192f() 3541 u8 channel_idx = 0, rfpath = 0, max_path = 0, kfree_band_num = 0; in phydm_do_kfree() local 3576 channel_idx = PHYDM_2G; in phydm_do_kfree() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/phydm/halrf/ |
| H A D | halrf_kfree.c | 680 void phydm_set_kfree_to_rf_8192f(void *dm_void, u8 e_rf_path, u8 channel_idx, in phydm_set_kfree_to_rf_8192f() argument 695 if (channel_idx == 0) { in phydm_set_kfree_to_rf_8192f() 702 } else if (channel_idx == 1) { in phydm_set_kfree_to_rf_8192f() 708 } else if (channel_idx == 2) { in phydm_set_kfree_to_rf_8192f() 716 if (channel_idx == 0) { in phydm_set_kfree_to_rf_8192f() 722 } else if (channel_idx == 1) { in phydm_set_kfree_to_rf_8192f() 728 } else if (channel_idx == 2) { in phydm_set_kfree_to_rf_8192f() 746 BIT(15) | BIT(14))), e_rf_path, channel_idx); in phydm_set_kfree_to_rf_8192f() 3854 u8 channel_idx = 0, rfpath = 0, max_path = 0, kfree_band_num = 0; in phydm_do_kfree() local 3889 channel_idx = PHYDM_2G; in phydm_do_kfree() [all …]
|