Home
last modified time | relevance | path

Searched refs:chan_idx (Results 1 – 17 of 17) sorted by relevance

/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/
Dscan.c454 int chan_idx = 0, i; in mwifiex_scan_create_channel_list() local
467 scan_chan_list[chan_idx].radio_type = band; in mwifiex_scan_create_channel_list()
471 scan_chan_list[chan_idx].max_scan_time = in mwifiex_scan_create_channel_list()
476 scan_chan_list[chan_idx].max_scan_time = in mwifiex_scan_create_channel_list()
479 scan_chan_list[chan_idx].max_scan_time = in mwifiex_scan_create_channel_list()
483 scan_chan_list[chan_idx].chan_scan_mode_bitmap in mwifiex_scan_create_channel_list()
487 scan_chan_list[chan_idx].chan_scan_mode_bitmap in mwifiex_scan_create_channel_list()
489 scan_chan_list[chan_idx].chan_number = in mwifiex_scan_create_channel_list()
492 scan_chan_list[chan_idx].chan_scan_mode_bitmap in mwifiex_scan_create_channel_list()
498 scan_chan_list[chan_idx].max_scan_time = in mwifiex_scan_create_channel_list()
[all …]
/linux-6.1.9/drivers/net/wireless/realtek/rtl818x/rtl8180/
Dmax2820.c95 unsigned int chan_idx = channel - 1; in max2820_rf_set_channel() local
96 u32 txpw = priv->channels[chan_idx].hw_value & 0xFF; in max2820_rf_set_channel()
97 u32 chan = max2820_chan[chan_idx]; in max2820_rf_set_channel()
/linux-6.1.9/include/linux/firmware/imx/
Ddsp.h56 int imx_dsp_ring_doorbell(struct imx_dsp_ipc *dsp, unsigned int chan_idx);
64 unsigned int chan_idx) in imx_dsp_ring_doorbell() argument
/linux-6.1.9/drivers/iio/adc/
Dstm32-dfsdm-adc.c603 int chan_idx = ch->scan_index; in stm32_dfsdm_channel_parse_of() local
607 "st,adc-channels", chan_idx, in stm32_dfsdm_channel_parse_of()
612 chan_idx); in stm32_dfsdm_channel_parse_of()
623 "st,adc-channel-names", chan_idx, in stm32_dfsdm_channel_parse_of()
628 chan_idx); in stm32_dfsdm_channel_parse_of()
636 "st,adc-channel-types", chan_idx, in stm32_dfsdm_channel_parse_of()
648 "st,adc-channel-clk-src", chan_idx, in stm32_dfsdm_channel_parse_of()
660 "st,adc-alt-channel", chan_idx, in stm32_dfsdm_channel_parse_of()
1438 int ret, chan_idx; in stm32_dfsdm_adc_init() local
1462 for (chan_idx = 0; chan_idx < num_ch; chan_idx++) { in stm32_dfsdm_adc_init()
[all …]
/linux-6.1.9/drivers/char/xillybus/
Dxillyusb.c128 int chan_idx; member
882 int chan_idx = chan_num >> 1; in process_in_opcode() local
884 if (chan_idx >= xdev->num_channels) { in process_in_opcode()
890 chan = &xdev->channels[chan_idx]; in process_in_opcode()
940 int chan_idx; in process_bulk_in() local
987 chan_idx = chan_num >> 1; in process_bulk_in()
989 if (!(chan_num & 1) || chan_idx >= xdev->num_channels || in process_bulk_in()
990 !xdev->channels[chan_idx].read_data_ok) { in process_bulk_in()
995 chan = &xdev->channels[chan_idx]; in process_bulk_in()
1126 int chan_num = chan->chan_idx << 1; in flush_downstream()
[all …]
/linux-6.1.9/drivers/net/wireless/mediatek/mt7601u/
Dphy.c375 int chan_idx; in __mt7601u_phy_set_channel() local
382 chan_idx = chan->hw_value - 1; in __mt7601u_phy_set_channel()
387 if (chan_idx > 1 && chan_type == NL80211_CHAN_HT40MINUS) in __mt7601u_phy_set_channel()
388 chan_idx -= 2; in __mt7601u_phy_set_channel()
389 else if (chan_idx < 12 && chan_type == NL80211_CHAN_HT40PLUS) in __mt7601u_phy_set_channel()
390 chan_idx += 2; in __mt7601u_phy_set_channel()
407 channel_freq_plan[i].value = freq_plan[chan_idx][i]; in __mt7601u_phy_set_channel()
415 dev->ee->chan_pwr[chan_idx] & 0x3f); in __mt7601u_phy_set_channel()
/linux-6.1.9/drivers/net/wireless/realtek/rtw89/
Drtw8852c.c895 u8 chan_idx; in rtw8852c_encode_chan_idx() local
901 chan_idx = FIELD_PREP(RTW8852C_CH_BASE_IDX_MASK, RTW8852C_CH_BASE_IDX_2G) | in rtw8852c_encode_chan_idx()
903 return chan_idx; in rtw8852c_encode_chan_idx()
926 chan_idx = FIELD_PREP(RTW8852C_CH_BASE_IDX_MASK, idx) | in rtw8852c_encode_chan_idx()
929 return chan_idx; in rtw8852c_encode_chan_idx()
932 static void rtw8852c_decode_chan_idx(struct rtw89_dev *rtwdev, u8 chan_idx, in rtw8852c_decode_chan_idx() argument
937 idx = FIELD_GET(RTW8852C_CH_BASE_IDX_MASK, chan_idx); in rtw8852c_decode_chan_idx()
938 offset = FIELD_GET(RTW8852C_CH_OFFSET_MASK, chan_idx); in rtw8852c_decode_chan_idx()
1017 u8 chan_idx; in rtw8852c_ctrl_ch() local
1126 chan_idx = rtw8852c_encode_chan_idx(rtwdev, chan->primary_channel, band); in rtw8852c_ctrl_ch()
[all …]
Drtw8852a.c2112 u16 chan = phy_ppdu->chan_idx; in rtw8852a_fill_freq_with_ppdu()
Dcore.c1195 phy_ppdu->chan_idx = RTW89_GET_PHY_STS_IE01_CH_IDX(addr); in rtw89_core_parse_phy_status_ie01()
Dcore.h528 u8 chan_idx; member
/linux-6.1.9/drivers/crypto/bcm/
Dcipher.c108 u8 chan_idx = atomic_inc_return(&iproc_priv.next_chan); in select_channel() local
110 return chan_idx % iproc_priv.spu.num_chan; in select_channel()
245 u8 chan_idx) in mailbox_send_message() argument
251 err = mbox_send_message(iproc_priv.mbox[chan_idx], mssg); in mailbox_send_message()
260 err = mbox_send_message(iproc_priv.mbox[chan_idx], in mailbox_send_message()
278 mbox_client_txdone(iproc_priv.mbox[chan_idx], err); in mailbox_send_message()
459 err = mailbox_send_message(mssg, req->base.flags, rctx->chan_idx); in handle_skcipher_req()
880 err = mailbox_send_message(mssg, req->base.flags, rctx->chan_idx); in handle_ahash_req()
1518 err = mailbox_send_message(mssg, req->base.flags, rctx->chan_idx); in handle_aead_req()
1755 rctx->chan_idx = select_channel(); in skcipher_enqueue()
[all …]
Dcipher.h258 u8 chan_idx; /* Mailbox channel to be used to submit this request */ member
/linux-6.1.9/include/linux/
Dedac.h420 int chan_idx; member
/linux-6.1.9/drivers/hwtracing/coresight/
Dcoresight-cti-sysfs.c529 u32 chan_idx; in cti_trig_op_parse() local
534 items = sscanf(buf, "%d %d", &chan_idx, &trig_idx); in cti_trig_op_parse()
536 err = cti_channel_trig_op(dev, op, dir, chan_idx, trig_idx); in cti_trig_op_parse()
/linux-6.1.9/drivers/edac/
Dedac_mc.c84 edac_dbg(4, " channel->chan_idx = %d\n", chan->chan_idx); in edac_mc_dump_channel()
246 chan->chan_idx = chn; in edac_mc_alloc_csrows()
/linux-6.1.9/net/wireless/
Dreg.c2190 static void handle_reg_beacon(struct wiphy *wiphy, unsigned int chan_idx, in handle_reg_beacon() argument
2199 chan = &sband->channels[chan_idx]; in handle_reg_beacon()
/linux-6.1.9/sound/pci/hda/
Dpatch_hdmi.c4170 int chan_idx = 7 - atihdmi_paired_swap_fc_lfe(j); in atihdmi_paired_chmap_validate() local
4171 if (cap->speakers[chan_idx] == mask) { in atihdmi_paired_chmap_validate()