Home
last modified time | relevance | path

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

123

/drivers/staging/wfx/
Dhif_tx.c44 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 …]
Dhif_rx.c57 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 …]
/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 …]
/drivers/hv/
Dhv_kvp.c140 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 …]
/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()
497 gmr->body.format.bitsPerPixel = update->vfb->base.format->cpp[0] * 8; in vmw_sou_bo_define_gmrfb()
498 gmr->body.format.colorDepth = depth; in vmw_sou_bo_define_gmrfb()
499 gmr->body.format.reserved = 0; in vmw_sou_bo_define_gmrfb()
500 gmr->body.bytesPerLine = update->vfb->base.pitches[0]; in vmw_sou_bo_define_gmrfb()
[all …]
Dvmwgfx_binding.c557 SVGA3dCmdSetShader body; in vmw_binding_scrub_shader() member
565 cmd->header.size = sizeof(cmd->body); in vmw_binding_scrub_shader()
566 cmd->body.cid = bi->ctx->id; in vmw_binding_scrub_shader()
567 cmd->body.type = binding->shader_slot + SVGA3D_SHADERTYPE_MIN; in vmw_binding_scrub_shader()
568 cmd->body.shid = ((rebind) ? bi->res->id : SVGA3D_INVALID_ID); in vmw_binding_scrub_shader()
589 SVGA3dCmdSetRenderTarget body; in vmw_binding_scrub_render_target() member
597 cmd->header.size = sizeof(cmd->body); in vmw_binding_scrub_render_target()
598 cmd->body.cid = bi->ctx->id; in vmw_binding_scrub_render_target()
599 cmd->body.type = binding->slot; in vmw_binding_scrub_render_target()
600 cmd->body.target.sid = ((rebind) ? bi->res->id : SVGA3D_INVALID_ID); in vmw_binding_scrub_render_target()
[all …]
Dvmwgfx_surface.c173 SVGA3dCmdSurfaceDMA body; member
183 SVGA3dCmdDefineSurface body; member
191 SVGA3dCmdDestroySurface body; member
248 cmd->header.size = sizeof(cmd->body); in vmw_surface_destroy_encode()
249 cmd->body.sid = id; in vmw_surface_destroy_encode()
268 cmd_len = sizeof(cmd->body) + srf->metadata.num_sizes * in vmw_surface_define_encode()
273 cmd->body.sid = srf->res.id; in vmw_surface_define_encode()
279 cmd->body.surfaceFlags = (SVGA3dSurface1Flags)srf->metadata.flags; in vmw_surface_define_encode()
280 cmd->body.format = srf->metadata.format; in vmw_surface_define_encode()
282 cmd->body.face[i].numMipLevels = srf->metadata.mip_levels[i]; in vmw_surface_define_encode()
[all …]
Dvmwgfx_execbuf.c55 __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 …]
Dvmwgfx_context.c145 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 …]
Dvmwgfx_mob.c121 SVGA3dCmdSetOTableBase64 body; in vmw_setup_otable_base() member
163 cmd->header.size = sizeof(cmd->body); in vmw_setup_otable_base()
164 cmd->body.type = type; in vmw_setup_otable_base()
165 cmd->body.baseAddress = mob->pt_root_page >> PAGE_SHIFT; in vmw_setup_otable_base()
166 cmd->body.sizeInBytes = otable->size; in vmw_setup_otable_base()
167 cmd->body.validSizeInBytes = 0; in vmw_setup_otable_base()
168 cmd->body.ptDepth = mob->pt_level; in vmw_setup_otable_base()
202 SVGA3dCmdSetOTableBase body; in vmw_takedown_otable_base() member
216 cmd->header.size = sizeof(cmd->body); in vmw_takedown_otable_base()
217 cmd->body.type = type; in vmw_takedown_otable_base()
[all …]
Dvmwgfx_stdu.c86 SVGA3dCmdUpdateGBScreenTarget body; member
91 SVGA3dCmdSurfaceDMA body; member
96 SVGA3dCmdSurfaceCopy body; member
101 SVGA3dCmdUpdateGBImage body; member
174 SVGA3dCmdDefineGBScreenTarget body; in vmw_stdu_define_st() member
182 cmd->header.size = sizeof(cmd->body); in vmw_stdu_define_st()
184 cmd->body.stid = stdu->base.unit; in vmw_stdu_define_st()
185 cmd->body.width = mode->hdisplay; in vmw_stdu_define_st()
186 cmd->body.height = mode->vdisplay; in vmw_stdu_define_st()
187 cmd->body.flags = (0 == cmd->body.stid) ? SVGA_STFLAG_PRIMARY : 0; in vmw_stdu_define_st()
[all …]
Dvmwgfx_cotable.c173 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 …]
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->resource->start; in vmw_gb_shader_bind()
267 cmd->body.offsetInBytes = res->backup_offset; in vmw_gb_shader_bind()
[all …]
Dvmwgfx_streamoutput.c96 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.resource->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 …]
Dvmwgfx_cmd.c573 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 …]
Dvmwgfx_overlay.c64 SVGAFifoCmdEscape body; member
76 header->body.nsid = SVGA_ESCAPE_NSID_VMWARE; in fill_escape()
77 header->body.size = size; in fill_escape()
189 SVGAEscapeVideoSetRegs body; in vmw_overlay_send_stop() member
207 fill_escape(&cmds->escape, sizeof(cmds->body)); in vmw_overlay_send_stop()
208 cmds->body.header.cmdType = SVGA_ESCAPE_VMWARE_VIDEO_SET_REGS; in vmw_overlay_send_stop()
209 cmds->body.header.streamId = stream_id; in vmw_overlay_send_stop()
210 cmds->body.items[0].registerId = SVGA_VIDEO_ENABLED; in vmw_overlay_send_stop()
211 cmds->body.items[0].value = false; in vmw_overlay_send_stop()
/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()
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 …]
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 …]
Dks_hostif.h83 u8 body[CHANNEL_LIST_MAX_SIZE]; member
197 u8 body[]; member
253 u8 body[IEEE80211_MAX_SSID_LEN]; member
260 u8 body[8]; member
289 u8 body[RSN_BODY_SIZE]; member
298 u8 body[16]; member
313 u8 body[1024]; /* +18 */ member
340 u8 body[128]; /* +53 */ member
/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()
/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 …]
/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()
/drivers/xen/xenbus/
Dxenbus_comms.c209 char *body; in process_msg() member
269 state.body = state.watch->body; in process_msg()
271 state.body = state.alloc; in process_msg()
276 err = xb_read(state.body + state.read, state.msg.len - state.read); in process_msg()
284 state.body[state.msg.len] = '\0'; in process_msg()
307 req->body = state.body; in process_msg()

123