Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/broadcom/bnge/
H A Dbnge_hwrm.c101 int bnge_hwrm_req_replace(struct bnge_dev *bd, void *req, void *new_req, in bnge_hwrm_req_replace() argument
124 memcpy(internal_req, new_req, len); in bnge_hwrm_req_replace()
126 internal_req->req_type = ((struct input *)new_req)->req_type; in bnge_hwrm_req_replace()
127 ctx->req = new_req; in bnge_hwrm_req_replace()
/linux/drivers/net/ethernet/broadcom/bnxt/
H 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()
H A Dbnxt_hwrm.h137 int hwrm_req_replace(struct bnxt *bp, void *req, void *new_req, u32 len);
/linux/drivers/gpu/drm/
H A Ddrm_plane.c1360 struct drm_mode_cursor2 new_req; in drm_mode_cursor_ioctl() local
1362 memcpy(&new_req, req, sizeof(struct drm_mode_cursor)); in drm_mode_cursor_ioctl()
1363 new_req.hot_x = new_req.hot_y = 0; in drm_mode_cursor_ioctl()
1365 return drm_mode_cursor_common(dev, &new_req, file_priv); in drm_mode_cursor_ioctl()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c8260 static void hclge_prepare_mac_addr(struct hclge_mac_vlan_tbl_entry_cmd *new_req, in hclge_prepare_mac_addr() argument
8268 hnae3_set_bit(new_req->flags, HCLGE_MAC_VLAN_BIT0_EN_B, 1); in hclge_prepare_mac_addr()
8270 hnae3_set_bit(new_req->entry_type, HCLGE_MAC_VLAN_BIT1_EN_B, 1); in hclge_prepare_mac_addr()
8271 hnae3_set_bit(new_req->mc_mac_en, HCLGE_MAC_VLAN_BIT0_EN_B, 1); in hclge_prepare_mac_addr()
8274 new_req->mac_addr_hi32 = cpu_to_le32(high_val); in hclge_prepare_mac_addr()
8275 new_req->mac_addr_lo16 = cpu_to_le16(low_val & 0xffff); in hclge_prepare_mac_addr()