/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_psp.c | 66 static void psp_check_pmfw_centralized_cstate_management(struct psp_context *psp) in psp_check_pmfw_centralized_cstate_management() 86 struct psp_context *psp = &adev->psp; in psp_early_init() local 141 static void psp_memory_training_fini(struct psp_context *psp) in psp_memory_training_fini() 150 static int psp_memory_training_init(struct psp_context *psp) in psp_memory_training_init() 250 struct psp_context *psp = &adev->psp; in psp_sw_init() local 323 struct psp_context *psp = &adev->psp; in psp_sw_fini() local 350 int psp_wait_for(struct psp_context *psp, uint32_t reg_index, in psp_wait_for() 414 psp_cmd_submit_buf(struct psp_context *psp, in psp_cmd_submit_buf() 493 static struct psp_gfx_cmd_resp *acquire_psp_cmd_buf(struct psp_context *psp) in acquire_psp_cmd_buf() 504 void release_psp_cmd_buf(struct psp_context *psp) in release_psp_cmd_buf() [all …]
|
D | psp_v13_0.c | 44 static int psp_v13_0_init_microcode(struct psp_context *psp) in psp_v13_0_init_microcode() 87 static bool psp_v13_0_is_sos_alive(struct psp_context *psp) in psp_v13_0_is_sos_alive() 97 static int psp_v13_0_wait_for_bootloader(struct psp_context *psp) in psp_v13_0_wait_for_bootloader() 120 static int psp_v13_0_bootloader_load_component(struct psp_context *psp, in psp_v13_0_bootloader_load_component() 155 static int psp_v13_0_bootloader_load_kdb(struct psp_context *psp) in psp_v13_0_bootloader_load_kdb() 160 static int psp_v13_0_bootloader_load_sysdrv(struct psp_context *psp) in psp_v13_0_bootloader_load_sysdrv() 165 static int psp_v13_0_bootloader_load_soc_drv(struct psp_context *psp) in psp_v13_0_bootloader_load_soc_drv() 170 static int psp_v13_0_bootloader_load_intf_drv(struct psp_context *psp) in psp_v13_0_bootloader_load_intf_drv() 175 static int psp_v13_0_bootloader_load_dbg_drv(struct psp_context *psp) in psp_v13_0_bootloader_load_dbg_drv() 180 static int psp_v13_0_bootloader_load_sos(struct psp_context *psp) in psp_v13_0_bootloader_load_sos() [all …]
|
D | psp_v11_0.c | 86 static int psp_v11_0_init_microcode(struct psp_context *psp) in psp_v11_0_init_microcode() 240 static int psp_v11_0_wait_for_bootloader(struct psp_context *psp) in psp_v11_0_wait_for_bootloader() 263 static bool psp_v11_0_is_sos_alive(struct psp_context *psp) in psp_v11_0_is_sos_alive() 273 static int psp_v11_0_bootloader_load_kdb(struct psp_context *psp) in psp_v11_0_bootloader_load_kdb() 304 static int psp_v11_0_bootloader_load_spl(struct psp_context *psp) in psp_v11_0_bootloader_load_spl() 335 static int psp_v11_0_bootloader_load_sysdrv(struct psp_context *psp) in psp_v11_0_bootloader_load_sysdrv() 369 static int psp_v11_0_bootloader_load_sos(struct psp_context *psp) in psp_v11_0_bootloader_load_sos() 404 static int psp_v11_0_ring_init(struct psp_context *psp, in psp_v11_0_ring_init() 430 static int psp_v11_0_ring_stop(struct psp_context *psp, in psp_v11_0_ring_stop() 458 static int psp_v11_0_ring_create(struct psp_context *psp, in psp_v11_0_ring_create() [all …]
|
D | psp_v3_1.c | 56 static int psp_v3_1_init_microcode(struct psp_context *psp) in psp_v3_1_init_microcode() 85 static int psp_v3_1_bootloader_load_sysdrv(struct psp_context *psp) in psp_v3_1_bootloader_load_sysdrv() 124 static int psp_v3_1_bootloader_load_sos(struct psp_context *psp) in psp_v3_1_bootloader_load_sos() 162 static int psp_v3_1_ring_init(struct psp_context *psp, in psp_v3_1_ring_init() 188 static void psp_v3_1_reroute_ih(struct psp_context *psp) in psp_v3_1_reroute_ih() 219 static int psp_v3_1_ring_create(struct psp_context *psp, in psp_v3_1_ring_create() 284 static int psp_v3_1_ring_stop(struct psp_context *psp, in psp_v3_1_ring_stop() 312 static int psp_v3_1_ring_destroy(struct psp_context *psp, in psp_v3_1_ring_destroy() 330 static bool psp_v3_1_smu_reload_quirk(struct psp_context *psp) in psp_v3_1_smu_reload_quirk() 339 static int psp_v3_1_mode1_reset(struct psp_context *psp) in psp_v3_1_mode1_reset() [all …]
|
D | psp_v12_0.c | 48 static int psp_v12_0_init_microcode(struct psp_context *psp) in psp_v12_0_init_microcode() 120 static int psp_v12_0_bootloader_load_sysdrv(struct psp_context *psp) in psp_v12_0_bootloader_load_sysdrv() 159 static int psp_v12_0_bootloader_load_sos(struct psp_context *psp) in psp_v12_0_bootloader_load_sos() 198 static void psp_v12_0_reroute_ih(struct psp_context *psp) in psp_v12_0_reroute_ih() 229 static int psp_v12_0_ring_init(struct psp_context *psp, in psp_v12_0_ring_init() 257 static int psp_v12_0_ring_create(struct psp_context *psp, in psp_v12_0_ring_create() 310 static int psp_v12_0_ring_stop(struct psp_context *psp, in psp_v12_0_ring_stop() 338 static int psp_v12_0_ring_destroy(struct psp_context *psp, in psp_v12_0_ring_destroy() 356 static int psp_v12_0_mode1_reset(struct psp_context *psp) in psp_v12_0_mode1_reset() 390 static uint32_t psp_v12_0_ring_get_wptr(struct psp_context *psp) in psp_v12_0_ring_get_wptr() [all …]
|
D | psp_v10_0.c | 47 static int psp_v10_0_init_microcode(struct psp_context *psp) in psp_v10_0_init_microcode() 129 static int psp_v10_0_ring_init(struct psp_context *psp, in psp_v10_0_ring_init() 155 static int psp_v10_0_ring_create(struct psp_context *psp, in psp_v10_0_ring_create() 187 static int psp_v10_0_ring_stop(struct psp_context *psp, in psp_v10_0_ring_stop() 208 static int psp_v10_0_ring_destroy(struct psp_context *psp, in psp_v10_0_ring_destroy() 226 static int psp_v10_0_mode1_reset(struct psp_context *psp) in psp_v10_0_mode1_reset() 232 static uint32_t psp_v10_0_ring_get_wptr(struct psp_context *psp) in psp_v10_0_ring_get_wptr() 239 static void psp_v10_0_ring_set_wptr(struct psp_context *psp, uint32_t value) in psp_v10_0_ring_set_wptr() 257 void psp_v10_0_set_psp_funcs(struct psp_context *psp) in psp_v10_0_set_psp_funcs()
|
D | psp_v11_0_8.c | 31 static int psp_v11_0_8_ring_init(struct psp_context *psp, in psp_v11_0_8_ring_init() 57 static int psp_v11_0_8_ring_stop(struct psp_context *psp, in psp_v11_0_8_ring_stop() 86 static int psp_v11_0_8_ring_create(struct psp_context *psp, in psp_v11_0_8_ring_create() 153 static int psp_v11_0_8_ring_destroy(struct psp_context *psp, in psp_v11_0_8_ring_destroy() 171 static uint32_t psp_v11_0_8_ring_get_wptr(struct psp_context *psp) in psp_v11_0_8_ring_get_wptr() 184 static void psp_v11_0_8_ring_set_wptr(struct psp_context *psp, uint32_t value) in psp_v11_0_8_ring_set_wptr() 205 void psp_v11_0_8_set_psp_funcs(struct psp_context *psp) in psp_v11_0_8_set_psp_funcs()
|
D | amdgpu_psp.h | 355 #define psp_ring_init(psp, type) (psp)->funcs->ring_init((psp), (type)) argument 356 #define psp_ring_create(psp, type) (psp)->funcs->ring_create((psp), (type)) argument 357 #define psp_ring_stop(psp, type) (psp)->funcs->ring_stop((psp), (type)) argument 358 #define psp_ring_destroy(psp, type) ((psp)->funcs->ring_destroy((psp), (type))) argument 359 #define psp_init_microcode(psp) \ argument 361 #define psp_bootloader_load_kdb(psp) \ argument 363 #define psp_bootloader_load_spl(psp) \ argument 365 #define psp_bootloader_load_sysdrv(psp) \ argument 367 #define psp_bootloader_load_soc_drv(psp) \ argument 369 #define psp_bootloader_load_intf_drv(psp) \ argument [all …]
|
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 securedisplay_cmd **cmd, in psp_prep_securedisplay_cmd_buf() 95 struct psp_context *psp = &adev->psp; in amdgpu_securedisplay_debugfs_write() local
|
/Linux-v5.15/drivers/crypto/ccp/ |
D | psp-dev.c | 23 struct psp_device *psp; in psp_alloc_struct() local 39 struct psp_device *psp = data; in psp_irq_handler() local 60 static unsigned int psp_get_capability(struct psp_device *psp) in psp_get_capability() 79 static int psp_check_sev_support(struct psp_device *psp, in psp_check_sev_support() 91 static int psp_check_tee_support(struct psp_device *psp, in psp_check_tee_support() 103 static int psp_check_support(struct psp_device *psp, in psp_check_support() 116 static int psp_init(struct psp_device *psp, unsigned int capability) in psp_init() 138 struct psp_device *psp; in psp_dev_init() local 208 struct psp_device *psp = sp->psp_data; in psp_dev_destroy() local 223 void psp_set_sev_irq_handler(struct psp_device *psp, psp_irq_handler_t handler, in psp_set_sev_irq_handler() [all …]
|
D | tee-dev.c | 191 int tee_dev_init(struct psp_device *psp) in tee_dev_init() 234 void tee_dev_destroy(struct psp_device *psp) in tee_dev_destroy() 350 struct psp_device *psp = psp_get_master_device(); in psp_tee_process_cmd() local 389 struct psp_device *psp = psp_get_master_device(); in psp_check_tee_status() local
|
/Linux-v5.15/drivers/gpu/drm/amd/display/modules/hdcp/ |
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 249 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_create_session() local 288 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_destroy_session() local 321 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_validate_rx() local 362 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_enable_encryption() local 389 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_validate_ksvlist_vp() local 431 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_enable_dp_stream_encryption() local [all …]
|
/Linux-v5.15/drivers/staging/greybus/ |
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 …]
|
/Linux-v5.15/drivers/power/supply/ |
D | rn5t618_power.c | 360 enum power_supply_property psp, in rn5t618_battery_get_property() 411 enum power_supply_property psp, in rn5t618_battery_set_property() 425 enum power_supply_property psp) in rn5t618_battery_property_is_writeable() 436 enum power_supply_property psp, in rn5t618_adp_get_property() 490 enum power_supply_property psp, in rn5t618_adp_set_property() 518 enum power_supply_property psp) in rn5t618_adp_property_is_writeable() 556 enum power_supply_property psp, in rn5t618_usb_get_property() 624 enum power_supply_property psp, in rn5t618_usb_set_property() 652 enum power_supply_property psp) in rn5t618_usb_property_is_writeable()
|
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 …]
|
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()
|
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()
|
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()
|
D | mp2629_charger.c | 221 enum power_supply_property psp, in mp2629_charger_battery_get_prop() 324 enum power_supply_property psp, in mp2629_charger_battery_set_prop() 348 enum power_supply_property psp, in mp2629_charger_usb_get_prop() 413 enum power_supply_property psp, in mp2629_charger_usb_set_prop() 431 enum power_supply_property psp) in mp2629_charger_battery_prop_writeable() 440 enum power_supply_property psp) in mp2629_charger_usb_prop_writeable()
|
D | qcom_smbb.c | 489 enum power_supply_property psp, in smbb_usbin_get_property() 517 enum power_supply_property psp, in smbb_usbin_set_property() 537 enum power_supply_property psp, in smbb_dcin_get_property() 565 enum power_supply_property psp, in smbb_dcin_set_property() 585 enum power_supply_property psp) in smbb_charger_writable_property() 591 enum power_supply_property psp, in smbb_battery_get_property() 661 enum power_supply_property psp, in smbb_battery_set_property() 683 enum power_supply_property psp) in smbb_battery_writable_property()
|
D | rt5033_battery.c | 36 enum power_supply_property psp) in rt5033_battery_get_watt_prop() 69 enum power_supply_property psp, in rt5033_battery_get_property()
|
D | wm8350_power.c | 248 enum power_supply_property psp, in wm8350_ac_get_prop() 278 enum power_supply_property psp, in wm8350_usb_get_prop() 344 enum power_supply_property psp, in wm8350_bat_get_property()
|
D | axp20x_ac_power.c | 62 enum power_supply_property psp, in axp20x_ac_power_get_property() 158 enum power_supply_property psp, in axp813_ac_power_set_property() 193 enum power_supply_property psp) in axp813_ac_power_prop_writeable()
|
D | gpio-charger.c | 86 enum power_supply_property psp, union power_supply_propval *val) in gpio_charger_get_property() 111 enum power_supply_property psp, const union power_supply_propval *val) in gpio_charger_set_property() 126 enum power_supply_property psp) in gpio_charger_property_is_writeable()
|
/Linux-v5.15/drivers/usb/misc/ |
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()
|