Home
last modified time | relevance | path

Searched defs:psp (Results 1 – 25 of 131) sorted by relevance

123456

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_psp.c61 static void psp_check_pmfw_centralized_cstate_management(struct psp_context *psp) in psp_check_pmfw_centralized_cstate_management()
81 struct psp_context *psp = &adev->psp; in psp_early_init() local
120 static void psp_memory_training_fini(struct psp_context *psp) in psp_memory_training_fini()
129 static int psp_memory_training_init(struct psp_context *psp) in psp_memory_training_init()
161 struct psp_context *psp = &adev->psp; in psp_sw_init() local
218 int psp_wait_for(struct psp_context *psp, uint32_t reg_index, in psp_wait_for()
244 psp_cmd_submit_buf(struct psp_context *psp, in psp_cmd_submit_buf()
323 static void psp_prep_tmr_cmd_buf(struct psp_context *psp, in psp_prep_tmr_cmd_buf()
346 static int psp_load_toc(struct psp_context *psp, in psp_load_toc()
370 static int psp_tmr_init(struct psp_context *psp) in psp_tmr_init()
[all …]
Dpsp_v11_0.c76 static int psp_v11_0_init_microcode(struct psp_context *psp) in psp_v11_0_init_microcode()
199 int psp_v11_0_wait_for_bootloader(struct psp_context *psp) in psp_v11_0_wait_for_bootloader()
222 static bool psp_v11_0_is_sos_alive(struct psp_context *psp) in psp_v11_0_is_sos_alive()
232 static int psp_v11_0_bootloader_load_kdb(struct psp_context *psp) in psp_v11_0_bootloader_load_kdb()
265 static int psp_v11_0_bootloader_load_spl(struct psp_context *psp) in psp_v11_0_bootloader_load_spl()
298 static int psp_v11_0_bootloader_load_sysdrv(struct psp_context *psp) in psp_v11_0_bootloader_load_sysdrv()
334 static int psp_v11_0_bootloader_load_sos(struct psp_context *psp) in psp_v11_0_bootloader_load_sos()
371 static void psp_v11_0_reroute_ih(struct psp_context *psp) in psp_v11_0_reroute_ih()
402 static int psp_v11_0_ring_init(struct psp_context *psp, in psp_v11_0_ring_init()
433 static int psp_v11_0_ring_stop(struct psp_context *psp, in psp_v11_0_ring_stop()
[all …]
Dpsp_v3_1.c56 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()
126 static int psp_v3_1_bootloader_load_sos(struct psp_context *psp) in psp_v3_1_bootloader_load_sos()
166 static int psp_v3_1_ring_init(struct psp_context *psp, in psp_v3_1_ring_init()
192 static void psp_v3_1_reroute_ih(struct psp_context *psp) in psp_v3_1_reroute_ih()
223 static int psp_v3_1_ring_create(struct psp_context *psp, in psp_v3_1_ring_create()
287 static int psp_v3_1_ring_stop(struct psp_context *psp, in psp_v3_1_ring_stop()
315 static int psp_v3_1_ring_destroy(struct psp_context *psp, in psp_v3_1_ring_destroy()
333 static bool psp_v3_1_smu_reload_quirk(struct psp_context *psp) in psp_v3_1_smu_reload_quirk()
342 static int psp_v3_1_mode1_reset(struct psp_context *psp) in psp_v3_1_mode1_reset()
[all …]
Dpsp_v12_0.c48 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()
161 static int psp_v12_0_bootloader_load_sos(struct psp_context *psp) in psp_v12_0_bootloader_load_sos()
202 static void psp_v12_0_reroute_ih(struct psp_context *psp) in psp_v12_0_reroute_ih()
233 static int psp_v12_0_ring_init(struct psp_context *psp, in psp_v12_0_ring_init()
261 static int psp_v12_0_ring_create(struct psp_context *psp, in psp_v12_0_ring_create()
314 static int psp_v12_0_ring_stop(struct psp_context *psp, in psp_v12_0_ring_stop()
342 static int psp_v12_0_ring_destroy(struct psp_context *psp, in psp_v12_0_ring_destroy()
360 static int psp_v12_0_mode1_reset(struct psp_context *psp) in psp_v12_0_mode1_reset()
394 static uint32_t psp_v12_0_ring_get_wptr(struct psp_context *psp) in psp_v12_0_ring_get_wptr()
[all …]
Dpsp_v10_0.c47 static int psp_v10_0_init_microcode(struct psp_context *psp) in psp_v10_0_init_microcode()
121 static int psp_v10_0_ring_init(struct psp_context *psp, in psp_v10_0_ring_init()
147 static int psp_v10_0_ring_create(struct psp_context *psp, in psp_v10_0_ring_create()
179 static int psp_v10_0_ring_stop(struct psp_context *psp, in psp_v10_0_ring_stop()
200 static int psp_v10_0_ring_destroy(struct psp_context *psp, in psp_v10_0_ring_destroy()
218 static int psp_v10_0_mode1_reset(struct psp_context *psp) in psp_v10_0_mode1_reset()
224 static uint32_t psp_v10_0_ring_get_wptr(struct psp_context *psp) in psp_v10_0_ring_get_wptr()
231 static void psp_v10_0_ring_set_wptr(struct psp_context *psp, uint32_t value) in psp_v10_0_ring_set_wptr()
249 void psp_v10_0_set_psp_funcs(struct psp_context *psp) in psp_v10_0_set_psp_funcs()
Damdgpu_psp.h312 #define psp_ring_init(psp, type) (psp)->funcs->ring_init((psp), (type)) argument
313 #define psp_ring_create(psp, type) (psp)->funcs->ring_create((psp), (type)) argument
314 #define psp_ring_stop(psp, type) (psp)->funcs->ring_stop((psp), (type)) argument
315 #define psp_ring_destroy(psp, type) ((psp)->funcs->ring_destroy((psp), (type))) argument
316 #define psp_init_microcode(psp) \ argument
318 #define psp_bootloader_load_kdb(psp) \ argument
320 #define psp_bootloader_load_spl(psp) \ argument
322 #define psp_bootloader_load_sysdrv(psp) \ argument
324 #define psp_bootloader_load_sos(psp) \ argument
326 #define psp_smu_reload_quirk(psp) \ argument
[all …]
/kernel/linux/linux-5.10/drivers/crypto/ccp/
Dpsp-dev.c23 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 …]
Dtee-dev.c191 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
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/hdcp/
Dhdcp_psp.c50 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_remove_display_from_topology() local
85 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_add_display_to_topology() local
132 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_create_session() local
171 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_destroy_session() local
204 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_validate_rx() local
245 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_enable_encryption() local
272 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_validate_ksvlist_vp() local
314 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_enable_dp_stream_encryption() local
350 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_link_maintenance() local
389 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp2_create_session() local
[all …]
/kernel/linux/linux-5.10/drivers/staging/greybus/
Dpower_supply.c106 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 …]
/kernel/linux/linux-5.10/drivers/power/supply/
Dsbs-battery.c92 enum power_supply_property psp; member
483 struct i2c_client *client, enum power_supply_property psp, in sbs_get_ti_battery_presence_and_health()
541 struct i2c_client *client, enum power_supply_property psp, in sbs_get_battery_presence_and_health()
576 int reg_offset, enum power_supply_property psp, in sbs_get_battery_property()
643 int reg_offset, enum power_supply_property psp, char *val) in sbs_get_battery_string_property()
656 enum power_supply_property psp, union power_supply_propval *val) in sbs_unit_adjustment()
733 int reg_offset, enum power_supply_property psp, in sbs_get_battery_capacity()
776 enum power_supply_property psp) in sbs_get_property_index()
792 enum power_supply_property psp = POWER_SUPPLY_PROP_TECHNOLOGY; in sbs_get_chemistry() local
822 enum power_supply_property psp, in sbs_get_battery_manufacture_date()
[all …]
Dwilco-charger.c87 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()
Dlego_ev3_battery.c38 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()
Dmp2629_charger.c221 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()
Dqcom_smbb.c489 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()
Drt5033_battery.c36 enum power_supply_property psp) in rt5033_battery_get_watt_prop()
69 enum power_supply_property psp, in rt5033_battery_get_property()
Dwm8350_power.c248 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()
Daxp20x_ac_power.c62 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()
Dgpio-charger.c86 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()
Dpmu_battery.c31 enum power_supply_property psp, in pmu_get_ac_prop()
83 enum power_supply_property psp, in pmu_bat_get_property()
Dgeneric-adc-battery.c114 static enum gab_chan_type gab_prop_to_chan(enum power_supply_property psp) in gab_prop_to_chan()
130 static int read_channel(struct gab *adc_bat, enum power_supply_property psp, in read_channel()
145 enum power_supply_property psp, union power_supply_propval *val) in gab_get_property()
Dpcf50633-charger.c280 enum power_supply_property psp, in adapter_get_property()
298 enum power_supply_property psp, in usb_get_property()
319 enum power_supply_property psp, in ac_get_property()
Dbq24735-charger.c69 enum power_supply_property psp) in bq24735_charger_property_is_writeable()
253 enum power_supply_property psp, in bq24735_charger_get_property()
283 enum power_supply_property psp, in bq24735_charger_set_property()
Dsbs-manager.c93 enum power_supply_property psp, in sbsm_get_property()
136 enum power_supply_property psp) in sbsm_prop_is_writeable()
144 enum power_supply_property psp, in sbsm_set_property()
/kernel/linux/linux-5.10/drivers/usb/misc/
Dapple-mfi-fastcharge.c92 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()

123456