Home
last modified time | relevance | path

Searched refs:hw_idx (Results 1 – 25 of 28) sorted by relevance

12

/drivers/crypto/caam/
Dregs.h220 static inline void jr_outentry_get(void *outring, int hw_idx, dma_addr_t *desc, in jr_outentry_get() argument
230 *desc = outentry[hw_idx].desc; in jr_outentry_get()
231 *jrstatus = outentry[hw_idx].jrstatus; in jr_outentry_get()
238 *desc = outentry[hw_idx].desc; in jr_outentry_get()
239 *jrstatus = outentry[hw_idx].jrstatus; in jr_outentry_get()
245 static inline dma_addr_t jr_outentry_desc(void *outring, int hw_idx) in jr_outentry_desc() argument
250 jr_outentry_get(outring, hw_idx, &desc, &unused); in jr_outentry_desc()
255 static inline u32 jr_outentry_jrstatus(void *outring, int hw_idx) in jr_outentry_jrstatus() argument
260 jr_outentry_get(outring, hw_idx, &unused, &jrstatus); in jr_outentry_jrstatus()
265 static inline void jr_inpentry_set(void *inpring, int hw_idx, dma_addr_t val) in jr_inpentry_set() argument
[all …]
Djr.c206 int hw_idx, sw_idx, i, head, tail; in caam_jr_dequeue() local
220 hw_idx = jrp->out_ring_read_index; in caam_jr_dequeue()
225 if (jr_outentry_desc(jrp->outring, hw_idx) == in caam_jr_dequeue()
235 hw_idx)), in caam_jr_dequeue()
247 hw_idx)); in caam_jr_dequeue()
/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_trace.h171 TP_PROTO(uint32_t drm_id, enum dpu_intr_idx intr_idx, int hw_idx,
173 TP_ARGS(drm_id, intr_idx, hw_idx, irq_idx),
177 __field( int, hw_idx )
183 __entry->hw_idx = hw_idx;
187 __entry->drm_id, __entry->intr_idx, __entry->hw_idx,
191 TP_PROTO(uint32_t drm_id, enum dpu_intr_idx intr_idx, int hw_idx,
193 TP_ARGS(drm_id, intr_idx, hw_idx, irq_idx)
196 TP_PROTO(uint32_t drm_id, enum dpu_intr_idx intr_idx, int hw_idx,
198 TP_ARGS(drm_id, intr_idx, hw_idx, irq_idx)
202 TP_PROTO(uint32_t drm_id, enum dpu_intr_idx intr_idx, int hw_idx,
[all …]
Ddpu_encoder.c279 DRMID(phys_enc->parent), intr_idx, irq->hw_idx, in dpu_encoder_helper_wait_for_irq()
286 DRMID(phys_enc->parent), intr_idx, irq->hw_idx, in dpu_encoder_helper_wait_for_irq()
292 DRMID(phys_enc->parent), intr_idx, irq->hw_idx, in dpu_encoder_helper_wait_for_irq()
298 irq->hw_idx, in dpu_encoder_helper_wait_for_irq()
310 irq->hw_idx, irq->irq_idx, in dpu_encoder_helper_wait_for_irq()
322 irq->hw_idx, irq->irq_idx, in dpu_encoder_helper_wait_for_irq()
329 intr_idx, irq->hw_idx, irq->irq_idx, in dpu_encoder_helper_wait_for_irq()
357 irq->intr_type, irq->hw_idx); in dpu_encoder_helper_register_irq()
378 DRMID(phys_enc->parent), intr_idx, irq->hw_idx, in dpu_encoder_helper_register_irq()
387 irq->hw_idx, irq->irq_idx); in dpu_encoder_helper_register_irq()
[all …]
Ddpu_encoder_phys_cmd.c148 irq->hw_idx = phys_enc->hw_ctl->idx; in _dpu_encoder_phys_cmd_setup_irq_hw_idx()
152 irq->hw_idx = phys_enc->hw_pp->idx; in _dpu_encoder_phys_cmd_setup_irq_hw_idx()
156 irq->hw_idx = phys_enc->hw_pp->idx; in _dpu_encoder_phys_cmd_setup_irq_hw_idx()
160 irq->hw_idx = phys_enc->intf_idx; in _dpu_encoder_phys_cmd_setup_irq_hw_idx()
740 irq->hw_idx = -EINVAL; in dpu_encoder_phys_cmd_init()
Ddpu_encoder_phys_vid.c370 irq->hw_idx = phys_enc->intf_idx; in _dpu_encoder_phys_vid_setup_irq_hw_idx()
374 irq->hw_idx = phys_enc->intf_idx; in _dpu_encoder_phys_vid_setup_irq_hw_idx()
714 irq->hw_idx = -EINVAL; in dpu_encoder_phys_vid_init()
Ddpu_encoder_phys.h178 int hw_idx; member
/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_ppm.h246 u32 hw_idx = (ddp_tag >> PPOD_IDX_SHIFT) & in cxgbi_ppm_ddp_tag_get_idx() local
249 return hw_idx - ppm->base_idx; in cxgbi_ppm_ddp_tag_get_idx()
252 static inline u32 cxgbi_ppm_make_ddp_tag(unsigned int hw_idx, in cxgbi_ppm_make_ddp_tag() argument
255 return (hw_idx << PPOD_IDX_SHIFT) | ((u32)color); in cxgbi_ppm_make_ddp_tag()
/drivers/clk/ingenic/
Dcgu.c297 u8 i, hw_idx, idx = 0; in ingenic_clk_get_parent() local
301 hw_idx = (reg >> clk_info->mux.shift) & in ingenic_clk_get_parent()
308 for (i = 0; i < hw_idx; i++) { in ingenic_clk_get_parent()
323 u8 curr_idx, hw_idx, num_poss; in ingenic_clk_set_parent() local
333 hw_idx = curr_idx = 0; in ingenic_clk_set_parent()
335 for (; hw_idx < num_poss; hw_idx++) { in ingenic_clk_set_parent()
336 if (clk_info->parents[hw_idx] == -1) in ingenic_clk_set_parent()
354 reg |= hw_idx << clk_info->mux.shift; in ingenic_clk_set_parent()
/drivers/net/ethernet/freescale/enetc/
Denetc.h114 int hw_idx = i; in enetc_rxbd() local
118 hw_idx = 2 * i; in enetc_rxbd()
120 return &(((union enetc_rx_bd *)rx_ring->bd_base)[hw_idx]); in enetc_rxbd()
/drivers/net/wireless/ti/wl12xx/
Dwl12xx.h96 u8 hw_idx; member
/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_action.c1687 int ret, i, hw_idx = 0; in dr_actions_convert_modify_header() local
1737 if ((hw_idx % 2) && (hw_field == hw_dst_action_info->hw_field || in dr_actions_convert_modify_header()
1743 hw_idx++; in dr_actions_convert_modify_header()
1744 if ((num_sw_actions + hw_idx - i) >= max_hw_actions) { in dr_actions_convert_modify_header()
1751 hw_actions[hw_idx] = hw_action; in dr_actions_convert_modify_header()
1752 hw_idx++; in dr_actions_convert_modify_header()
1755 *num_hw_actions = hw_idx; in dr_actions_convert_modify_header()
/drivers/net/wireless/mediatek/mt76/mt7603/
Dbeacon.c32 dev->mt76.q_tx[MT_TXQ_CAB]->hw_idx) | in mt7603_update_beacon_iter()
Dmain.c515 queue = dev->mt76.q_tx[queue]->hw_idx; in mt7603_conf_tx()
Dmac.c449 u8 qidx = q->hw_idx; in mt7603_mac_sta_poll()
933 FIELD_PREP(MT_TXD0_Q_IDX, q->hw_idx); in mt7603_mac_write_txwi()
/drivers/net/wireless/mediatek/mt76/
Dmt76x02_usb_core.c70 int pid, len = tx_info->skb->len, ep = q2ep(mdev->q_tx[qid]->hw_idx); in mt76x02u_tx_prepare_skb()
Dsdio.c50 q->hw_idx = i; in mt76s_alloc_tx()
Dusb.c913 mt76u_fill_bulk_urb(dev, USB_DIR_OUT, q2ep(q->hw_idx), in mt76u_tx_queue_skb()
982 q->hw_idx = mt76u_ac_to_hwq(dev, i); in mt76u_alloc_tx()
Ddma.c95 q->hw_idx = idx; in mt76_dma_alloc_queue()
Dmt76x02_util.c494 qid = dev->mt76.q_tx[queue]->hw_idx; in mt76x02_conf_tx()
Dmt76.h136 u8 hw_idx; member
/drivers/net/ethernet/broadcom/
Dcnic.h187 u16 (*hw_idx)(u16); member
/drivers/net/ethernet/atheros/atlx/
Datl1.h606 u16 hw_idx; /* hardware index */ member
/drivers/net/wireless/mediatek/mt76/mt7615/
Dmt7615.h545 return MT_INT_TX_DONE(dev->mt76.q_tx[MT_TXQ_MCU]->hw_idx); in mt7615_tx_mcu_int_mask()
/drivers/net/wireless/ath/ath11k/
Dwmi.c315 u32 hw_idx, phy_idx = 0; in ath11k_pull_mac_phy_cap_svc_ready_ext() local
320 for (hw_idx = 0; hw_idx < hw_caps->num_hw_modes; hw_idx++) { in ath11k_pull_mac_phy_cap_svc_ready_ext()
321 if (hw_mode_id == wmi_hw_mode_caps[hw_idx].hw_mode_id) in ath11k_pull_mac_phy_cap_svc_ready_ext()
324 phy_map = wmi_hw_mode_caps[hw_idx].phy_id_map; in ath11k_pull_mac_phy_cap_svc_ready_ext()
331 if (hw_idx == hw_caps->num_hw_modes) in ath11k_pull_mac_phy_cap_svc_ready_ext()

12