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

/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_hwrm.h137 int hwrm_req_replace(struct bnxt *bp, void *req, void *new_req, u32 len);
H A Dbnxt_hwrm.c170 * an assignment of new_req to req. Subsequent calls to HWRM API functions,
171 * such as hwrm_req_send(), should thus use req and not new_req (in fact,
174 * @len: The length of new_req.
175 * @new_req: The pre-built request to copy or reference.
177 * Replaces the request data in req with that of new_req. This is useful in
184 * req and is independent of and does not apply to new_req. The caller must
185 * ensure that the lifetime of new_req is least as long as req. Any slices
192 int hwrm_req_replace(struct bnxt *bp, void *req, void *new_req, u32 len) argument
214 memcpy(internal_req, new_req, len);
216 internal_req->req_type = ((struct input *)new_req)
[all...]
/linux-master/drivers/infiniband/hw/irdma/
H A Dhw.c2633 struct irdma_cqp_request *new_req; local
2642 new_req = irdma_alloc_and_get_cqp_request(&rf->cqp, true);
2643 if (!new_req) {
2647 cqp_info = &new_req->info;
2648 hw_info = &new_req->info.in.u.qp_flush_wqes.info;
2653 cqp_info->in.u.qp_flush_wqes.scratch = (uintptr_t)new_req;
2655 status = irdma_handle_cqp_op(rf, new_req);
2656 if (new_req->compl_info.maj_err_code ||
2657 new_req->compl_info.min_err_code != IRDMA_CQP_COMPL_SQ_WQE_FLUSHED ||
2664 irdma_put_cqp_request(&rf->cqp, new_req);
[all...]
/linux-master/drivers/gpu/drm/
H A Ddrm_plane.c1306 struct drm_mode_cursor2 new_req; local
1308 memcpy(&new_req, req, sizeof(struct drm_mode_cursor));
1309 new_req.hot_x = new_req.hot_y = 0;
1311 return drm_mode_cursor_common(dev, &new_req, file_priv);
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c8163 static void hclge_prepare_mac_addr(struct hclge_mac_vlan_tbl_entry_cmd *new_req, argument
8171 hnae3_set_bit(new_req->flags, HCLGE_MAC_VLAN_BIT0_EN_B, 1);
8173 hnae3_set_bit(new_req->entry_type, HCLGE_MAC_VLAN_BIT1_EN_B, 1);
8174 hnae3_set_bit(new_req->mc_mac_en, HCLGE_MAC_VLAN_BIT0_EN_B, 1);
8177 new_req->mac_addr_hi32 = cpu_to_le32(high_val);
8178 new_req->mac_addr_lo16 = cpu_to_le16(low_val & 0xffff);

Completed in 158 milliseconds