Home
last modified time | relevance | path

Searched refs:chan_info (Results 1 – 18 of 18) sorted by relevance

/linux-6.12.1/drivers/mailbox/
Dmailbox-sti.c88 struct sti_channel *chan_info = chan->con_priv; in sti_mbox_channel_is_enabled() local
89 struct sti_mbox_device *mdev = chan_info->mdev; in sti_mbox_channel_is_enabled()
90 unsigned int instance = chan_info->instance; in sti_mbox_channel_is_enabled()
91 unsigned int channel = chan_info->channel; in sti_mbox_channel_is_enabled()
101 struct sti_channel *chan_info; in sti_mbox_to_channel() local
105 chan_info = mbox->chans[i].con_priv; in sti_mbox_to_channel()
106 if (chan_info && in sti_mbox_to_channel()
107 chan_info->instance == instance && in sti_mbox_to_channel()
108 chan_info->channel == channel) in sti_mbox_to_channel()
121 struct sti_channel *chan_info = chan->con_priv; in sti_mbox_enable_channel() local
[all …]
Darm_mhu_db.c63 struct mhu_db_channel *chan_info; in mhu_db_mbox_to_channel() local
66 chan_info = mbox->chans[i].con_priv; in mhu_db_mbox_to_channel()
67 if (chan_info && chan_info->pchan == pchan && in mhu_db_mbox_to_channel()
68 chan_info->doorbell == doorbell) in mhu_db_mbox_to_channel()
77 struct mhu_db_channel *chan_info = chan->con_priv; in mhu_db_mbox_clear_irq() local
78 void __iomem *base = chan_info->mhu->mlink[chan_info->pchan].rx_reg; in mhu_db_mbox_clear_irq()
80 writel_relaxed(BIT(chan_info->doorbell), base + INTR_CLR_OFS); in mhu_db_mbox_clear_irq()
139 struct mhu_db_channel *chan_info = chan->con_priv; in mhu_db_last_tx_done() local
140 void __iomem *base = chan_info->mhu->mlink[chan_info->pchan].tx_reg; in mhu_db_last_tx_done()
142 if (readl_relaxed(base + INTR_STAT_OFS) & BIT(chan_info->doorbell)) in mhu_db_last_tx_done()
[all …]
Dpcc.c117 static struct pcc_chan_info *chan_info; variable
344 pchan = chan_info + subspace_id; in pcc_mbox_request_channel()
725 chan_info = devm_kcalloc(dev, count, sizeof(*chan_info), GFP_KERNEL); in pcc_mbox_probe()
726 if (!chan_info) { in pcc_mbox_probe()
746 struct pcc_chan_info *pchan = chan_info + i; in pcc_mbox_probe()
/linux-6.12.1/drivers/iio/adc/
Dad4130.c633 struct ad4130_chan_info *chan_info = &st->chans_info[channel]; in ad4130_unlink_channel() local
634 struct ad4130_slot_info *slot_info = &st->slots_info[chan_info->slot]; in ad4130_unlink_channel()
636 chan_info->slot = AD4130_INVALID_SLOT; in ad4130_unlink_channel()
645 struct ad4130_chan_info *chan_info = &st->chans_info[i]; in ad4130_unlink_slot() local
647 if (!chan_info->initialized || chan_info->slot != slot) in ad4130_unlink_slot()
660 struct ad4130_chan_info *chan_info = &st->chans_info[channel]; in ad4130_link_channel_slot() local
669 chan_info->slot = slot; in ad4130_link_channel_slot()
709 struct ad4130_chan_info *chan_info = &st->chans_info[channel]; in ad4130_write_channel_setup() local
710 struct ad4130_setup_info *setup_info = &chan_info->setup; in ad4130_write_channel_setup()
740 if (on_enable && chan_info->slot != AD4130_INVALID_SLOT) in ad4130_write_channel_setup()
[all …]
Dad7266.c365 const struct ad7266_chan_info *chan_info; in ad7266_init_channels() local
373 chan_info = &ad7266_chan_infos[i]; in ad7266_init_channels()
375 indio_dev->channels = chan_info->channels; in ad7266_init_channels()
376 indio_dev->num_channels = chan_info->num_channels; in ad7266_init_channels()
377 indio_dev->available_scan_masks = chan_info->scan_masks; in ad7266_init_channels()
Dda9150-gpadc.c250 #define DA9150_GPADC_CHANNEL(_id, _hw_id, _type, chan_info, \ argument
256 .info_mask_separate = chan_info, \
Dtwl6030-gpadc.c802 #define TWL6030_GPADC_CHAN(chn, _type, chan_info) { \ argument
805 .info_mask_separate = BIT(chan_info), \
Dpalmas_gpadc.c800 #define PALMAS_ADC_CHAN_IIO(chan, _type, chan_info) \ argument
805 BIT(chan_info), \
/linux-6.12.1/include/linux/platform_data/
Damd_xdma.h20 #define XDMA_FILTER_PARAM(chan_info) ((void *)(chan_info)) argument
/linux-6.12.1/drivers/media/platform/ti/vpe/
Dvpdma.c233 static const struct vpdma_channel_info chan_info[] = { variable
714 ctd->type_source_ctl = ctd_type_source_ctl(chan_info[chan].num, in vpdma_add_sync_on_channel_ctd()
813 max_w, max_h, chan_info[chan].num, flags); in vpdma_add_out_dtd()
899 channel = next_chan = chan_info[chan].num; in vpdma_add_in_dtd()
1044 int client_cstat = chan_info[chan].cstat_offset; in vpdma_set_line_mode()
1059 int client_cstat = chan_info[chan].cstat_offset; in vpdma_set_frame_start_event()
/linux-6.12.1/drivers/net/wireless/marvell/mwifiex/
Dsta_event.c414 struct mwifiex_ie_types_multi_chan_info *chan_info; in mwifiex_process_multi_chan_event() local
423 chan_info = (void *)event_skb->data + sizeof(u32); in mwifiex_process_multi_chan_event()
425 if (le16_to_cpu(chan_info->header.type) != TLV_TYPE_MULTI_CHAN_INFO || in mwifiex_process_multi_chan_event()
432 adapter->usb_mc_status = le16_to_cpu(chan_info->status); in mwifiex_process_multi_chan_event()
437 tlv = (struct mwifiex_ie_types_header *)chan_info->tlv_buffer; in mwifiex_process_multi_chan_event()
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7925/
Dmcu.c2663 struct scan_chan_info_tlv *chan_info; in mt7925_mcu_hw_scan() local
2670 sizeof(*bssid) + sizeof(*chan_info) + in mt7925_mcu_hw_scan()
2716 tlv = mt76_connac_mcu_add_tlv(skb, UNI_SCAN_CHANNEL, sizeof(*chan_info)); in mt7925_mcu_hw_scan()
2717 chan_info = (struct scan_chan_info_tlv *)tlv; in mt7925_mcu_hw_scan()
2718 chan_info->channels_num = min_t(u8, sreq->n_channels, in mt7925_mcu_hw_scan()
2719 ARRAY_SIZE(chan_info->channels)); in mt7925_mcu_hw_scan()
2720 for (i = 0; i < chan_info->channels_num; i++) { in mt7925_mcu_hw_scan()
2721 chan = &chan_info->channels[i]; in mt7925_mcu_hw_scan()
2736 chan_info->channel_type = sreq->n_channels ? 4 : 0; in mt7925_mcu_hw_scan()
2778 struct scan_chan_info_tlv *chan_info; in mt7925_mcu_sched_scan_req() local
[all …]
/linux-6.12.1/drivers/net/wireless/ath/ath12k/
Dwmi.c2542 struct ath12k_wmi_channel_params *chan_info; in ath12k_wmi_send_scan_chan_list_cmd() local
2554 sizeof(*chan_info); in ath12k_wmi_send_scan_chan_list_cmd()
2559 len += sizeof(*chan_info) * num_send_chans; in ath12k_wmi_send_scan_chan_list_cmd()
2579 len = sizeof(*chan_info) * num_send_chans; in ath12k_wmi_send_scan_chan_list_cmd()
2586 chan_info = ptr; in ath12k_wmi_send_scan_chan_list_cmd()
2587 memset(chan_info, 0, sizeof(*chan_info)); in ath12k_wmi_send_scan_chan_list_cmd()
2588 len = sizeof(*chan_info); in ath12k_wmi_send_scan_chan_list_cmd()
2589 chan_info->tlv_header = ath12k_wmi_tlv_cmd_hdr(WMI_TAG_CHANNEL, in ath12k_wmi_send_scan_chan_list_cmd()
2592 reg1 = &chan_info->reg_info_1; in ath12k_wmi_send_scan_chan_list_cmd()
2593 reg2 = &chan_info->reg_info_2; in ath12k_wmi_send_scan_chan_list_cmd()
[all …]
/linux-6.12.1/drivers/net/wireless/ath/ath11k/
Dwmi.c2546 struct wmi_channel *chan_info; in ath11k_wmi_send_scan_chan_list_cmd() local
2558 sizeof(*chan_info); in ath11k_wmi_send_scan_chan_list_cmd()
2566 len += sizeof(*chan_info) * num_send_chans; in ath11k_wmi_send_scan_chan_list_cmd()
2586 len = sizeof(*chan_info) * num_send_chans; in ath11k_wmi_send_scan_chan_list_cmd()
2593 chan_info = ptr; in ath11k_wmi_send_scan_chan_list_cmd()
2594 memset(chan_info, 0, sizeof(*chan_info)); in ath11k_wmi_send_scan_chan_list_cmd()
2595 len = sizeof(*chan_info); in ath11k_wmi_send_scan_chan_list_cmd()
2596 chan_info->tlv_header = FIELD_PREP(WMI_TLV_TAG, in ath11k_wmi_send_scan_chan_list_cmd()
2601 reg1 = &chan_info->reg_info_1; in ath11k_wmi_send_scan_chan_list_cmd()
2602 reg2 = &chan_info->reg_info_2; in ath11k_wmi_send_scan_chan_list_cmd()
[all …]
/linux-6.12.1/drivers/net/wireless/intel/iwlegacy/
D4965.c667 struct il_eeprom_calib_ch_info *chan_info) in il4965_interpolate_chan() argument
686 chan_info->ch_num = (u8) channel; in il4965_interpolate_chan()
697 omeas = &(chan_info->measurements[c][m]); in il4965_interpolate_chan()
/linux-6.12.1/drivers/dma/xilinx/
Dxdma.c1109 struct xdma_chan_info *chan_info = param; in xdma_filter_fn() local
1111 return chan_info->dir == xdma_chan->dir; in xdma_filter_fn()
/linux-6.12.1/drivers/net/wireless/ath/ath10k/
Dwmi.h3365 struct wmi_channel chan_info[]; member
Dwmi.c7620 skb = ath10k_wmi_alloc_skb(ar, struct_size(cmd, chan_info, arg->n_channels)); in ath10k_wmi_op_gen_scan_chan_list()
7629 ci = &cmd->chan_info[i]; in ath10k_wmi_op_gen_scan_chan_list()