Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/wireless/marvell/mwifiex/
A Dscan.c454 int chan_idx = 0, i; in mwifiex_scan_create_channel_list() local
501 chan_idx++; in mwifiex_scan_create_channel_list()
505 return chan_idx; in mwifiex_scan_create_channel_list()
522 int chan_idx = 0, i; in mwifiex_bgscan_create_channel_list() local
557 chan_idx++; in mwifiex_bgscan_create_channel_list()
560 return chan_idx; in mwifiex_bgscan_create_channel_list()
822 u32 chan_idx; in mwifiex_config_scan() local
1058 for (chan_idx = 0; in mwifiex_config_scan()
1061 chan_idx++) { in mwifiex_config_scan()
2384 for (chan_idx = 0; in mwifiex_cmd_802_11_bg_scan_config()
[all …]
/linux-6.3-rc2/drivers/net/wireless/realtek/rtl818x/rtl8180/
A 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.3-rc2/include/linux/firmware/imx/
A 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.3-rc2/drivers/iio/adc/
A 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 …]
A Dmax11410.c700 int chan_idx = 0; in max11410_parse_channels() local
748 cfg = &st->channels[chan_idx]; in max11410_parse_channels()
807 chanspec.address = chan_idx; in max11410_parse_channels()
808 chanspec.scan_index = chan_idx; in max11410_parse_channels()
812 channels[chan_idx] = chanspec; in max11410_parse_channels()
813 chan_idx++; in max11410_parse_channels()
816 channels[chan_idx] = (struct iio_chan_spec)IIO_CHAN_SOFT_TIMESTAMP(chan_idx); in max11410_parse_channels()
818 indio_dev->num_channels = chan_idx + 1; in max11410_parse_channels()
/linux-6.3-rc2/drivers/char/xillybus/
A Dxillyusb.c128 int chan_idx; member
890 int chan_idx = chan_num >> 1; in process_in_opcode() local
892 if (chan_idx >= xdev->num_channels) { in process_in_opcode()
898 chan = &xdev->channels[chan_idx]; in process_in_opcode()
948 int chan_idx; in process_bulk_in() local
995 chan_idx = chan_num >> 1; in process_bulk_in()
1003 chan = &xdev->channels[chan_idx]; in process_bulk_in()
1134 int chan_num = chan->chan_idx << 1; in flush_downstream()
1233 int chan_num = (chan->chan_idx << 1) | 1; in request_read_anything()
1303 (chan->chan_idx + 2) | USB_DIR_OUT, in xillyusb_open()
[all …]
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt7601u/
A 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.3-rc2/drivers/net/wireless/realtek/rtw89/
A Drtw8852c.c870 u8 chan_idx; in rtw8852c_encode_chan_idx() local
878 return chan_idx; in rtw8852c_encode_chan_idx()
901 chan_idx = FIELD_PREP(RTW8852C_CH_BASE_IDX_MASK, idx) | in rtw8852c_encode_chan_idx()
904 return chan_idx; in rtw8852c_encode_chan_idx()
912 idx = FIELD_GET(RTW8852C_CH_BASE_IDX_MASK, chan_idx); in rtw8852c_decode_chan_idx()
913 offset = FIELD_GET(RTW8852C_CH_OFFSET_MASK, chan_idx); in rtw8852c_decode_chan_idx()
978 u8 chan_idx; in rtw8852c_ctrl_ch() local
1087 chan_idx = rtw8852c_encode_chan_idx(rtwdev, chan->primary_channel, band); in rtw8852c_ctrl_ch()
2726 u8 chan_idx = phy_ppdu->chan_idx; in rtw8852c_fill_freq_with_ppdu() local
2730 if (chan_idx == 0) in rtw8852c_fill_freq_with_ppdu()
[all …]
A Drtw8852a.c1970 u16 chan = phy_ppdu->chan_idx; in rtw8852a_fill_freq_with_ppdu()
A Drtw8852b.c2301 u16 chan = phy_ppdu->chan_idx; in rtw8852b_fill_freq_with_ppdu()
A Dcore.h550 u8 chan_idx; member
A Dcore.c1202 phy_ppdu->chan_idx = RTW89_GET_PHY_STS_IE01_CH_IDX(addr); in rtw89_core_parse_phy_status_ie01()
/linux-6.3-rc2/drivers/crypto/bcm/
A 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()
1755 rctx->chan_idx = select_channel(); in skcipher_enqueue()
1942 rctx->chan_idx = select_channel(); in ahash_enqueue()
[all …]
A Dcipher.h258 u8 chan_idx; /* Mailbox channel to be used to submit this request */ member
/linux-6.3-rc2/include/linux/
A Dedac.h420 int chan_idx; member
/linux-6.3-rc2/drivers/hwtracing/coresight/
A Dcoresight-cti-sysfs.c538 u32 chan_idx; in cti_trig_op_parse() local
543 items = sscanf(buf, "%d %d", &chan_idx, &trig_idx); in cti_trig_op_parse()
545 err = cti_channel_trig_op(dev, op, dir, chan_idx, trig_idx); in cti_trig_op_parse()
/linux-6.3-rc2/drivers/edac/
A 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.3-rc2/net/wireless/
A Dreg.c2152 static void handle_reg_beacon(struct wiphy *wiphy, unsigned int chan_idx, in handle_reg_beacon() argument
2161 chan = &sband->channels[chan_idx]; in handle_reg_beacon()
/linux-6.3-rc2/sound/pci/hda/
A 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()

Completed in 157 milliseconds