Home
last modified time | relevance | path

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

12345678910>>...21

/openbmc/phosphor-host-ipmid/
H A Dsensorhandler.hpp408 namespace body namespace
412 SensorDataFullRecordBody* body) in set_entity_instance_number() argument
414 body->entity_instance &= 1 << 7; in set_entity_instance_number()
415 body->entity_instance |= (n & ~(1 << 7)); in set_entity_instance_number()
417 inline void set_entity_physical_entity(SensorDataFullRecordBody* body) in set_entity_physical_entity() argument
419 body->entity_instance &= ~(1 << 7); in set_entity_physical_entity()
421 inline void set_entity_logical_container(SensorDataFullRecordBody* body) in set_entity_logical_container() argument
423 body->entity_instance |= 1 << 7; in set_entity_logical_container()
426 inline void sensor_scanning_state(bool enabled, SensorDataFullRecordBody* body) in sensor_scanning_state() argument
430 body->sensor_initialization |= 1 << 0; in sensor_scanning_state()
[all …]
H A Dsensorhandler.cpp1082 get_sdr::SensorDataFullRecordBody* body) in setUnitFieldsForObject() argument
1093 body->sensor_units_2_base = get_sdr::SENSOR_UNIT_DEGREES_C; in setUnitFieldsForObject()
1096 body->sensor_units_2_base = get_sdr::SENSOR_UNIT_RPM; in setUnitFieldsForObject()
1099 body->sensor_units_2_base = get_sdr::SENSOR_UNIT_VOLTS; in setUnitFieldsForObject()
1102 body->sensor_units_2_base = get_sdr::SENSOR_UNIT_METERS; in setUnitFieldsForObject()
1105 body->sensor_units_2_base = get_sdr::SENSOR_UNIT_AMPERES; in setUnitFieldsForObject()
1108 body->sensor_units_2_base = get_sdr::SENSOR_UNIT_JOULES; in setUnitFieldsForObject()
1111 body->sensor_units_2_base = get_sdr::SENSOR_UNIT_WATTS; in setUnitFieldsForObject()
1125 ipmi_ret_t populate_record_from_dbus(get_sdr::SensorDataFullRecordBody* body, in populate_record_from_dbus() argument
1132 body->sensor_units_1 = info->sensorUnits1; // default is 0. unsigned, no in populate_record_from_dbus()
[all …]
/openbmc/linux/drivers/net/wireless/silabs/wfx/
H A Dhif_tx.c43 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 …]
H A Dhif_rx.c55 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 …]
/openbmc/linux/tools/testing/selftests/bpf/
H A Duprobe_multi.c15 #define F(body, name, idx) body(name, idx) argument
17 #define F10(body, name, idx) \ argument
18 F(body, PASTE(name, idx), 0) F(body, PASTE(name, idx), 1) F(body, PASTE(name, idx), 2) \
19 F(body, PASTE(name, idx), 3) F(body, PASTE(name, idx), 4) F(body, PASTE(name, idx), 5) \
20 F(body, PASTE(name, idx), 6) F(body, PASTE(name, idx), 7) F(body, PASTE(name, idx), 8) \
21 F(body, PASTE(name, idx), 9)
23 #define F100(body, name, idx) \ argument
24 F10(body, PASTE(name, idx), 0) F10(body, PASTE(name, idx), 1) F10(body, PASTE(name, idx), 2) \
25 F10(body, PASTE(name, idx), 3) F10(body, PASTE(name, idx), 4) F10(body, PASTE(name, idx), 5) \
26 F10(body, PASTE(name, idx), 6) F10(body, PASTE(name, idx), 7) F10(body, PASTE(name, idx), 8) \
[all …]
/openbmc/linux/drivers/media/usb/as102/
H A 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 …]
H A 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 …]
H A 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 …]
/openbmc/bmcweb/test/include/
H A Dmultipart_test.cpp28 std::string_view body = in TEST_F() local
40 crow::Request reqIn(body, ec); in TEST_F()
69 std::string_view body = in TEST_F() local
75 crow::Request reqIn(body, ec); in TEST_F()
88 std::string_view body = in TEST_F() local
93 crow::Request reqIn(body, ec); in TEST_F()
106 std::string_view body = in TEST_F() local
115 crow::Request reqIn(body, ec); in TEST_F()
126 std::string_view body = in TEST_F() local
134 crow::Request reqIn(body, ec); in TEST_F()
[all …]
/openbmc/webui-vue/src/components/Mixins/
H A DBVToastMixin.js47 $_BVToastMixin_initToast(body, title, variant) { argument
48 this.$root.$bvToast.toast(body, {
65 const body = this.$_BVToastMixin_createBody(message);
67 if (refreshAction) body.push(this.$_BVToastMixin_createRefreshAction());
68 if (timestamp) body.push(this.$_BVToastMixin_createTimestamp());
69 this.$_BVToastMixin_initToast(body, title, 'success');
79 const body = this.$_BVToastMixin_createBody(message);
81 if (refreshAction) body.push(this.$_BVToastMixin_createRefreshAction());
82 if (timestamp) body.push(this.$_BVToastMixin_createTimestamp());
83 this.$_BVToastMixin_initToast(body, title, 'danger');
[all …]
/openbmc/u-boot/arch/arm/mach-bcm283x/
H A Dmsg.c51 msg_pwr->set_power_state.body.req.device_id = module; in bcm2835_power_on_module()
52 msg_pwr->set_power_state.body.req.state = in bcm2835_power_on_module()
78 msg_clk->get_clock_rate.body.req.clock_id = clock_id; in bcm2835_get_mmc_clock()
86 return msg_clk->get_clock_rate.body.resp.rate_hz; in bcm2835_get_mmc_clock()
102 *widthp = msg_query->physical_w_h.body.resp.width; in bcm2835_get_video_size()
103 *heightp = msg_query->physical_w_h.body.resp.height; in bcm2835_get_video_size()
117 msg_setup->physical_w_h.body.req.width = *widthp; in bcm2835_set_video_params()
118 msg_setup->physical_w_h.body.req.height = *heightp; in bcm2835_set_video_params()
120 msg_setup->virtual_w_h.body.req.width = *widthp; in bcm2835_set_video_params()
121 msg_setup->virtual_w_h.body.req.height = *heightp; in bcm2835_set_video_params()
[all …]
/openbmc/linux/drivers/hv/
H A 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 …]
/openbmc/u-boot/arch/arm/mach-bcm283x/include/mach/
H A Dmbox.h96 (_t_)->tag_hdr.val_buf_size = sizeof((_t_)->body); \
97 (_t_)->tag_hdr.val_len = sizeof((_t_)->body.req); \
102 (_t_)->tag_hdr.val_buf_size = sizeof((_t_)->body); \
135 } body; member
149 } body; member
160 } body; member
174 } body; member
203 } body; member
222 } body; member
248 } body; member
[all …]
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_surface.c167 SVGA3dCmdSurfaceDMA body; member
177 SVGA3dCmdDefineSurface body; member
185 SVGA3dCmdDestroySurface body; member
242 cmd->header.size = sizeof(cmd->body); in vmw_surface_destroy_encode()
243 cmd->body.sid = id; in vmw_surface_destroy_encode()
262 cmd_len = sizeof(cmd->body) + srf->metadata.num_sizes * in vmw_surface_define_encode()
267 cmd->body.sid = srf->res.id; in vmw_surface_define_encode()
273 cmd->body.surfaceFlags = (SVGA3dSurface1Flags)srf->metadata.flags; in vmw_surface_define_encode()
274 cmd->body.format = srf->metadata.format; in vmw_surface_define_encode()
276 cmd->body.face[i].numMipLevels = srf->metadata.mip_levels[i]; in vmw_surface_define_encode()
[all …]
H A Dvmwgfx_scrn.c68 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()
491 gmr->body.format.bitsPerPixel = update->vfb->base.format->cpp[0] * 8; in vmw_sou_bo_define_gmrfb()
492 gmr->body.format.colorDepth = depth; in vmw_sou_bo_define_gmrfb()
493 gmr->body.format.reserved = 0; in vmw_sou_bo_define_gmrfb()
494 gmr->body.bytesPerLine = update->vfb->base.pitches[0]; in vmw_sou_bo_define_gmrfb()
[all …]
H A Dvmwgfx_binding.c578 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 …]
H A Dvmwgfx_execbuf.c55 __type body; \
723 cmd->header.size = sizeof(cmd->body); in vmw_rebind_all_dx_query()
724 cmd->body.cid = ctx_res->id; in vmw_rebind_all_dx_query()
725 cmd->body.mobid = dx_query_mob->tbo.resource->start; in vmw_rebind_all_dx_query()
832 &cmd->body, NULL); in vmw_cmd_cid_check()
874 if (cmd->body.type >= SVGA3D_RT_MAX) { in vmw_cmd_set_render_target_check()
876 (unsigned int) cmd->body.type); in vmw_cmd_set_render_target_check()
882 &cmd->body.cid, &ctx); in vmw_cmd_set_render_target_check()
888 &cmd->body.target.sid, &res); in vmw_cmd_set_render_target_check()
903 binding.slot = cmd->body.type; in vmw_cmd_set_render_target_check()
[all …]
H A Dvmwgfx_context.c147 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 Dvmwgfx_mob.c122 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 Dvmwgfx_shader.c206 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 …]
/openbmc/linux/scripts/
H A Drustdoc_test_builder.rs22 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()
/openbmc/linux/fs/reiserfs/
H A 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 …]
/openbmc/linux/scripts/gcc-plugins/
H A Dstackleak_plugin.c284 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 …]
/openbmc/linux/drivers/staging/ks7010/
H A Dks_hostif.c112 memcpy(ap->ssid.body, priv->reg.ssid.body, in get_current_ap()
115 memcpy(ap->rate_set.body, ap_info->rate_set.body, in get_current_ap()
119 memcpy(&ap->rate_set.body[ap->rate_set.size], in get_current_ap()
120 ap_info->ext_rate_set.body, in get_current_ap()
135 memcpy(ap->rsn_ie.body, ap_info->rsn.body, size); in get_current_ap()
140 memcpy(ap->wpa_ie.body, ap_info->rsn.body, size); in get_current_ap()
171 &ap->ssid.body[0], in get_current_ap()
172 ap->rate_set.body[0], ap->rate_set.body[1], in get_current_ap()
173 ap->rate_set.body[2], ap->rate_set.body[3], in get_current_ap()
174 ap->rate_set.body[4], ap->rate_set.body[5], in get_current_ap()
[all …]
/openbmc/openbmc-build-scripts/config/
H A D.gitlint5 # section "[body-max-line-length]" could also be written as "[B1]". Full section names are
9 # Ignore body-max-line-length and body-hard-tab and rely on the custom
11 ignore=body-max-line-length,body-hard-tab
67 [body-max-line-length-with-exceptions]
70 #[body-min-length]
73 [body-is-missing]
77 # [body-changed-file-mention]
78 # List of files that need to be explicitly mentioned in the body when they are changed
84 # [body-match-regex]
85 # python-style regex that the commit-msg body must match.
[all …]

12345678910>>...21