Home
last modified time | relevance | path

Searched refs:p_cfg (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/dma/
H A Dsun6i-dma.c138 void (*set_burst_length)(u32 *p_cfg, s8 src_burst, s8 dst_burst);
139 void (*set_drq)(u32 *p_cfg, s8 src_drq, s8 dst_drq);
140 void (*set_mode)(u32 *p_cfg, s8 src_mode, s8 dst_mode);
314 static void sun6i_set_burst_length_a31(u32 *p_cfg, s8 src_burst, s8 dst_burst) in sun6i_set_burst_length_a31() argument
316 *p_cfg |= DMA_CHAN_CFG_SRC_BURST_A31(src_burst) | in sun6i_set_burst_length_a31()
320 static void sun6i_set_burst_length_h3(u32 *p_cfg, s8 src_burst, s8 dst_burst) in sun6i_set_burst_length_h3() argument
322 *p_cfg |= DMA_CHAN_CFG_SRC_BURST_H3(src_burst) | in sun6i_set_burst_length_h3()
326 static void sun6i_set_drq_a31(u32 *p_cfg, s8 src_drq, s8 dst_drq) in sun6i_set_drq_a31() argument
328 *p_cfg |= DMA_CHAN_CFG_SRC_DRQ_A31(src_drq) | in sun6i_set_drq_a31()
332 static void sun6i_set_drq_h6(u32 *p_cfg, s8 src_drq, s8 dst_drq) in sun6i_set_drq_h6() argument
[all …]
H A Dsun4i-dma.c173 void (*set_dst_data_width)(u32 *p_cfg, s8 data_width);
174 void (*set_src_data_width)(u32 *p_cfg, s8 data_width);
254 static void set_dst_data_width_a10(u32 *p_cfg, s8 data_width) in set_dst_data_width_a10() argument
256 *p_cfg |= SUN4I_DMA_CFG_DST_DATA_WIDTH(data_width); in set_dst_data_width_a10()
259 static void set_src_data_width_a10(u32 *p_cfg, s8 data_width) in set_src_data_width_a10() argument
261 *p_cfg |= SUN4I_DMA_CFG_SRC_DATA_WIDTH(data_width); in set_src_data_width_a10()
264 static void set_dst_data_width_f1c100s(u32 *p_cfg, s8 data_width) in set_dst_data_width_f1c100s() argument
266 *p_cfg |= SUNIV_DMA_CFG_DST_DATA_WIDTH(data_width); in set_dst_data_width_f1c100s()
269 static void set_src_data_width_f1c100s(u32 *p_cfg, s8 data_width) in set_src_data_width_f1c100s() argument
271 *p_cfg |= SUNIV_DMA_CFG_SRC_DATA_WIDTH(data_width); in set_src_data_width_f1c100s()
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_cxt.c179 struct qed_conn_type_cfg *p_cfg = &p_mngr->conn_cfg[i]; in qed_cxt_tm_iids() local
182 if (p_cfg->cid_count) in qed_cxt_tm_iids()
185 iids->pf_cids += p_cfg->cid_count; in qed_cxt_tm_iids()
189 if (p_cfg->cids_per_vf) in qed_cxt_tm_iids()
192 iids->per_vf_cids += p_cfg->cids_per_vf; in qed_cxt_tm_iids()
196 struct qed_tid_seg *segs = p_cfg->tid_seg; in qed_cxt_tm_iids()
259 struct qed_cxt_mngr *p_cfg = p_hwfn->p_cxt_mngr; in qed_cxt_tid_seg_info() local
266 if (p_cfg->conn_cfg[i].tid_seg[seg].count) in qed_cxt_tid_seg_info()
267 return &p_cfg->conn_cfg[i].tid_seg[seg]; in qed_cxt_tid_seg_info()
1080 struct qed_conn_type_cfg *p_cfg = &p_mngr->conn_cfg[type]; in qed_cid_map_alloc() local
[all …]