Home
last modified time | relevance | path

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

/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 …]
/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()
/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,
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() argument
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() argument
629 ia_css_isys_dma_channel_rmgr_release(dma_id, channel); in release_dma_channel()
/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,
/drivers/misc/habanalabs/gaudi/
Dgaudi.c2708 static void gaudi_init_pci_dma_qman(struct hl_device *hdev, int dma_id, in gaudi_init_pci_dma_qman() argument
2718 dma_qm_offset = dma_id * DMA_QMAN_OFFSET; in gaudi_init_pci_dma_qman()
2784 dma_id); in gaudi_init_pci_dma_qman()
2800 static void gaudi_init_dma_core(struct hl_device *hdev, int dma_id) in gaudi_init_dma_core() argument
2805 u32 dma_offset = dma_id * DMA_CORE_OFFSET; in gaudi_init_dma_core()
2831 gaudi_irq_map_table[GAUDI_EVENT_DMA0_CORE].cpu_id + dma_id); in gaudi_init_dma_core()
2840 static void gaudi_enable_qman(struct hl_device *hdev, int dma_id, in gaudi_enable_qman() argument
2843 u32 dma_qm_offset = dma_id * DMA_QMAN_OFFSET; in gaudi_enable_qman()
2852 int i, j, dma_id, cpu_skip, nic_skip, cq_id = 0, q_idx, msi_vec = 0; in gaudi_init_pci_dma_qmans() local
2858 dma_id = gaudi_dma_assignment[i]; in gaudi_init_pci_dma_qmans()
[all …]
/drivers/staging/media/atomisp/pci/
Dsh_css_sp.h211 sh_css_sp_init_dma_sw_reg(int dma_id);
236 sh_css_sp_set_dma_sw_reg(int dma_id,
Disp2401_input_system_global.h60 isys2401_dma_ID_t dma_id; member
Dsh_css_sp.c1721 sh_css_sp_init_dma_sw_reg(int dma_id) in sh_css_sp_init_dma_sw_reg() argument
1728 sh_css_sp_set_dma_sw_reg(dma_id, in sh_css_sp_init_dma_sw_reg()
1733 sh_css_sp_set_dma_sw_reg(dma_id, in sh_css_sp_init_dma_sw_reg()
1747 sh_css_sp_set_dma_sw_reg(int dma_id, in sh_css_sp_set_dma_sw_reg() argument
1757 (void)dma_id; in sh_css_sp_set_dma_sw_reg()
/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,
/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()
/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_crtc.c631 enum mdp4_dma dma_id) in mdp4_crtc_init() argument
645 mdp4_crtc->dma = dma_id; in mdp4_crtc_init()
654 dma_names[dma_id], ovlp_id); in mdp4_crtc_init()
Dmdp4_kms.h195 enum mdp4_dma dma_id);
/drivers/misc/habanalabs/goya/
Dgoya.c1008 static void goya_init_dma_qman(struct hl_device *hdev, int dma_id, in goya_init_dma_qman() argument
1015 u32 reg_off = dma_id * (mmDMA_QM_1_PQ_PI - mmDMA_QM_0_PQ_PI); in goya_init_dma_qman()
1042 GOYA_ASYNC_EVENT_ID_DMA0_QM + dma_id); in goya_init_dma_qman()
1060 static void goya_init_dma_ch(struct hl_device *hdev, int dma_id) in goya_init_dma_ch() argument
1064 u32 reg_off = dma_id * (mmDMA_CH_1_CFG1 - mmDMA_CH_0_CFG1); in goya_init_dma_ch()
1074 GOYA_ASYNC_EVENT_ID_DMA0_CH + dma_id); in goya_init_dma_ch()
1076 if (dma_id) in goya_init_dma_ch()
1078 (dma_id - 1) * 4; in goya_init_dma_ch()
4998 int rc, dma_id; in goya_context_switch() local
5012 for (dma_id = 1 ; dma_id < NUMBER_OF_EXT_HW_QUEUES ; dma_id++) { in goya_context_switch()
[all …]
/drivers/staging/media/atomisp/pci/runtime/debug/src/
Dia_css_debug.c2432 ia_css_debug_mode_disable_dma_channel(int dma_id, in ia_css_debug_mode_disable_dma_channel() argument
2437 rc = sh_css_sp_set_dma_sw_reg(dma_id, channel_id, request_type, false); in ia_css_debug_mode_disable_dma_channel()
2447 ia_css_debug_mode_enable_dma_channel(int dma_id, in ia_css_debug_mode_enable_dma_channel() argument
2452 rc = sh_css_sp_set_dma_sw_reg(dma_id, channel_id, request_type, true); in ia_css_debug_mode_enable_dma_channel()