/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | scan.c | 454 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 …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtl818x/rtl8180/ |
H A D | max2820.c | 95 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()
|
/openbmc/linux/include/linux/firmware/imx/ |
H A D | dsp.h | 50 int imx_dsp_ring_doorbell(struct imx_dsp_ipc *dsp, unsigned int chan_idx); 58 unsigned int chan_idx) in imx_dsp_ring_doorbell() argument
|
/openbmc/linux/drivers/char/xillybus/ |
H A D | xillyusb.c | 129 int chan_idx; member 887 int chan_idx = chan_num >> 1; in process_in_opcode() local 889 if (chan_idx >= xdev->num_channels) { in process_in_opcode() 895 chan = &xdev->channels[chan_idx]; in process_in_opcode() 945 int chan_idx; in process_bulk_in() local 992 chan_idx = chan_num >> 1; in process_bulk_in() 994 if (!(chan_num & 1) || chan_idx >= xdev->num_channels || in process_bulk_in() 995 !xdev->channels[chan_idx].read_data_ok) { in process_bulk_in() 1000 chan = &xdev->channels[chan_idx]; in process_bulk_in() 1131 int chan_num = chan->chan_idx << 1; in flush_downstream() [all …]
|
/openbmc/linux/drivers/iio/adc/ |
H A D | stm32-dfsdm-adc.c | 604 int chan_idx = ch->scan_index; in stm32_dfsdm_channel_parse_of() local 608 "st,adc-channels", chan_idx, in stm32_dfsdm_channel_parse_of() 613 chan_idx); in stm32_dfsdm_channel_parse_of() 624 "st,adc-channel-names", chan_idx, in stm32_dfsdm_channel_parse_of() 629 chan_idx); in stm32_dfsdm_channel_parse_of() 637 "st,adc-channel-types", chan_idx, in stm32_dfsdm_channel_parse_of() 649 "st,adc-channel-clk-src", chan_idx, in stm32_dfsdm_channel_parse_of() 661 "st,adc-alt-channel", chan_idx, in stm32_dfsdm_channel_parse_of() 1439 int ret, chan_idx; in stm32_dfsdm_adc_init() local 1463 for (chan_idx = 0; chan_idx < num_ch; chan_idx++) { in stm32_dfsdm_adc_init() [all …]
|
H A D | max11410.c | 704 int chan_idx = 0; in max11410_parse_channels() local 752 cfg = &st->channels[chan_idx]; in max11410_parse_channels() 811 chanspec.address = chan_idx; in max11410_parse_channels() 812 chanspec.scan_index = chan_idx; in max11410_parse_channels() 816 channels[chan_idx] = chanspec; in max11410_parse_channels() 817 chan_idx++; in max11410_parse_channels() 820 channels[chan_idx] = (struct iio_chan_spec)IIO_CHAN_SOFT_TIMESTAMP(chan_idx); in max11410_parse_channels() 822 indio_dev->num_channels = chan_idx + 1; in max11410_parse_channels()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt7601u/ |
H A D | phy.c | 375 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()
|
/openbmc/qemu/include/hw/hyperv/ |
H A D | vmbus.h | 106 VMBusChannel *vmbus_device_channel(VMBusDevice *dev, uint32_t chan_idx);
|
/openbmc/linux/drivers/crypto/bcm/ |
H A D | cipher.c | 107 u8 chan_idx = atomic_inc_return(&iproc_priv.next_chan); in select_channel() local 109 return chan_idx % iproc_priv.spu.num_chan; in select_channel() 244 u8 chan_idx) in mailbox_send_message() argument 250 err = mbox_send_message(iproc_priv.mbox[chan_idx], mssg); in mailbox_send_message() 259 err = mbox_send_message(iproc_priv.mbox[chan_idx], in mailbox_send_message() 277 mbox_client_txdone(iproc_priv.mbox[chan_idx], err); in mailbox_send_message() 458 err = mailbox_send_message(mssg, req->base.flags, rctx->chan_idx); in handle_skcipher_req() 879 err = mailbox_send_message(mssg, req->base.flags, rctx->chan_idx); in handle_ahash_req() 1517 err = mailbox_send_message(mssg, req->base.flags, rctx->chan_idx); in handle_aead_req() 1754 rctx->chan_idx = select_channel(); in skcipher_enqueue() [all …]
|
H A D | cipher.h | 258 u8 chan_idx; /* Mailbox channel to be used to submit this request */ member
|
/openbmc/linux/include/linux/ |
H A D | edac.h | 420 int chan_idx; member
|
/openbmc/linux/drivers/hwtracing/coresight/ |
H A D | coresight-cti-sysfs.c | 538 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()
|
/openbmc/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | rtw8852c.c | 916 u8 chan_idx; in rtw8852c_ctrl_ch() local 1025 chan_idx = rtw89_encode_chan_idx(rtwdev, chan->primary_channel, band); in rtw8852c_ctrl_ch() 1026 rtw89_phy_write32_idx(rtwdev, R_MAC_PIN_SEL, B_CH_IDX_SEG0, chan_idx, phy_idx); in rtw8852c_ctrl_ch() 2673 u8 chan_idx = phy_ppdu->chan_idx; in rtw8852c_fill_freq_with_ppdu() local 2677 if (chan_idx == 0) in rtw8852c_fill_freq_with_ppdu() 2680 rtw89_decode_chan_idx(rtwdev, chan_idx, &ch, &band); in rtw8852c_fill_freq_with_ppdu()
|
H A D | phy.c | 4693 u8 chan_idx; in rtw89_encode_chan_idx() local 4699 chan_idx = FIELD_PREP(RTW89_CH_BASE_IDX_MASK, RTW89_CH_BASE_IDX_2G) | in rtw89_encode_chan_idx() 4701 return chan_idx; in rtw89_encode_chan_idx() 4724 chan_idx = FIELD_PREP(RTW89_CH_BASE_IDX_MASK, idx) | in rtw89_encode_chan_idx() 4727 return chan_idx; in rtw89_encode_chan_idx() 4731 void rtw89_decode_chan_idx(struct rtw89_dev *rtwdev, u8 chan_idx, in rtw89_decode_chan_idx() argument 4736 idx = FIELD_GET(RTW89_CH_BASE_IDX_MASK, chan_idx); in rtw89_decode_chan_idx() 4737 offset = FIELD_GET(RTW89_CH_OFFSET_MASK, chan_idx); in rtw89_decode_chan_idx()
|
H A D | rtw8851b.c | 1462 u8 band = chan->band_type, chan_idx; in rtw8851b_set_channel_bb() local 1487 chan_idx = rtw89_encode_chan_idx(rtwdev, chan->primary_channel, band); in rtw8851b_set_channel_bb() 1488 rtw89_phy_write32_mask(rtwdev, R_MAC_PIN_SEL, B_CH_IDX_SEG0, chan_idx); in rtw8851b_set_channel_bb() 2199 u16 chan = phy_ppdu->chan_idx; in rtw8851b_fill_freq_with_ppdu()
|
H A D | phy.h | 663 void rtw89_decode_chan_idx(struct rtw89_dev *rtwdev, u8 chan_idx,
|
H A D | rtw8852b.c | 1441 u8 band = chan->band_type, chan_idx; in rtw8852b_set_channel_bb() local 1464 chan_idx = rtw89_encode_chan_idx(rtwdev, chan->primary_channel, band); in rtw8852b_set_channel_bb() 1465 rtw89_phy_write32_mask(rtwdev, R_MAC_PIN_SEL, B_CH_IDX_SEG0, chan_idx); in rtw8852b_set_channel_bb() 2368 u16 chan = phy_ppdu->chan_idx; in rtw8852b_fill_freq_with_ppdu()
|
H A D | rtw8852a.c | 1989 u16 chan = phy_ppdu->chan_idx; in rtw8852a_fill_freq_with_ppdu()
|
H A D | core.c | 1337 phy_ppdu->chan_idx = le32_get_bits(ie->w0, RTW89_PHY_STS_IE01_W0_CH_IDX); in rtw89_core_parse_phy_status_ie01()
|
H A D | core.h | 768 u8 chan_idx; member
|
/openbmc/linux/drivers/edac/ |
H A D | edac_mc.c | 84 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()
|
/openbmc/qemu/hw/hyperv/ |
H A D | vmbus.c | 702 VMBusChannel *vmbus_device_channel(VMBusDevice *dev, uint32_t chan_idx) in vmbus_device_channel() argument 704 if (chan_idx >= dev->num_channels) { in vmbus_device_channel() 707 return &dev->channels[chan_idx]; in vmbus_device_channel()
|
/openbmc/linux/net/wireless/ |
H A D | reg.c | 2155 static void handle_reg_beacon(struct wiphy *wiphy, unsigned int chan_idx, in handle_reg_beacon() 2164 chan = &sband->channels[chan_idx]; in handle_reg_beacon() 2154 handle_reg_beacon(struct wiphy * wiphy,unsigned int chan_idx,struct reg_beacon * reg_beacon) handle_reg_beacon() argument
|
/openbmc/linux/sound/pci/hda/ |
H A D | patch_hdmi.c | 4188 int chan_idx = 7 - atihdmi_paired_swap_fc_lfe(j); in atihdmi_paired_chmap_validate() local 4189 if (cap->speakers[chan_idx] == mask) { in atihdmi_paired_chmap_validate()
|