Home
last modified time | relevance | path

Searched refs:dma_id (Results 1 – 25 of 35) sorted by relevance

12

/linux-6.1.9/drivers/staging/media/atomisp/pci/hive_isp_css_common/ !
Ddma_global.h86 #define hive_dma_snd(dma_id, token) OP_std_snd(dma_id, (unsigned int)(token)) argument
95 #define hive_dma_move_data(dma_id, read, channel, addr_a, addr_b, to_is_var, from_is_var) \ argument
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_COMMA…
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, read, channel, addr_a, addr_b, to_is_var, from_is_var) \ argument
107 hive_dma_snd(dma_id, DMA_PACK(_DMA_V2_SET_CRUN_COMMAND, CMD)); \
[all …]
/linux-6.1.9/drivers/staging/media/atomisp/pci/css_2401_system/host/ !
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, in isys2401_dma_reg_load() argument
48 assert(dma_id < N_ISYS2401_DMA_ID); in isys2401_dma_reg_load()
49 assert(ISYS2401_DMA_BASE[dma_id] != (hrt_address) - 1); in isys2401_dma_reg_load()
51 reg_loc = ISYS2401_DMA_BASE[dma_id] + (reg * sizeof(hrt_data)); in isys2401_dma_reg_load()
Disys_dma.c26 const isys2401_dma_ID_t dma_id, in isys2401_dma_set_max_burst_size() argument
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()
/linux-6.1.9/drivers/staging/media/atomisp/pci/runtime/isys/src/ !
Disys_dma_rmgr.c39 isys2401_dma_ID_t dma_id, in ia_css_isys_dma_channel_rmgr_acquire() argument
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() argument
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()
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() argument
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() argument
618 ia_css_isys_dma_channel_rmgr_release(dma_id, channel); in release_dma_channel()
/linux-6.1.9/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/ !
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,
/linux-6.1.9/sound/soc/fsl/ !
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()
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()
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()
Dfsl_utils.c33 unsigned int *dma_id) in fsl_asoc_get_dma_channel() argument
79 *dma_id = be32_to_cpup(iprop); in fsl_asoc_get_dma_channel()
Dfsl_utils.h21 unsigned int *dma_id);
/linux-6.1.9/sound/soc/intel/avs/ !
Dpath.h17 u32 dma_id; member
62 struct avs_path *avs_path_create(struct avs_dev *adev, u32 dma_id,
Dmessages.c15 int avs_ipc_set_boot_config(struct avs_dev *adev, u32 dma_id, u32 purge) in avs_ipc_set_boot_config() argument
22 msg.boot_cfg.dma_id = dma_id; in avs_ipc_set_boot_config()
69 int avs_ipc_load_library(struct avs_dev *adev, u32 dma_id, u32 lib_id) in avs_ipc_load_library() argument
75 msg.load_lib.dma_id = dma_id; in avs_ipc_load_library()
Dpath.c220 node_id.vindex = mod->owner->owner->dma_id; in avs_copier_create()
226 mod->owner->owner->dma_id; in avs_copier_create()
718 struct avs_tplg_path *template, u32 dma_id) in avs_path_init() argument
724 path->dma_id = dma_id; in avs_path_init()
785 static struct avs_path *avs_path_create_unlocked(struct avs_dev *adev, u32 dma_id, in avs_path_create_unlocked() argument
795 ret = avs_path_init(adev, path, template, dma_id); in avs_path_create_unlocked()
819 struct avs_path *avs_path_create(struct avs_dev *adev, u32 dma_id, in avs_path_create() argument
838 path = avs_path_create_unlocked(adev, dma_id, variant); in avs_path_create()
Dmessages.h52 u32 dma_id:5; member
78 u32 dma_id:5; member
280 int avs_ipc_set_boot_config(struct avs_dev *adev, u32 dma_id, u32 purge);
285 int avs_ipc_load_library(struct avs_dev *adev, u32 dma_id, u32 lib_id);
Dloader.c274 avs_hda_init_rom(struct avs_dev *adev, unsigned int dma_id, bool purge) in avs_hda_init_rom() argument
294 ret = avs_ipc_set_boot_config(adev, dma_id, purge); in avs_hda_init_rom()
380 unsigned int dma_id = hstream->stream_tag - 1; in avs_hda_load_basefw() local
382 ret = avs_hda_init_rom(adev, dma_id, true); in avs_hda_load_basefw()
/linux-6.1.9/drivers/staging/media/atomisp/pci/ !
Dsh_css_sp.h206 sh_css_sp_init_dma_sw_reg(int dma_id);
231 sh_css_sp_set_dma_sw_reg(int dma_id,
Disp2401_input_system_global.h55 isys2401_dma_ID_t dma_id; member
/linux-6.1.9/drivers/staging/media/atomisp/pci/runtime/isys/interface/ !
Dia_css_isys.h161 isys2401_dma_ID_t dma_id,
165 isys2401_dma_ID_t dma_id,
/linux-6.1.9/drivers/misc/habanalabs/gaudi/ !
Dgaudi.c2603 static void gaudi_init_pci_dma_qman(struct hl_device *hdev, int dma_id, in gaudi_init_pci_dma_qman() argument
2613 dma_qm_offset = dma_id * DMA_QMAN_OFFSET; in gaudi_init_pci_dma_qman()
2679 dma_id); in gaudi_init_pci_dma_qman()
2694 static void gaudi_init_dma_core(struct hl_device *hdev, int dma_id) in gaudi_init_dma_core() argument
2699 u32 dma_offset = dma_id * DMA_CORE_OFFSET; in gaudi_init_dma_core()
2725 gaudi_irq_map_table[GAUDI_EVENT_DMA0_CORE].cpu_id + dma_id); in gaudi_init_dma_core()
2734 static void gaudi_enable_qman(struct hl_device *hdev, int dma_id, in gaudi_enable_qman() argument
2737 u32 dma_qm_offset = dma_id * DMA_QMAN_OFFSET; in gaudi_enable_qman()
2746 int i, j, dma_id, cpu_skip, nic_skip, cq_id = 0, q_idx, msi_vec = 0; in gaudi_init_pci_dma_qmans() local
2752 dma_id = gaudi_dma_assignment[i]; in gaudi_init_pci_dma_qmans()
[all …]
/linux-6.1.9/sound/soc/intel/skylake/ !
Dskl-sst-ipc.h119 u8 instance_id, int dma_id);
146 u8 dma_id, u8 table_id, bool wait);
Dbxt-sst.c51 int ret = 0, i, dma_id, stream_tag; in bxt_load_library() local
69 dma_id = stream_tag - 1; in bxt_load_library()
73 ret = skl_sst_ipc_load_library(&skl->ipc, dma_id, i, true); in bxt_load_library()
/linux-6.1.9/sound/soc/sh/rcar/ !
Ddma.c797 int ret, dma_id; in rsnd_dma_alloc() local
814 dma_id = dmac->dmapp_num; in rsnd_dma_alloc()
819 dma_id = dmac->dmaen_num; in rsnd_dma_alloc()
827 dma_id = dmac->dmaen_num; in rsnd_dma_alloc()
838 type, dma_id); in rsnd_dma_alloc()
/linux-6.1.9/drivers/pwm/ !
Dpwm-stm32.c113 enum stm32_timers_dmas dma_id; in stm32_pwm_raw_capture() local
122 dma_id = pwm->hwpwm < 2 ? STM32_TIMERS_DMA_CH1 : STM32_TIMERS_DMA_CH3; in stm32_pwm_raw_capture()
133 ret = stm32_timers_dma_burst_read(parent, priv->capture, dma_id, ccr, 2, in stm32_pwm_raw_capture()
/linux-6.1.9/drivers/gpu/drm/msm/disp/mdp4/ !
Dmdp4_crtc.c622 enum mdp4_dma dma_id) in mdp4_crtc_init() argument
636 mdp4_crtc->dma = dma_id; in mdp4_crtc_init()
645 dma_names[dma_id], ovlp_id); in mdp4_crtc_init()

12