Home
last modified time | relevance | path

Searched defs:chan (Results 51 – 75 of 1470) sorted by relevance

12345678910>>...59

/Linux-v6.6/drivers/iio/adc/
Dxilinx-xadc-events.c32 const struct iio_chan_spec *chan; in xadc_handle_event() local
70 static unsigned int xadc_get_threshold_offset(const struct iio_chan_spec *chan, in xadc_get_threshold_offset()
90 static unsigned int xadc_get_alarm_mask(const struct iio_chan_spec *chan) in xadc_get_alarm_mask()
114 const struct iio_chan_spec *chan, enum iio_event_type type, in xadc_read_event_config()
123 const struct iio_chan_spec *chan, enum iio_event_type type, in xadc_write_event_config()
159 const struct iio_chan_spec *chan, enum iio_event_type type, in xadc_read_event_value()
184 const struct iio_chan_spec *chan, enum iio_event_type type, in xadc_write_event_value()
/Linux-v6.6/drivers/iio/dac/
Dti-dac082s085.c61 #define WRITE_NOT_UPDATE(chan) (0x00 | (chan) << 6) argument
62 #define WRITE_AND_UPDATE(chan) (0x10 | (chan) << 6) argument
80 const struct iio_chan_spec *chan) in ti_dac_get_powerdown_mode()
88 const struct iio_chan_spec *chan, in ti_dac_set_powerdown_mode()
119 const struct iio_chan_spec *chan, in ti_dac_read_powerdown()
129 const struct iio_chan_spec *chan, in ti_dac_write_powerdown()
167 #define TI_DAC_CHANNEL(chan) { \ argument
187 struct iio_chan_spec const *chan, in ti_dac_read_raw()
217 struct iio_chan_spec const *chan, in ti_dac_write_raw()
249 struct iio_chan_spec const *chan, long mask) in ti_dac_write_raw_get_fmt()
Dad7303.c53 static int ad7303_write(struct ad7303_state *st, unsigned int chan, in ad7303_write()
64 uintptr_t private, const struct iio_chan_spec *chan, char *buf) in ad7303_read_dac_powerdown()
73 uintptr_t private, const struct iio_chan_spec *chan, const char *buf, in ad7303_write_dac_powerdown()
100 struct iio_chan_spec const *chan) in ad7303_get_vref()
114 struct iio_chan_spec const *chan, int *val, int *val2, long info) in ad7303_read_raw()
141 struct iio_chan_spec const *chan, int val, int val2, long mask) in ad7303_write_raw()
179 #define AD7303_CHANNEL(chan) { \ argument
/Linux-v6.6/drivers/mailbox/
Dmailbox-sti.c86 static inline bool sti_mbox_channel_is_enabled(struct mbox_chan *chan) in sti_mbox_channel_is_enabled()
119 static void sti_mbox_enable_channel(struct mbox_chan *chan) in sti_mbox_enable_channel()
134 static void sti_mbox_disable_channel(struct mbox_chan *chan) in sti_mbox_disable_channel()
149 static void sti_mbox_clear_irq(struct mbox_chan *chan) in sti_mbox_clear_irq()
164 struct mbox_chan *chan = NULL; in sti_mbox_irq_to_channel() local
195 struct mbox_chan *chan; in sti_mbox_thread_handler() local
218 struct mbox_chan *chan; in sti_mbox_irq_handler() local
251 static bool sti_mbox_tx_is_ready(struct mbox_chan *chan) in sti_mbox_tx_is_ready()
274 static int sti_mbox_send_data(struct mbox_chan *chan, void *data) in sti_mbox_send_data()
292 static int sti_mbox_startup_chan(struct mbox_chan *chan) in sti_mbox_startup_chan()
[all …]
Dsun6i-msgbox.c56 static inline int channel_number(struct mbox_chan *chan) in channel_number()
61 static inline struct sun6i_msgbox *to_sun6i_msgbox(struct mbox_chan *chan) in to_sun6i_msgbox()
80 struct mbox_chan *chan = &mbox->controller.chans[n]; in sun6i_msgbox_irq() local
99 static int sun6i_msgbox_send_data(struct mbox_chan *chan, void *data) in sun6i_msgbox_send_data()
115 static int sun6i_msgbox_startup(struct mbox_chan *chan) in sun6i_msgbox_startup()
139 static void sun6i_msgbox_shutdown(struct mbox_chan *chan) in sun6i_msgbox_shutdown()
162 static bool sun6i_msgbox_last_tx_done(struct mbox_chan *chan) in sun6i_msgbox_last_tx_done()
179 static bool sun6i_msgbox_peek_data(struct mbox_chan *chan) in sun6i_msgbox_peek_data()
Dplatform_mhu.c43 struct mbox_chan chan[MHU_CHANS]; member
49 struct mbox_chan *chan = p; in platform_mhu_rx_interrupt() local
64 static bool platform_mhu_last_tx_done(struct mbox_chan *chan) in platform_mhu_last_tx_done()
72 static int platform_mhu_send_data(struct mbox_chan *chan, void *data) in platform_mhu_send_data()
82 static int platform_mhu_startup(struct mbox_chan *chan) in platform_mhu_startup()
102 static void platform_mhu_shutdown(struct mbox_chan *chan) in platform_mhu_shutdown()
Darm_mhu.c37 struct mbox_chan chan[MHU_CHANS]; member
43 struct mbox_chan *chan = p; in mhu_rx_interrupt() local
58 static bool mhu_last_tx_done(struct mbox_chan *chan) in mhu_last_tx_done()
66 static int mhu_send_data(struct mbox_chan *chan, void *data) in mhu_send_data()
76 static int mhu_startup(struct mbox_chan *chan) in mhu_startup()
96 static void mhu_shutdown(struct mbox_chan *chan) in mhu_shutdown()
/Linux-v6.6/drivers/dma/
Dmv_xor.h36 #define XOR_CURR_DESC(chan) (chan->mmr_high_base + 0x10 + (chan->idx * 4)) argument
37 #define XOR_NEXT_DESC(chan) (chan->mmr_high_base + 0x00 + (chan->idx * 4)) argument
38 #define XOR_BYTE_COUNT(chan) (chan->mmr_high_base + 0x20 + (chan->idx * 4)) argument
39 #define XOR_DEST_POINTER(chan) (chan->mmr_high_base + 0xB0 + (chan->idx * 4)) argument
40 #define XOR_BLOCK_SIZE(chan) (chan->mmr_high_base + 0xC0 + (chan->idx * 4)) argument
41 #define XOR_INIT_VALUE_LOW(chan) (chan->mmr_high_base + 0xE0) argument
42 #define XOR_INIT_VALUE_HIGH(chan) (chan->mmr_high_base + 0xE4) argument
44 #define XOR_CONFIG(chan) (chan->mmr_base + 0x10 + (chan->idx * 4)) argument
45 #define XOR_ACTIVATION(chan) (chan->mmr_base + 0x20 + (chan->idx * 4)) argument
46 #define XOR_INTR_CAUSE(chan) (chan->mmr_base + 0x30) argument
[all …]
Dst_fdma.c170 struct dma_chan *chan; in st_fdma_of_xlate() local
265 static int st_fdma_alloc_chan_res(struct dma_chan *chan) in st_fdma_alloc_chan_res()
287 static void st_fdma_free_chan_res(struct dma_chan *chan) in st_fdma_free_chan_res()
311 struct dma_chan *chan, dma_addr_t dst, dma_addr_t src, in st_fdma_prep_dma_memcpy()
429 static inline struct st_fdma_chan *st_fdma_prep_common(struct dma_chan *chan, in st_fdma_prep_common()
448 struct dma_chan *chan, dma_addr_t buf_addr, size_t len, in st_fdma_prep_dma_cyclic()
507 struct dma_chan *chan, struct scatterlist *sgl, in st_fdma_prep_slave_sg()
580 static enum dma_status st_fdma_tx_status(struct dma_chan *chan, in st_fdma_tx_status()
607 static void st_fdma_issue_pending(struct dma_chan *chan) in st_fdma_issue_pending()
620 static int st_fdma_pause(struct dma_chan *chan) in st_fdma_pause()
[all …]
Dxgene-dma.c194 #define chan_dbg(chan, fmt, arg...) \ argument
196 #define chan_err(chan, fmt, arg...) \ argument
312 struct xgene_dma_chan chan[XGENE_DMA_MAX_CHANNEL]; member
414 static void xgene_dma_prep_xor_desc(struct xgene_dma_chan *chan, in xgene_dma_prep_xor_desc()
460 struct xgene_dma_chan *chan; in xgene_dma_tx_submit() local
481 static void xgene_dma_clean_descriptor(struct xgene_dma_chan *chan, in xgene_dma_clean_descriptor()
490 struct xgene_dma_chan *chan) in xgene_dma_alloc_descriptor()
518 static void xgene_dma_clean_completed_descriptor(struct xgene_dma_chan *chan) in xgene_dma_clean_completed_descriptor()
537 static void xgene_dma_run_tx_complete_actions(struct xgene_dma_chan *chan, in xgene_dma_run_tx_complete_actions()
571 static void xgene_dma_clean_running_descriptor(struct xgene_dma_chan *chan, in xgene_dma_clean_running_descriptor()
[all …]
Dstm32-mdma.c258 struct stm32_mdma_chan chan[STM32_MDMA_MAX_CHANNELS]; member
263 struct stm32_mdma_chan *chan) in stm32_mdma_get_dev()
279 static struct device *chan2dev(struct stm32_mdma_chan *chan) in chan2dev()
316 struct stm32_mdma_chan *chan, u32 count) in stm32_mdma_alloc_desc()
349 struct stm32_mdma_chan *chan = to_stm32_mdma_chan(vdesc->tx.chan); in stm32_mdma_desc_free() local
358 static int stm32_mdma_get_width(struct stm32_mdma_chan *chan, in stm32_mdma_get_width()
405 static int stm32_mdma_disable_chan(struct stm32_mdma_chan *chan) in stm32_mdma_disable_chan()
434 static void stm32_mdma_stop(struct stm32_mdma_chan *chan) in stm32_mdma_stop()
473 static int stm32_mdma_set_xfer_param(struct stm32_mdma_chan *chan, in stm32_mdma_set_xfer_param()
673 static void stm32_mdma_dump_hwdesc(struct stm32_mdma_chan *chan, in stm32_mdma_dump_hwdesc()
[all …]
/Linux-v6.6/drivers/soc/fsl/qe/
Dqmc.c257 int qmc_chan_get_info(struct qmc_chan *chan, struct qmc_chan_info *info) in qmc_chan_get_info()
279 int qmc_chan_set_param(struct qmc_chan *chan, const struct qmc_chan_param *param) in qmc_chan_set_param()
316 int qmc_chan_write_submit(struct qmc_chan *chan, dma_addr_t addr, size_t length, in qmc_chan_write_submit()
371 static void qmc_chan_write_done(struct qmc_chan *chan) in qmc_chan_write_done()
423 int qmc_chan_read_submit(struct qmc_chan *chan, dma_addr_t addr, size_t length, in qmc_chan_read_submit()
486 static void qmc_chan_read_done(struct qmc_chan *chan) in qmc_chan_read_done()
542 static int qmc_chan_command(struct qmc_chan *chan, u8 qmc_opcode) in qmc_chan_command()
547 static int qmc_chan_stop_rx(struct qmc_chan *chan) in qmc_chan_stop_rx()
569 static int qmc_chan_stop_tx(struct qmc_chan *chan) in qmc_chan_stop_tx()
591 int qmc_chan_stop(struct qmc_chan *chan, int direction) in qmc_chan_stop()
[all …]
/Linux-v6.6/drivers/net/ethernet/ti/
Ddavinci_cpdma.c138 struct cpdma_chan *chan; member
161 #define tx_chan_num(chan) (chan) argument
162 #define rx_chan_num(chan) ((chan) + CPDMA_MAX_CHANNELS) argument
163 #define is_rx_chan(chan) ((chan)->chan_num >= CPDMA_MAX_CHANNELS) argument
164 #define is_tx_chan(chan) (!is_rx_chan(chan)) argument
166 #define chan_linear(chan) __chan_linear((chan)->chan_num) argument
174 #define chan_read(chan, fld) readl((chan)->fld) argument
177 #define chan_write(chan, fld, v) writel(v, (chan)->fld) argument
180 #define cpdma_desc_to_port(chan, mode, directed) \ argument
355 static int cpdma_chan_set_chan_shaper(struct cpdma_chan *chan) in cpdma_chan_set_chan_shaper()
[all …]
/Linux-v6.6/sound/soc/sprd/
Dsprd-mcdt.h74 void sprd_mcdt_free_chan(struct sprd_mcdt_chan *chan) in sprd_mcdt_free_chan()
77 int sprd_mcdt_chan_write(struct sprd_mcdt_chan *chan, char *tx_buf, u32 size) in sprd_mcdt_chan_write()
82 int sprd_mcdt_chan_read(struct sprd_mcdt_chan *chan, char *rx_buf, u32 size) in sprd_mcdt_chan_read()
87 int sprd_mcdt_chan_int_enable(struct sprd_mcdt_chan *chan, u32 water_mark, in sprd_mcdt_chan_int_enable()
93 void sprd_mcdt_chan_int_disable(struct sprd_mcdt_chan *chan) in sprd_mcdt_chan_int_disable()
96 int sprd_mcdt_chan_dma_enable(struct sprd_mcdt_chan *chan, in sprd_mcdt_chan_dma_enable()
102 void sprd_mcdt_chan_dma_disable(struct sprd_mcdt_chan *chan) in sprd_mcdt_chan_dma_disable()
/Linux-v6.6/drivers/media/pci/ngene/
Dngene-cards.c108 static struct i2c_adapter *i2c_adapter_from_chan(struct ngene_channel *chan) in i2c_adapter_from_chan()
117 static int tuner_attach_stv6110(struct ngene_channel *chan) in tuner_attach_stv6110()
148 static int tuner_attach_stv6111(struct ngene_channel *chan) in tuner_attach_stv6111()
168 struct ngene_channel *chan = fe->sec_priv; in drxk_gate_ctrl() local
181 static int tuner_attach_tda18271(struct ngene_channel *chan) in tuner_attach_tda18271()
200 static int tuner_tda18212_ping(struct ngene_channel *chan, in tuner_tda18212_ping()
223 static int tuner_attach_tda18212(struct ngene_channel *chan, u32 dmdtype) in tuner_attach_tda18212()
262 static int tuner_attach_probe(struct ngene_channel *chan) in tuner_attach_probe()
282 static int demod_attach_stv0900(struct ngene_channel *chan) in demod_attach_stv0900()
325 static int demod_attach_stv0910(struct ngene_channel *chan, in demod_attach_stv0910()
[all …]
/Linux-v6.6/arch/arm/mach-rpc/
Ddma.c134 static int iomd_request_dma(unsigned int chan, dma_t *dma) in iomd_request_dma()
142 static void iomd_free_dma(unsigned int chan, dma_t *dma) in iomd_free_dma()
155 static void iomd_enable_dma(unsigned int chan, dma_t *dma) in iomd_enable_dma()
192 static void iomd_disable_dma(unsigned int chan, dma_t *dma) in iomd_disable_dma()
205 static int iomd_set_dma_speed(unsigned int chan, dma_t *dma, int cycle) in iomd_set_dma_speed()
265 static void floppy_enable_dma(unsigned int chan, dma_t *dma) in floppy_enable_dma()
299 static void floppy_disable_dma(unsigned int chan, dma_t *dma) in floppy_disable_dma()
306 static int floppy_get_residue(unsigned int chan, dma_t *dma) in floppy_get_residue()
323 static void sound_enable_disable_dma(unsigned int chan, dma_t *dma) in sound_enable_disable_dma()
/Linux-v6.6/sound/soc/intel/catpt/
Dloader.c89 int catpt_store_streams_context(struct catpt_dev *cdev, struct dma_chan *chan) in catpt_store_streams_context()
115 int catpt_store_module_states(struct catpt_dev *cdev, struct dma_chan *chan) in catpt_store_module_states()
145 int catpt_store_memdumps(struct catpt_dev *cdev, struct dma_chan *chan) in catpt_store_memdumps()
179 catpt_restore_streams_context(struct catpt_dev *cdev, struct dma_chan *chan) in catpt_restore_streams_context()
205 static int catpt_restore_memdumps(struct catpt_dev *cdev, struct dma_chan *chan) in catpt_restore_memdumps()
239 struct dma_chan *chan, dma_addr_t paddr, in catpt_restore_fwimage()
290 struct dma_chan *chan, dma_addr_t paddr, in catpt_load_block()
329 struct dma_chan *chan, dma_addr_t paddr, in catpt_restore_basefw()
372 struct dma_chan *chan, dma_addr_t paddr, in catpt_restore_module()
413 struct dma_chan *chan, dma_addr_t paddr, in catpt_load_module()
[all …]
/Linux-v6.6/drivers/dma/hsu/
Dhsu.c270 struct dma_chan *chan, struct scatterlist *sgl, in hsu_dma_prep_slave_sg()
298 static void hsu_dma_issue_pending(struct dma_chan *chan) in hsu_dma_issue_pending()
326 static enum dma_status hsu_dma_tx_status(struct dma_chan *chan, in hsu_dma_tx_status()
354 static int hsu_dma_slave_config(struct dma_chan *chan, in hsu_dma_slave_config()
364 static int hsu_dma_pause(struct dma_chan *chan) in hsu_dma_pause()
379 static int hsu_dma_resume(struct dma_chan *chan) in hsu_dma_resume()
394 static int hsu_dma_terminate_all(struct dma_chan *chan) in hsu_dma_terminate_all()
415 static void hsu_dma_free_chan_resources(struct dma_chan *chan) in hsu_dma_free_chan_resources()
420 static void hsu_dma_synchronize(struct dma_chan *chan) in hsu_dma_synchronize()
/Linux-v6.6/drivers/gpu/drm/nouveau/
Dnouveau_dma.c41 READ_GET(struct nouveau_channel *chan, uint64_t *prev_get, int *timeout) in READ_GET()
72 nv50_dma_push(struct nouveau_channel *chan, u64 offset, u32 length, in nv50_dma_push()
99 nv50_dma_push_wait(struct nouveau_channel *chan, int count) in nv50_dma_push_wait()
125 nv50_dma_wait(struct nouveau_channel *chan, int slots, int count) in nv50_dma_wait()
168 nouveau_dma_wait(struct nouveau_channel *chan, int slots, int size) in nouveau_dma_wait()
/Linux-v6.6/drivers/hwmon/
Dlochnagar-hwmon.c89 static int do_measurement(struct regmap *regmap, int chan, in do_measurement()
140 static int request_data(struct regmap *regmap, int chan, u32 *data) in request_data()
172 static int read_sensor(struct device *dev, int chan, in read_sensor()
203 static int read_power(struct device *dev, int chan, long *val) in read_power()
237 u32 attr, int chan) in lochnagar_is_visible()
256 u32 attr, int chan, long *val) in lochnagar_read()
286 int chan, const char **str) in lochnagar_read_string()
300 u32 attr, int chan, long val) in lochnagar_write()
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dnv10.c393 struct nv10_gr_chan *chan[32]; member
431 nv17_gr_mthd_lma_window(struct nv10_gr_chan *chan, u32 mthd, u32 data) in nv17_gr_mthd_lma_window()
504 nv17_gr_mthd_lma_enable(struct nv10_gr_chan *chan, u32 mthd, u32 data) in nv17_gr_mthd_lma_enable()
516 nv17_gr_mthd_celcius(struct nv10_gr_chan *chan, u32 mthd, u32 data) in nv17_gr_mthd_celcius()
531 nv10_gr_mthd(struct nv10_gr_chan *chan, u8 class, u32 mthd, u32 data) in nv10_gr_mthd()
550 struct nv10_gr_chan *chan = NULL; in nv10_gr_channel() local
560 nv10_gr_save_pipe(struct nv10_gr_chan *chan) in nv10_gr_save_pipe()
579 nv10_gr_load_pipe(struct nv10_gr_chan *chan) in nv10_gr_load_pipe()
630 nv10_gr_create_pipe(struct nv10_gr_chan *chan) in nv10_gr_create_pipe()
812 nv10_gr_load_dma_vtxbuf(struct nv10_gr_chan *chan, int chid, u32 inst) in nv10_gr_load_dma_vtxbuf()
[all …]
/Linux-v6.6/drivers/video/fbdev/aty/
Dradeon_i2c.c20 struct radeon_i2c_chan *chan = data; in radeon_gpio_setscl() local
34 struct radeon_i2c_chan *chan = data; in radeon_gpio_setsda() local
48 struct radeon_i2c_chan *chan = data; in radeon_gpio_getscl() local
59 struct radeon_i2c_chan *chan = data; in radeon_gpio_getsda() local
68 static int radeon_setup_i2c_bus(struct radeon_i2c_chan *chan, const char *name) in radeon_setup_i2c_bus()
/Linux-v6.6/sound/drivers/opl3/
Dopl3_midi.c47 struct snd_midi_channel *chan) in snd_opl3_calc_volume()
80 int note, struct snd_midi_channel *chan) in snd_opl3_calc_pitch()
125 struct snd_midi_channel *chan) { in opl3_get_voice()
275 void snd_opl3_note_on(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_opl3_note_on()
654 struct snd_midi_channel *chan) in snd_opl3_note_off_unsafe()
691 struct snd_midi_channel *chan) in snd_opl3_note_off()
704 void snd_opl3_key_press(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_opl3_key_press()
715 void snd_opl3_terminate_note(void *p, int note, struct snd_midi_channel *chan) in snd_opl3_terminate_note()
771 static void snd_opl3_pitch_ctrl(struct snd_opl3 *opl3, struct snd_midi_channel *chan) in snd_opl3_pitch_ctrl()
801 void snd_opl3_control(void *p, int type, struct snd_midi_channel *chan) in snd_opl3_control()
[all …]
/Linux-v6.6/drivers/staging/media/tegra-video/
Dtegra20.c151 static void tegra20_vi_write(struct tegra_vi_channel *chan, unsigned int addr, u32 val) in tegra20_vi_write()
160 static void tegra20_vi_get_input_formats(struct tegra_vi_channel *chan, in tegra20_vi_get_input_formats()
188 static void tegra20_vi_get_output_formats(struct tegra_vi_channel *chan, in tegra20_vi_get_output_formats()
250 static int tegra20_channel_host1x_syncpt_init(struct tegra_vi_channel *chan) in tegra20_channel_host1x_syncpt_init()
264 static void tegra20_channel_host1x_syncpt_free(struct tegra_vi_channel *chan) in tegra20_channel_host1x_syncpt_free()
295 static void tegra20_channel_queue_setup(struct tegra_vi_channel *chan) in tegra20_channel_queue_setup()
344 static void release_buffer(struct tegra_vi_channel *chan, in release_buffer()
356 static void tegra20_channel_vi_buffer_setup(struct tegra_vi_channel *chan, in tegra20_channel_vi_buffer_setup()
380 static int tegra20_channel_capture_frame(struct tegra_vi_channel *chan, in tegra20_channel_capture_frame()
411 struct tegra_vi_channel *chan = data; in tegra20_chan_capture_kthread_start() local
[all …]
/Linux-v6.6/drivers/video/fbdev/riva/
Drivafb-i2c.c29 struct riva_i2c_chan *chan = data; in riva_gpio_setscl() local
47 struct riva_i2c_chan *chan = data; in riva_gpio_setsda() local
65 struct riva_i2c_chan *chan = data; in riva_gpio_getscl() local
78 struct riva_i2c_chan *chan = data; in riva_gpio_getsda() local
89 static int riva_setup_i2c_bus(struct riva_i2c_chan *chan, const char *name, in riva_setup_i2c_bus()

12345678910>>...59