/Linux-v6.1/drivers/net/wireless/silabs/wfx/ |
D | hif_tx.c | 43 return (*hif)->body; in wfx_alloc_hif() 145 struct wfx_hif_req_configuration *body = wfx_alloc_hif(buf_len, &hif); in wfx_hif_configuration() local 149 body->length = cpu_to_le16(len); in wfx_hif_configuration() 150 memcpy(body->pds_data, conf, len); in wfx_hif_configuration() 161 struct wfx_hif_req_reset *body = wfx_alloc_hif(sizeof(*body), &hif); in wfx_hif_reset() local 165 body->reset_stat = reset_stat; in wfx_hif_reset() 166 wfx_fill_header(hif, wvif->id, HIF_REQ_ID_RESET, sizeof(*body)); in wfx_hif_reset() 177 struct wfx_hif_req_read_mib *body = wfx_alloc_hif(sizeof(*body), &hif); in wfx_hif_read_mib() local 180 if (!body || !reply) { in wfx_hif_read_mib() 184 body->mib_id = cpu_to_le16(mib_id); in wfx_hif_read_mib() [all …]
|
D | hif_rx.c | 55 const struct wfx_hif_cnf_tx *body = buf; in wfx_hif_tx_confirm() local 57 wfx_tx_confirm_cb(wdev, body); in wfx_hif_tx_confirm() 64 const struct wfx_hif_cnf_multi_transmit *body = buf; in wfx_hif_multi_tx_confirm() local 67 WARN(body->num_tx_confs <= 0, "corrupted message"); in wfx_hif_multi_tx_confirm() 68 for (i = 0; i < body->num_tx_confs; i++) in wfx_hif_multi_tx_confirm() 69 wfx_tx_confirm_cb(wdev, &body->tx_conf_payload[i]); in wfx_hif_multi_tx_confirm() 76 const struct wfx_hif_ind_startup *body = buf; in wfx_hif_startup_indication() local 78 if (body->status || body->firmware_type > 4) { in wfx_hif_startup_indication() 82 memcpy(&wdev->hw_caps, body, sizeof(struct wfx_hif_ind_startup)); in wfx_hif_startup_indication() 101 const struct wfx_hif_ind_rx *body = buf; in wfx_hif_receive_indication() local [all …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_surface.c | 164 SVGA3dCmdSurfaceDMA body; member 174 SVGA3dCmdDefineSurface body; member 182 SVGA3dCmdDestroySurface body; member 239 cmd->header.size = sizeof(cmd->body); in vmw_surface_destroy_encode() 240 cmd->body.sid = id; in vmw_surface_destroy_encode() 259 cmd_len = sizeof(cmd->body) + srf->metadata.num_sizes * in vmw_surface_define_encode() 264 cmd->body.sid = srf->res.id; in vmw_surface_define_encode() 270 cmd->body.surfaceFlags = (SVGA3dSurface1Flags)srf->metadata.flags; in vmw_surface_define_encode() 271 cmd->body.format = srf->metadata.format; in vmw_surface_define_encode() 273 cmd->body.face[i].numMipLevels = srf->metadata.mip_levels[i]; in vmw_surface_define_encode() [all …]
|
D | vmwgfx_scrn.c | 68 SVGAFifoCmdBlitScreenToGMRFB body; member 73 SVGAFifoCmdBlitGMRFBToScreen body; member 78 SVGA3dCmdBlitSurfaceToScreen body; member 83 SVGAFifoCmdDefineGMRFB body; member 175 SVGAFifoCmdDestroyScreen body; in vmw_sou_fifo_destroy() member 189 cmd->body.screenId = sou->base.unit; in vmw_sou_fifo_destroy() 492 gmr->body.format.bitsPerPixel = update->vfb->base.format->cpp[0] * 8; in vmw_sou_bo_define_gmrfb() 493 gmr->body.format.colorDepth = depth; in vmw_sou_bo_define_gmrfb() 494 gmr->body.format.reserved = 0; in vmw_sou_bo_define_gmrfb() 495 gmr->body.bytesPerLine = update->vfb->base.pitches[0]; in vmw_sou_bo_define_gmrfb() [all …]
|
D | vmwgfx_binding.c | 578 SVGA3dCmdSetShader body; in vmw_binding_scrub_shader() member 586 cmd->header.size = sizeof(cmd->body); in vmw_binding_scrub_shader() 587 cmd->body.cid = bi->ctx->id; in vmw_binding_scrub_shader() 588 cmd->body.type = binding->shader_slot + SVGA3D_SHADERTYPE_MIN; in vmw_binding_scrub_shader() 589 cmd->body.shid = ((rebind) ? bi->res->id : SVGA3D_INVALID_ID); in vmw_binding_scrub_shader() 610 SVGA3dCmdSetRenderTarget body; in vmw_binding_scrub_render_target() member 618 cmd->header.size = sizeof(cmd->body); in vmw_binding_scrub_render_target() 619 cmd->body.cid = bi->ctx->id; in vmw_binding_scrub_render_target() 620 cmd->body.type = binding->slot; in vmw_binding_scrub_render_target() 621 cmd->body.target.sid = ((rebind) ? bi->res->id : SVGA3D_INVALID_ID); in vmw_binding_scrub_render_target() [all …]
|
D | vmwgfx_context.c | 143 SVGA3dCmdDestroyContext body; in vmw_hw_context_destroy() member 169 cmd->header.size = sizeof(cmd->body); in vmw_hw_context_destroy() 170 cmd->body.cid = res->id; in vmw_hw_context_destroy() 246 SVGA3dCmdDefineContext body; in vmw_context_init() member 273 cmd->header.size = sizeof(cmd->body); in vmw_context_init() 274 cmd->body.cid = res->id; in vmw_context_init() 300 SVGA3dCmdDefineGBContext body; in vmw_gb_context_create() member 324 cmd->header.size = sizeof(cmd->body); in vmw_gb_context_create() 325 cmd->body.cid = res->id; in vmw_gb_context_create() 343 SVGA3dCmdBindGBContext body; in vmw_gb_context_bind() member [all …]
|
D | vmwgfx_execbuf.c | 55 __type body; \ 737 cmd->header.size = sizeof(cmd->body); in vmw_rebind_all_dx_query() 738 cmd->body.cid = ctx_res->id; in vmw_rebind_all_dx_query() 739 cmd->body.mobid = dx_query_mob->base.resource->start; in vmw_rebind_all_dx_query() 846 &cmd->body, NULL); in vmw_cmd_cid_check() 888 if (cmd->body.type >= SVGA3D_RT_MAX) { in vmw_cmd_set_render_target_check() 890 (unsigned int) cmd->body.type); in vmw_cmd_set_render_target_check() 896 &cmd->body.cid, &ctx); in vmw_cmd_set_render_target_check() 902 &cmd->body.target.sid, &res); in vmw_cmd_set_render_target_check() 917 binding.slot = cmd->body.type; in vmw_cmd_set_render_target_check() [all …]
|
D | vmwgfx_mob.c | 121 SVGA3dCmdSetOTableBase64 body; in vmw_setup_otable_base() member 160 cmd->header.size = sizeof(cmd->body); in vmw_setup_otable_base() 161 cmd->body.type = type; in vmw_setup_otable_base() 162 cmd->body.baseAddress = mob->pt_root_page >> PAGE_SHIFT; in vmw_setup_otable_base() 163 cmd->body.sizeInBytes = otable->size; in vmw_setup_otable_base() 164 cmd->body.validSizeInBytes = 0; in vmw_setup_otable_base() 165 cmd->body.ptDepth = mob->pt_level; in vmw_setup_otable_base() 199 SVGA3dCmdSetOTableBase body; in vmw_takedown_otable_base() member 213 cmd->header.size = sizeof(cmd->body); in vmw_takedown_otable_base() 214 cmd->body.type = type; in vmw_takedown_otable_base() [all …]
|
D | vmwgfx_cotable.c | 173 SVGA3dCmdDXSetCOTable body; in vmw_cotable_unscrub() member 186 cmd->header.size = sizeof(cmd->body); in vmw_cotable_unscrub() 187 cmd->body.cid = vcotbl->ctx->id; in vmw_cotable_unscrub() 188 cmd->body.type = vcotbl->type; in vmw_cotable_unscrub() 189 cmd->body.mobid = bo->resource->start; in vmw_cotable_unscrub() 190 cmd->body.validSizeInBytes = vcotbl->size_read_back; in vmw_cotable_unscrub() 249 SVGA3dCmdDXReadbackCOTable body; in vmw_cotable_scrub() member 253 SVGA3dCmdDXSetCOTable body; in vmw_cotable_scrub() member 275 cmd0->header.size = sizeof(cmd0->body); in vmw_cotable_scrub() 276 cmd0->body.cid = vcotbl->ctx->id; in vmw_cotable_scrub() [all …]
|
D | vmwgfx_shader.c | 203 SVGA3dCmdDefineGBShader body; in vmw_gb_shader_create() member 227 cmd->header.size = sizeof(cmd->body); in vmw_gb_shader_create() 228 cmd->body.shid = res->id; in vmw_gb_shader_create() 229 cmd->body.type = shader->type; in vmw_gb_shader_create() 230 cmd->body.sizeInBytes = shader->size; in vmw_gb_shader_create() 248 SVGA3dCmdBindGBShader body; in vmw_gb_shader_bind() member 259 cmd->header.size = sizeof(cmd->body); in vmw_gb_shader_bind() 260 cmd->body.shid = res->id; in vmw_gb_shader_bind() 261 cmd->body.mobid = bo->resource->start; in vmw_gb_shader_bind() 262 cmd->body.offsetInBytes = res->backup_offset; in vmw_gb_shader_bind() [all …]
|
D | vmwgfx_stdu.c | 85 SVGA3dCmdUpdateGBScreenTarget body; member 90 SVGA3dCmdSurfaceDMA body; member 95 SVGA3dCmdSurfaceCopy body; member 100 SVGA3dCmdUpdateGBImage body; member 178 SVGA3dCmdDefineGBScreenTarget body; in vmw_stdu_define_st() member 186 cmd->header.size = sizeof(cmd->body); in vmw_stdu_define_st() 188 cmd->body.stid = stdu->base.unit; in vmw_stdu_define_st() 189 cmd->body.width = mode->hdisplay; in vmw_stdu_define_st() 190 cmd->body.height = mode->vdisplay; in vmw_stdu_define_st() 191 cmd->body.flags = (0 == cmd->body.stid) ? SVGA_STFLAG_PRIMARY : 0; in vmw_stdu_define_st() [all …]
|
D | vmwgfx_streamoutput.c | 94 SVGA3dCmdDXBindStreamOutput body; in vmw_dx_streamoutput_unscrub() member 105 cmd->header.size = sizeof(cmd->body); in vmw_dx_streamoutput_unscrub() 106 cmd->body.soid = so->id; in vmw_dx_streamoutput_unscrub() 107 cmd->body.mobid = res->backup->base.resource->start; in vmw_dx_streamoutput_unscrub() 108 cmd->body.offsetInBytes = res->backup_offset; in vmw_dx_streamoutput_unscrub() 109 cmd->body.sizeInBytes = so->size; in vmw_dx_streamoutput_unscrub() 165 SVGA3dCmdDXBindStreamOutput body; in vmw_dx_streamoutput_scrub() member 178 cmd->header.size = sizeof(cmd->body); in vmw_dx_streamoutput_scrub() 179 cmd->body.soid = res->id; in vmw_dx_streamoutput_scrub() 180 cmd->body.mobid = SVGA3D_INVALID_ID; in vmw_dx_streamoutput_scrub() [all …]
|
D | vmwgfx_cmd.c | 573 SVGA3dCmdWaitForQuery body; in vmw_cmd_emit_dummy_legacy_query() member 581 cmd->header.size = sizeof(cmd->body); in vmw_cmd_emit_dummy_legacy_query() 582 cmd->body.cid = cid; in vmw_cmd_emit_dummy_legacy_query() 583 cmd->body.type = SVGA3D_QUERYTYPE_OCCLUSION; in vmw_cmd_emit_dummy_legacy_query() 586 cmd->body.guestResult.gmrId = SVGA_GMR_FRAMEBUFFER; in vmw_cmd_emit_dummy_legacy_query() 587 cmd->body.guestResult.offset = bo->resource->start << PAGE_SHIFT; in vmw_cmd_emit_dummy_legacy_query() 589 cmd->body.guestResult.gmrId = bo->resource->start; in vmw_cmd_emit_dummy_legacy_query() 590 cmd->body.guestResult.offset = 0; in vmw_cmd_emit_dummy_legacy_query() 619 SVGA3dCmdWaitForGBQuery body; in vmw_cmd_emit_dummy_gb_query() member 627 cmd->header.size = sizeof(cmd->body); in vmw_cmd_emit_dummy_gb_query() [all …]
|
/Linux-v6.1/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()
|
/Linux-v6.1/scripts/gcc-plugins/ |
D | stackleak_plugin.c | 284 rtx body; in remove_stack_tracking_gcall() local 297 body = PATTERN(insn); in remove_stack_tracking_gcall() 299 if (GET_CODE(body) == PARALLEL) in remove_stack_tracking_gcall() 300 body = XVECEXP(body, 0, 0); in remove_stack_tracking_gcall() 302 if (GET_CODE(body) != CALL) in remove_stack_tracking_gcall() 310 body = XEXP(body, 0); in remove_stack_tracking_gcall() 311 if (GET_CODE(body) != MEM) in remove_stack_tracking_gcall() 314 body = XEXP(body, 0); in remove_stack_tracking_gcall() 315 if (GET_CODE(body) != SYMBOL_REF) in remove_stack_tracking_gcall() 318 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() 39 SET_SRC(body) = gen_rtx_PLUS(Pmode, current, in arm_pertask_ssp_rtl_execute()
|
/Linux-v6.1/drivers/staging/ks7010/ |
D | ks_hostif.c | 113 memcpy(ap->ssid.body, priv->reg.ssid.body, in get_current_ap() 116 memcpy(ap->rate_set.body, ap_info->rate_set.body, in get_current_ap() 120 memcpy(&ap->rate_set.body[ap->rate_set.size], in get_current_ap() 121 ap_info->ext_rate_set.body, in get_current_ap() 136 memcpy(ap->rsn_ie.body, ap_info->rsn.body, size); in get_current_ap() 141 memcpy(ap->wpa_ie.body, ap_info->rsn.body, size); in get_current_ap() 172 &ap->ssid.body[0], in get_current_ap() 173 ap->rate_set.body[0], ap->rate_set.body[1], in get_current_ap() 174 ap->rate_set.body[2], ap->rate_set.body[3], in get_current_ap() 175 ap->rate_set.body[4], ap->rate_set.body[5], in get_current_ap() [all …]
|
D | ks_wlan_net.c | 252 memset(priv->reg.ssid.body, 0, sizeof(priv->reg.ssid.body)); in ks_wlan_set_essid() 265 memset(priv->reg.ssid.body, 0, sizeof(priv->reg.ssid.body)); in ks_wlan_set_essid() 266 memcpy(priv->reg.ssid.body, extra, len); in ks_wlan_set_essid() 292 memcpy(extra, priv->reg.ssid.body, priv->reg.ssid.size); in ks_wlan_get_essid() 408 priv->reg.rate_set.body[0] = in ks_wlan_set_rate() 413 priv->reg.rate_set.body[0] = in ks_wlan_set_rate() 426 priv->reg.rate_set.body[3] = in ks_wlan_set_rate() 431 priv->reg.rate_set.body[2] = TX_RATE_5M; in ks_wlan_set_rate() 435 priv->reg.rate_set.body[1] = in ks_wlan_set_rate() 440 priv->reg.rate_set.body[0] = in ks_wlan_set_rate() [all …]
|
/Linux-v6.1/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()
|
/Linux-v6.1/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()
|