Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mailbox/
H A Dmailbox-sti.c101 struct sti_channel *chan_info; in sti_mbox_to_channel() local
106 if (chan_info && in sti_mbox_to_channel()
217 struct sti_channel *chan_info; in sti_mbox_irq_handler() local
226 chan_info = chan->con_priv; in sti_mbox_irq_handler()
344 if (chan_info && in sti_mbox_xlate()
357 if (!chan && !chan_info) in sti_mbox_xlate()
366 chan_info = devm_kzalloc(mbox->dev, sizeof(*chan_info), GFP_KERNEL); in sti_mbox_xlate()
367 if (!chan_info) in sti_mbox_xlate()
370 chan_info->mdev = mdev; in sti_mbox_xlate()
372 chan_info->channel = channel; in sti_mbox_xlate()
[all …]
H A Darm_mhu_db.c63 struct mhu_db_channel *chan_info; in mhu_db_mbox_to_channel() local
67 if (chan_info && chan_info->pchan == pchan && in mhu_db_mbox_to_channel()
78 void __iomem *base = chan_info->mhu->mlink[chan_info->pchan].rx_reg; in mhu_db_mbox_clear_irq()
140 void __iomem *base = chan_info->mhu->mlink[chan_info->pchan].tx_reg; in mhu_db_last_tx_done()
151 void __iomem *base = chan_info->mhu->mlink[chan_info->pchan].tx_reg; in mhu_db_send_data()
224 chan_info = devm_kzalloc(mbox->dev, sizeof(*chan_info), GFP_KERNEL); in mhu_db_mbox_xlate()
225 if (!chan_info) in mhu_db_mbox_xlate()
228 chan_info->mhu = mhu; in mhu_db_mbox_xlate()
229 chan_info->pchan = pchan; in mhu_db_mbox_xlate()
230 chan_info->doorbell = doorbell; in mhu_db_mbox_xlate()
[all …]
H A 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()
/openbmc/linux/drivers/iio/adc/
H A Dad4130.c636 chan_info->slot = AD4130_INVALID_SLOT; in ad4130_unlink_channel()
647 if (!chan_info->initialized || chan_info->slot != slot) in ad4130_unlink_slot()
669 chan_info->slot = slot; in ad4130_link_channel_slot()
781 if (chan_info->enabled == status) in ad4130_set_channel_enable()
799 chan_info->enabled = status; in ad4130_set_channel_enable()
1571 struct ad4130_chan_info *chan_info; in ad4130_parse_fw_channel() local
1580 chan_info = &st->chans_info[index]; in ad4130_parse_fw_channel()
1587 chan_info->slot = AD4130_INVALID_SLOT; in ad4130_parse_fw_channel()
1589 chan_info->initialized = true; in ad4130_parse_fw_channel()
1608 &chan_info->iout0); in ad4130_parse_fw_channel()
[all …]
H A Dad7266.c363 const struct ad7266_chan_info *chan_info; in ad7266_init_channels() local
371 chan_info = &ad7266_chan_infos[i]; in ad7266_init_channels()
373 indio_dev->channels = chan_info->channels; in ad7266_init_channels()
374 indio_dev->num_channels = chan_info->num_channels; in ad7266_init_channels()
375 indio_dev->available_scan_masks = chan_info->scan_masks; in ad7266_init_channels()
376 indio_dev->masklength = chan_info->num_channels - 1; in ad7266_init_channels()
H A Dda9150-gpadc.c250 #define DA9150_GPADC_CHANNEL(_id, _hw_id, _type, chan_info, \ argument
256 .info_mask_separate = chan_info, \
H A Dtwl6030-gpadc.c801 #define TWL6030_GPADC_CHAN(chn, _type, chan_info) { \ argument
804 .info_mask_separate = BIT(chan_info), \
H A Dpalmas_gpadc.c800 #define PALMAS_ADC_CHAN_IIO(chan, _type, chan_info) \ argument
805 BIT(chan_info), \
/openbmc/linux/include/linux/platform_data/
H A Damd_xdma.h20 #define XDMA_FILTER_PARAM(chan_info) ((void *)(chan_info)) argument
/openbmc/u-boot/drivers/ram/rockchip/
H A Dsdram_rk3399.c25 struct chan_info { struct
34 struct chan_info chan[2]; argument
111 static void set_memory_map(const struct chan_info *chan, u32 channel, in set_memory_map()
155 static void set_ds_odt(const struct chan_info *chan, in set_ds_odt()
294 static int phy_io_config(const struct chan_info *chan, in phy_io_config()
455 static int pctl_cfg(const struct chan_info *chan, u32 channel, in pctl_cfg()
564 static void select_per_cs_training_index(const struct chan_info *chan, in select_per_cs_training_index()
611 static int data_training_ca(const struct chan_info *chan, u32 channel, in data_training_ca()
855 static int data_training(const struct chan_info *chan, u32 channel, in data_training()
905 static void set_ddrconfig(const struct chan_info *chan, in set_ddrconfig()
[all …]
H A Dsdram_rk3188.c27 struct chan_info { struct
34 struct chan_info chan[1]; argument
255 static void phy_cfg(const struct chan_info *chan, int channel, in phy_cfg()
376 static void set_bandwidth_ratio(const struct chan_info *chan, int channel, in set_bandwidth_ratio()
414 static int data_training(const struct chan_info *chan, int channel, in data_training()
477 static void move_to_access_state(const struct chan_info *chan) in move_to_access_state()
518 static void dram_cfg_rbc(const struct chan_info *chan, u32 chnum, in dram_cfg_rbc()
569 const struct chan_info *chan = &dram->chan[channel]; in sdram_rank_bw_detect()
630 const struct chan_info *chan = &dram->chan[channel]; in sdram_col_row_detect()
729 const struct chan_info *chan = &dram->chan[channel]; in sdram_init()
H A Dsdram_rk3288.c29 struct chan_info { struct
36 struct chan_info chan[2]; argument
289 static void phy_cfg(const struct chan_info *chan, int channel, in phy_cfg()
434 static void set_bandwidth_ratio(const struct chan_info *chan, int channel, in set_bandwidth_ratio()
472 static int data_training(const struct chan_info *chan, int channel, in data_training()
535 static void move_to_access_state(const struct chan_info *chan) in move_to_access_state()
575 static void dram_cfg_rbc(const struct chan_info *chan, u32 chnum, in dram_cfg_rbc()
622 const struct chan_info *chan = &dram->chan[channel]; in sdram_rank_bw_detect()
675 const struct chan_info *chan = &dram->chan[channel]; in sdram_col_row_detect()
805 const struct chan_info *chan = &dram->chan[channel]; in sdram_init()
H A Dsdram_rk322x.c26 struct chan_info { struct
33 struct chan_info chan[1]; argument
162 static void memory_init(struct chan_info *chan, in memory_init()
230 static u32 data_training(struct chan_info *chan) in data_training()
468 static void phy_cfg(struct chan_info *chan, in phy_cfg()
531 void dram_cfg_rbc(struct chan_info *chan, in dram_cfg_rbc()
/openbmc/linux/drivers/media/platform/ti/vpe/
H A 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()
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A 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()
/openbmc/linux/drivers/net/wireless/ath/ath12k/
H A Dwmi.c2451 struct ath12k_wmi_channel_params *chan_info; in ath12k_wmi_send_scan_chan_list_cmd() local
2463 sizeof(*chan_info); in ath12k_wmi_send_scan_chan_list_cmd()
2488 len = sizeof(*chan_info) * num_send_chans; in ath12k_wmi_send_scan_chan_list_cmd()
2495 chan_info = ptr; in ath12k_wmi_send_scan_chan_list_cmd()
2496 memset(chan_info, 0, sizeof(*chan_info)); in ath12k_wmi_send_scan_chan_list_cmd()
2497 len = sizeof(*chan_info); in ath12k_wmi_send_scan_chan_list_cmd()
2501 reg1 = &chan_info->reg_info_1; in ath12k_wmi_send_scan_chan_list_cmd()
2502 reg2 = &chan_info->reg_info_2; in ath12k_wmi_send_scan_chan_list_cmd()
2518 chan_info->info |= in ath12k_wmi_send_scan_chan_list_cmd()
2542 i, chan_info->mhz, chan_info->info); in ath12k_wmi_send_scan_chan_list_cmd()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A 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()
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()
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()
2495 chan_info->mhz = tchan_info->mhz; in ath11k_wmi_send_scan_chan_list_cmd()
2512 chan_info->info |= WMI_CHAN_INFO_PSC; in ath11k_wmi_send_scan_chan_list_cmd()
2533 i, chan_info->mhz, chan_info->info); in ath11k_wmi_send_scan_chan_list_cmd()
[all …]
/openbmc/linux/drivers/dma/xilinx/
H A 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()
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/
H A 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()
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dwmi.h3330 struct wmi_channel chan_info[]; member
H A Dwmi.c7576 skb = ath10k_wmi_alloc_skb(ar, struct_size(cmd, chan_info, arg->n_channels)); in ath10k_wmi_op_gen_scan_chan_list()
7585 ci = &cmd->chan_info[i]; in ath10k_wmi_op_gen_scan_chan_list()