Home
last modified time | relevance | path

Searched refs:ch_num (Results 1 – 25 of 42) sorted by relevance

12

/linux-6.3-rc2/drivers/usb/musb/
A Dux500_dma.c37 u8 ch_num; member
141 if (ch_num > 7) in ux500_dma_channel_allocate()
142 ch_num -= 8; in ux500_dma_channel_allocate()
243 u8 ch_num; in ux500_dma_controller_stop() local
245 for (ch_num = 0; ch_num < UX500_MUSB_DMA_NUM_RX_TX_CHANNELS; ch_num++) { in ux500_dma_controller_stop()
255 for (ch_num = 0; ch_num < UX500_MUSB_DMA_NUM_RX_TX_CHANNELS; ch_num++) { in ux500_dma_controller_stop()
275 u32 ch_num; in ux500_dma_controller_start() local
299 for (ch_num = 0; in ux500_dma_controller_start()
301 ch_num++) { in ux500_dma_controller_start()
304 ux500_channel->ch_num = ch_num; in ux500_dma_controller_start()
[all …]
A Dmusb_cppi41.c488 u8 ch_num = hw_ep->epnum - 1; in cppi41_dma_channel_allocate() local
490 if (ch_num >= controller->num_channels) in cppi41_dma_channel_allocate()
494 cppi41_channel = &controller->tx_channel[ch_num]; in cppi41_dma_channel_allocate()
496 cppi41_channel = &controller->rx_channel[ch_num]; in cppi41_dma_channel_allocate()
/linux-6.3-rc2/drivers/gpu/drm/imx/dcss/
A Ddcss-dev.h129 void dcss_dpr_set_res(struct dcss_dpr *dpr, int ch_num, u32 xres, u32 yres);
132 void dcss_dpr_enable(struct dcss_dpr *dpr, int ch_num, bool en);
133 void dcss_dpr_format_set(struct dcss_dpr *dpr, int ch_num,
135 void dcss_dpr_set_rotation(struct dcss_dpr *dpr, int ch_num, u32 rotation);
150 void dcss_dtg_plane_alpha_set(struct dcss_dtg *dtg, int ch_num,
152 void dcss_dtg_plane_pos_set(struct dcss_dtg *dtg, int ch_num,
154 void dcss_dtg_ch_enable(struct dcss_dtg *dtg, int ch_num, bool en);
168 void dcss_scaler_set_filter(struct dcss_scaler *scl, int ch_num,
170 void dcss_scaler_setup(struct dcss_scaler *scl, int ch_num,
174 void dcss_scaler_ch_enable(struct dcss_scaler *scl, int ch_num, bool en);
[all …]
A Ddcss-plane.c312 dcss_dpr_format_set(dcss->dpr, dcss_plane->ch_num, in dcss_plane_atomic_update()
317 dcss_dpr_set_rotation(dcss->dpr, dcss_plane->ch_num, in dcss_plane_atomic_update()
325 dcss_scaler_set_filter(dcss->scaler, dcss_plane->ch_num, in dcss_plane_atomic_update()
328 dcss_scaler_setup(dcss->scaler, dcss_plane->ch_num, in dcss_plane_atomic_update()
335 dcss_dtg_plane_pos_set(dcss->dtg, dcss_plane->ch_num, in dcss_plane_atomic_update()
337 dcss_dtg_plane_alpha_set(dcss->dtg, dcss_plane->ch_num, in dcss_plane_atomic_update()
340 if (!dcss_plane->ch_num && (new_state->alpha >> 8) == 0) in dcss_plane_atomic_update()
343 dcss_dpr_enable(dcss->dpr, dcss_plane->ch_num, enable); in dcss_plane_atomic_update()
347 dcss_dtg_plane_pos_set(dcss->dtg, dcss_plane->ch_num, in dcss_plane_atomic_update()
359 dcss_dpr_enable(dcss->dpr, dcss_plane->ch_num, false); in dcss_plane_atomic_disable()
[all …]
A Ddcss-dtg.c258 void dcss_dtg_plane_pos_set(struct dcss_dtg *dtg, int ch_num, in dcss_dtg_plane_pos_set() argument
270 dcss_dtg_write(dtg, 0, DCSS_DTG_TC_CH1_TOP + 0x8 * ch_num); in dcss_dtg_plane_pos_set()
271 dcss_dtg_write(dtg, 0, DCSS_DTG_TC_CH1_BOT + 0x8 * ch_num); in dcss_dtg_plane_pos_set()
274 DCSS_DTG_TC_CH1_TOP + 0x8 * ch_num); in dcss_dtg_plane_pos_set()
276 DCSS_DTG_TC_CH1_BOT + 0x8 * ch_num); in dcss_dtg_plane_pos_set()
282 if (ch_num) in dcss_dtg_global_alpha_changed()
288 void dcss_dtg_plane_alpha_set(struct dcss_dtg *dtg, int ch_num, in dcss_dtg_plane_alpha_set() argument
292 if (ch_num) in dcss_dtg_plane_alpha_set()
340 void dcss_dtg_ch_enable(struct dcss_dtg *dtg, int ch_num, bool en) in dcss_dtg_ch_enable() argument
345 control_status = dtg->control_status & ~ch_en_map[ch_num]; in dcss_dtg_ch_enable()
[all …]
A Ddcss-dpr.c109 int ch_num; member
146 ch->ch_num = i; in dcss_dpr_ch_init_all()
232 void dcss_dpr_set_res(struct dcss_dpr *dpr, int ch_num, u32 xres, u32 yres) in dcss_dpr_set_res() argument
234 struct dcss_dpr_ch *ch = &dpr->ch[ch_num]; in dcss_dpr_set_res()
262 struct dcss_dpr_ch *ch = &dpr->ch[ch_num]; in dcss_dpr_addr_set()
340 void dcss_dpr_enable(struct dcss_dpr *dpr, int ch_num, bool en) in dcss_dpr_enable() argument
342 struct dcss_dpr_ch *ch = &dpr->ch[ch_num]; in dcss_dpr_enable()
477 switch (ch->ch_num) { in dcss_dpr_tile_set()
507 void dcss_dpr_format_set(struct dcss_dpr *dpr, int ch_num, in dcss_dpr_format_set() argument
510 struct dcss_dpr_ch *ch = &dpr->ch[ch_num]; in dcss_dpr_format_set()
[all …]
A Ddcss-scaler.c362 void dcss_scaler_ch_enable(struct dcss_scaler *scl, int ch_num, bool en) in dcss_scaler_ch_enable() argument
364 struct dcss_scaler_ch *ch = &scl->ch[ch_num]; in dcss_scaler_ch_enable()
576 int dcss_scaler_get_min_max_ratios(struct dcss_scaler *scl, int ch_num, in dcss_scaler_get_min_max_ratios() argument
579 *min = upscale_fp(dcss_scaler_factors[ch_num].upscale, 16); in dcss_scaler_get_min_max_ratios()
580 *max = downscale_fp(dcss_scaler_factors[ch_num].downscale, 16); in dcss_scaler_get_min_max_ratios()
775 void dcss_scaler_set_filter(struct dcss_scaler *scl, int ch_num, in dcss_scaler_set_filter() argument
778 struct dcss_scaler_ch *ch = &scl->ch[ch_num]; in dcss_scaler_set_filter()
783 void dcss_scaler_setup(struct dcss_scaler *scl, int ch_num, in dcss_scaler_setup() argument
788 struct dcss_scaler_ch *ch = &scl->ch[ch_num]; in dcss_scaler_setup()
A Ddcss-kms.h14 int ch_num; member
/linux-6.3-rc2/drivers/hwmon/
A Dpowr1220.c107 static int powr1220_read_adc(struct device *dev, int ch_num) in powr1220_read_adc() argument
117 !data->adc_valid[ch_num]) { in powr1220_read_adc()
124 if (data->adc_maxes[ch_num] > ADC_MAX_LOW_MEASUREMENT_MV || in powr1220_read_adc()
125 data->adc_maxes[ch_num] == 0) in powr1220_read_adc()
130 adc_range | ch_num); in powr1220_read_adc()
156 data->adc_values[ch_num] = reading; in powr1220_read_adc()
157 data->adc_valid[ch_num] = true; in powr1220_read_adc()
158 data->adc_last_updated[ch_num] = jiffies; in powr1220_read_adc()
161 if (reading > data->adc_maxes[ch_num]) in powr1220_read_adc()
162 data->adc_maxes[ch_num] = reading; in powr1220_read_adc()
[all …]
A Dmr75203.c633 u32 vm_num, u32 ch_num, u8 *vm_idx) in pvt_get_active_channel() argument
645 memset(vm_active_ch, ch_num, vm_num); in pvt_get_active_channel()
646 pvt->vm_channels.max = ch_num; in pvt_get_active_channel()
647 pvt->vm_channels.total = ch_num * vm_num; in pvt_get_active_channel()
650 if (vm_active_ch[i] > ch_num) { in pvt_get_active_channel()
769 u32 ts_num, vm_num, pd_num, ch_num, val, index, i; in mr75203_probe() local
808 ch_num = (val & CH_NUM_MSK) >> CH_NUM_SFT; in mr75203_probe()
878 ret = pvt_get_active_channel(dev, pvt, vm_num, ch_num, vm_idx); in mr75203_probe()
/linux-6.3-rc2/drivers/input/misc/
A Diqs269a.c293 unsigned int ch_num; member
304 if (ch_num >= IQS269_NUM_CH) in iqs269_ati_mode_set()
331 if (ch_num >= IQS269_NUM_CH) in iqs269_ati_mode_get()
350 if (ch_num >= IQS269_NUM_CH) in iqs269_ati_base_set()
395 if (ch_num >= IQS269_NUM_CH) in iqs269_ati_base_get()
430 if (ch_num >= IQS269_NUM_CH) in iqs269_ati_target_set()
457 if (ch_num >= IQS269_NUM_CH) in iqs269_ati_target_get()
1280 IQS269_CHx_COUNTS + iqs269->ch_num * 2, in counts_show()
1383 iqs269->ch_num = val; in ch_number_store()
1395 ch_reg[iqs269->ch_num].rx_enable); in rx_enable_show()
[all …]
/linux-6.3-rc2/drivers/bus/mhi/host/
A Dpci_generic.c56 .num = ch_num, \
71 .num = ch_num, \
86 .num = ch_num, \
115 .num = ch_num, \
130 .num = ch_num, \
145 .num = ch_num, \
160 .num = ch_num, \
175 .num = ch_num, \
190 .num = ch_num, \
216 #define MHI_EVENT_CONFIG_HW_DATA(ev_ring, el_count, ch_num) \ argument
[all …]
/linux-6.3-rc2/sound/soc/amd/
A Dacp-pcm-dma.c139 dma_ctrl = acp_reg_read(acp_mmio, mmACP_DMA_CNTL_0 + ch_num); in config_acp_dma_channel()
141 acp_reg_write(dma_ctrl, acp_mmio, mmACP_DMA_CNTL_0 + ch_num); in config_acp_dma_channel()
146 acp_mmio, mmACP_DMA_DSCR_STRT_IDX_0 + ch_num); in config_acp_dma_channel()
153 acp_mmio, mmACP_DMA_DSCR_CNT_0 + ch_num); in config_acp_dma_channel()
195 pr_err("Failed to clear reset of channel : %d\n", ch_num); in pre_config_reset()
431 switch (ch_num) { in acp_dma_start()
454 static int acp_dma_stop(void __iomem *acp_mmio, u8 ch_num) in acp_dma_stop() argument
472 if (dma_ch_sts & BIT(ch_num)) { in acp_dma_stop()
484 if (!(dma_ch_sts & BIT(ch_num))) { in acp_dma_stop()
492 + ch_num); in acp_dma_stop()
[all …]
/linux-6.3-rc2/drivers/most/
A Dmost_snd.c416 static int split_arg_list(char *buf, u16 *ch_num, char **sample_res) in split_arg_list() argument
424 ret = kstrtou16(num, 0, ch_num); in split_arg_list()
449 u16 ch_num, char *sample_res, in audio_set_hw_params() argument
462 if (!ch_num) { in audio_set_hw_params()
467 if (cfg->subbuffer_size != ch_num * sinfo[i].bytes) { in audio_set_hw_params()
481 pcm_hw->channels_min = ch_num; in audio_set_hw_params()
482 pcm_hw->channels_max = ch_num; in audio_set_hw_params()
524 u16 ch_num; in audio_probe_channel() local
533 ret = split_arg_list(arg_list_cpy, &ch_num, &sample_res); in audio_probe_channel()
589 ret = audio_set_hw_params(&channel->pcm_hardware, ch_num, sample_res, in audio_probe_channel()
/linux-6.3-rc2/drivers/rapidio/
A Drio_cm.c1291 if (ch_num) { in riocm_ch_alloc()
1293 start = ch_num; in riocm_ch_alloc()
1294 end = ch_num + 1; in riocm_ch_alloc()
1354 *ch_num = ch->id; in riocm_ch_create()
1659 u16 ch_num; in cm_chan_create() local
1662 if (get_user(ch_num, p)) in cm_chan_create()
1685 u16 ch_num; in cm_chan_close() local
1688 if (get_user(ch_num, p)) in cm_chan_close()
1733 u16 ch_num; in cm_chan_listen() local
1735 if (get_user(ch_num, p)) in cm_chan_listen()
[all …]
/linux-6.3-rc2/drivers/dma/ti/
A Dedma.c222 int ch_num; member
685 echan->ch_num); in edma_alloc_channel()
768 j, echan->ch_num, echan->slot[i], in edma_execute()
811 echan->ch_num); in edma_execute()
815 echan->ch_num, edesc->processed); in edma_execute()
1431 i, echan->ch_num, echan->slot[i], in edma_prep_dma_cyclic()
1481 echan->ch_num); in edma_completion_handler()
1484 echan->ch_num); in edma_completion_handler()
1697 EDMA_CHAN_SLOT(echan->ch_num)); in edma_alloc_chan_resources()
1919 if (*memcpy_channels == ch_num) in edma_is_memcpy_channel()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Dumc_v8_10.h54 #define SWIZZLE_MODE_TMP_ADDR(na, ch_num, ch_idx) \ argument
55 ((((na) >> 10) * (ch_num) + (ch_idx)) << 10)
/linux-6.3-rc2/include/uapi/linux/
A Drio_cm_cdev.h52 __u16 ch_num; member
59 __u16 ch_num; member
/linux-6.3-rc2/drivers/i2c/busses/
A Di2c-eg20t.c162 int ch_num; member
629 for (i = 0, flag = 0; i < adap_info->ch_num; i++) { in pch_i2c_handler()
766 adap_info->ch_num = id->driver_data; in pch_i2c_probe()
768 for (i = 0; i < adap_info->ch_num; i++) { in pch_i2c_probe()
794 for (i = 0; i < adap_info->ch_num; i++) { in pch_i2c_probe()
833 for (i = 0; i < adap_info->ch_num; i++) { in pch_i2c_remove()
841 for (i = 0; i < adap_info->ch_num; i++) in pch_i2c_remove()
859 for (i = 0; i < adap_info->ch_num; i++) { in pch_i2c_suspend()
867 for (i = 0; i < adap_info->ch_num; i++) in pch_i2c_suspend()
883 for (i = 0; i < adap_info->ch_num; i++) in pch_i2c_resume()
/linux-6.3-rc2/drivers/dma/
A Dmoxart-dma.c140 int ch_num; member
351 __func__, ch->ch_num); in moxart_alloc_chan_resources()
364 __func__, ch->ch_num); in moxart_free_chan_resources()
594 ch->ch_num = i; in moxart_probe()
602 __func__, i, ch->ch_num, ch->base); in moxart_probe()
/linux-6.3-rc2/drivers/net/ethernet/ti/
A Dcpsw_ethtool.c238 static void cpsw_add_ch_strings(u8 **p, int ch_num, int rx_dir) in cpsw_add_ch_strings() argument
244 ch_stats_len = CPSW_STATS_CH_LEN * ch_num; in cpsw_add_ch_strings()
534 static int cpsw_update_channels_res(struct cpsw_priv *priv, int ch_num, int rx, in cpsw_update_channels_res() argument
553 while (*ch < ch_num) { in cpsw_update_channels_res()
570 while (*ch > ch_num) { in cpsw_update_channels_res()
/linux-6.3-rc2/arch/sh/include/asm/
A Ddma.h101 int ch_num; member
/linux-6.3-rc2/drivers/staging/rtl8723bs/include/
A Drtw_cmd.h243 u8 ch_num; member
583 …dapter, struct ndis_802_11_ssid *ssid, int ssid_num, struct rtw_ieee80211_channel *ch, int ch_num);
/linux-6.3-rc2/include/video/
A Dimx-ipu-v3.h165 static inline int ipu_channel_alpha_channel(int ch_num) in ipu_channel_alpha_channel() argument
167 switch (ch_num) { in ipu_channel_alpha_channel()
/linux-6.3-rc2/drivers/tty/serial/
A Drp2.c252 static void rp2_mask_ch_irq(struct rp2_uart_port *up, int ch_num, in rp2_mask_ch_irq() argument
261 irq_mask &= ~BIT(ch_num); in rp2_mask_ch_irq()
263 irq_mask |= BIT(ch_num); in rp2_mask_ch_irq()

Completed in 76 milliseconds

12