/kernel/linux/linux-5.10/drivers/staging/wfx/ |
D | hif_tx.c | 44 return (*hif)->body; in wfx_alloc_hif() 147 struct hif_req_configuration *body = wfx_alloc_hif(buf_len, &hif); in hif_configuration() local 151 body->length = cpu_to_le16(len); in hif_configuration() 152 memcpy(body->pds_data, conf, len); in hif_configuration() 163 struct hif_req_reset *body = wfx_alloc_hif(sizeof(*body), &hif); in hif_reset() local 167 body->reset_stat = reset_stat; in hif_reset() 168 wfx_fill_header(hif, wvif->id, HIF_REQ_ID_RESET, sizeof(*body)); in hif_reset() 180 struct hif_req_read_mib *body = wfx_alloc_hif(sizeof(*body), &hif); in hif_read_mib() local 183 if (!body || !reply) { in hif_read_mib() 187 body->mib_id = cpu_to_le16(mib_id); in hif_read_mib() [all …]
|
D | hif_rx.c | 57 const struct hif_cnf_tx *body = buf; in hif_tx_confirm() local 59 wfx_tx_confirm_cb(wdev, body); in hif_tx_confirm() 66 const struct hif_cnf_multi_transmit *body = buf; in hif_multi_tx_confirm() local 69 WARN(body->num_tx_confs <= 0, "corrupted message"); in hif_multi_tx_confirm() 70 for (i = 0; i < body->num_tx_confs; i++) in hif_multi_tx_confirm() 71 wfx_tx_confirm_cb(wdev, &body->tx_conf_payload[i]); in hif_multi_tx_confirm() 78 const struct hif_ind_startup *body = buf; in hif_startup_indication() local 80 if (body->status || body->firmware_type > 4) { in hif_startup_indication() 84 memcpy(&wdev->hw_caps, body, sizeof(struct hif_ind_startup)); in hif_startup_indication() 110 const struct hif_ind_rx *body = buf; in hif_receive_indication() local [all …]
|
/kernel/linux/linux-5.10/drivers/media/usb/as102/ |
D | as10x_cmd.c | 28 sizeof(pcmd->body.turn_on.req)); in as10x_cmd_turn_on() 31 pcmd->body.turn_on.req.proc_id = cpu_to_le16(CONTROL_PROC_TURNON); in as10x_cmd_turn_on() 36 sizeof(pcmd->body.turn_on.req) + in as10x_cmd_turn_on() 39 sizeof(prsp->body.turn_on.rsp) + in as10x_cmd_turn_on() 69 sizeof(pcmd->body.turn_off.req)); in as10x_cmd_turn_off() 72 pcmd->body.turn_off.req.proc_id = cpu_to_le16(CONTROL_PROC_TURNOFF); in as10x_cmd_turn_off() 78 sizeof(pcmd->body.turn_off.req) + HEADER_SIZE, in as10x_cmd_turn_off() 80 sizeof(prsp->body.turn_off.rsp) + HEADER_SIZE); in as10x_cmd_turn_off() 111 sizeof(preq->body.set_tune.req)); in as10x_cmd_set_tune() 114 preq->body.set_tune.req.proc_id = cpu_to_le16(CONTROL_PROC_SETTUNE); in as10x_cmd_set_tune() [all …]
|
D | as10x_cmd_stream.c | 29 sizeof(pcmd->body.add_pid_filter.req)); in as10x_cmd_add_PID_filter() 32 pcmd->body.add_pid_filter.req.proc_id = in as10x_cmd_add_PID_filter() 34 pcmd->body.add_pid_filter.req.pid = cpu_to_le16(filter->pid); in as10x_cmd_add_PID_filter() 35 pcmd->body.add_pid_filter.req.stream_type = filter->type; in as10x_cmd_add_PID_filter() 38 pcmd->body.add_pid_filter.req.idx = filter->idx; in as10x_cmd_add_PID_filter() 40 pcmd->body.add_pid_filter.req.idx = 0xFF; in as10x_cmd_add_PID_filter() 45 sizeof(pcmd->body.add_pid_filter.req) in as10x_cmd_add_PID_filter() 47 sizeof(prsp->body.add_pid_filter.rsp) in as10x_cmd_add_PID_filter() 61 filter->idx = prsp->body.add_pid_filter.rsp.filter_id; in as10x_cmd_add_PID_filter() 86 sizeof(pcmd->body.del_pid_filter.req)); in as10x_cmd_del_PID_filter() [all …]
|
D | as10x_cmd_cfg.c | 34 sizeof(pcmd->body.context.req)); in as10x_cmd_get_context() 37 pcmd->body.context.req.proc_id = cpu_to_le16(CONTROL_PROC_CONTEXT); in as10x_cmd_get_context() 38 pcmd->body.context.req.tag = cpu_to_le16(tag); in as10x_cmd_get_context() 39 pcmd->body.context.req.type = cpu_to_le16(GET_CONTEXT_DATA); in as10x_cmd_get_context() 45 sizeof(pcmd->body.context.req) in as10x_cmd_get_context() 48 sizeof(prsp->body.context.rsp) in as10x_cmd_get_context() 63 *pvalue = le32_to_cpu((__force __le32)prsp->body.context.rsp.reg_val.u.value32); in as10x_cmd_get_context() 90 sizeof(pcmd->body.context.req)); in as10x_cmd_set_context() 93 pcmd->body.context.req.proc_id = cpu_to_le16(CONTROL_PROC_CONTEXT); in as10x_cmd_set_context() 95 pcmd->body.context.req.reg_val.u.value32 = (__force u32)cpu_to_le32(value); in as10x_cmd_set_context() [all …]
|
/kernel/linux/linux-5.10/drivers/hv/ |
D | hv_kvp.c | 140 version = kvp_msg->body.kvp_register.version; in kvp_register() 228 data = &message->body.kvp_enum_data; in kvp_on_msg() 272 len = utf8s_to_utf16s((char *)in->body.kvp_ip_val.ip_addr, in process_ob_ipinfo() 273 strlen((char *)in->body.kvp_ip_val.ip_addr), in process_ob_ipinfo() 280 len = utf8s_to_utf16s((char *)in->body.kvp_ip_val.sub_net, in process_ob_ipinfo() 281 strlen((char *)in->body.kvp_ip_val.sub_net), in process_ob_ipinfo() 288 len = utf8s_to_utf16s((char *)in->body.kvp_ip_val.gate_way, in process_ob_ipinfo() 289 strlen((char *)in->body.kvp_ip_val.gate_way), in process_ob_ipinfo() 296 len = utf8s_to_utf16s((char *)in->body.kvp_ip_val.dns_addr, in process_ob_ipinfo() 297 strlen((char *)in->body.kvp_ip_val.dns_addr), in process_ob_ipinfo() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_scrn.c | 69 SVGAFifoCmdBlitScreenToGMRFB body; member 74 SVGAFifoCmdBlitGMRFBToScreen body; member 79 SVGA3dCmdBlitSurfaceToScreen body; member 84 SVGAFifoCmdDefineGMRFB body; member 176 SVGAFifoCmdDestroyScreen body; in vmw_sou_fifo_destroy() member 190 cmd->body.screenId = sou->base.unit; in vmw_sou_fifo_destroy() 495 gmr->body.format.bitsPerPixel = update->vfb->base.format->cpp[0] * 8; in vmw_sou_bo_define_gmrfb() 496 gmr->body.format.colorDepth = depth; in vmw_sou_bo_define_gmrfb() 497 gmr->body.format.reserved = 0; in vmw_sou_bo_define_gmrfb() 498 gmr->body.bytesPerLine = update->vfb->base.pitches[0]; in vmw_sou_bo_define_gmrfb() [all …]
|
D | vmwgfx_surface.c | 170 SVGA3dCmdSurfaceDMA body; member 180 SVGA3dCmdDefineSurface body; member 188 SVGA3dCmdDestroySurface body; member 245 cmd->header.size = sizeof(cmd->body); in vmw_surface_destroy_encode() 246 cmd->body.sid = id; in vmw_surface_destroy_encode() 265 cmd_len = sizeof(cmd->body) + srf->metadata.num_sizes * in vmw_surface_define_encode() 270 cmd->body.sid = srf->res.id; in vmw_surface_define_encode() 276 cmd->body.surfaceFlags = (SVGA3dSurface1Flags)srf->metadata.flags; in vmw_surface_define_encode() 277 cmd->body.format = srf->metadata.format; in vmw_surface_define_encode() 279 cmd->body.face[i].numMipLevels = srf->metadata.mip_levels[i]; in vmw_surface_define_encode() [all …]
|
D | vmwgfx_binding.c | 555 SVGA3dCmdSetShader body; in vmw_binding_scrub_shader() member 563 cmd->header.size = sizeof(cmd->body); in vmw_binding_scrub_shader() 564 cmd->body.cid = bi->ctx->id; in vmw_binding_scrub_shader() 565 cmd->body.type = binding->shader_slot + SVGA3D_SHADERTYPE_MIN; in vmw_binding_scrub_shader() 566 cmd->body.shid = ((rebind) ? bi->res->id : SVGA3D_INVALID_ID); in vmw_binding_scrub_shader() 587 SVGA3dCmdSetRenderTarget body; in vmw_binding_scrub_render_target() member 595 cmd->header.size = sizeof(cmd->body); in vmw_binding_scrub_render_target() 596 cmd->body.cid = bi->ctx->id; in vmw_binding_scrub_render_target() 597 cmd->body.type = binding->slot; in vmw_binding_scrub_render_target() 598 cmd->body.target.sid = ((rebind) ? bi->res->id : SVGA3D_INVALID_ID); in vmw_binding_scrub_render_target() [all …]
|
D | vmwgfx_execbuf.c | 54 __type body; \ 732 cmd->header.size = sizeof(cmd->body); in vmw_rebind_all_dx_query() 733 cmd->body.cid = ctx_res->id; in vmw_rebind_all_dx_query() 734 cmd->body.mobid = dx_query_mob->base.mem.start; in vmw_rebind_all_dx_query() 841 &cmd->body, NULL); in vmw_cmd_cid_check() 883 if (cmd->body.type >= SVGA3D_RT_MAX) { in vmw_cmd_set_render_target_check() 885 (unsigned int) cmd->body.type); in vmw_cmd_set_render_target_check() 891 &cmd->body.cid, &ctx); in vmw_cmd_set_render_target_check() 897 &cmd->body.target.sid, &res); in vmw_cmd_set_render_target_check() 912 binding.slot = cmd->body.type; in vmw_cmd_set_render_target_check() [all …]
|
D | vmwgfx_context.c | 145 SVGA3dCmdDestroyContext body; in vmw_hw_context_destroy() member 171 cmd->header.size = sizeof(cmd->body); in vmw_hw_context_destroy() 172 cmd->body.cid = res->id; in vmw_hw_context_destroy() 248 SVGA3dCmdDefineContext body; in vmw_context_init() member 275 cmd->header.size = sizeof(cmd->body); in vmw_context_init() 276 cmd->body.cid = res->id; in vmw_context_init() 302 SVGA3dCmdDefineGBContext body; in vmw_gb_context_create() member 326 cmd->header.size = sizeof(cmd->body); in vmw_gb_context_create() 327 cmd->body.cid = res->id; in vmw_gb_context_create() 345 SVGA3dCmdBindGBContext body; in vmw_gb_context_bind() member [all …]
|
D | vmwgfx_mob.c | 117 SVGA3dCmdSetOTableBase64 body; in vmw_setup_otable_base() member 159 cmd->header.size = sizeof(cmd->body); in vmw_setup_otable_base() 160 cmd->body.type = type; in vmw_setup_otable_base() 161 cmd->body.baseAddress = mob->pt_root_page >> PAGE_SHIFT; in vmw_setup_otable_base() 162 cmd->body.sizeInBytes = otable->size; in vmw_setup_otable_base() 163 cmd->body.validSizeInBytes = 0; in vmw_setup_otable_base() 164 cmd->body.ptDepth = mob->pt_level; in vmw_setup_otable_base() 198 SVGA3dCmdSetOTableBase body; in vmw_takedown_otable_base() member 212 cmd->header.size = sizeof(cmd->body); in vmw_takedown_otable_base() 213 cmd->body.type = type; in vmw_takedown_otable_base() [all …]
|
D | vmwgfx_cotable.c | 172 SVGA3dCmdDXSetCOTable body; in vmw_cotable_unscrub() member 185 cmd->header.size = sizeof(cmd->body); in vmw_cotable_unscrub() 186 cmd->body.cid = vcotbl->ctx->id; in vmw_cotable_unscrub() 187 cmd->body.type = vcotbl->type; in vmw_cotable_unscrub() 188 cmd->body.mobid = bo->mem.start; in vmw_cotable_unscrub() 189 cmd->body.validSizeInBytes = vcotbl->size_read_back; in vmw_cotable_unscrub() 248 SVGA3dCmdDXReadbackCOTable body; in vmw_cotable_scrub() member 252 SVGA3dCmdDXSetCOTable body; in vmw_cotable_scrub() member 274 cmd0->header.size = sizeof(cmd0->body); in vmw_cotable_scrub() 275 cmd0->body.cid = vcotbl->ctx->id; in vmw_cotable_scrub() [all …]
|
D | vmwgfx_stdu.c | 85 SVGA3dCmdUpdateGBScreenTarget body; member 90 SVGA3dCmdSurfaceDMA body; member 95 SVGA3dCmdSurfaceCopy body; member 100 SVGA3dCmdUpdateGBImage body; member 170 SVGA3dCmdDefineGBScreenTarget body; in vmw_stdu_define_st() member 178 cmd->header.size = sizeof(cmd->body); in vmw_stdu_define_st() 180 cmd->body.stid = stdu->base.unit; in vmw_stdu_define_st() 181 cmd->body.width = mode->hdisplay; in vmw_stdu_define_st() 182 cmd->body.height = mode->vdisplay; in vmw_stdu_define_st() 183 cmd->body.flags = (0 == cmd->body.stid) ? SVGA_STFLAG_PRIMARY : 0; in vmw_stdu_define_st() [all …]
|
D | vmwgfx_shader.c | 208 SVGA3dCmdDefineGBShader body; in vmw_gb_shader_create() member 232 cmd->header.size = sizeof(cmd->body); in vmw_gb_shader_create() 233 cmd->body.shid = res->id; in vmw_gb_shader_create() 234 cmd->body.type = shader->type; in vmw_gb_shader_create() 235 cmd->body.sizeInBytes = shader->size; in vmw_gb_shader_create() 253 SVGA3dCmdBindGBShader body; in vmw_gb_shader_bind() member 264 cmd->header.size = sizeof(cmd->body); in vmw_gb_shader_bind() 265 cmd->body.shid = res->id; in vmw_gb_shader_bind() 266 cmd->body.mobid = bo->mem.start; in vmw_gb_shader_bind() 267 cmd->body.offsetInBytes = res->backup_offset; in vmw_gb_shader_bind() [all …]
|
D | vmwgfx_streamoutput.c | 96 SVGA3dCmdDXBindStreamOutput body; in vmw_dx_streamoutput_unscrub() member 107 cmd->header.size = sizeof(cmd->body); in vmw_dx_streamoutput_unscrub() 108 cmd->body.soid = so->id; in vmw_dx_streamoutput_unscrub() 109 cmd->body.mobid = res->backup->base.mem.start; in vmw_dx_streamoutput_unscrub() 110 cmd->body.offsetInBytes = res->backup_offset; in vmw_dx_streamoutput_unscrub() 111 cmd->body.sizeInBytes = so->size; in vmw_dx_streamoutput_unscrub() 167 SVGA3dCmdDXBindStreamOutput body; in vmw_dx_streamoutput_scrub() member 180 cmd->header.size = sizeof(cmd->body); in vmw_dx_streamoutput_scrub() 181 cmd->body.soid = res->id; in vmw_dx_streamoutput_scrub() 182 cmd->body.mobid = SVGA3D_INVALID_ID; in vmw_dx_streamoutput_scrub() [all …]
|
/kernel/linux/linux-5.10/fs/reiserfs/ |
D | do_balan.c | 288 const char * const body) in balance_leaf_insert_left() argument 313 leaf_insert_into_buf(&bi, n + tb->item_pos - ret, ih, body, in balance_leaf_insert_left() 343 leaf_insert_into_buf(&bi, n + tb->item_pos - ret, ih, body, in balance_leaf_insert_left() 353 const char * const body) in balance_leaf_paste_left_shift_dirent() argument 382 body, tb->zeroes_num); in balance_leaf_paste_left_shift_dirent() 397 (struct reiserfs_de_head *) body, in balance_leaf_paste_left_shift_dirent() 398 body + DEH_SIZE, tb->insert_size[0]); in balance_leaf_paste_left_shift_dirent() 415 const char * const body) in balance_leaf_paste_left_shift() argument 423 balance_leaf_paste_left_shift_dirent(tb, ih, body); in balance_leaf_paste_left_shift() 466 ih_item_len(tbL0_ih), l_n, body, in balance_leaf_paste_left_shift() [all …]
|
D | dir.c | 281 void make_empty_dir_item_v1(char *body, __le32 dirid, __le32 objid, in make_empty_dir_item_v1() argument 286 memset(body, 0, EMPTY_DIR_SIZE_V1); in make_empty_dir_item_v1() 287 dot = (struct reiserfs_de_head *)body; in make_empty_dir_item_v1() 310 memcpy(body + deh_location(dot), ".", 1); in make_empty_dir_item_v1() 311 memcpy(body + deh_location(dotdot), "..", 2); in make_empty_dir_item_v1() 315 void make_empty_dir_item(char *body, __le32 dirid, __le32 objid, in make_empty_dir_item() argument 320 memset(body, 0, EMPTY_DIR_SIZE); in make_empty_dir_item() 321 dot = (struct reiserfs_de_head *)body; in make_empty_dir_item() 344 memcpy(body + deh_location(dot), ".", 1); in make_empty_dir_item() 345 memcpy(body + deh_location(dotdot), "..", 2); in make_empty_dir_item()
|
/kernel/linux/linux-5.10/scripts/gcc-plugins/ |
D | stackleak_plugin.c | 286 rtx body; in remove_stack_tracking_gcall() local 299 body = PATTERN(insn); in remove_stack_tracking_gcall() 301 if (GET_CODE(body) == PARALLEL) in remove_stack_tracking_gcall() 302 body = XVECEXP(body, 0, 0); in remove_stack_tracking_gcall() 304 if (GET_CODE(body) != CALL) in remove_stack_tracking_gcall() 312 body = XEXP(body, 0); in remove_stack_tracking_gcall() 313 if (GET_CODE(body) != MEM) in remove_stack_tracking_gcall() 316 body = XEXP(body, 0); in remove_stack_tracking_gcall() 317 if (GET_CODE(body) != SYMBOL_REF) in remove_stack_tracking_gcall() 320 if (SYMBOL_REF_DECL(body) != track_function_decl) in remove_stack_tracking_gcall() [all …]
|
D | arm_ssp_per_task_plugin.c | 15 rtx body; in arm_pertask_ssp_rtl_execute() local 23 body = PATTERN(insn); in arm_pertask_ssp_rtl_execute() 24 if (GET_CODE(body) != SET || in arm_pertask_ssp_rtl_execute() 25 GET_CODE(SET_SRC(body)) != SYMBOL_REF) in arm_pertask_ssp_rtl_execute() 27 sym = XSTR(SET_SRC(body), 0); in arm_pertask_ssp_rtl_execute() 45 SET_SRC(body) = gen_rtx_PLUS(Pmode, masked_sp, in arm_pertask_ssp_rtl_execute()
|
/kernel/linux/linux-5.10/drivers/staging/ks7010/ |
D | ks_hostif.c | 117 memcpy(ap->ssid.body, priv->reg.ssid.body, in get_current_ap() 120 memcpy(ap->rate_set.body, ap_info->rate_set.body, in get_current_ap() 124 memcpy(&ap->rate_set.body[ap->rate_set.size], in get_current_ap() 125 ap_info->ext_rate_set.body, in get_current_ap() 140 memcpy(ap->rsn_ie.body, ap_info->rsn.body, size); in get_current_ap() 145 memcpy(ap->wpa_ie.body, ap_info->rsn.body, size); in get_current_ap() 176 &ap->ssid.body[0], in get_current_ap() 177 ap->rate_set.body[0], ap->rate_set.body[1], in get_current_ap() 178 ap->rate_set.body[2], ap->rate_set.body[3], in get_current_ap() 179 ap->rate_set.body[4], ap->rate_set.body[5], in get_current_ap() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wcn36xx/ |
D | testmode.c | 66 struct build_release_number *body = in wcn36xx_tm_cmd_ptt() local 70 body->drv_major = wcn->fw_major; in wcn36xx_tm_cmd_ptt() 71 body->drv_minor = wcn->fw_minor; in wcn36xx_tm_cmd_ptt() 72 body->drv_patch = wcn->fw_version; in wcn36xx_tm_cmd_ptt() 73 body->drv_build = wcn->fw_revision; in wcn36xx_tm_cmd_ptt() 74 body->ptt_max = 10; in wcn36xx_tm_cmd_ptt() 75 body->ptt_min = 0; in wcn36xx_tm_cmd_ptt()
|
/kernel/liteos_a/kernel/extended/trace/pipeline/ |
D | trace_tlv.c | 59 TraceMsgTlvBody *body = (TraceMsgTlvBody *)tlvBuf; in OsWriteTlv() local 65 body->type = type; in OsWriteTlv() 66 body->len = len; in OsWriteTlv() 68 (VOID)memcpy_s(body->value, len, value, len); in OsWriteTlv() 69 return len + sizeof(body->type) + sizeof(body->len); in OsWriteTlv()
|
/kernel/liteos_m/components/trace/pipeline/ |
D | trace_tlv.c | 59 TraceMsgTlvBody *body = (TraceMsgTlvBody *)tlvBuf; in OsWriteTlv() local 65 body->type = type; in OsWriteTlv() 66 body->len = len; in OsWriteTlv() 68 (VOID)memcpy_s(body->value, len, value, len); in OsWriteTlv() 69 return len + sizeof(body->type) + sizeof(body->len); in OsWriteTlv()
|
/kernel/linux/linux-5.10/fs/kernfs/ |
D | symlink.c | 130 char *body; in kernfs_iop_get_link() local 135 body = kzalloc(PAGE_SIZE, GFP_KERNEL); in kernfs_iop_get_link() 136 if (!body) in kernfs_iop_get_link() 138 error = kernfs_getlink(inode, body); in kernfs_iop_get_link() 140 kfree(body); in kernfs_iop_get_link() 143 set_delayed_call(done, kfree_link, body); in kernfs_iop_get_link() 144 return body; in kernfs_iop_get_link()
|