| /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), in wfx_hif_read_mib() local 228 struct wfx_hif_req_write_mib *body = wfx_alloc_hif(buf_len, &hif); wfx_hif_write_mib() local 247 struct wfx_hif_req_start_scan_alt *body = wfx_alloc_hif(buf_len, &hif); wfx_hif_scan_uniq() local 272 struct wfx_hif_req_start_scan_alt *body = wfx_alloc_hif(buf_len, &hif); wfx_hif_scan() local 332 struct wfx_hif_req_join *body = wfx_alloc_hif(sizeof(*body), &hif); wfx_hif_join() local 361 struct wfx_hif_req_set_bss_params *body = wfx_alloc_hif(sizeof(*body), &hif); wfx_hif_set_bss_params() local 378 struct wfx_hif_req_add_key *body = wfx_alloc_hif(sizeof(*body), &hif); wfx_hif_add_key() local 398 struct wfx_hif_req_remove_key *body = wfx_alloc_hif(sizeof(*body), &hif); wfx_hif_remove_key() local 414 struct wfx_hif_req_edca_queue_params *body = wfx_alloc_hif(sizeof(*body), &hif); wfx_hif_set_edca_queue_params() local 442 struct wfx_hif_req_set_pm_mode *body = wfx_alloc_hif(sizeof(*body), &hif); wfx_hif_set_pm() local 469 struct wfx_hif_req_start *body = wfx_alloc_hif(sizeof(*body), &hif); wfx_hif_start() local 491 struct wfx_hif_req_beacon_transmit *body = wfx_alloc_hif(sizeof(*body), &hif); wfx_hif_beacon_transmit() local 506 struct wfx_hif_req_map_link *body = wfx_alloc_hif(sizeof(*body), &hif); wfx_hif_map_link() local 526 struct wfx_hif_req_update_ie *body = wfx_alloc_hif(buf_len, &hif); wfx_hif_update_ie_beacon() local [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, PAST 40 F100(body,name,idx) global() argument 46 F1000(body,name,idx) global() argument 52 F10000(body,name,idx) global() argument [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() 94 /* pcmd->body.context.req.reg_val.mode initialization is not required */ in as10x_cmd_set_context() [all …]
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| 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 | 146 SVGA3dCmdSurfaceDMA body; member 156 SVGA3dCmdDefineSurface body; member 164 SVGA3dCmdDestroySurface body; member 221 cmd->header.size = sizeof(cmd->body); in vmw_surface_destroy_encode() 222 cmd->body.sid = id; in vmw_surface_destroy_encode() 241 cmd_len = sizeof(cmd->body) + srf->metadata.num_sizes * in vmw_surface_define_encode() 246 cmd->body.sid = srf->res.id; in vmw_surface_define_encode() 252 cmd->body.surfaceFlags = (SVGA3dSurface1Flags)srf->metadata.flags; in vmw_surface_define_encode() 253 cmd->body.format = srf->metadata.format; in vmw_surface_define_encode() 255 cmd->body.face[i].numMipLevels = srf->metadata.mip_levels[i]; in vmw_surface_define_encode() [all …]
|
| H A D | vmwgfx_execbuf.c | 38 __type body; \ 706 cmd->header.size = sizeof(cmd->body); in vmw_rebind_all_dx_query() 707 cmd->body.cid = ctx_res->id; in vmw_rebind_all_dx_query() 708 cmd->body.mobid = dx_query_mob->tbo.resource->start; in vmw_rebind_all_dx_query() 815 &cmd->body, NULL); in vmw_cmd_cid_check() 857 if (cmd->body.type >= SVGA3D_RT_MAX) { in vmw_cmd_set_render_target_check() 859 (unsigned int) cmd->body.type); in vmw_cmd_set_render_target_check() 865 &cmd->body.cid, &ctx); in vmw_cmd_set_render_target_check() 871 &cmd->body.target.sid, &res); in vmw_cmd_set_render_target_check() 886 binding.slot = cmd->body.type; in vmw_cmd_set_render_target_check() [all …]
|
| H A 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->resource->start; in vmw_gb_shader_bind() 267 cmd->body.offsetInBytes = res->guest_memory_offset; in vmw_gb_shader_bind() [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_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_cmd.c | 574 SVGA3dCmdWaitForQuery body; in vmw_cmd_emit_dummy_legacy_query() member 582 cmd->header.size = sizeof(cmd->body); in vmw_cmd_emit_dummy_legacy_query() 583 cmd->body.cid = cid; in vmw_cmd_emit_dummy_legacy_query() 584 cmd->body.type = SVGA3D_QUERYTYPE_OCCLUSION; in vmw_cmd_emit_dummy_legacy_query() 587 cmd->body.guestResult.gmrId = SVGA_GMR_FRAMEBUFFER; in vmw_cmd_emit_dummy_legacy_query() 588 cmd->body.guestResult.offset = bo->resource->start << PAGE_SHIFT; in vmw_cmd_emit_dummy_legacy_query() 590 cmd->body.guestResult.gmrId = bo->resource->start; in vmw_cmd_emit_dummy_legacy_query() 591 cmd->body.guestResult.offset = 0; in vmw_cmd_emit_dummy_legacy_query() 620 SVGA3dCmdWaitForGBQuery body; in vmw_cmd_emit_dummy_gb_query() member 628 cmd->header.size = sizeof(cmd->body); in vmw_cmd_emit_dummy_gb_query() [all …]
|
| /linux/rust/syn/ |
| H A D | macros.rs | 10 $pub:ident $struct:ident $name:ident #full $body:tt 16 $(#[$attr])* $pub $struct $name $body 33 $pub:ident $struct:ident $name:ident $body:tt 38 $(#[$attr])* $pub $struct $name $body 46 $pub:ident $enum:ident $name:ident $body:tt 51 $(#[$enum_attr])* $pub $enum $name $body 58 $pub:ident $enum:ident $name:ident $body:tt 63 $(#[$enum_attr])* $pub $enum $name $body 65 ast_enum_of_structs_impl!($name $body); 68 generate_to_tokens!(() tokens $name $body); [all …]
|
| /linux/scripts/gcc-plugins/ |
| H A D | stackleak_plugin.c | 284 rtx body; in remove_stack_tracking_gcall() local 293 * Check the expression code of the insn body, which is an RTL in remove_stack_tracking_gcall() 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() [all …]
|
| H A D | arm_ssp_per_task_plugin.c | |
| /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() 56 let body = body.replace( in main() localVariable 67 let body = body.replace( in main() localVariable 77 std::fs::write(path, body.as_bytes()).unwrap(); in main()
|
| /linux/rust/macros/ |
| H A D | vtable.rs | 24 let body = match tokens.pop() { vtable() localVariable
|
| /linux/drivers/media/rc/ |
| H A D | ir-rc6-decoder.c | 15 * RC6-6A-32 (MCE version with toggle bit in body) 32 #define RC6_6A_MCE_TOGGLE_MASK 0x8000 /* for the body bits */ 167 data->body = 0; in ir_rc6_decode() 184 /* Discard LSB's that won't fit in data->body */ 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/net/sunrpc/auth_gss/ |
| H A D | gss_krb5_crypto.c | 243 * @body: xdr_buf containing the message body 253 * message body followed by the token header. The checksum 262 int gss_krb5_mic_build_sg(const struct xdr_buf *body, in gss_krb5_mic_build_sg() argument 274 if (body->page_len) in gss_krb5_mic_build_sg() 275 body_max += DIV_ROUND_UP(body->page_len + in gss_krb5_mic_build_sg() 276 offset_in_page(body->page_base), in gss_krb5_mic_build_sg() 296 body_nsg = xdr_buf_to_sg(body, 0, body->len, in gss_krb5_mic_build_sg() 302 * xdr_buf_to_sg marks the last body entry as end-of-list; in gss_krb5_mic_build_sg()
|
| /linux/rust/zerocopy/src/ |
| H A D | split_at.rs | 118 /// body: [u8], 127 /// assert_eq!(packet.body, [1, 2, 3, 4, 5, 6, 7, 8, 9]); 137 /// assert_eq!(packet.body, [1, 2, 3, 4]); 206 /// body: B, 215 /// assert_eq!(packet.body, [1, 2, 3, 4, 5, 6, 7, 8, 9]); 226 /// assert_eq!(packet.body, [1, 2, 3, 4]); 233 /// assert_eq!(packet.body, [1, 2, 3, 4, 0, 0, 0, 0, 0]); 327 /// body: [u8], 336 /// assert_eq!(packet.body, [1, 2, 3, 4, 5, 6, 7, 8, 9]); 346 /// assert_eq!(packet.body, [1, 2, 3, 4]); [all …]
|
| /linux/Documentation/sphinx-static/ |
| H A D | custom.css | 6 div.body { max-width: 120em; } 9 div.body h1 { font-size: 180%; } 10 div.body h2 { font-size: 150%; } 11 div.body h3 { font-size: 130%; } 12 div.body h4 { font-size: 110%; } 18 div.body { padding: 0 15px 0 10px; } 175 div.body table.docutils a.reference {
|
| /linux/drivers/net/wireless/intersil/p54/ |
| H A D | fwio.c | 427 union p54_scan_body_union *body; in p54_scan() 436 2 + sizeof(*iq_autocal) + sizeof(*body) + in p54_scan() 466 body = skb_put(skb, sizeof(body->longbow)); in p54_scan() 468 body = skb_put(skb, sizeof(body->normal)); in p54_scan() 478 memcpy(&body->longbow.power_limits, in p54_scan() 485 body->normal.val_barker = 0x38; in p54_scan() 486 body->normal.val_bpsk = body in p54_scan() 395 union p54_scan_body_union *body; p54_scan() local [all...] |
| /linux/drivers/misc/ocxl/ |
| H A D | file.c | 349 * buf: The buffer to write the body into (should be at least 357 struct ocxl_kernel_event_xsl_fault_error body; in append_xsl_error() local 359 memset(&body, 0, sizeof(body)); in append_xsl_error() 367 body.addr = ctx->xsl_error.addr; in append_xsl_error() 368 body.dsisr = ctx->xsl_error.dsisr; in append_xsl_error() 369 body.count = ctx->xsl_error.count; in append_xsl_error() 379 if (copy_to_user(buf, &body, sizeof(body))) in append_xsl_error() 382 return sizeof(body); in append_xsl_error() 391 * Body (struct ocxl_kernel_event_*)
|