Home
last modified time | relevance | path

Searched refs:dma_id (Results 1 - 25 of 64) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hive_isp_css_common/
H A Ddma_global.h86 #define hive_dma_snd(dma_id, token) OP_std_snd(dma_id, (unsigned int)(token))
95 #define hive_dma_move_data(dma_id, read, channel, addr_a, addr_b, to_is_var, from_is_var) \
97 hive_dma_snd(dma_id, DMA_PACK(_DMA_V2_SET_CRUN_COMMAND, CMD)); \
98 hive_dma_snd(dma_id, DMA_PACK_CMD_CHANNEL(read ? _DMA_V2_MOVE_B2A_COMMAND : _DMA_V2_MOVE_A2B_COMMAND, channel)); \
99 hive_dma_snd(dma_id, read ? (unsigned int)(addr_b) : (unsigned int)(addr_a)); \
100 hive_dma_snd(dma_id, read ? (unsigned int)(addr_a) : (unsigned int)(addr_b)); \
101 hive_dma_snd(dma_id, to_is_var); \
102 hive_dma_snd(dma_id, from_is_var); \
105 #define hive_dma_move_data_no_ack(dma_id, rea
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/hive_isp_css_common/
H A Ddma_global.h86 #define hive_dma_snd(dma_id, token) OP_std_snd(dma_id, (unsigned int)(token))
95 #define hive_dma_move_data(dma_id, read, channel, addr_a, addr_b, to_is_var, from_is_var) \
97 hive_dma_snd(dma_id, DMA_PACK(_DMA_V2_SET_CRUN_COMMAND, CMD)); \
98 hive_dma_snd(dma_id, DMA_PACK_CMD_CHANNEL(read ? _DMA_V2_MOVE_B2A_COMMAND : _DMA_V2_MOVE_A2B_COMMAND, channel)); \
99 hive_dma_snd(dma_id, read ? (unsigned int)(addr_b) : (unsigned int)(addr_a)); \
100 hive_dma_snd(dma_id, read ? (unsigned int)(addr_a) : (unsigned int)(addr_b)); \
101 hive_dma_snd(dma_id, to_is_var); \
102 hive_dma_snd(dma_id, from_is_var); \
105 #define hive_dma_move_data_no_ack(dma_id, rea
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/css_2401_system/host/
H A Disys_dma_private.h26 void isys2401_dma_reg_store(const isys2401_dma_ID_t dma_id, in isys2401_dma_reg_store() argument
32 assert(dma_id < N_ISYS2401_DMA_ID); in isys2401_dma_reg_store()
33 assert(ISYS2401_DMA_BASE[dma_id] != (hrt_address) - 1); in isys2401_dma_reg_store()
35 reg_loc = ISYS2401_DMA_BASE[dma_id] + (reg * sizeof(hrt_data)); in isys2401_dma_reg_store()
42 hrt_data isys2401_dma_reg_load(const isys2401_dma_ID_t dma_id,
48 assert(dma_id < N_ISYS2401_DMA_ID);
49 assert(ISYS2401_DMA_BASE[dma_id] != (hrt_address) - 1);
51 reg_loc = ISYS2401_DMA_BASE[dma_id] + (reg * sizeof(hrt_data));
H A Disys_dma.c26 const isys2401_dma_ID_t dma_id, in isys2401_dma_set_max_burst_size()
29 assert(dma_id < N_ISYS2401_DMA_ID); in isys2401_dma_set_max_burst_size()
32 isys2401_dma_reg_store(dma_id, in isys2401_dma_set_max_burst_size()
25 isys2401_dma_set_max_burst_size( const isys2401_dma_ID_t dma_id, uint32_t max_burst_size) isys2401_dma_set_max_burst_size() argument
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/css_2401_system/host/
H A Disys_dma_private.h26 void isys2401_dma_reg_store(const isys2401_dma_ID_t dma_id, in isys2401_dma_reg_store() argument
32 assert(dma_id < N_ISYS2401_DMA_ID); in isys2401_dma_reg_store()
33 assert(ISYS2401_DMA_BASE[dma_id] != (hrt_address) - 1); in isys2401_dma_reg_store()
35 reg_loc = ISYS2401_DMA_BASE[dma_id] + (reg * sizeof(hrt_data)); in isys2401_dma_reg_store()
40 hrt_data isys2401_dma_reg_load(const isys2401_dma_ID_t dma_id,
46 assert(dma_id < N_ISYS2401_DMA_ID);
47 assert(ISYS2401_DMA_BASE[dma_id] != (hrt_address) - 1);
49 reg_loc = ISYS2401_DMA_BASE[dma_id] + (reg * sizeof(hrt_data));
H A Disys_dma.c26 const isys2401_dma_ID_t dma_id, in isys2401_dma_set_max_burst_size()
29 assert(dma_id < N_ISYS2401_DMA_ID); in isys2401_dma_set_max_burst_size()
32 isys2401_dma_reg_store(dma_id, in isys2401_dma_set_max_burst_size()
25 isys2401_dma_set_max_burst_size( const isys2401_dma_ID_t dma_id, uint32_t max_burst_size) isys2401_dma_set_max_burst_size() argument
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/isys/src/
H A Disys_dma_rmgr.c39 isys2401_dma_ID_t dma_id, in ia_css_isys_dma_channel_rmgr_acquire()
47 assert(dma_id < N_ISYS2401_DMA_ID); in ia_css_isys_dma_channel_rmgr_acquire()
50 max_dma_channel = N_ISYS2401_DMA_CHANNEL_PROCS[dma_id]; in ia_css_isys_dma_channel_rmgr_acquire()
51 cur_rsrc = &isys_dma_rsrc[dma_id]; in ia_css_isys_dma_channel_rmgr_acquire()
69 isys2401_dma_ID_t dma_id, in ia_css_isys_dma_channel_rmgr_release()
75 assert(dma_id < N_ISYS2401_DMA_ID); in ia_css_isys_dma_channel_rmgr_release()
78 max_dma_channel = N_ISYS2401_DMA_CHANNEL_PROCS[dma_id]; in ia_css_isys_dma_channel_rmgr_release()
79 cur_rsrc = &isys_dma_rsrc[dma_id]; in ia_css_isys_dma_channel_rmgr_release()
38 ia_css_isys_dma_channel_rmgr_acquire( isys2401_dma_ID_t dma_id, isys2401_dma_channel *channel) ia_css_isys_dma_channel_rmgr_acquire() argument
68 ia_css_isys_dma_channel_rmgr_release( isys2401_dma_ID_t dma_id, isys2401_dma_channel *channel) ia_css_isys_dma_channel_rmgr_release() argument
H A Dvirtual_isys.c83 isys2401_dma_ID_t dma_id,
87 isys2401_dma_ID_t dma_id,
296 me->dma_id = ISYS2401_DMA0_ID; in create_input_system_channel()
343 if (!acquire_dma_channel(me->dma_id, &me->dma_channel)) { in create_input_system_channel()
360 release_dma_channel(me->dma_id, &me->dma_channel); in destroy_input_system_channel()
619 isys2401_dma_ID_t dma_id, in acquire_dma_channel()
622 return ia_css_isys_dma_channel_rmgr_acquire(dma_id, channel); in acquire_dma_channel()
626 isys2401_dma_ID_t dma_id, in release_dma_channel()
629 ia_css_isys_dma_channel_rmgr_release(dma_id, channel); in release_dma_channel()
618 acquire_dma_channel( isys2401_dma_ID_t dma_id, isys2401_dma_channel *channel) acquire_dma_channel() argument
625 release_dma_channel( isys2401_dma_ID_t dma_id, isys2401_dma_channel *channel) release_dma_channel() argument
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/runtime/isys/src/
H A Disys_dma_rmgr.c39 isys2401_dma_ID_t dma_id, in ia_css_isys_dma_channel_rmgr_acquire()
47 assert(dma_id < N_ISYS2401_DMA_ID); in ia_css_isys_dma_channel_rmgr_acquire()
50 max_dma_channel = N_ISYS2401_DMA_CHANNEL_PROCS[dma_id]; in ia_css_isys_dma_channel_rmgr_acquire()
51 cur_rsrc = &isys_dma_rsrc[dma_id]; in ia_css_isys_dma_channel_rmgr_acquire()
69 isys2401_dma_ID_t dma_id, in ia_css_isys_dma_channel_rmgr_release()
75 assert(dma_id < N_ISYS2401_DMA_ID); in ia_css_isys_dma_channel_rmgr_release()
78 max_dma_channel = N_ISYS2401_DMA_CHANNEL_PROCS[dma_id]; in ia_css_isys_dma_channel_rmgr_release()
79 cur_rsrc = &isys_dma_rsrc[dma_id]; in ia_css_isys_dma_channel_rmgr_release()
38 ia_css_isys_dma_channel_rmgr_acquire( isys2401_dma_ID_t dma_id, isys2401_dma_channel *channel) ia_css_isys_dma_channel_rmgr_acquire() argument
68 ia_css_isys_dma_channel_rmgr_release( isys2401_dma_ID_t dma_id, isys2401_dma_channel *channel) ia_css_isys_dma_channel_rmgr_release() argument
H A Dvirtual_isys.c83 isys2401_dma_ID_t dma_id,
87 isys2401_dma_ID_t dma_id,
285 me->dma_id = ISYS2401_DMA0_ID; in create_input_system_channel()
332 if (!acquire_dma_channel(me->dma_id, &me->dma_channel)) { in create_input_system_channel()
349 release_dma_channel(me->dma_id, &me->dma_channel); in destroy_input_system_channel()
608 isys2401_dma_ID_t dma_id, in acquire_dma_channel()
611 return ia_css_isys_dma_channel_rmgr_acquire(dma_id, channel); in acquire_dma_channel()
615 isys2401_dma_ID_t dma_id, in release_dma_channel()
618 ia_css_isys_dma_channel_rmgr_release(dma_id, channel); in release_dma_channel()
607 acquire_dma_channel( isys2401_dma_ID_t dma_id, isys2401_dma_channel *channel) acquire_dma_channel() argument
614 release_dma_channel( isys2401_dma_ID_t dma_id, isys2401_dma_channel *channel) release_dma_channel() argument
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/
H A Disys_dma_public.h25 const isys2401_dma_ID_t dma_id,
30 const isys2401_dma_ID_t dma_id,
34 const isys2401_dma_ID_t dma_id,
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/
H A Disys_dma_public.h25 const isys2401_dma_ID_t dma_id,
30 const isys2401_dma_ID_t dma_id,
34 const isys2401_dma_ID_t dma_id,
/kernel/linux/linux-5.10/sound/soc/fsl/
H A Dmpc8610_hpcd.c38 unsigned int dma_id[2]; /* 0 = DMA1, 1 = DMA2, etc */ member
64 guts_set_dmacr(guts, machine_data->dma_id[0], in mpc8610_hpcd_machine_probe()
67 guts_set_dmacr(guts, machine_data->dma_id[1], in mpc8610_hpcd_machine_probe()
71 guts_set_pmuxcr_dma(guts, machine_data->dma_id[0], in mpc8610_hpcd_machine_probe()
73 guts_set_pmuxcr_dma(guts, machine_data->dma_id[1], in mpc8610_hpcd_machine_probe()
149 guts_set_dmacr(guts, machine_data->dma_id[0], in mpc8610_hpcd_machine_remove()
151 guts_set_dmacr(guts, machine_data->dma_id[1], in mpc8610_hpcd_machine_remove()
336 &machine_data->dma_id[0]); in mpc8610_hpcd_probe()
347 &machine_data->dma_id[1]); in mpc8610_hpcd_probe()
H A Dp1022_ds.c71 unsigned int dma_id[2]; /* 0 = DMA1, 1 = DMA2, etc */ member
104 guts_set_dmuxcr(guts, mdata->dma_id[0], mdata->dma_channel_id[0], in p1022_ds_machine_probe()
107 guts_set_dmuxcr(guts, mdata->dma_id[1], mdata->dma_channel_id[1], in p1022_ds_machine_probe()
172 guts_set_dmuxcr(guts, mdata->dma_id[0], mdata->dma_channel_id[0], 0); in p1022_ds_machine_remove()
173 guts_set_dmuxcr(guts, mdata->dma_id[1], mdata->dma_channel_id[1], 0); in p1022_ds_machine_remove()
346 &mdata->dma_id[0]); in p1022_ds_probe()
356 &mdata->dma_id[1]); in p1022_ds_probe()
H A Dp1022_rdk.c77 unsigned int dma_id[2]; /* 0 = DMA1, 1 = DMA2, etc */ member
110 guts_set_dmuxcr(guts, mdata->dma_id[0], mdata->dma_channel_id[0], in p1022_rdk_machine_probe()
113 guts_set_dmuxcr(guts, mdata->dma_id[1], mdata->dma_channel_id[1], in p1022_rdk_machine_probe()
176 guts_set_dmuxcr(guts, mdata->dma_id[0], mdata->dma_channel_id[0], 0); in p1022_rdk_machine_remove()
177 guts_set_dmuxcr(guts, mdata->dma_id[1], mdata->dma_channel_id[1], 0); in p1022_rdk_machine_remove()
295 &mdata->dma_id[0]); in p1022_rdk_probe()
306 &mdata->dma_id[1]); in p1022_rdk_probe()
H A Dfsl_utils.c22 * @dma_id: dma id to be returned
31 unsigned int *dma_id) in fsl_asoc_get_dma_channel()
77 *dma_id = be32_to_cpup(iprop); in fsl_asoc_get_dma_channel()
27 fsl_asoc_get_dma_channel(struct device_node *ssi_np, const char *name, struct snd_soc_dai_link *dai, unsigned int *dma_channel_id, unsigned int *dma_id) fsl_asoc_get_dma_channel() argument
/kernel/linux/linux-6.6/sound/soc/fsl/
H A Dmpc8610_hpcd.c38 unsigned int dma_id[2]; /* 0 = DMA1, 1 = DMA2, etc */ member
64 guts_set_dmacr(guts, machine_data->dma_id[0], in mpc8610_hpcd_machine_probe()
67 guts_set_dmacr(guts, machine_data->dma_id[1], in mpc8610_hpcd_machine_probe()
71 guts_set_pmuxcr_dma(guts, machine_data->dma_id[0], in mpc8610_hpcd_machine_probe()
73 guts_set_pmuxcr_dma(guts, machine_data->dma_id[1], in mpc8610_hpcd_machine_probe()
149 guts_set_dmacr(guts, machine_data->dma_id[0], in mpc8610_hpcd_machine_remove()
151 guts_set_dmacr(guts, machine_data->dma_id[1], in mpc8610_hpcd_machine_remove()
336 &machine_data->dma_id[0]); in mpc8610_hpcd_probe()
347 &machine_data->dma_id[1]); in mpc8610_hpcd_probe()
H A Dp1022_ds.c71 unsigned int dma_id[2]; /* 0 = DMA1, 1 = DMA2, etc */ member
104 guts_set_dmuxcr(guts, mdata->dma_id[0], mdata->dma_channel_id[0], in p1022_ds_machine_probe()
107 guts_set_dmuxcr(guts, mdata->dma_id[1], mdata->dma_channel_id[1], in p1022_ds_machine_probe()
172 guts_set_dmuxcr(guts, mdata->dma_id[0], mdata->dma_channel_id[0], 0); in p1022_ds_machine_remove()
173 guts_set_dmuxcr(guts, mdata->dma_id[1], mdata->dma_channel_id[1], 0); in p1022_ds_machine_remove()
346 &mdata->dma_id[0]); in p1022_ds_probe()
356 &mdata->dma_id[1]); in p1022_ds_probe()
H A Dp1022_rdk.c77 unsigned int dma_id[2]; /* 0 = DMA1, 1 = DMA2, etc */ member
110 guts_set_dmuxcr(guts, mdata->dma_id[0], mdata->dma_channel_id[0], in p1022_rdk_machine_probe()
113 guts_set_dmuxcr(guts, mdata->dma_id[1], mdata->dma_channel_id[1], in p1022_rdk_machine_probe()
176 guts_set_dmuxcr(guts, mdata->dma_id[0], mdata->dma_channel_id[0], 0); in p1022_rdk_machine_remove()
177 guts_set_dmuxcr(guts, mdata->dma_id[1], mdata->dma_channel_id[1], 0); in p1022_rdk_machine_remove()
295 &mdata->dma_id[0]); in p1022_rdk_probe()
306 &mdata->dma_id[1]); in p1022_rdk_probe()
/kernel/linux/linux-6.6/sound/soc/intel/avs/
H A Dpath.h17 u32 dma_id; member
62 struct avs_path *avs_path_create(struct avs_dev *adev, u32 dma_id,
/kernel/linux/linux-6.6/drivers/accel/habanalabs/gaudi/
H A Dgaudi.c2544 static void gaudi_init_pci_dma_qman(struct hl_device *hdev, int dma_id, in gaudi_init_pci_dma_qman() argument
2554 dma_qm_offset = dma_id * DMA_QMAN_OFFSET; in gaudi_init_pci_dma_qman()
2620 dma_id); in gaudi_init_pci_dma_qman()
2635 static void gaudi_init_dma_core(struct hl_device *hdev, int dma_id) in gaudi_init_dma_core() argument
2640 u32 dma_offset = dma_id * DMA_CORE_OFFSET; in gaudi_init_dma_core()
2666 gaudi_irq_map_table[GAUDI_EVENT_DMA0_CORE].cpu_id + dma_id); in gaudi_init_dma_core()
2675 static void gaudi_enable_qman(struct hl_device *hdev, int dma_id, in gaudi_enable_qman() argument
2678 u32 dma_qm_offset = dma_id * DMA_QMAN_OFFSET; in gaudi_enable_qman()
2687 int i, j, dma_id, cpu_skip, nic_skip, cq_id = 0, q_idx, msi_vec = 0; in gaudi_init_pci_dma_qmans() local
2693 dma_id in gaudi_init_pci_dma_qmans()
2724 gaudi_init_hbm_dma_qman(struct hl_device *hdev, int dma_id, int qman_id, u64 qman_base_addr) gaudi_init_hbm_dma_qman() argument
2834 int i, j, dma_id, internal_q_index; gaudi_init_hbm_dma_qmans() local
4191 int dma_id; gaudi_ring_doorbell() local
4563 int rc, dma_id; gaudi_scrub_device_dram() local
5876 gaudi_dma_core_transfer(struct hl_device *hdev, int dma_id, u64 addr, u32 size_to_dma, dma_addr_t dma_addr) gaudi_dma_core_transfer() argument
5932 int rc = 0, dma_id; gaudi_debugfs_read_dma() local
6433 u32 dma_id[2], dma_offset, err_cause[2], mask, i; gaudi_get_razwi_initiator_dma_name() local
8024 int i, dma_id, port; gaudi_is_device_idle() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/isys/interface/
H A Dia_css_isys.h161 isys2401_dma_ID_t dma_id,
165 isys2401_dma_ID_t dma_id,
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
H A Dsh_css_sp.h204 * @param[in] dma_id The ID of the target DMA.
211 sh_css_sp_init_dma_sw_reg(int dma_id);
219 * @param[in] dma_id The ID of the target DMA.
236 sh_css_sp_set_dma_sw_reg(int dma_id,
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/
H A Dsh_css_sp.h199 * @param[in] dma_id The ID of the target DMA.
206 sh_css_sp_init_dma_sw_reg(int dma_id);
214 * @param[in] dma_id The ID of the target DMA.
231 sh_css_sp_set_dma_sw_reg(int dma_id,
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/runtime/isys/interface/
H A Dia_css_isys.h161 isys2401_dma_ID_t dma_id,
165 isys2401_dma_ID_t dma_id,

Completed in 19 milliseconds

123