/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | psp_v13_0_4.c | 35 static int psp_v13_0_4_init_microcode(struct psp_context *psp) in psp_v13_0_4_init_microcode() 59 static bool psp_v13_0_4_is_sos_alive(struct psp_context *psp) in psp_v13_0_4_is_sos_alive() 69 static int psp_v13_0_4_wait_for_bootloader(struct psp_context *psp) in psp_v13_0_4_wait_for_bootloader() 92 static int psp_v13_0_4_bootloader_load_component(struct psp_context *psp, in psp_v13_0_4_bootloader_load_component() 127 static int psp_v13_0_4_bootloader_load_kdb(struct psp_context *psp) in psp_v13_0_4_bootloader_load_kdb() 132 static int psp_v13_0_4_bootloader_load_spl(struct psp_context *psp) in psp_v13_0_4_bootloader_load_spl() 137 static int psp_v13_0_4_bootloader_load_sysdrv(struct psp_context *psp) in psp_v13_0_4_bootloader_load_sysdrv() 142 static int psp_v13_0_4_bootloader_load_soc_drv(struct psp_context *psp) in psp_v13_0_4_bootloader_load_soc_drv() 147 static int psp_v13_0_4_bootloader_load_intf_drv(struct psp_context *psp) in psp_v13_0_4_bootloader_load_intf_drv() 152 static int psp_v13_0_4_bootloader_load_dbg_drv(struct psp_context *psp) in psp_v13_0_4_bootloader_load_dbg_drv() [all …]
|
H A D | psp_v13_0.c | 77 static int psp_v13_0_init_microcode(struct psp_context *psp) in psp_v13_0_init_microcode() 129 static bool psp_v13_0_is_sos_alive(struct psp_context *psp) in psp_v13_0_is_sos_alive() 139 static int psp_v13_0_wait_for_vmbx_ready(struct psp_context *psp) in psp_v13_0_wait_for_vmbx_ready() 161 static int psp_v13_0_wait_for_bootloader(struct psp_context *psp) in psp_v13_0_wait_for_bootloader() 187 static int psp_v13_0_wait_for_bootloader_steady_state(struct psp_context *psp) in psp_v13_0_wait_for_bootloader_steady_state() 200 static int psp_v13_0_bootloader_load_component(struct psp_context *psp, in psp_v13_0_bootloader_load_component() 235 static int psp_v13_0_bootloader_load_kdb(struct psp_context *psp) in psp_v13_0_bootloader_load_kdb() 240 static int psp_v13_0_bootloader_load_spl(struct psp_context *psp) in psp_v13_0_bootloader_load_spl() 245 static int psp_v13_0_bootloader_load_sysdrv(struct psp_context *psp) in psp_v13_0_bootloader_load_sysdrv() 250 static int psp_v13_0_bootloader_load_soc_drv(struct psp_context *psp) in psp_v13_0_bootloader_load_soc_drv() [all …]
|
H A D | amdgpu_psp.c | 52 static int psp_ring_init(struct psp_context *psp, in psp_ring_init() 94 static void psp_check_pmfw_centralized_cstate_management(struct psp_context *psp) in psp_check_pmfw_centralized_cstate_management() 123 static int psp_init_sriov_microcode(struct psp_context *psp) in psp_init_sriov_microcode() 163 struct psp_context *psp = &adev->psp; in psp_early_init() local 248 static void psp_free_shared_bufs(struct psp_context *psp) in psp_free_shared_bufs() 279 static void psp_memory_training_fini(struct psp_context *psp) in psp_memory_training_fini() 288 static int psp_memory_training_init(struct psp_context *psp) in psp_memory_training_init() 402 struct psp_context *psp = &adev->psp; in psp_sw_init() local 508 struct psp_context *psp = &adev->psp; in psp_sw_fini() local 539 int psp_wait_for(struct psp_context *psp, uint32_t reg_index, in psp_wait_for() [all …]
|
H A D | psp_v11_0.c | 88 static int psp_v11_0_init_microcode(struct psp_context *psp) in psp_v11_0_init_microcode() 144 static int psp_v11_0_wait_for_bootloader(struct psp_context *psp) in psp_v11_0_wait_for_bootloader() 167 static bool psp_v11_0_is_sos_alive(struct psp_context *psp) in psp_v11_0_is_sos_alive() 177 static int psp_v11_0_bootloader_load_component(struct psp_context *psp, in psp_v11_0_bootloader_load_component() 210 static int psp_v11_0_bootloader_load_kdb(struct psp_context *psp) in psp_v11_0_bootloader_load_kdb() 215 static int psp_v11_0_bootloader_load_spl(struct psp_context *psp) in psp_v11_0_bootloader_load_spl() 220 static int psp_v11_0_bootloader_load_sysdrv(struct psp_context *psp) in psp_v11_0_bootloader_load_sysdrv() 225 static int psp_v11_0_bootloader_load_sos(struct psp_context *psp) in psp_v11_0_bootloader_load_sos() 260 static int psp_v11_0_ring_stop(struct psp_context *psp, in psp_v11_0_ring_stop() 288 static int psp_v11_0_ring_create(struct psp_context *psp, in psp_v11_0_ring_create() [all …]
|
H A D | psp_v3_1.c | 57 static int psp_v3_1_init_microcode(struct psp_context *psp) in psp_v3_1_init_microcode() 78 static int psp_v3_1_bootloader_load_sysdrv(struct psp_context *psp) in psp_v3_1_bootloader_load_sysdrv() 117 static int psp_v3_1_bootloader_load_sos(struct psp_context *psp) in psp_v3_1_bootloader_load_sos() 155 static void psp_v3_1_reroute_ih(struct psp_context *psp) in psp_v3_1_reroute_ih() 186 static int psp_v3_1_ring_create(struct psp_context *psp, in psp_v3_1_ring_create() 251 static int psp_v3_1_ring_stop(struct psp_context *psp, in psp_v3_1_ring_stop() 279 static int psp_v3_1_ring_destroy(struct psp_context *psp, in psp_v3_1_ring_destroy() 297 static bool psp_v3_1_smu_reload_quirk(struct psp_context *psp) in psp_v3_1_smu_reload_quirk() 306 static int psp_v3_1_mode1_reset(struct psp_context *psp) in psp_v3_1_mode1_reset() 340 static uint32_t psp_v3_1_ring_get_wptr(struct psp_context *psp) in psp_v3_1_ring_get_wptr() [all …]
|
H A D | psp_v12_0.c | 48 static int psp_v12_0_init_microcode(struct psp_context *psp) in psp_v12_0_init_microcode() 72 static int psp_v12_0_bootloader_load_sysdrv(struct psp_context *psp) in psp_v12_0_bootloader_load_sysdrv() 111 static int psp_v12_0_bootloader_load_sos(struct psp_context *psp) in psp_v12_0_bootloader_load_sos() 150 static void psp_v12_0_reroute_ih(struct psp_context *psp) in psp_v12_0_reroute_ih() 181 static int psp_v12_0_ring_create(struct psp_context *psp, in psp_v12_0_ring_create() 236 static int psp_v12_0_ring_stop(struct psp_context *psp, in psp_v12_0_ring_stop() 264 static int psp_v12_0_ring_destroy(struct psp_context *psp, in psp_v12_0_ring_destroy() 282 static int psp_v12_0_mode1_reset(struct psp_context *psp) in psp_v12_0_mode1_reset() 316 static uint32_t psp_v12_0_ring_get_wptr(struct psp_context *psp) in psp_v12_0_ring_get_wptr() 329 static void psp_v12_0_ring_set_wptr(struct psp_context *psp, uint32_t value) in psp_v12_0_ring_set_wptr() [all …]
|
H A D | psp_v10_0.c | 47 static int psp_v10_0_init_microcode(struct psp_context *psp) in psp_v10_0_init_microcode() 69 static int psp_v10_0_ring_create(struct psp_context *psp, in psp_v10_0_ring_create() 101 static int psp_v10_0_ring_stop(struct psp_context *psp, in psp_v10_0_ring_stop() 122 static int psp_v10_0_ring_destroy(struct psp_context *psp, in psp_v10_0_ring_destroy() 140 static int psp_v10_0_mode1_reset(struct psp_context *psp) in psp_v10_0_mode1_reset() 146 static uint32_t psp_v10_0_ring_get_wptr(struct psp_context *psp) in psp_v10_0_ring_get_wptr() 153 static void psp_v10_0_ring_set_wptr(struct psp_context *psp, uint32_t value) in psp_v10_0_ring_set_wptr() 170 void psp_v10_0_set_psp_funcs(struct psp_context *psp) in psp_v10_0_set_psp_funcs()
|
H A D | psp_v11_0_8.c | 31 static int psp_v11_0_8_ring_stop(struct psp_context *psp, in psp_v11_0_8_ring_stop() 60 static int psp_v11_0_8_ring_create(struct psp_context *psp, in psp_v11_0_8_ring_create() 127 static int psp_v11_0_8_ring_destroy(struct psp_context *psp, in psp_v11_0_8_ring_destroy() 145 static uint32_t psp_v11_0_8_ring_get_wptr(struct psp_context *psp) in psp_v11_0_8_ring_get_wptr() 158 static void psp_v11_0_8_ring_set_wptr(struct psp_context *psp, uint32_t value) in psp_v11_0_8_ring_set_wptr() 178 void psp_v11_0_8_set_psp_funcs(struct psp_context *psp) in psp_v11_0_8_set_psp_funcs()
|
H A D | amdgpu_psp_ta.h | 28 #define psp_fn_ta_initialize(psp) ((psp)->ta_funcs->fn_ta_initialize((psp))) argument 29 #define psp_fn_ta_invoke(psp, ta_cmd_id) ((psp)->ta_funcs->fn_ta_invoke((psp), (ta_cmd_id))) argument 30 #define psp_fn_ta_terminate(psp) ((psp)->ta_funcs->fn_ta_terminate((psp))) argument
|
H A D | amdgpu_psp.h | 402 #define psp_ring_create(psp, type) (psp)->funcs->ring_create((psp), (type)) argument 403 #define psp_ring_stop(psp, type) (psp)->funcs->ring_stop((psp), (type)) argument 404 #define psp_ring_destroy(psp, type) ((psp)->funcs->ring_destroy((psp), (type))) argument 405 #define psp_init_microcode(psp) \ argument 407 #define psp_bootloader_load_kdb(psp) \ argument 409 #define psp_bootloader_load_spl(psp) \ argument 411 #define psp_bootloader_load_sysdrv(psp) \ argument 413 #define psp_bootloader_load_soc_drv(psp) \ argument 415 #define psp_bootloader_load_intf_drv(psp) \ argument 417 #define psp_bootloader_load_dbg_drv(psp) \ argument [all …]
|
H A D | amdgpu_securedisplay.c | 48 void psp_securedisplay_parse_resp_status(struct psp_context *psp, in psp_securedisplay_parse_resp_status() 80 void psp_prep_securedisplay_cmd_buf(struct psp_context *psp, struct ta_securedisplay_cmd **cmd, in psp_prep_securedisplay_cmd_buf() 95 struct psp_context *psp = &adev->psp; in amdgpu_securedisplay_debugfs_write() local
|
H A D | amdgpu_psp_ta.c | 72 static void set_ta_context_funcs(struct psp_context *psp, in set_ta_context_funcs() 153 struct psp_context *psp = &adev->psp; in ta_if_load_debugfs_write() local 255 struct psp_context *psp = &adev->psp; in ta_if_unload_debugfs_write() local 304 struct psp_context *psp = &adev->psp; in ta_if_invoke_debugfs_write() local
|
/openbmc/linux/drivers/crypto/ccp/ |
H A D | psp-dev.c | 25 struct psp_device *psp; in psp_alloc_struct() local 41 struct psp_device *psp = data; in psp_irq_handler() local 59 static unsigned int psp_get_capability(struct psp_device *psp) in psp_get_capability() 85 static int psp_check_sev_support(struct psp_device *psp) in psp_check_sev_support() 96 static int psp_check_tee_support(struct psp_device *psp) in psp_check_tee_support() 107 static void psp_init_platform_access(struct psp_device *psp) in psp_init_platform_access() 124 static int psp_init(struct psp_device *psp) in psp_init() 149 struct psp_device *psp; in psp_dev_init() local 218 struct psp_device *psp = sp->psp_data; in psp_dev_destroy() local 237 void psp_set_sev_irq_handler(struct psp_device *psp, psp_irq_handler_t handler, in psp_set_sev_irq_handler() [all …]
|
H A D | platform-access.c | 47 struct psp_device *psp = psp_get_master_device(); in psp_check_platform_access_status() local 59 struct psp_device *psp = psp_get_master_device(); in psp_send_platform_access_msg() local 150 struct psp_device *psp = psp_get_master_device(); in psp_ring_platform_doorbell() local 194 void platform_access_dev_destroy(struct psp_device *psp) in platform_access_dev_destroy() 206 int platform_access_dev_init(struct psp_device *psp) in platform_access_dev_init()
|
H A D | tee-dev.c | 192 int tee_dev_init(struct psp_device *psp) in tee_dev_init() 235 void tee_dev_destroy(struct psp_device *psp) in tee_dev_destroy() 351 struct psp_device *psp = psp_get_master_device(); in psp_tee_process_cmd() local 390 struct psp_device *psp = psp_get_master_device(); in psp_check_tee_status() local
|
H A D | dbc.c | 13 u32 psp; member 101 void dbc_dev_destroy(struct psp_device *psp) in dbc_dev_destroy() 194 int dbc_dev_init(struct psp_device *psp) in dbc_dev_init()
|
/openbmc/linux/drivers/gpu/drm/amd/display/modules/hdcp/ |
H A D | hdcp_psp.c | 51 struct psp_context *psp = hdcp->config.psp.handle; in remove_display_from_topology_v2() local 87 struct psp_context *psp = hdcp->config.psp.handle; in remove_display_from_topology_v3() local 125 struct psp_context *psp = hdcp->config.psp.handle; in add_display_to_topology_v2() local 172 struct psp_context *psp = hdcp->config.psp.handle; in add_display_to_topology_v3() local 253 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_create_session() local 292 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_destroy_session() local 325 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_validate_rx() local 366 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_enable_encryption() local 393 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_validate_ksvlist_vp() local 435 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_enable_dp_stream_encryption() local [all …]
|
/openbmc/linux/drivers/staging/greybus/ |
H A D | power_supply.c | 106 static int get_psp_from_gb_prop(int gb_prop, enum power_supply_property *psp) in get_psp_from_gb_prop() 316 enum power_supply_property psp) in get_psy_prop() 327 enum power_supply_property psp) in is_psy_prop_writeable() 337 static int is_prop_valint(enum power_supply_property psp) in is_prop_valint() 513 enum power_supply_property psp; in gb_power_supply_prop_descriptors_get() local 590 enum power_supply_property psp) in __gb_power_supply_property_update() 623 enum power_supply_property psp, in __gb_power_supply_property_get() 637 enum power_supply_property psp, in __gb_power_supply_property_strval_get() 658 enum power_supply_property psp, in _gb_power_supply_property_get() 754 enum power_supply_property psp, in get_property() [all …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | rn5t618_power.c | 359 enum power_supply_property psp, in rn5t618_battery_get_property() 410 enum power_supply_property psp, in rn5t618_battery_set_property() 424 enum power_supply_property psp) in rn5t618_battery_property_is_writeable() 435 enum power_supply_property psp, in rn5t618_adp_get_property() 489 enum power_supply_property psp, in rn5t618_adp_set_property() 517 enum power_supply_property psp) in rn5t618_adp_property_is_writeable() 555 enum power_supply_property psp, in rn5t618_usb_get_property() 623 enum power_supply_property psp, in rn5t618_usb_set_property() 651 enum power_supply_property psp) in rn5t618_usb_property_is_writeable()
|
H A D | acer_a500_battery.c | 35 enum power_supply_property psp; member 96 enum power_supply_property psp, in a500_battery_unit_adjustment() 124 enum power_supply_property psp) in a500_battery_get_ec_data_index() 146 enum power_supply_property psp, in a500_battery_get_property()
|
H A D | sbs-battery.c | 94 enum power_supply_property psp; member 222 enum power_supply_property psp) in sbs_get_string_buf() 518 struct i2c_client *client, enum power_supply_property psp, in sbs_get_ti_battery_presence_and_health() 576 struct i2c_client *client, enum power_supply_property psp, in sbs_get_battery_presence_and_health() 611 int reg_offset, enum power_supply_property psp, in sbs_get_battery_property() 678 enum power_supply_property psp) in sbs_get_property_index() 693 enum power_supply_property psp) in sbs_get_constant_string() 719 enum power_supply_property psp, union power_supply_propval *val) in sbs_unit_adjustment() 797 int reg_offset, enum power_supply_property psp, in sbs_get_battery_capacity() 874 enum power_supply_property psp, in sbs_get_battery_manufacture_date() [all …]
|
H A D | lego_ev3_battery.c | 38 enum power_supply_property psp, in lego_ev3_battery_get_property() 92 enum power_supply_property psp, in lego_ev3_battery_set_property() 127 enum power_supply_property psp) in lego_ev3_battery_property_is_writeable()
|
H A D | wilco-charger.c | 87 enum power_supply_property psp, in wilco_charge_get_property() 124 enum power_supply_property psp, in wilco_charge_set_property() 154 enum power_supply_property psp) in wilco_charge_property_is_writeable()
|
H A D | ip5xxx_power.c | 313 enum power_supply_property psp, in ip5xxx_battery_get_property() 431 enum power_supply_property psp, in ip5xxx_battery_set_property() 481 enum power_supply_property psp) in ip5xxx_battery_property_is_writeable() 505 enum power_supply_property psp, in ip5xxx_boost_get_property() 540 enum power_supply_property psp, in ip5xxx_boost_set_property() 568 enum power_supply_property psp) in ip5xxx_boost_property_is_writeable()
|
/openbmc/linux/drivers/usb/misc/ |
H A D | apple-mfi-fastcharge.c | 92 enum power_supply_property psp, in apple_mfi_fc_get_property() 114 enum power_supply_property psp, in apple_mfi_fc_set_property() 143 enum power_supply_property psp) in apple_mfi_fc_property_is_writeable()
|