| /linux/drivers/gpu/drm/amd/display/dc/dce/ |
| H A D | dmub_replay.c | 64 cmd.replay_enable.header.payload_bytes = sizeof(struct dmub_rb_cmd_replay_enable_data); in dmub_replay_enable() 105 cmd.replay_set_power_opt.header.payload_bytes = sizeof(struct dmub_cmd_replay_set_power_opt_data); in dmub_replay_set_power_opt() 146 cmd.replay_copy_settings.header.payload_bytes = sizeof(struct dmub_cmd_replay_copy_settings_data); in dmub_replay_copy_settings() 228 pCmd->header.payload_bytes = sizeof(struct dmub_cmd_replay_set_coasting_vtotal_data); in dmub_replay_set_coasting_vtotal() 299 pCmd->header.payload_bytes = in dmub_replay_set_power_opt_and_coasting_vtotal() 340 cmd.replay_set_timing_sync.header.payload_bytes = in dmub_replay_send_cmd() 353 cmd.replay_set_frameupdate_timer.header.payload_bytes = in dmub_replay_send_cmd() 368 cmd.replay_set_pseudo_vtotal.header.payload_bytes = in dmub_replay_send_cmd() 381 cmd.replay_disabled_adaptive_sync_sdp.header.payload_bytes = in dmub_replay_send_cmd() 394 cmd.replay_set_general_cmd.header.payload_bytes = in dmub_replay_send_cmd()
|
| H A D | dmub_psr.c | 169 cmd.psr_set_version.header.payload_bytes = sizeof(struct dmub_cmd_psr_set_version_data); in dmub_psr_set_version() 197 cmd.psr_enable.header.payload_bytes = 0; // Send header only in dmub_psr_enable() 244 cmd.psr_set_level.header.payload_bytes = sizeof(struct dmub_cmd_psr_set_level_data); in dmub_psr_set_level() 263 cmd.psr_set_vtotal.header.payload_bytes = sizeof(struct dmub_cmd_psr_set_vtotal_data); in dmub_psr_set_sink_vtotal_in_psr_active() 281 cmd.psr_set_power_opt.header.payload_bytes = sizeof(struct dmub_cmd_psr_set_power_opt_data); in dmub_psr_set_power_opt() 333 cmd.psr_copy_settings.header.payload_bytes = sizeof(struct dmub_cmd_psr_copy_settings_data); in dmub_psr_copy_settings() 446 cmd.psr_enable.header.payload_bytes = 0; in dmub_psr_force_static()
|
| H A D | dmub_outbox.c | 46 cmd.outbox1_enable.header.payload_bytes = in dmub_enable_outbox_notification()
|
| /linux/drivers/gpu/nova-core/gsp/ |
| H A D | fw.rs | 529 let payload_bytes = unsafe { in reg_write_payload() localVariable 535 Ok(*RegWritePayload::from_bytes(payload_bytes).ok_or(EINVAL)?) in reg_write_payload() 546 let payload_bytes = unsafe { in reg_modify_payload() localVariable 552 Ok(*RegModifyPayload::from_bytes(payload_bytes).ok_or(EINVAL)?) in reg_modify_payload() 563 let payload_bytes = unsafe { in reg_poll_payload() localVariable 569 Ok(*RegPollPayload::from_bytes(payload_bytes).ok_or(EINVAL)?) in reg_poll_payload() 580 let payload_bytes = unsafe { in delay_us_payload() localVariable 586 Ok(*DelayUsPayload::from_bytes(payload_bytes).ok_or(EINVAL)?) in delay_us_payload() 597 let payload_bytes = unsafe { in reg_store_payload() localVariable 603 Ok(*RegStorePayload::from_bytes(payload_bytes).ok_or(EINVAL)?) in reg_store_payload()
|
| /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() 81 cmd.panel_cntl.header.payload_bytes = sizeof(cmd.panel_cntl.data); in dcn31_panel_cntl_hw_init() 106 cmd.panel_cntl.header.payload_bytes = sizeof(cmd.panel_cntl.data); in dcn31_panel_cntl_hw_init()
|
| /linux/sound/soc/sof/ |
| H A D | ipc4.c | 454 size_t payload_bytes, bool set) in sof_ipc4_set_get_data() 463 size_t remaining = payload_bytes; in sof_ipc4_set_get_data() 487 tx.extension |= SOF_IPC4_MOD_EXT_MSG_SIZE(payload_bytes); in sof_ipc4_set_get_data() 563 if (rx_size > payload_bytes) { in sof_ipc4_init_msg_memory() 566 __func__, payload_bytes, rx_size); in sof_ipc4_init_msg_memory() 574 } else if (rx_size < payload_bytes) { in sof_ipc4_init_msg_memory() 584 if (!set && payload_bytes != offset) in sof_ipc4_find_debug_slot_offset_by_type() 437 sof_ipc4_set_get_data(struct snd_sof_dev * sdev,void * data,size_t payload_bytes,bool set) sof_ipc4_set_get_data() argument
|
| /linux/drivers/gpu/drm/amd/display/dc/ |
| H A D | dc_dmub_srv.c | 395 cmd.drr_update.header.payload_bytes = sizeof(cmd.drr_update) - sizeof(cmd.drr_update.header); in dc_dmub_srv_drr_update_cmd() 409 cmd.drr_update.header.payload_bytes = sizeof(cmd.drr_update) - sizeof(cmd.drr_update.header); in dc_dmub_srv_set_drr_manual_trigger_cmd() 505 cmd.fw_assisted_mclk_switch.header.payload_bytes = in dc_dmub_srv_p_state_delegate() 527 cmd.query_feature_caps.header.payload_bytes = sizeof(struct dmub_cmd_query_feature_caps_data); in dc_dmub_srv_query_caps_cmd() 553 cmd.visual_confirm_color.header.payload_bytes = sizeof(struct dmub_cmd_visual_confirm_color_data); in dc_dmub_srv_get_visual_confirm_color_cmd() 893 cmd.fw_assisted_mclk_switch_v2.header.payload_bytes = in dc_dmub_setup_subvp_dmub_command() 1130 cmd[0].update_cursor_info.header.payload_bytes = in dc_send_update_cursor_info_to_dmu() 1143 cmd[1].update_cursor_info.header.payload_bytes = sizeof(struct cursor_attributes_cfg); in dc_send_update_cursor_info_to_dmu() 1217 init->header.payload_bytes = sizeof(init->init_data); in dc_dmub_srv_cursor_offload_init() 1249 cntl->header.payload_bytes = sizeof(cntl->data); in dc_dmub_srv_control_cursor_offload() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/link/protocols/ |
| H A D | link_dp_panel_replay.c | 264 cmd.pr_enable.header.payload_bytes = sizeof(struct dmub_cmd_pr_enable_data); in dp_pr_enable() 302 cmd.pr_copy_settings.header.payload_bytes = sizeof(struct dmub_cmd_pr_copy_settings_data); in dp_pr_copy_settings() 359 cmd.pr_update_state.header.payload_bytes = sizeof(struct dmub_cmd_pr_update_state_data); in dp_pr_update_state() 380 cmd.pr_general_cmd.header.payload_bytes = sizeof(struct dmub_cmd_pr_general_cmd_data); in dp_pr_set_general_cmd()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn21/ |
| H A D | dcn21_hwseq.c | 154 cmd.abm_set_pipe.header.payload_bytes = sizeof(struct dmub_cmd_abm_set_pipe_data); in dcn21_dmub_abm_set_pipe() 173 cmd.abm_set_backlight.header.payload_bytes = sizeof(struct dmub_cmd_abm_set_backlight_data); in dmub_abm_set_backlight()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn30/ |
| H A D | dcn30_hwseq.c | 940 cmd.mall.header.payload_bytes = sizeof(cmd.mall) - sizeof(cmd.mall.header); in dcn30_apply_idle_power_optimizations() 1042 cmd.mall.header.payload_bytes = in dcn30_apply_idle_power_optimizations() 1079 cmd.mall.header.payload_bytes = sizeof(cmd.mall) - sizeof(cmd.mall.header); in dcn30_apply_idle_power_optimizations() 1098 cmd.mall.header.payload_bytes = in dcn30_apply_idle_power_optimizations()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn32/ |
| H A D | dcn32_hwseq.c | 289 cmd.cab.header.payload_bytes = sizeof(cmd.cab) - sizeof(cmd.cab.header); in dcn32_apply_idle_power_optimizations() 322 cmd.cab.header.payload_bytes = sizeof(cmd.cab) - sizeof(cmd.cab.header); in dcn32_apply_idle_power_optimizations() 339 cmd.cab.header.payload_bytes = in dcn32_apply_idle_power_optimizations()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn31/ |
| H A D | dcn31_hwseq.c | 700 cmd.abm_set_backlight.header.payload_bytes = sizeof(struct dmub_cmd_abm_set_backlight_data); in dmub_abm_set_backlight()
|
| /linux/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc.c | 3874 cmd.update_dirty_rect.header.payload_bytes = in dc_dmub_update_dirty_rect() 3935 cmd.update_dirty_rect.header.payload_bytes = in build_dmub_update_dirty_rect() 5999 cmd.dp_aux_access.header.payload_bytes = 0; in dc_process_dmub_aux_transfer_async() 6090 cmd.smart_power_oled_enable.header.payload_bytes = in dc_smart_power_oled_enable() 6126 cmd.smart_power_oled_getmaxcll.header.payload_bytes = sizeof(cmd.smart_power_oled_getmaxcll.data); in dc_smart_power_oled_get_max_cll()
|
| /linux/drivers/gpu/drm/amd/display/dmub/inc/ |
| H A D | dmub_cmd.h | 1967 unsigned int payload_bytes : 6; /* payload excluding header - up to 60 bytes */ member
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/ |
| H A D | dcn401_hwseq.c | 1295 cmd.cab.header.payload_bytes = sizeof(cmd.cab) - sizeof(cmd.cab.header); in dcn401_apply_idle_power_optimizations()
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm.c | 13004 cmd.edid_cea.header.payload_bytes = in dm_edid_parser_send_cea() 13499 io->header.payload_bytes = sizeof(*io) - sizeof(io->header); in abort_fused_io()
|