Home
last modified time | relevance | path

Searched refs:new_req (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_hwrm.c192 int hwrm_req_replace(struct bnxt *bp, void *req, void *new_req, u32 len) in hwrm_req_replace() argument
214 memcpy(internal_req, new_req, len); in hwrm_req_replace()
216 internal_req->req_type = ((struct input *)new_req)->req_type; in hwrm_req_replace()
217 ctx->req = new_req; in hwrm_req_replace()
A Dbnxt_hwrm.h142 int hwrm_req_replace(struct bnxt *bp, void *req, void *new_req, u32 len);
/linux/drivers/gpu/drm/
A Ddrm_plane.c1181 struct drm_mode_cursor2 new_req; in drm_mode_cursor_ioctl() local
1183 memcpy(&new_req, req, sizeof(struct drm_mode_cursor)); in drm_mode_cursor_ioctl()
1184 new_req.hot_x = new_req.hot_y = 0; in drm_mode_cursor_ioctl()
1186 return drm_mode_cursor_common(dev, &new_req, file_priv); in drm_mode_cursor_ioctl()
/linux/drivers/infiniband/hw/irdma/
A Dhw.c2611 struct irdma_cqp_request *new_req; in irdma_hw_flush_wqes() local
2620 new_req = irdma_alloc_and_get_cqp_request(&rf->cqp, true); in irdma_hw_flush_wqes()
2621 if (!new_req) { in irdma_hw_flush_wqes()
2625 cqp_info = &new_req->info; in irdma_hw_flush_wqes()
2626 hw_info = &new_req->info.in.u.qp_flush_wqes.info; in irdma_hw_flush_wqes()
2631 cqp_info->in.u.qp_flush_wqes.scratch = (uintptr_t)new_req; in irdma_hw_flush_wqes()
2633 status = irdma_handle_cqp_op(rf, new_req); in irdma_hw_flush_wqes()
2634 if (new_req->compl_info.maj_err_code || in irdma_hw_flush_wqes()
2635 new_req->compl_info.min_err_code != IRDMA_CQP_COMPL_SQ_WQE_FLUSHED || in irdma_hw_flush_wqes()
2642 irdma_put_cqp_request(&rf->cqp, new_req); in irdma_hw_flush_wqes()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_main.c8457 static void hclge_prepare_mac_addr(struct hclge_mac_vlan_tbl_entry_cmd *new_req, in hclge_prepare_mac_addr() argument
8465 hnae3_set_bit(new_req->flags, HCLGE_MAC_VLAN_BIT0_EN_B, 1); in hclge_prepare_mac_addr()
8467 hnae3_set_bit(new_req->entry_type, HCLGE_MAC_VLAN_BIT1_EN_B, 1); in hclge_prepare_mac_addr()
8468 hnae3_set_bit(new_req->mc_mac_en, HCLGE_MAC_VLAN_BIT0_EN_B, 1); in hclge_prepare_mac_addr()
8471 new_req->mac_addr_hi32 = cpu_to_le32(high_val); in hclge_prepare_mac_addr()
8472 new_req->mac_addr_lo16 = cpu_to_le16(low_val & 0xffff); in hclge_prepare_mac_addr()

Completed in 37 milliseconds