/linux/drivers/net/wireless/silabs/wfx/ |
H A D | hif_tx.c | 43 return (*hif)->body; in wfx_alloc_hif() 163 struct wfx_hif_req_configuration *body = wfx_alloc_hif(buf_len, &hif); in wfx_hif_configuration() local 167 body->length = cpu_to_le16(len); in wfx_hif_configuration() 168 memcpy(body->pds_data, conf, len); in wfx_hif_configuration() 179 struct wfx_hif_req_reset *body = wfx_alloc_hif(sizeof(*body), &hif); in wfx_hif_reset() local 183 body->reset_stat = reset_stat; in wfx_hif_reset() 184 wfx_fill_header(hif, wvif->id, HIF_REQ_ID_RESET, sizeof(*body)); in wfx_hif_reset() 195 struct wfx_hif_req_read_mib *body = wfx_alloc_hif(sizeof(*body), &hif); in wfx_hif_read_mib() local 198 if (!body || !reply) { in wfx_hif_read_mib() 202 body->mib_id = cpu_to_le16(mib_id); in wfx_hif_read_mib() [all …]
|
H A 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/tools/testing/selftests/bpf/ |
H A D | uprobe_multi.c | 32 #define F(body, name, idx) body(name, idx) argument 34 #define F10(body, name, idx) \ argument 35 F(body, PASTE(name, idx), 0) F(body, PASTE(name, idx), 1) F(body, PASTE(name, idx), 2) \ 36 F(body, PASTE(name, idx), 3) F(body, PASTE(name, idx), 4) F(body, PASTE(name, idx), 5) \ 37 F(body, PASTE(name, idx), 6) F(body, PASTE(name, idx), 7) F(body, PASTE(name, idx), 8) \ 38 F(body, PASTE(name, idx), 9) 40 #define F100(body, name, idx) \ argument 41 F10(body, PASTE(name, idx), 0) F10(body, PASTE(name, idx), 1) F10(body, PASTE(name, idx), 2) \ 42 F10(body, PASTE(name, idx), 3) F10(body, PASTE(name, idx), 4) F10(body, PASTE(name, idx), 5) \ 43 F10(body, PASTE(name, idx), 6) F10(body, PASTE(name, idx), 7) F10(body, PASTE(name, idx), 8) \ [all …]
|
/linux/drivers/media/usb/as102/ |
H A 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 …]
|
H A 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 …]
|
H A 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/drivers/hv/ |
H A 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/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_scrn.c | 71 SVGAFifoCmdBlitScreenToGMRFB body; member 76 SVGAFifoCmdBlitGMRFBToScreen body; member 81 SVGA3dCmdBlitSurfaceToScreen body; member 86 SVGAFifoCmdDefineGMRFB body; member 177 SVGAFifoCmdDestroyScreen body; in vmw_sou_fifo_destroy() member 191 cmd->body.screenId = sou->base.unit; in vmw_sou_fifo_destroy() 486 gmr->body.format.bitsPerPixel = update->vfb->base.format->cpp[0] * 8; in vmw_sou_bo_define_gmrfb() 487 gmr->body.format.colorDepth = depth; in vmw_sou_bo_define_gmrfb() 488 gmr->body.format.reserved = 0; in vmw_sou_bo_define_gmrfb() 489 gmr->body.bytesPerLine = update->vfb->base.pitches[0]; in vmw_sou_bo_define_gmrfb() [all …]
|
H A D | vmwgfx_context.c | 147 SVGA3dCmdDestroyContext body; in vmw_hw_context_destroy() member 173 cmd->header.size = sizeof(cmd->body); in vmw_hw_context_destroy() 174 cmd->body.cid = res->id; in vmw_hw_context_destroy() 250 SVGA3dCmdDefineContext body; in vmw_context_init() member 277 cmd->header.size = sizeof(cmd->body); in vmw_context_init() 278 cmd->body.cid = res->id; in vmw_context_init() 304 SVGA3dCmdDefineGBContext body; in vmw_gb_context_create() member 328 cmd->header.size = sizeof(cmd->body); in vmw_gb_context_create() 329 cmd->body.cid = res->id; in vmw_gb_context_create() 347 SVGA3dCmdBindGBContext body; in vmw_gb_context_bind() member [all …]
|
H A 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 …]
|
H A D | vmwgfx_mob.c | 122 SVGA3dCmdSetOTableBase64 body; in vmw_setup_otable_base() member 161 cmd->header.size = sizeof(cmd->body); in vmw_setup_otable_base() 162 cmd->body.type = type; in vmw_setup_otable_base() 163 cmd->body.baseAddress = mob->pt_root_page >> PAGE_SHIFT; in vmw_setup_otable_base() 164 cmd->body.sizeInBytes = otable->size; in vmw_setup_otable_base() 165 cmd->body.validSizeInBytes = 0; in vmw_setup_otable_base() 166 cmd->body.ptDepth = mob->pt_level; in vmw_setup_otable_base() 200 SVGA3dCmdSetOTableBase body; in vmw_takedown_otable_base() member 214 cmd->header.size = sizeof(cmd->body); in vmw_takedown_otable_base() 215 cmd->body.type = type; in vmw_takedown_otable_base() [all …]
|
H A D | vmwgfx_shader.c | 206 SVGA3dCmdDefineGBShader body; in vmw_gb_shader_create() member 230 cmd->header.size = sizeof(cmd->body); in vmw_gb_shader_create() 231 cmd->body.shid = res->id; in vmw_gb_shader_create() 232 cmd->body.type = shader->type; in vmw_gb_shader_create() 233 cmd->body.sizeInBytes = shader->size; in vmw_gb_shader_create() 251 SVGA3dCmdBindGBShader body; in vmw_gb_shader_bind() member 262 cmd->header.size = sizeof(cmd->body); in vmw_gb_shader_bind() 263 cmd->body.shid = res->id; in vmw_gb_shader_bind() 264 cmd->body.mobid = bo->resource->start; in vmw_gb_shader_bind() 265 cmd->body.offsetInBytes = res->guest_memory_offset; in vmw_gb_shader_bind() [all …]
|
H A D | vmwgfx_cotable.c | 188 SVGA3dCmdDXSetCOTable body; in vmw_cotable_unscrub() member 201 cmd->header.size = sizeof(cmd->body); in vmw_cotable_unscrub() 202 cmd->body.cid = vcotbl->ctx->id; in vmw_cotable_unscrub() 203 cmd->body.type = vcotbl->type; in vmw_cotable_unscrub() 204 cmd->body.mobid = bo->resource->start; in vmw_cotable_unscrub() 205 cmd->body.validSizeInBytes = vcotbl->size_read_back; in vmw_cotable_unscrub() 264 SVGA3dCmdDXReadbackCOTable body; in vmw_cotable_scrub() member 268 SVGA3dCmdDXSetCOTable body; in vmw_cotable_scrub() member 290 cmd0->header.size = sizeof(cmd0->body); in vmw_cotable_scrub() 291 cmd0->body.cid = vcotbl->ctx->id; in vmw_cotable_scrub() [all …]
|
H A 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->guest_memory_bo->tbo.resource->start; in vmw_dx_streamoutput_unscrub() 110 cmd->body.offsetInBytes = res->guest_memory_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 …]
|
H A D | vmwgfx_stdu.c | 94 SVGA3dCmdUpdateGBScreenTarget body; member 99 SVGA3dCmdSurfaceCopy body; member 104 SVGA3dCmdUpdateGBImage body; member 176 SVGA3dCmdDefineGBScreenTarget body; in vmw_stdu_define_st() member 184 cmd->header.size = sizeof(cmd->body); in vmw_stdu_define_st() 186 cmd->body.stid = stdu->base.unit; in vmw_stdu_define_st() 187 cmd->body.width = mode->hdisplay; in vmw_stdu_define_st() 188 cmd->body.height = mode->vdisplay; in vmw_stdu_define_st() 189 cmd->body.flags = (0 == cmd->body.stid) ? SVGA_STFLAG_PRIMARY : 0; in vmw_stdu_define_st() 190 cmd->body.dpi = 0; in vmw_stdu_define_st() [all …]
|
H A D | vmwgfx_overlay.c | 58 SVGAFifoCmdEscape body; member 70 header->body.nsid = SVGA_ESCAPE_NSID_VMWARE; in fill_escape() 71 header->body.size = size; in fill_escape() 183 SVGAEscapeVideoSetRegs body; in vmw_overlay_send_stop() member 201 fill_escape(&cmds->escape, sizeof(cmds->body)); in vmw_overlay_send_stop() 202 cmds->body.header.cmdType = SVGA_ESCAPE_VMWARE_VIDEO_SET_REGS; in vmw_overlay_send_stop() 203 cmds->body.header.streamId = stream_id; in vmw_overlay_send_stop() 204 cmds->body.items[0].registerId = SVGA_VIDEO_ENABLED; in vmw_overlay_send_stop() 205 cmds->body.items[0].value = false; in vmw_overlay_send_stop()
|
/linux/scripts/ |
H A D | rustdoc_test_builder.rs | 22 let mut body = String::new(); in main() localVariable 23 stdin.read_to_string(&mut body).unwrap(); in main() 35 let rustdoc_function_name = body in main() 51 let body = body.replace( in main() localVariable 61 let body = body.replace( in main() localVariable 71 std::fs::write(path, body.as_bytes()).unwrap(); in main()
|
/linux/scripts/gcc-plugins/ |
H A 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 …]
|
H A 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/drivers/net/wireless/ath/wcn36xx/ |
H A 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/fs/kernfs/ |
H A 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()
|
/linux/fs/configfs/ |
H A D | symlink.c | 82 char *body; in create_link() local 88 body = kzalloc(PAGE_SIZE, GFP_KERNEL); in create_link() 89 if (!body) in create_link() 97 kfree(body); in create_link() 102 ret = configfs_get_target_path(parent_item, item, body); in create_link() 105 dentry, body); in create_link() 111 kfree(body); in create_link()
|
/linux/drivers/net/wireless/intersil/p54/ |
H A D | fwio.c | 395 union p54_scan_body_union *body; in p54_scan() local 404 2 + sizeof(*iq_autocal) + sizeof(*body) + in p54_scan() 434 body = skb_put(skb, sizeof(body->longbow)); in p54_scan() 436 body = skb_put(skb, sizeof(body->normal)); in p54_scan() 446 memcpy(&body->longbow.power_limits, in p54_scan() 453 body->normal.val_barker = 0x38; in p54_scan() 454 body->normal.val_bpsk = body->normal.dup_bpsk = in p54_scan() 456 body->normal.val_qpsk = body->normal.dup_qpsk = in p54_scan() 458 body->normal.val_16qam = body->normal.dup_16qam = in p54_scan() 460 body->normal.val_64qam = body->normal.dup_64qam = in p54_scan() [all …]
|
/linux/drivers/media/rc/ |
H A D | ir-rc6-decoder.c | 167 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()
|
/linux/drivers/xen/xenbus/ |
H A D | xenbus_comms.c | 209 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()
|