Home
last modified time | relevance | path

Searched refs:body (Results 1 – 25 of 157) sorted by relevance

1234567

/Linux-v5.4/drivers/media/usb/as102/
Das10x_cmd.c28 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 …]
Das10x_cmd_stream.c29 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 …]
Das10x_cmd_cfg.c34 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-v5.4/drivers/hv/
Dhv_kvp.c139 version = kvp_msg->body.kvp_register.version; in kvp_register()
227 data = &message->body.kvp_enum_data; in kvp_on_msg()
271 len = utf8s_to_utf16s((char *)in->body.kvp_ip_val.ip_addr, in process_ob_ipinfo()
272 strlen((char *)in->body.kvp_ip_val.ip_addr), in process_ob_ipinfo()
279 len = utf8s_to_utf16s((char *)in->body.kvp_ip_val.sub_net, in process_ob_ipinfo()
280 strlen((char *)in->body.kvp_ip_val.sub_net), in process_ob_ipinfo()
287 len = utf8s_to_utf16s((char *)in->body.kvp_ip_val.gate_way, in process_ob_ipinfo()
288 strlen((char *)in->body.kvp_ip_val.gate_way), in process_ob_ipinfo()
295 len = utf8s_to_utf16s((char *)in->body.kvp_ip_val.dns_addr, in process_ob_ipinfo()
296 strlen((char *)in->body.kvp_ip_val.dns_addr), in process_ob_ipinfo()
[all …]
/Linux-v5.4/drivers/gpu/drm/vmwgfx/
Dvmwgfx_scrn.c69 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()
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 …]
Dvmwgfx_surface.c144 SVGA3dCmdSurfaceDMA body; member
154 SVGA3dCmdDefineSurface body; member
162 SVGA3dCmdDestroySurface body; member
219 cmd->header.size = sizeof(cmd->body); in vmw_surface_destroy_encode()
220 cmd->body.sid = id; in vmw_surface_destroy_encode()
239 cmd_len = sizeof(cmd->body) + srf->num_sizes * sizeof(SVGA3dSize); in vmw_surface_define_encode()
243 cmd->body.sid = srf->res.id; in vmw_surface_define_encode()
249 cmd->body.surfaceFlags = (SVGA3dSurface1Flags)srf->flags; in vmw_surface_define_encode()
250 cmd->body.format = srf->format; in vmw_surface_define_encode()
252 cmd->body.face[i].numMipLevels = srf->mip_levels[i]; in vmw_surface_define_encode()
[all …]
Dvmwgfx_binding.c499 SVGA3dCmdSetShader body; in vmw_binding_scrub_shader() member
507 cmd->header.size = sizeof(cmd->body); in vmw_binding_scrub_shader()
508 cmd->body.cid = bi->ctx->id; in vmw_binding_scrub_shader()
509 cmd->body.type = binding->shader_slot + SVGA3D_SHADERTYPE_MIN; in vmw_binding_scrub_shader()
510 cmd->body.shid = ((rebind) ? bi->res->id : SVGA3D_INVALID_ID); in vmw_binding_scrub_shader()
531 SVGA3dCmdSetRenderTarget body; in vmw_binding_scrub_render_target() member
539 cmd->header.size = sizeof(cmd->body); in vmw_binding_scrub_render_target()
540 cmd->body.cid = bi->ctx->id; in vmw_binding_scrub_render_target()
541 cmd->body.type = binding->slot; in vmw_binding_scrub_render_target()
542 cmd->body.target.sid = ((rebind) ? bi->res->id : SVGA3D_INVALID_ID); in vmw_binding_scrub_render_target()
[all …]
Dvmwgfx_context.c142 SVGA3dCmdDestroyContext body; in vmw_hw_context_destroy() member
168 cmd->header.size = sizeof(cmd->body); in vmw_hw_context_destroy()
169 cmd->body.cid = res->id; in vmw_hw_context_destroy()
243 SVGA3dCmdDefineContext body; in vmw_context_init() member
270 cmd->header.size = sizeof(cmd->body); in vmw_context_init()
271 cmd->body.cid = res->id; in vmw_context_init()
297 SVGA3dCmdDefineGBContext body; in vmw_gb_context_create() member
321 cmd->header.size = sizeof(cmd->body); in vmw_gb_context_create()
322 cmd->body.cid = res->id; in vmw_gb_context_create()
340 SVGA3dCmdBindGBContext body; in vmw_gb_context_bind() member
[all …]
Dvmwgfx_execbuf.c54 __type body; \
728 cmd->header.size = sizeof(cmd->body); in vmw_rebind_all_dx_query()
729 cmd->body.cid = ctx_res->id; in vmw_rebind_all_dx_query()
730 cmd->body.mobid = dx_query_mob->base.mem.start; in vmw_rebind_all_dx_query()
837 &cmd->body, NULL); in vmw_cmd_cid_check()
879 if (cmd->body.type >= SVGA3D_RT_MAX) { in vmw_cmd_set_render_target_check()
881 (unsigned int) cmd->body.type); in vmw_cmd_set_render_target_check()
887 &cmd->body.cid, &ctx); in vmw_cmd_set_render_target_check()
893 &cmd->body.target.sid, &res); in vmw_cmd_set_render_target_check()
908 binding.slot = cmd->body.type; in vmw_cmd_set_render_target_check()
[all …]
Dvmwgfx_mob.c117 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 …]
Dvmwgfx_cotable.c170 SVGA3dCmdDXSetCOTable body; in vmw_cotable_unscrub() member
183 cmd->header.size = sizeof(cmd->body); in vmw_cotable_unscrub()
184 cmd->body.cid = vcotbl->ctx->id; in vmw_cotable_unscrub()
185 cmd->body.type = vcotbl->type; in vmw_cotable_unscrub()
186 cmd->body.mobid = bo->mem.start; in vmw_cotable_unscrub()
187 cmd->body.validSizeInBytes = vcotbl->size_read_back; in vmw_cotable_unscrub()
246 SVGA3dCmdDXReadbackCOTable body; in vmw_cotable_scrub() member
250 SVGA3dCmdDXSetCOTable body; in vmw_cotable_scrub() member
272 cmd0->header.size = sizeof(cmd0->body); in vmw_cotable_scrub()
273 cmd0->body.cid = vcotbl->ctx->id; in vmw_cotable_scrub()
[all …]
Dvmwgfx_stdu.c85 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 …]
Dvmwgfx_shader.c208 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 …]
Dvmwgfx_fifo.c36 SVGA3dCmdDXTempSetContext body; member
601 SVGA3dCmdWaitForQuery body; in vmw_fifo_emit_dummy_legacy_query() member
609 cmd->header.size = sizeof(cmd->body); in vmw_fifo_emit_dummy_legacy_query()
610 cmd->body.cid = cid; in vmw_fifo_emit_dummy_legacy_query()
611 cmd->body.type = SVGA3D_QUERYTYPE_OCCLUSION; in vmw_fifo_emit_dummy_legacy_query()
614 cmd->body.guestResult.gmrId = SVGA_GMR_FRAMEBUFFER; in vmw_fifo_emit_dummy_legacy_query()
615 cmd->body.guestResult.offset = bo->offset; in vmw_fifo_emit_dummy_legacy_query()
617 cmd->body.guestResult.gmrId = bo->mem.start; in vmw_fifo_emit_dummy_legacy_query()
618 cmd->body.guestResult.offset = 0; in vmw_fifo_emit_dummy_legacy_query()
647 SVGA3dCmdWaitForGBQuery body; in vmw_fifo_emit_dummy_gb_query() member
[all …]
/Linux-v5.4/fs/reiserfs/
Ddo_balan.c288 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 …]
Ddir.c281 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-v5.4/scripts/gcc-plugins/
Dstackleak_plugin.c213 rtx body; in stackleak_cleanup_execute() local
226 body = PATTERN(insn); in stackleak_cleanup_execute()
228 if (GET_CODE(body) == PARALLEL) in stackleak_cleanup_execute()
229 body = XVECEXP(body, 0, 0); in stackleak_cleanup_execute()
231 if (GET_CODE(body) != CALL) in stackleak_cleanup_execute()
239 body = XEXP(body, 0); in stackleak_cleanup_execute()
240 if (GET_CODE(body) != MEM) in stackleak_cleanup_execute()
243 body = XEXP(body, 0); in stackleak_cleanup_execute()
244 if (GET_CODE(body) != SYMBOL_REF) in stackleak_cleanup_execute()
247 if (SYMBOL_REF_DECL(body) != track_function_decl) in stackleak_cleanup_execute()
Darm_ssp_per_task_plugin.c15 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()
/Linux-v5.4/drivers/staging/ks7010/
Dks_hostif.c117 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()
177 &ap->ssid.body[0], in get_current_ap()
178 ap->rate_set.body[0], ap->rate_set.body[1], in get_current_ap()
179 ap->rate_set.body[2], ap->rate_set.body[3], in get_current_ap()
180 ap->rate_set.body[4], ap->rate_set.body[5], in get_current_ap()
[all …]
Dks_wlan_net.c252 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-v5.4/drivers/net/wireless/ath/wcn36xx/
Dtestmode.c66 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-v5.4/fs/kernfs/
Dsymlink.c130 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()
/Linux-v5.4/fs/configfs/
Dsymlink.c84 char *body; in create_link() local
90 body = kzalloc(PAGE_SIZE, GFP_KERNEL); in create_link()
91 if (!body) in create_link()
99 kfree(body); in create_link()
104 ret = configfs_get_target_path(parent_item, item, body); in create_link()
107 dentry, body); in create_link()
113 kfree(body); in create_link()
/Linux-v5.4/drivers/net/wireless/intersil/p54/
Dfwio.c397 union p54_scan_body_union *body; in p54_scan() local
406 2 + sizeof(*iq_autocal) + sizeof(*body) + in p54_scan()
436 body = skb_put(skb, sizeof(body->longbow)); in p54_scan()
438 body = skb_put(skb, sizeof(body->normal)); in p54_scan()
448 memcpy(&body->longbow.power_limits, in p54_scan()
455 body->normal.val_barker = 0x38; in p54_scan()
456 body->normal.val_bpsk = body->normal.dup_bpsk = in p54_scan()
458 body->normal.val_qpsk = body->normal.dup_qpsk = in p54_scan()
460 body->normal.val_16qam = body->normal.dup_16qam = in p54_scan()
462 body->normal.val_64qam = body->normal.dup_64qam = in p54_scan()
[all …]
/Linux-v5.4/drivers/media/rc/
Dir-rc6-decoder.c167 data->body = 0; in ir_rc6_decode()
185 if (data->count++ < CHAR_BIT * sizeof data->body) { in ir_rc6_decode()
186 data->body <<= 1; in ir_rc6_decode()
188 data->body |= 1; in ir_rc6_decode()
214 scancode = data->body; in ir_rc6_decode()
222 if (data->count > CHAR_BIT * sizeof data->body) { in ir_rc6_decode()
228 scancode = data->body; in ir_rc6_decode()

1234567