Home
last modified time | relevance | path

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

/linux-6.1.9/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.c64 struct mhu_db_channel *chan_info; in mhu_db_mbox_to_channel() local
67 chan_info = mbox->chans[i].con_priv; in mhu_db_mbox_to_channel()
68 if (chan_info && chan_info->pchan == pchan && in mhu_db_mbox_to_channel()
69 chan_info->doorbell == doorbell) in mhu_db_mbox_to_channel()
78 struct mhu_db_channel *chan_info = chan->con_priv; in mhu_db_mbox_clear_irq() local
79 void __iomem *base = chan_info->mhu->mlink[chan_info->pchan].rx_reg; in mhu_db_mbox_clear_irq()
81 writel_relaxed(BIT(chan_info->doorbell), base + INTR_CLR_OFS); in mhu_db_mbox_clear_irq()
140 struct mhu_db_channel *chan_info = chan->con_priv; in mhu_db_last_tx_done() local
141 void __iomem *base = chan_info->mhu->mlink[chan_info->pchan].tx_reg; in mhu_db_last_tx_done()
143 if (readl_relaxed(base + INTR_STAT_OFS) & BIT(chan_info->doorbell)) in mhu_db_last_tx_done()
[all …]
Dpcc.c106 static struct pcc_chan_info *chan_info; variable
291 pchan = chan_info + subspace_id; in pcc_mbox_request_channel()
651 chan_info = devm_kcalloc(dev, count, sizeof(*chan_info), GFP_KERNEL); in pcc_mbox_probe()
652 if (!chan_info) { in pcc_mbox_probe()
672 struct pcc_chan_info *pchan = chan_info + i; in pcc_mbox_probe()
/linux-6.1.9/drivers/iio/adc/
Dad7266.c361 const struct ad7266_chan_info *chan_info; in ad7266_init_channels() local
369 chan_info = &ad7266_chan_infos[i]; in ad7266_init_channels()
371 indio_dev->channels = chan_info->channels; in ad7266_init_channels()
372 indio_dev->num_channels = chan_info->num_channels; in ad7266_init_channels()
373 indio_dev->available_scan_masks = chan_info->scan_masks; in ad7266_init_channels()
374 indio_dev->masklength = chan_info->num_channels - 1; 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.c789 #define TWL6030_GPADC_CHAN(chn, _type, chan_info) { \ argument
792 .info_mask_separate = BIT(chan_info), \
Dpalmas_gpadc.c439 #define PALMAS_ADC_CHAN_IIO(chan, _type, chan_info) \ argument
444 BIT(chan_info), \
/linux-6.1.9/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.1.9/drivers/net/wireless/marvell/mwifiex/
Dsta_event.c407 struct mwifiex_ie_types_multi_chan_info *chan_info; in mwifiex_process_multi_chan_event() local
416 chan_info = (void *)event_skb->data + sizeof(u32); in mwifiex_process_multi_chan_event()
418 if (le16_to_cpu(chan_info->header.type) != TLV_TYPE_MULTI_CHAN_INFO || in mwifiex_process_multi_chan_event()
425 adapter->usb_mc_status = le16_to_cpu(chan_info->status); in mwifiex_process_multi_chan_event()
430 tlv = (struct mwifiex_ie_types_header *)chan_info->tlv_buffer; in mwifiex_process_multi_chan_event()
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Dwmi.c2395 struct wmi_channel *chan_info; in ath11k_wmi_send_scan_chan_list_cmd() local
2407 sizeof(*chan_info); in ath11k_wmi_send_scan_chan_list_cmd()
2415 len += sizeof(*chan_info) * num_send_chans; in ath11k_wmi_send_scan_chan_list_cmd()
2435 len = sizeof(*chan_info) * num_send_chans; in ath11k_wmi_send_scan_chan_list_cmd()
2442 chan_info = ptr; in ath11k_wmi_send_scan_chan_list_cmd()
2443 memset(chan_info, 0, sizeof(*chan_info)); in ath11k_wmi_send_scan_chan_list_cmd()
2444 len = sizeof(*chan_info); in ath11k_wmi_send_scan_chan_list_cmd()
2445 chan_info->tlv_header = FIELD_PREP(WMI_TLV_TAG, in ath11k_wmi_send_scan_chan_list_cmd()
2450 reg1 = &chan_info->reg_info_1; in ath11k_wmi_send_scan_chan_list_cmd()
2451 reg2 = &chan_info->reg_info_2; in ath11k_wmi_send_scan_chan_list_cmd()
[all …]
/linux-6.1.9/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.1.9/drivers/net/wireless/ath/ath10k/
Dwmi.h3330 struct wmi_channel chan_info[]; member
Dwmi.c7555 skb = ath10k_wmi_alloc_skb(ar, struct_size(cmd, chan_info, arg->n_channels)); in ath10k_wmi_op_gen_scan_chan_list()
7564 ci = &cmd->chan_info[i]; in ath10k_wmi_op_gen_scan_chan_list()