Home
last modified time | relevance | path

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

1234567

/linux/drivers/gpu/drm/amd/amdgpu/
H A Dpsp_v13_0.c86 static int psp_v13_0_init_microcode(struct psp_context *psp) in psp_v13_0_init_microcode()
141 static bool psp_v13_0_is_sos_alive(struct psp_context *psp) in psp_v13_0_is_sos_alive()
151 static int psp_v13_0_wait_for_vmbx_ready(struct psp_context *psp) in psp_v13_0_wait_for_vmbx_ready()
173 static int psp_v13_0_wait_for_bootloader(struct psp_context *psp) in psp_v13_0_wait_for_bootloader()
200 static int psp_v13_0_wait_for_bootloader_steady_state(struct psp_context *psp) in psp_v13_0_wait_for_bootloader_steady_state()
221 static int psp_v13_0_bootloader_load_component(struct psp_context *psp, in psp_v13_0_bootloader_load_component()
256 static int psp_v13_0_bootloader_load_kdb(struct psp_context *psp) in psp_v13_0_bootloader_load_kdb()
261 static int psp_v13_0_bootloader_load_spl(struct psp_context *psp) in psp_v13_0_bootloader_load_spl()
266 static int psp_v13_0_bootloader_load_sysdrv(struct psp_context *psp) in psp_v13_0_bootloader_load_sysdrv()
271 static int psp_v13_0_bootloader_load_soc_drv(struct psp_context *psp) in psp_v13_0_bootloader_load_soc_drv()
[all …]
H A Dpsp_v14_0.c57 static int psp_v14_0_init_microcode(struct psp_context *psp) in psp_v14_0_init_microcode()
82 static bool psp_v14_0_is_sos_alive(struct psp_context *psp) in psp_v14_0_is_sos_alive()
92 static int psp_v14_0_wait_for_bootloader(struct psp_context *psp) in psp_v14_0_wait_for_bootloader()
115 static int psp_v14_0_bootloader_load_component(struct psp_context *psp, in psp_v14_0_bootloader_load_component()
150 static int psp_v14_0_bootloader_load_kdb(struct psp_context *psp) in psp_v14_0_bootloader_load_kdb()
155 static int psp_v14_0_bootloader_load_spl(struct psp_context *psp) in psp_v14_0_bootloader_load_spl()
160 static int psp_v14_0_bootloader_load_sysdrv(struct psp_context *psp) in psp_v14_0_bootloader_load_sysdrv()
165 static int psp_v14_0_bootloader_load_soc_drv(struct psp_context *psp) in psp_v14_0_bootloader_load_soc_drv()
170 static int psp_v14_0_bootloader_load_intf_drv(struct psp_context *psp) in psp_v14_0_bootloader_load_intf_drv()
175 static int psp_v14_0_bootloader_load_dbg_drv(struct psp_context *psp) in psp_v14_0_bootloader_load_dbg_drv()
[all …]
H A Dpsp_v13_0_4.c35 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 Dpsp_v11_0.c88 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 Dpsp_v3_1.c57 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 Dpsp_v12_0.c48 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 Dpsp_v10_0.c47 static int psp_v10_0_init_microcode(struct psp_context *psp) in psp_v10_0_init_microcode()
70 static int psp_v10_0_ring_create(struct psp_context *psp, in psp_v10_0_ring_create()
102 static int psp_v10_0_ring_stop(struct psp_context *psp, in psp_v10_0_ring_stop()
123 static int psp_v10_0_ring_destroy(struct psp_context *psp, in psp_v10_0_ring_destroy()
141 static int psp_v10_0_mode1_reset(struct psp_context *psp) in psp_v10_0_mode1_reset()
147 static uint32_t psp_v10_0_ring_get_wptr(struct psp_context *psp) in psp_v10_0_ring_get_wptr()
154 static void psp_v10_0_ring_set_wptr(struct psp_context *psp, uint32_t value) in psp_v10_0_ring_set_wptr()
171 void psp_v10_0_set_psp_funcs(struct psp_context *psp) in psp_v10_0_set_psp_funcs()
H A Dpsp_v11_0_8.c31 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 Damdgpu_psp.h414 #define psp_ring_create(psp, type) (psp)->funcs->ring_create((psp), (type)) argument
415 #define psp_ring_stop(psp, type) (psp)->funcs->ring_stop((psp), (type)) argument
416 #define psp_ring_destroy(psp, type) ((psp)->funcs->ring_destroy((psp), (type))) argument
417 #define psp_init_microcode(psp) \ argument
419 #define psp_bootloader_load_kdb(psp) \ argument
421 #define psp_bootloader_load_spl(psp) \ argument
423 #define psp_bootloader_load_sysdrv(psp) \ argument
425 #define psp_bootloader_load_soc_drv(psp) \ argument
427 #define psp_bootloader_load_intf_drv(psp) \ argument
429 #define psp_bootloader_load_dbg_drv(psp) \ argument
[all …]
H A Damdgpu_psp_ta.h28 #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 Damdgpu_securedisplay.c48 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 Damdgpu_psp_ta.c72 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
/linux/drivers/gpu/drm/amd/display/modules/hdcp/
H A Dhdcp_psp.c51 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 …]
/linux/drivers/crypto/ccp/
H A Dpsp-dev.c45 int psp_mailbox_command(struct psp_device *psp, enum psp_cmd cmd, void *cmdbuff, in psp_mailbox_command()
82 int psp_extended_mailbox_cmd(struct psp_device *psp, unsigned int timeout_msecs, in psp_extended_mailbox_cmd()
109 struct psp_device *psp; in psp_alloc_struct() local
125 struct psp_device *psp = data; in psp_irq_handler() local
143 static unsigned int psp_get_capability(struct psp_device *psp) in psp_get_capability()
163 static int psp_check_sev_support(struct psp_device *psp) in psp_check_sev_support()
174 static int psp_check_tee_support(struct psp_device *psp) in psp_check_tee_support()
185 static int psp_init(struct psp_device *psp) in psp_init()
226 struct psp_device *psp; in psp_dev_init() local
296 struct psp_device *psp = sp->psp_data; in psp_dev_destroy() local
[all …]
H A Dplatform-access.c47 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 Dhsti.c64 struct psp_device *psp = sp->psp_data; in psp_security_is_visible() local
77 static int psp_poulate_hsti(struct psp_device *psp) in psp_poulate_hsti()
112 int psp_init_hsti(struct psp_device *psp) in psp_init_hsti()
H A Dtee-dev.c162 int tee_dev_init(struct psp_device *psp) in tee_dev_init()
205 void tee_dev_destroy(struct psp_device *psp) in tee_dev_destroy()
321 struct psp_device *psp = psp_get_master_device(); in psp_tee_process_cmd() local
360 struct psp_device *psp = psp_get_master_device(); in psp_check_tee_status() local
H A Ddbc.c14 u32 psp; member
117 void dbc_dev_destroy(struct psp_device *psp) in dbc_dev_destroy()
205 int dbc_dev_init(struct psp_device *psp) in dbc_dev_init()
/linux/drivers/staging/greybus/
H A 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 …]
/linux/drivers/power/supply/
H A Drn5t618_power.c352 enum power_supply_property psp, in rn5t618_battery_get_property()
403 enum power_supply_property psp, in rn5t618_battery_set_property()
417 enum power_supply_property psp) in rn5t618_battery_property_is_writeable()
428 enum power_supply_property psp, in rn5t618_adp_get_property()
482 enum power_supply_property psp, in rn5t618_adp_set_property()
510 enum power_supply_property psp) in rn5t618_adp_property_is_writeable()
548 enum power_supply_property psp, in rn5t618_usb_get_property()
616 enum power_supply_property psp, in rn5t618_usb_set_property()
644 enum power_supply_property psp) in rn5t618_usb_property_is_writeable()
H A Dsbs-battery.c94 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 Dacer_a500_battery.c35 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 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()
H A 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()
/linux/drivers/usb/misc/
H A 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()

1234567