Home
last modified time | relevance | path

Searched refs:psp (Results 1 – 25 of 224) sorted by relevance

123456789

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_psp.h113 int (*init_microcode)(struct psp_context *psp);
114 int (*wait_for_bootloader)(struct psp_context *psp);
115 int (*bootloader_load_kdb)(struct psp_context *psp);
116 int (*bootloader_load_spl)(struct psp_context *psp);
117 int (*bootloader_load_sysdrv)(struct psp_context *psp);
118 int (*bootloader_load_soc_drv)(struct psp_context *psp);
119 int (*bootloader_load_intf_drv)(struct psp_context *psp);
120 int (*bootloader_load_dbg_drv)(struct psp_context *psp);
121 int (*bootloader_load_ras_drv)(struct psp_context *psp);
122 int (*bootloader_load_ipkeymgr_drv)(struct psp_context *psp);
[all …]
Damdgpu_psp.c49 static int psp_load_smu_fw(struct psp_context *psp);
50 static int psp_rap_terminate(struct psp_context *psp);
51 static int psp_securedisplay_terminate(struct psp_context *psp);
53 static int psp_ring_init(struct psp_context *psp, in psp_ring_init() argument
58 struct amdgpu_device *adev = psp->adev; in psp_ring_init()
60 ring = &psp->km_ring; in psp_ring_init()
95 static void psp_check_pmfw_centralized_cstate_management(struct psp_context *psp) in psp_check_pmfw_centralized_cstate_management() argument
97 struct amdgpu_device *adev = psp->adev; in psp_check_pmfw_centralized_cstate_management()
100 psp->pmfw_centralized_cstate_management = false; in psp_check_pmfw_centralized_cstate_management()
116 psp->pmfw_centralized_cstate_management = true; in psp_check_pmfw_centralized_cstate_management()
[all …]
Dpsp_v13_0_4.c35 static int psp_v13_0_4_init_microcode(struct psp_context *psp) in psp_v13_0_4_init_microcode() argument
37 struct amdgpu_device *adev = psp->adev; in psp_v13_0_4_init_microcode()
45 err = psp_init_toc_microcode(psp, ucode_prefix); in psp_v13_0_4_init_microcode()
48 err = psp_init_ta_microcode(psp, ucode_prefix); 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() argument
61 struct amdgpu_device *adev = psp->adev; 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() argument
71 struct amdgpu_device *adev = psp->adev; in psp_v13_0_4_wait_for_bootloader()
79 ret = psp_wait_for(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() argument
[all …]
Dpsp_v14_0.c57 static int psp_v14_0_init_microcode(struct psp_context *psp) in psp_v14_0_init_microcode() argument
59 struct amdgpu_device *adev = psp->adev; in psp_v14_0_init_microcode()
68 err = psp_init_sos_microcode(psp, ucode_prefix); in psp_v14_0_init_microcode()
71 err = psp_init_ta_microcode(psp, ucode_prefix); 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() argument
84 struct amdgpu_device *adev = psp->adev; 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() argument
94 struct amdgpu_device *adev = psp->adev; in psp_v14_0_wait_for_bootloader()
102 ret = psp_wait_for(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() argument
[all …]
Dpsp_v13_0.c86 static int psp_v13_0_init_microcode(struct psp_context *psp) in psp_v13_0_init_microcode() argument
88 struct amdgpu_device *adev = psp->adev; in psp_v13_0_init_microcode()
96 err = psp_init_sos_microcode(psp, ucode_prefix); in psp_v13_0_init_microcode()
101 err = psp_init_ta_microcode(psp, ucode_prefix); in psp_v13_0_init_microcode()
114 err = psp_init_toc_microcode(psp, ucode_prefix); in psp_v13_0_init_microcode()
117 err = psp_init_ta_microcode(psp, ucode_prefix); in psp_v13_0_init_microcode()
126 err = psp_init_sos_microcode(psp, ucode_prefix); in psp_v13_0_init_microcode()
130 err = psp_init_ta_microcode(psp, ucode_prefix); 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() argument
143 struct amdgpu_device *adev = psp->adev; in psp_v13_0_is_sos_alive()
[all …]
Dpsp_v11_0.c88 static int psp_v11_0_init_microcode(struct psp_context *psp) in psp_v11_0_init_microcode() argument
90 struct amdgpu_device *adev = psp->adev; in psp_v11_0_init_microcode()
101 err = psp_init_sos_microcode(psp, ucode_prefix); in psp_v11_0_init_microcode()
104 err = psp_init_asd_microcode(psp, ucode_prefix); in psp_v11_0_init_microcode()
107 err = psp_init_ta_microcode(psp, ucode_prefix); in psp_v11_0_init_microcode()
108 adev->psp.securedisplay_context.context.bin_desc.size_bytes = 0; in psp_v11_0_init_microcode()
113 err = psp_init_sos_microcode(psp, ucode_prefix); in psp_v11_0_init_microcode()
116 err = psp_init_asd_microcode(psp, ucode_prefix); in psp_v11_0_init_microcode()
119 err = psp_init_ta_microcode(psp, ucode_prefix); in psp_v11_0_init_microcode()
120 adev->psp.securedisplay_context.context.bin_desc.size_bytes = 0; in psp_v11_0_init_microcode()
[all …]
Dpsp_v3_1.c54 static int psp_v3_1_ring_stop(struct psp_context *psp,
57 static int psp_v3_1_init_microcode(struct psp_context *psp) in psp_v3_1_init_microcode() argument
59 struct amdgpu_device *adev = psp->adev; in psp_v3_1_init_microcode()
67 err = psp_init_sos_microcode(psp, ucode_prefix); in psp_v3_1_init_microcode()
71 err = psp_init_asd_microcode(psp, ucode_prefix); 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() argument
82 struct amdgpu_device *adev = psp->adev; in psp_v3_1_bootloader_load_sysdrv()
93 ret = psp_wait_for(psp, SOC15_REG_OFFSET(MP0, 0, mmMP0_SMN_C2PMSG_35), in psp_v3_1_bootloader_load_sysdrv()
99 psp_copy_fw(psp, psp->sys.start_addr, psp->sys.size_bytes); in psp_v3_1_bootloader_load_sysdrv()
103 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v3_1_bootloader_load_sysdrv()
[all …]
Dpsp_v12_0.c48 static int psp_v12_0_init_microcode(struct psp_context *psp) in psp_v12_0_init_microcode() argument
50 struct amdgpu_device *adev = psp->adev; in psp_v12_0_init_microcode()
57 err = psp_init_asd_microcode(psp, ucode_prefix); in psp_v12_0_init_microcode()
61 err = psp_init_ta_microcode(psp, ucode_prefix); in psp_v12_0_init_microcode()
67 adev->psp.securedisplay_context.context.bin_desc.size_bytes = 0; 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() argument
76 struct amdgpu_device *adev = psp->adev; in psp_v12_0_bootloader_load_sysdrv()
87 ret = psp_wait_for(psp, SOC15_REG_OFFSET(MP0, 0, mmMP0_SMN_C2PMSG_35), in psp_v12_0_bootloader_load_sysdrv()
93 psp_copy_fw(psp, psp->sys.start_addr, psp->sys.size_bytes); in psp_v12_0_bootloader_load_sysdrv()
97 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v12_0_bootloader_load_sysdrv()
[all …]
Dpsp_v10_0.c47 static int psp_v10_0_init_microcode(struct psp_context *psp) in psp_v10_0_init_microcode() argument
49 struct amdgpu_device *adev = psp->adev; in psp_v10_0_init_microcode()
56 err = psp_init_asd_microcode(psp, ucode_prefix); in psp_v10_0_init_microcode()
60 err = psp_init_ta_microcode(psp, ucode_prefix); in psp_v10_0_init_microcode()
63 (psp->securedisplay_context.context.bin_desc.fw_version >= in psp_v10_0_init_microcode()
65 adev->psp.securedisplay_context.context.bin_desc.size_bytes = 0; in psp_v10_0_init_microcode()
70 static int psp_v10_0_ring_create(struct psp_context *psp, in psp_v10_0_ring_create() argument
75 struct psp_ring *ring = &psp->km_ring; in psp_v10_0_ring_create()
76 struct amdgpu_device *adev = psp->adev; in psp_v10_0_ring_create()
96 ret = psp_wait_for(psp, SOC15_REG_OFFSET(MP0, 0, mmMP0_SMN_C2PMSG_64), in psp_v10_0_ring_create()
[all …]
Damdgpu_securedisplay.c48 void psp_securedisplay_parse_resp_status(struct psp_context *psp, in psp_securedisplay_parse_resp_status() argument
55 dev_err(psp->adev->dev, "Secure display: Generic Failure."); in psp_securedisplay_parse_resp_status()
58 dev_err(psp->adev->dev, "Secure display: Invalid Parameter."); in psp_securedisplay_parse_resp_status()
61 dev_err(psp->adev->dev, "Secure display: Null Pointer."); in psp_securedisplay_parse_resp_status()
64 dev_err(psp->adev->dev, "Secure display: Failed to write to I2C."); in psp_securedisplay_parse_resp_status()
67 dev_err(psp->adev->dev, "Secure display: Failed to Read DIO Scratch Register."); in psp_securedisplay_parse_resp_status()
70 dev_err(psp->adev->dev, "Secure display: Failed to Read CRC"); in psp_securedisplay_parse_resp_status()
73 dev_err(psp->adev->dev, "Secure display: Failed to initialize I2C."); in psp_securedisplay_parse_resp_status()
76 dev_err(psp->adev->dev, "Secure display: Failed to parse status: %d\n", status); 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() argument
[all …]
Dpsp_v11_0_8.c31 static int psp_v11_0_8_ring_stop(struct psp_context *psp, in psp_v11_0_8_ring_stop() argument
35 struct amdgpu_device *adev = psp->adev; in psp_v11_0_8_ring_stop()
44 ret = psp_wait_for(psp, SOC15_REG_OFFSET(MP0, 0, mmMP0_SMN_C2PMSG_101), in psp_v11_0_8_ring_stop()
53 ret = psp_wait_for(psp, SOC15_REG_OFFSET(MP0, 0, mmMP0_SMN_C2PMSG_64), 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() argument
65 struct psp_ring *ring = &psp->km_ring; in psp_v11_0_8_ring_create()
66 struct amdgpu_device *adev = psp->adev; in psp_v11_0_8_ring_create()
69 ret = psp_v11_0_8_ring_stop(psp, ring_type); in psp_v11_0_8_ring_create()
90 ret = psp_wait_for(psp, SOC15_REG_OFFSET(MP0, 0, mmMP0_SMN_C2PMSG_101), in psp_v11_0_8_ring_create()
95 ret = psp_wait_for(psp, SOC15_REG_OFFSET(MP0, 0, mmMP0_SMN_C2PMSG_64), in psp_v11_0_8_ring_create()
[all …]
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
Damdgpu_psp_ta.c72 static void set_ta_context_funcs(struct psp_context *psp, in set_ta_context_funcs() argument
78 *pcontext = &psp->ras_context.context; in set_ta_context_funcs()
79 psp->ta_funcs = &ras_ta_funcs; in set_ta_context_funcs()
153 struct psp_context *psp = &adev->psp; in ta_if_load_debugfs_write() local
183 set_ta_context_funcs(psp, ta_type, &context); in ta_if_load_debugfs_write()
185 if (!psp->ta_funcs || !psp->ta_funcs->fn_ta_terminate) { in ta_if_load_debugfs_write()
196 ret = psp_ta_init_shared_buf(psp, &context->mem_context); in ta_if_load_debugfs_write()
203 ret = psp_fn_ta_terminate(psp); in ta_if_load_debugfs_write()
219 if (!psp->ta_funcs->fn_ta_initialize) { in ta_if_load_debugfs_write()
225 ret = psp_fn_ta_initialize(psp); in ta_if_load_debugfs_write()
[all …]
Damdgpu_dev_coredump.c122 adev->psp.sos.feature_version, adev->psp.sos.fw_version); in amdgpu_devcoredump_fw_info()
124 adev->psp.asd_context.bin_desc.feature_version, in amdgpu_devcoredump_fw_info()
125 adev->psp.asd_context.bin_desc.fw_version); in amdgpu_devcoredump_fw_info()
128 adev->psp.xgmi_context.context.bin_desc.feature_version, in amdgpu_devcoredump_fw_info()
129 adev->psp.xgmi_context.context.bin_desc.fw_version); in amdgpu_devcoredump_fw_info()
131 adev->psp.ras_context.context.bin_desc.feature_version, in amdgpu_devcoredump_fw_info()
132 adev->psp.ras_context.context.bin_desc.fw_version); in amdgpu_devcoredump_fw_info()
134 adev->psp.hdcp_context.context.bin_desc.feature_version, in amdgpu_devcoredump_fw_info()
135 adev->psp.hdcp_context.context.bin_desc.fw_version); in amdgpu_devcoredump_fw_info()
137 adev->psp.dtm_context.context.bin_desc.feature_version, in amdgpu_devcoredump_fw_info()
[all …]
/linux-6.12.1/drivers/crypto/ccp/
Dpsp-dev.c45 int psp_mailbox_command(struct psp_device *psp, enum psp_cmd cmd, void *cmdbuff, in psp_mailbox_command() argument
51 if (!psp || !psp->vdata || !psp->vdata->cmdresp_reg || in psp_mailbox_command()
52 !psp->vdata->cmdbuff_addr_lo_reg || !psp->vdata->cmdbuff_addr_hi_reg) in psp_mailbox_command()
55 cmdresp_reg = psp->io_regs + psp->vdata->cmdresp_reg; in psp_mailbox_command()
56 cmdbuff_lo_reg = psp->io_regs + psp->vdata->cmdbuff_addr_lo_reg; in psp_mailbox_command()
57 cmdbuff_hi_reg = psp->io_regs + psp->vdata->cmdbuff_addr_hi_reg; in psp_mailbox_command()
59 mutex_lock(&psp->mailbox_mutex); in psp_mailbox_command()
77 mutex_unlock(&psp->mailbox_mutex); in psp_mailbox_command()
82 int psp_extended_mailbox_cmd(struct psp_device *psp, unsigned int timeout_msecs, in psp_extended_mailbox_cmd() argument
91 ret = psp_mailbox_command(psp, PSP_CMD_TEE_EXTENDED_CMD, (void *)req, in psp_extended_mailbox_cmd()
[all …]
Dplatform-access.c47 struct psp_device *psp = psp_get_master_device(); in psp_check_platform_access_status() local
49 if (!psp || !psp->platform_access_data) in psp_check_platform_access_status()
59 struct psp_device *psp = psp_get_master_device(); in psp_send_platform_access_msg() local
66 if (!psp || !psp->platform_access_data) in psp_send_platform_access_msg()
69 pa_dev = psp->platform_access_data; in psp_send_platform_access_msg()
75 cmd = psp->io_regs + pa_dev->vdata->cmdresp_reg; in psp_send_platform_access_msg()
76 lo = psp->io_regs + pa_dev->vdata->cmdbuff_addr_lo_reg; in psp_send_platform_access_msg()
77 hi = psp->io_regs + pa_dev->vdata->cmdbuff_addr_hi_reg; in psp_send_platform_access_msg()
82 dev_dbg(psp->dev, "platform mailbox is in recovery\n"); in psp_send_platform_access_msg()
88 dev_dbg(psp->dev, "platform mailbox is not done processing command\n"); in psp_send_platform_access_msg()
[all …]
Dhsti.c27 struct psp_device *psp = sp->psp_data; \
28 return sysfs_emit(buf, "%d\n", psp->capability.name); \
64 struct psp_device *psp = sp->psp_data; in psp_security_is_visible() local
66 if (psp && psp->capability.security_reporting) in psp_security_is_visible()
77 static int psp_poulate_hsti(struct psp_device *psp) in psp_poulate_hsti() argument
83 if (psp->capability.security_reporting) in psp_poulate_hsti()
98 dev_dbg(psp->dev, "failed to populate HSTI state: %d\n", req->header.status); in psp_poulate_hsti()
103 psp->capability.security_reporting = 1; in psp_poulate_hsti()
104 psp->capability.raw |= req->hsti << PSP_CAPABILITY_PSP_SECURITY_OFFSET; in psp_poulate_hsti()
112 int psp_init_hsti(struct psp_device *psp) in psp_init_hsti() argument
[all …]
Dtee-dev.c115 ret = psp_mailbox_command(tee->psp, PSP_CMD_TEE_RING_INIT, cmd, in tee_init_ring()
148 ret = psp_mailbox_command(tee->psp, PSP_CMD_TEE_RING_DESTROY, NULL, in tee_destroy_ring()
162 int tee_dev_init(struct psp_device *psp) in tee_dev_init() argument
164 struct device *dev = psp->dev; in tee_dev_init()
173 psp->tee_data = tee; in tee_dev_init()
176 tee->psp = psp; in tee_dev_init()
178 tee->io_regs = psp->io_regs; in tee_dev_init()
180 tee->vdata = (struct tee_vdata *)psp->vdata->tee; in tee_dev_init()
198 psp->tee_data = NULL; in tee_dev_init()
205 void tee_dev_destroy(struct psp_device *psp) in tee_dev_destroy() argument
[all …]
Ddbc.c14 u32 psp; member
45 return psp_extended_mailbox_cmd(dbc_dev->psp, in send_dbc_cmd_thru_ext()
70 for (i = 0; error_codes[i].psp; i++) { in send_dbc_cmd()
71 if (*dbc_dev->result == error_codes[i].psp) in send_dbc_cmd()
117 void dbc_dev_destroy(struct psp_device *psp) in dbc_dev_destroy() argument
119 struct psp_dbc_device *dbc_dev = psp->dbc_data; in dbc_dev_destroy()
126 psp->dbc_data = NULL; in dbc_dev_destroy()
205 int dbc_dev_init(struct psp_device *psp) in dbc_dev_init() argument
207 struct device *dev = psp->dev; in dbc_dev_init()
222 psp->dbc_data = dbc_dev; in dbc_dev_init()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/modules/hdcp/
Dhdcp_psp.c51 struct psp_context *psp = hdcp->config.psp.handle; in remove_display_from_topology_v2() local
57 dtm_cmd = (struct ta_dtm_shared_memory *)psp->dtm_context.context.mem_context.shared_buf; in remove_display_from_topology_v2()
62 mutex_lock(&psp->dtm_context.mutex); in remove_display_from_topology_v2()
71 psp_dtm_invoke(psp, dtm_cmd->cmd_id); in remove_display_from_topology_v2()
80 mutex_unlock(&psp->dtm_context.mutex); in remove_display_from_topology_v2()
87 struct psp_context *psp = hdcp->config.psp.handle; in remove_display_from_topology_v3() local
93 dtm_cmd = (struct ta_dtm_shared_memory *)psp->dtm_context.context.mem_context.shared_buf; in remove_display_from_topology_v3()
98 mutex_lock(&psp->dtm_context.mutex); in remove_display_from_topology_v3()
107 psp_dtm_invoke(psp, dtm_cmd->cmd_id); in remove_display_from_topology_v3()
108 mutex_unlock(&psp->dtm_context.mutex); in remove_display_from_topology_v3()
[all …]
/linux-6.12.1/drivers/power/supply/
Dacer_a500_battery.c30 .psp = POWER_SUPPLY_PROP_ ## _psp, \
35 enum power_supply_property psp; member
96 enum power_supply_property psp, in a500_battery_unit_adjustment() argument
102 switch (psp) { in a500_battery_unit_adjustment()
119 "%s: no need for unit conversion %d\n", __func__, psp); in a500_battery_unit_adjustment()
124 enum power_supply_property psp) in a500_battery_get_ec_data_index() argument
133 if (psp == POWER_SUPPLY_PROP_PRESENT) in a500_battery_get_ec_data_index()
134 psp = POWER_SUPPLY_PROP_CHARGE_FULL_DESIGN; in a500_battery_get_ec_data_index()
137 if (psp == ec_data[i].psp) in a500_battery_get_ec_data_index()
140 dev_dbg(dev, "%s: invalid property %u\n", __func__, psp); in a500_battery_get_ec_data_index()
[all …]
Dsbs-battery.c87 .psp = _psp, \
94 enum power_supply_property psp; member
222 enum power_supply_property psp) in sbs_get_string_buf() argument
227 if (string_properties[i] == psp) in sbs_get_string_buf()
518 struct i2c_client *client, enum power_supply_property psp, in sbs_get_ti_battery_presence_and_health() argument
530 if (psp == POWER_SUPPLY_PROP_PRESENT) in sbs_get_ti_battery_presence_and_health()
537 if (psp == POWER_SUPPLY_PROP_PRESENT) in sbs_get_ti_battery_presence_and_health()
553 if (psp == POWER_SUPPLY_PROP_PRESENT) { in sbs_get_ti_battery_presence_and_health()
559 } else if (psp == POWER_SUPPLY_PROP_HEALTH) { 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() argument
[all …]
/linux-6.12.1/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() argument
305 *psp = (enum power_supply_property)prop; in get_psp_from_gb_prop()
316 enum power_supply_property psp) in get_psy_prop() argument
321 if (gbpsy->props[i].prop == psp) in get_psy_prop()
327 enum power_supply_property psp) in is_psy_prop_writeable() argument
331 prop = get_psy_prop(gbpsy, psp); in is_psy_prop_writeable()
337 static int is_prop_valint(enum power_supply_property psp) in is_prop_valint() argument
339 return ((psp < POWER_SUPPLY_PROP_MODEL_NAME) ? 1 : 0); in is_prop_valint()
513 enum power_supply_property psp; in gb_power_supply_prop_descriptors_get() local
539 ret = get_psp_from_gb_prop(resp->props[i].property, &psp); in gb_power_supply_prop_descriptors_get()
[all …]
/linux-6.12.1/include/linux/
Dpower_supply.h257 enum power_supply_property psp,
260 enum power_supply_property psp,
268 enum power_supply_property psp);
796 enum power_supply_property psp);
798 enum power_supply_property psp,
819 enum power_supply_property psp,
854 enum power_supply_property psp,
858 enum power_supply_property psp,
862 enum power_supply_property psp, in power_supply_set_property() argument
867 enum power_supply_property psp);
[all …]
/linux-6.12.1/drivers/usb/misc/
Dapple-mfi-fastcharge.c92 enum power_supply_property psp, in apple_mfi_fc_get_property() argument
97 dev_dbg(&mfi->udev->dev, "prop: %d\n", psp); in apple_mfi_fc_get_property()
99 switch (psp) { in apple_mfi_fc_get_property()
114 enum power_supply_property psp, in apple_mfi_fc_set_property() argument
120 dev_dbg(&mfi->udev->dev, "prop: %d\n", psp); in apple_mfi_fc_set_property()
128 switch (psp) { in apple_mfi_fc_set_property()
143 enum power_supply_property psp) in apple_mfi_fc_property_is_writeable() argument
145 switch (psp) { in apple_mfi_fc_property_is_writeable()

123456789