/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dmub_abm_lcd.c | 77 cmd.abm_set_pwm_frac.header.payload_bytes = sizeof(struct dmub_cmd_abm_set_pwm_frac_data); in dmub_abm_enable_fractional_pwm() 156 cmd.abm_set_level.header.payload_bytes = sizeof(struct dmub_cmd_abm_set_level_data); in dmub_abm_set_level() 187 cmd.abm_init_config.header.payload_bytes = sizeof(struct dmub_cmd_abm_init_config_data); in dmub_abm_init_config() 204 cmd.abm_set_level.header.payload_bytes = sizeof(struct dmub_cmd_abm_pause_data); in dmub_abm_set_pause() 247 cmd.abm_save_restore.header.payload_bytes = sizeof(struct dmub_rb_cmd_abm_save_restore); in dmub_abm_save_restore() 275 cmd.abm_set_pipe.header.payload_bytes = sizeof(struct dmub_cmd_abm_set_pipe_data); in dmub_abm_set_pipe() 297 cmd.abm_set_backlight.header.payload_bytes = sizeof(struct dmub_cmd_abm_set_backlight_data); in dmub_abm_set_backlight_level()
|
H A D | dmub_psr.c | 171 cmd.psr_set_version.header.payload_bytes = sizeof(struct dmub_cmd_psr_set_version_data); in dmub_psr_set_version() 199 cmd.psr_enable.header.payload_bytes = 0; // Send header only in dmub_psr_enable() 246 cmd.psr_set_level.header.payload_bytes = sizeof(struct dmub_cmd_psr_set_level_data); in dmub_psr_set_level() 265 cmd.psr_set_vtotal.header.payload_bytes = sizeof(struct dmub_cmd_psr_set_vtotal_data); in dmub_psr_set_sink_vtotal_in_psr_active() 283 cmd.psr_set_power_opt.header.payload_bytes = sizeof(struct dmub_cmd_psr_set_power_opt_data); in dmub_psr_set_power_opt() 335 cmd.psr_copy_settings.header.payload_bytes = sizeof(struct dmub_cmd_psr_copy_settings_data); in dmub_psr_copy_settings() 437 cmd.psr_enable.header.payload_bytes = 0; in dmub_psr_force_static()
|
H A D | dmub_replay.c | 85 cmd.replay_enable.header.payload_bytes = sizeof(struct dmub_rb_cmd_replay_enable_data); in dmub_replay_enable() 127 cmd.replay_set_power_opt.header.payload_bytes = sizeof(struct dmub_cmd_replay_set_power_opt_data); in dmub_replay_set_power_opt() 168 cmd.replay_copy_settings.header.payload_bytes = sizeof(struct dmub_cmd_replay_copy_settings_data); in dmub_replay_copy_settings() 232 …cmd.replay_set_coasting_vtotal.header.payload_bytes = sizeof(struct dmub_cmd_replay_set_coasting_v… in dmub_replay_set_coasting_vtotal()
|
H A D | dmub_outbox.c | 46 cmd.outbox1_enable.header.payload_bytes = in dmub_enable_outbox_notification()
|
H A D | dmub_hw_lock_mgr.c | 41 cmd.lock_hw.header.payload_bytes = sizeof(struct dmub_cmd_lock_hw_data); in dmub_hw_lock_mgr_cmd()
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | ud_header.c | 315 int ib_ud_header_init(int payload_bytes, in ib_ud_header_init() argument 346 payload_bytes + in ib_ud_header_init() 361 payload_bytes + in ib_ud_header_init() 375 payload_bytes + in ib_ud_header_init() 384 payload_bytes + in ib_ud_header_init() 391 header->bth.pad_count = (4 - payload_bytes) & 3; in ib_ud_header_init()
|
/openbmc/linux/sound/soc/sof/ |
H A D | ipc4.c | 403 size_t payload_bytes, bool set) in sof_ipc4_set_get_data() argument 412 size_t remaining = payload_bytes; in sof_ipc4_set_get_data() 434 tx.extension |= SOF_IPC4_MOD_EXT_MSG_SIZE(payload_bytes); in sof_ipc4_set_get_data() 492 if (rx_size > payload_bytes) { in sof_ipc4_set_get_data() 495 __func__, payload_bytes, rx_size); in sof_ipc4_set_get_data() 503 } else if (rx_size < payload_bytes) { in sof_ipc4_set_get_data() 513 if (!set && payload_bytes != offset) in sof_ipc4_set_get_data()
|
H A D | ipc3.c | 386 size_t payload_bytes, header_bytes; in sof_ipc3_tx_msg() local 394 payload_bytes = msg_bytes - header_bytes; in sof_ipc3_tx_msg() 399 payload_bytes = reply_bytes - header_bytes; in sof_ipc3_tx_msg() 404 sof_ipc3_dump_payload(sdev, payload, payload_bytes); in sof_ipc3_tx_msg()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn31/ |
H A D | dcn31_panel_cntl.c | 52 cmd->panel_cntl.header.payload_bytes = sizeof(cmd->panel_cntl.data); in dcn31_query_backlight_info() 80 cmd.panel_cntl.header.payload_bytes = sizeof(cmd.panel_cntl.data); in dcn31_panel_cntl_hw_init()
|
H A D | dcn31_dio_link_encoder.c | 125 cmd->query_dp_alt.header.payload_bytes = sizeof(cmd->query_dp_alt.data); in query_dp_alt_from_dmub() 433 cmd.dig1_dpia_control.header.payload_bytes = in link_dpia_control()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_dmub_srv.c | 266 cmd.drr_update.header.payload_bytes = sizeof(cmd.drr_update) - sizeof(cmd.drr_update.header); in dc_dmub_srv_drr_update_cmd() 280 cmd.drr_update.header.payload_bytes = sizeof(cmd.drr_update) - sizeof(cmd.drr_update.header); in dc_dmub_srv_set_drr_manual_trigger_cmd() 372 cmd.fw_assisted_mclk_switch.header.payload_bytes = in dc_dmub_srv_p_state_delegate() 394 cmd.query_feature_caps.header.payload_bytes = sizeof(struct dmub_cmd_query_feature_caps_data); in dc_dmub_srv_query_caps_cmd() 418 cmd.visual_confirm_color.header.payload_bytes = sizeof(struct dmub_cmd_visual_confirm_color_data); in dc_dmub_srv_get_visual_confirm_color_cmd() 727 cmd.fw_assisted_mclk_switch_v2.header.payload_bytes = in dc_dmub_setup_subvp_dmub_command() 998 cmd[0].update_cursor_info.header.payload_bytes = in dc_send_update_cursor_info_to_dmu() 1011 cmd[1].update_cursor_info.header.payload_bytes = sizeof(struct cursor_attributes_cfg); in dc_send_update_cursor_info_to_dmu()
|
H A D | dc_helper.c | 47 cmd_buf->header.payload_bytes = in submit_dmub_read_modify_write() 64 cmd_buf->header.payload_bytes = in submit_dmub_burst_write()
|
/openbmc/qemu/block/ |
H A D | parallels.c | 206 int64_t payload_bytes; in parallels_fill_used_bitmap() local 210 payload_bytes = bdrv_getlength(bs->file->bs); in parallels_fill_used_bitmap() 211 if (payload_bytes < 0) { in parallels_fill_used_bitmap() 212 return payload_bytes; in parallels_fill_used_bitmap() 214 payload_bytes -= s->data_start * BDRV_SECTOR_SIZE; in parallels_fill_used_bitmap() 215 if (payload_bytes < 0) { in parallels_fill_used_bitmap() 219 s->used_bmap_size = DIV_ROUND_UP(payload_bytes, s->cluster_size); in parallels_fill_used_bitmap()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/bios/ |
H A D | command_table2.c | 121 cmd.digx_encoder_control.header.payload_bytes = in encoder_control_dmcub() 257 cmd.dig1_transmitter_control.header.payload_bytes = in transmitter_control_dmcub() 319 cmd.dig1_transmitter_control.header.payload_bytes = in transmitter_control_dmcub_v1_7() 427 cmd.set_pixel_clock.header.payload_bytes = in set_pixel_clock_dmcub() 794 cmd.enable_disp_power_gating.header.payload_bytes = in enable_disp_power_gating_dmcub()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn21/ |
H A D | dcn21_hwseq.c | 155 cmd.abm_set_pipe.header.payload_bytes = sizeof(struct dmub_cmd_abm_set_pipe_data); in dmub_abm_set_pipe() 174 cmd.abm_set_backlight.header.payload_bytes = sizeof(struct dmub_cmd_abm_set_backlight_data); in dmub_abm_set_backlight()
|
H A D | dcn21_hubp.c | 676 cmd.PLAT_54186_wa.header.payload_bytes = sizeof(cmd.PLAT_54186_wa.flip); in dmcub_PLAT_54186_wa()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_hwseq.c | 728 cmd.mall.header.payload_bytes = sizeof(cmd.mall) - sizeof(cmd.mall.header); in dcn30_apply_idle_power_optimizations() 829 cmd.mall.header.payload_bytes = in dcn30_apply_idle_power_optimizations() 866 cmd.mall.header.payload_bytes = sizeof(cmd.mall) - sizeof(cmd.mall.header); in dcn30_apply_idle_power_optimizations() 885 cmd.mall.header.payload_bytes = in dcn30_apply_idle_power_optimizations()
|
/openbmc/linux/include/rdma/ |
H A D | ib_pack.h | 273 int ib_ud_header_init(int payload_bytes,
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn32/ |
H A D | dcn32_hwseq.c | 277 cmd.cab.header.payload_bytes = sizeof(cmd.cab) - sizeof(cmd.cab.header); in dcn32_apply_idle_power_optimizations() 310 cmd.cab.header.payload_bytes = sizeof(cmd.cab) - sizeof(cmd.cab.header); in dcn32_apply_idle_power_optimizations() 326 cmd.cab.header.payload_bytes = in dcn32_apply_idle_power_optimizations()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dmub/inc/ |
H A D | dmub_cmd.h | 1061 unsigned int payload_bytes : 6; /* payload excluding header - up to 60 bytes */ member
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc.c | 3288 cmd.update_dirty_rect.header.payload_bytes = in dc_dmub_update_dirty_rect() 3343 cmd.update_dirty_rect.header.payload_bytes = in build_dmub_update_dirty_rect() 4953 cmd.dp_aux_access.header.payload_bytes = 0; in dc_process_dmub_aux_transfer_async()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/protocols/ |
H A D | link_dp_capability.c | 1388 cmd.cable_id.header.payload_bytes = sizeof(cmd.cable_id.data); in get_usbc_cable_id()
|
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm.c | 10559 cmd.edid_cea.header.payload_bytes = in dm_edid_parser_send_cea()
|