Home
last modified time | relevance | path

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

/Linux-v6.6/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.c106 static struct pcc_chan_info *chan_info; variable
290 pchan = chan_info + subspace_id; in pcc_mbox_request_channel()
657 chan_info = devm_kcalloc(dev, count, sizeof(*chan_info), GFP_KERNEL); in pcc_mbox_probe()
658 if (!chan_info) { in pcc_mbox_probe()
678 struct pcc_chan_info *pchan = chan_info + i; in pcc_mbox_probe()
/Linux-v6.6/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.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.c801 #define TWL6030_GPADC_CHAN(chn, _type, chan_info) { \ argument
804 .info_mask_separate = BIT(chan_info), \
Dpalmas_gpadc.c800 #define PALMAS_ADC_CHAN_IIO(chan, _type, chan_info) \ argument
805 BIT(chan_info), \
/Linux-v6.6/include/linux/platform_data/
Damd_xdma.h20 #define XDMA_FILTER_PARAM(chan_info) ((void *)(chan_info)) argument
/Linux-v6.6/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-v6.6/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-v6.6/drivers/net/wireless/ath/ath12k/
Dwmi.c2450 struct ath12k_wmi_channel_params *chan_info; in ath12k_wmi_send_scan_chan_list_cmd() local
2462 sizeof(*chan_info); in ath12k_wmi_send_scan_chan_list_cmd()
2467 len += sizeof(*chan_info) * num_send_chans; in ath12k_wmi_send_scan_chan_list_cmd()
2487 len = sizeof(*chan_info) * num_send_chans; in ath12k_wmi_send_scan_chan_list_cmd()
2494 chan_info = ptr; in ath12k_wmi_send_scan_chan_list_cmd()
2495 memset(chan_info, 0, sizeof(*chan_info)); in ath12k_wmi_send_scan_chan_list_cmd()
2496 len = sizeof(*chan_info); in ath12k_wmi_send_scan_chan_list_cmd()
2497 chan_info->tlv_header = ath12k_wmi_tlv_cmd_hdr(WMI_TAG_CHANNEL, in ath12k_wmi_send_scan_chan_list_cmd()
2500 reg1 = &chan_info->reg_info_1; in ath12k_wmi_send_scan_chan_list_cmd()
2501 reg2 = &chan_info->reg_info_2; in ath12k_wmi_send_scan_chan_list_cmd()
[all …]
/Linux-v6.6/drivers/net/wireless/ath/ath11k/
Dwmi.c2438 struct wmi_channel *chan_info; in ath11k_wmi_send_scan_chan_list_cmd() local
2450 sizeof(*chan_info); in ath11k_wmi_send_scan_chan_list_cmd()
2458 len += sizeof(*chan_info) * num_send_chans; in ath11k_wmi_send_scan_chan_list_cmd()
2478 len = sizeof(*chan_info) * num_send_chans; in ath11k_wmi_send_scan_chan_list_cmd()
2485 chan_info = ptr; in ath11k_wmi_send_scan_chan_list_cmd()
2486 memset(chan_info, 0, sizeof(*chan_info)); in ath11k_wmi_send_scan_chan_list_cmd()
2487 len = sizeof(*chan_info); in ath11k_wmi_send_scan_chan_list_cmd()
2488 chan_info->tlv_header = FIELD_PREP(WMI_TLV_TAG, in ath11k_wmi_send_scan_chan_list_cmd()
2493 reg1 = &chan_info->reg_info_1; in ath11k_wmi_send_scan_chan_list_cmd()
2494 reg2 = &chan_info->reg_info_2; in ath11k_wmi_send_scan_chan_list_cmd()
[all …]
/Linux-v6.6/drivers/dma/xilinx/
Dxdma.c768 struct xdma_chan_info *chan_info = param; in xdma_filter_fn() local
770 return chan_info->dir == xdma_chan->dir; in xdma_filter_fn()
/Linux-v6.6/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-v6.6/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()