Home
last modified time | relevance | path

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

123456789

/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_psp.h413 #define psp_ring_create(psp, type) (psp)->funcs->ring_create((psp), (type)) argument
414 #define psp_ring_stop(psp, type) (psp)->funcs->ring_stop((psp), (type)) argument
415 #define psp_ring_destroy(psp, type) ((psp)->funcs->ring_destroy((psp), (type))) argument
417 ((psp)->funcs->init_microcode ? (psp)->funcs->init_microcode((psp)) : 0)
419 ((psp)->funcs->bootloader_load_kdb ? (psp)->funcs->bootloader_load_kdb((psp)) : 0)
439 ((psp)->funcs->smu_reload_quirk ? (psp)->funcs->smu_reload_quirk((psp)) : false)
441 ((psp)->funcs->mode1_reset ? (psp)->funcs->mode1_reset((psp)) : false)
443 ((psp)->funcs->mem_training ? (psp)->funcs->mem_training((psp), (ops)) : 0)
445 #define psp_ring_get_wptr(psp) (psp)->funcs->ring_get_wptr((psp)) argument
446 #define psp_ring_set_wptr(psp, value) (psp)->funcs->ring_set_wptr((psp), (value)) argument
[all …]
H A Damdgpu_psp.c165 struct psp_context *psp = &adev->psp; in psp_early_init() local
427 struct psp_context *psp = &adev->psp; in psp_sw_init() local
533 struct psp_context *psp = &adev->psp; in psp_sw_fini() local
804 psp_copy_fw(psp, psp->toc.start_addr, psp->toc.size_bytes); in psp_load_toc()
891 psp_prep_tmr_cmd_buf(psp, cmd, psp->tmr_mc_addr, psp->tmr_bo); in psp_tmr_load()
973 struct psp_context *psp = &adev->psp; in psp_boot_config_get() local
999 struct psp_context *psp = &adev->psp; in psp_boot_config_set() local
1022 struct psp_context *psp = &adev->psp; in psp_rl_load() local
1031 memcpy(psp->fw_pri_buf, psp->rl.start_addr, psp->rl.size_bytes); in psp_rl_load()
2248 struct psp_context *psp = &adev->psp; in amdgpu_psp_wait_for_bootloader() local
[all …]
H A Dpsp_v13_0_4.c79 ret = psp_wait_for(psp, in psp_v13_0_4_wait_for_bootloader()
103 if (psp_v13_0_4_is_sos_alive(psp)) in psp_v13_0_4_bootloader_load_component()
129 return psp_v13_0_4_bootloader_load_component(psp, &psp->kdb, PSP_BL__LOAD_KEY_DATABASE); in psp_v13_0_4_bootloader_load_kdb()
134 return psp_v13_0_4_bootloader_load_component(psp, &psp->kdb, PSP_BL__LOAD_TOS_SPL_TABLE); in psp_v13_0_4_bootloader_load_spl()
139 return psp_v13_0_4_bootloader_load_component(psp, &psp->sys, PSP_BL__LOAD_SYSDRV); in psp_v13_0_4_bootloader_load_sysdrv()
144 return psp_v13_0_4_bootloader_load_component(psp, &psp->soc_drv, PSP_BL__LOAD_SOCDRV); in psp_v13_0_4_bootloader_load_soc_drv()
149 return psp_v13_0_4_bootloader_load_component(psp, &psp->intf_drv, PSP_BL__LOAD_INTFDRV); in psp_v13_0_4_bootloader_load_intf_drv()
154 return psp_v13_0_4_bootloader_load_component(psp, &psp->dbg_drv, PSP_BL__LOAD_DBGDRV); in psp_v13_0_4_bootloader_load_dbg_drv()
166 if (psp_v13_0_4_is_sos_alive(psp)) in psp_v13_0_4_bootloader_load_sos()
176 memcpy(psp->fw_pri_buf, psp->sos.start_addr, psp->sos.size_bytes); in psp_v13_0_4_bootloader_load_sos()
[all …]
H A Dpsp_v14_0.c102 ret = psp_wait_for(psp, in psp_v14_0_wait_for_bootloader()
126 if (psp_v14_0_is_sos_alive(psp)) in psp_v14_0_bootloader_load_component()
152 return psp_v14_0_bootloader_load_component(psp, &psp->kdb, PSP_BL__LOAD_KEY_DATABASE); in psp_v14_0_bootloader_load_kdb()
157 return psp_v14_0_bootloader_load_component(psp, &psp->spl, PSP_BL__LOAD_TOS_SPL_TABLE); in psp_v14_0_bootloader_load_spl()
162 return psp_v14_0_bootloader_load_component(psp, &psp->sys, PSP_BL__LOAD_SYSDRV); in psp_v14_0_bootloader_load_sysdrv()
167 return psp_v14_0_bootloader_load_component(psp, &psp->soc_drv, PSP_BL__LOAD_SOCDRV); in psp_v14_0_bootloader_load_soc_drv()
172 return psp_v14_0_bootloader_load_component(psp, &psp->intf_drv, PSP_BL__LOAD_INTFDRV); in psp_v14_0_bootloader_load_intf_drv()
178 return psp_v14_0_bootloader_load_component(psp, &psp->dbg_drv, PSP_BL__LOAD_HADDRV); in psp_v14_0_bootloader_load_dbg_drv()
183 return psp_v14_0_bootloader_load_component(psp, &psp->ras_drv, PSP_BL__LOAD_RASDRV); in psp_v14_0_bootloader_load_ras_drv()
210 memcpy(psp->fw_pri_buf, psp->sos.start_addr, psp->sos.size_bytes); in psp_v14_0_bootloader_load_sos()
[all …]
H A Dpsp_v13_0.c232 if (psp_v13_0_is_sos_alive(psp)) in psp_v13_0_bootloader_load_component()
258 return psp_v13_0_bootloader_load_component(psp, &psp->kdb, PSP_BL__LOAD_KEY_DATABASE); in psp_v13_0_bootloader_load_kdb()
263 return psp_v13_0_bootloader_load_component(psp, &psp->kdb, PSP_BL__LOAD_TOS_SPL_TABLE); in psp_v13_0_bootloader_load_spl()
268 return psp_v13_0_bootloader_load_component(psp, &psp->sys, PSP_BL__LOAD_SYSDRV); in psp_v13_0_bootloader_load_sysdrv()
273 return psp_v13_0_bootloader_load_component(psp, &psp->soc_drv, PSP_BL__LOAD_SOCDRV); in psp_v13_0_bootloader_load_soc_drv()
278 return psp_v13_0_bootloader_load_component(psp, &psp->intf_drv, PSP_BL__LOAD_INTFDRV); in psp_v13_0_bootloader_load_intf_drv()
283 return psp_v13_0_bootloader_load_component(psp, &psp->dbg_drv, PSP_BL__LOAD_DBGDRV); in psp_v13_0_bootloader_load_dbg_drv()
288 return psp_v13_0_bootloader_load_component(psp, &psp->ras_drv, PSP_BL__LOAD_RASDRV); in psp_v13_0_bootloader_load_ras_drv()
319 memcpy(psp->fw_pri_buf, psp->sos.start_addr, psp->sos.size_bytes); in psp_v13_0_bootloader_load_sos()
750 psp->vbflash_done = true; in psp_v13_0_update_spirom()
[all …]
H A Dpsp_v11_0.c154 ret = psp_wait_for(psp, in psp_v11_0_wait_for_bootloader()
188 if (psp_v11_0_is_sos_alive(psp)) in psp_v11_0_bootloader_load_component()
212 return psp_v11_0_bootloader_load_component(psp, &psp->kdb, PSP_BL__LOAD_KEY_DATABASE); in psp_v11_0_bootloader_load_kdb()
217 return psp_v11_0_bootloader_load_component(psp, &psp->spl, PSP_BL__LOAD_TOS_SPL_TABLE); in psp_v11_0_bootloader_load_spl()
222 return psp_v11_0_bootloader_load_component(psp, &psp->sys, PSP_BL__LOAD_SYSDRV); in psp_v11_0_bootloader_load_sysdrv()
234 if (psp_v11_0_is_sos_alive(psp)) in psp_v11_0_bootloader_load_sos()
242 psp_copy_fw(psp, psp->sos.start_addr, psp->sos.size_bytes); in psp_v11_0_bootloader_load_sos()
461 if (psp_v11_0_is_sos_alive(psp)) { in psp_v11_0_memory_training()
570 data = psp->km_ring.ring_wptr; in psp_v11_0_ring_get_wptr()
584 psp->km_ring.ring_wptr = value; in psp_v11_0_ring_set_wptr()
[all …]
H A Dpsp_v3_1.c59 struct amdgpu_device *adev = psp->adev; in psp_v3_1_init_microcode()
82 struct amdgpu_device *adev = psp->adev; 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()
121 struct amdgpu_device *adev = psp->adev; in psp_v3_1_bootloader_load_sos()
138 psp_copy_fw(psp, psp->sos.start_addr, psp->sos.size_bytes); in psp_v3_1_bootloader_load_sos()
157 struct amdgpu_device *adev = psp->adev; in psp_v3_1_reroute_ih()
191 struct psp_ring *ring = &psp->km_ring; in psp_v3_1_ring_create()
194 psp_v3_1_reroute_ih(psp); in psp_v3_1_ring_create()
346 data = psp->km_ring.ring_wptr; in psp_v3_1_ring_get_wptr()
361 psp->km_ring.ring_wptr = value; in psp_v3_1_ring_set_wptr()
[all …]
H A Dpsp_v12_0.c50 struct amdgpu_device *adev = psp->adev; in psp_v12_0_init_microcode()
76 struct amdgpu_device *adev = psp->adev; 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()
115 struct amdgpu_device *adev = psp->adev; in psp_v12_0_bootloader_load_sos()
132 psp_copy_fw(psp, psp->sos.start_addr, psp->sos.size_bytes); in psp_v12_0_bootloader_load_sos()
152 struct amdgpu_device *adev = psp->adev; in psp_v12_0_reroute_ih()
186 struct psp_ring *ring = &psp->km_ring; in psp_v12_0_ring_create()
189 psp_v12_0_reroute_ih(psp); in psp_v12_0_ring_create()
191 if (amdgpu_sriov_vf(psp->adev)) { in psp_v12_0_ring_create()
268 struct psp_ring *ring = &psp->km_ring; in psp_v12_0_ring_destroy()
[all …]
H A Dpsp_v10_0.c49 struct amdgpu_device *adev = psp->adev; in psp_v10_0_init_microcode()
60 err = psp_init_ta_microcode(psp, ucode_prefix); in psp_v10_0_init_microcode()
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()
107 struct amdgpu_device *adev = psp->adev; in psp_v10_0_ring_stop()
127 struct psp_ring *ring = &psp->km_ring; in psp_v10_0_ring_destroy()
128 struct amdgpu_device *adev = psp->adev; in psp_v10_0_ring_destroy()
130 ret = psp_v10_0_ring_stop(psp, ring_type); in psp_v10_0_ring_destroy()
149 struct amdgpu_device *adev = psp->adev; in psp_v10_0_ring_get_wptr()
156 struct amdgpu_device *adev = psp->adev; in psp_v10_0_ring_set_wptr()
[all …]
H A Damdgpu_securedisplay.c55 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()
95 struct psp_context *psp = &adev->psp; in amdgpu_securedisplay_debugfs_write() local
124 mutex_lock(&psp->securedisplay_context.mutex); in amdgpu_securedisplay_debugfs_write()
125 psp_prep_securedisplay_cmd_buf(psp, &securedisplay_cmd, in amdgpu_securedisplay_debugfs_write()
135 mutex_unlock(&psp->securedisplay_context.mutex); in amdgpu_securedisplay_debugfs_write()
142 mutex_lock(&psp->securedisplay_context.mutex); in amdgpu_securedisplay_debugfs_write()
143 psp_prep_securedisplay_cmd_buf(psp, &securedisplay_cmd, in amdgpu_securedisplay_debugfs_write()
156 mutex_unlock(&psp->securedisplay_context.mutex); in amdgpu_securedisplay_debugfs_write()
[all …]
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() argument
35 struct amdgpu_device *adev = psp->adev; in psp_v11_0_8_ring_stop()
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()
131 struct psp_ring *ring = &psp->km_ring; in psp_v11_0_8_ring_destroy()
132 struct amdgpu_device *adev = psp->adev; in psp_v11_0_8_ring_destroy()
134 ret = psp_v11_0_8_ring_stop(psp, ring_type); in psp_v11_0_8_ring_destroy()
148 struct amdgpu_device *adev = psp->adev; in psp_v11_0_8_ring_get_wptr()
160 struct amdgpu_device *adev = psp->adev; in psp_v11_0_8_ring_set_wptr()
[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_psp_ta.c79 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
185 if (!psp->ta_funcs || !psp->ta_funcs->fn_ta_terminate) { in ta_if_load_debugfs_write()
203 ret = psp_fn_ta_terminate(psp); in ta_if_load_debugfs_write()
225 ret = psp_fn_ta_initialize(psp); in ta_if_load_debugfs_write()
255 struct psp_context *psp = &adev->psp; in ta_if_unload_debugfs_write() local
274 if (!psp->ta_funcs || !psp->ta_funcs->fn_ta_terminate) { in ta_if_unload_debugfs_write()
279 ret = psp_fn_ta_terminate(psp); in ta_if_unload_debugfs_write()
304 struct psp_context *psp = &adev->psp; in ta_if_invoke_debugfs_write() local
346 if (!psp->ta_funcs || !psp->ta_funcs->fn_ta_invoke) { in ta_if_invoke_debugfs_write()
[all …]
H A 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()
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()
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()
138 adev->psp.dtm_context.context.bin_desc.fw_version); in amdgpu_devcoredump_fw_info()
141 adev->psp.rap_context.context.bin_desc.fw_version); in amdgpu_devcoredump_fw_info()
[all …]
/linux/drivers/crypto/ccp/
H A Dpsp-dev.c51 if (!psp || !psp->vdata || !psp->vdata->cmdresp_reg || in psp_mailbox_command()
55 cmdresp_reg = psp->io_regs + psp->vdata->cmdresp_reg; in psp_mailbox_command()
111 psp = devm_kzalloc(dev, sizeof(*psp), GFP_KERNEL); in psp_alloc_struct()
112 if (!psp) in psp_alloc_struct()
120 return psp; in psp_alloc_struct()
231 if (!psp) in psp_dev_init()
251 iowrite32(0, psp->io_regs + psp->vdata->inten_reg); in psp_dev_init()
255 ret = sp_request_psp_irq(psp->sp, psp_irq_handler, psp->name, psp); in psp_dev_init()
263 psp->sp->set_psp_master_device(psp->sp); in psp_dev_init()
280 sp_free_psp_irq(psp->sp, psp); in psp_dev_init()
[all …]
H A 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()
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()
155 if (!psp || !psp->platform_access_data) in psp_ring_platform_doorbell()
158 pa_dev = psp->platform_access_data; in psp_ring_platform_doorbell()
203 psp->platform_access_data = NULL; in platform_access_dev_destroy()
208 struct device *dev = psp->dev; in platform_access_dev_init()
215 psp->platform_access_data = pa_dev; in platform_access_dev_init()
[all …]
H A Dhsti.c27 struct psp_device *psp = sp->psp_data; \
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()
83 if (psp->capability.security_reporting) in psp_poulate_hsti()
103 psp->capability.security_reporting = 1; in psp_poulate_hsti()
112 int psp_init_hsti(struct psp_device *psp) in psp_init_hsti() argument
116 if (PSP_FEATURE(psp, HSTI)) { in psp_init_hsti()
117 ret = psp_poulate_hsti(psp); in psp_init_hsti()
127 if (!psp->capability.security_reporting) in psp_init_hsti()
130 if (psp->capability.tsme_status) { in psp_init_hsti()
[all …]
H A Dtee-dev.c162 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()
198 psp->tee_data = NULL; in tee_dev_init()
205 void tee_dev_destroy(struct psp_device *psp) in tee_dev_destroy() argument
207 struct psp_tee_device *tee = psp->tee_data; in tee_dev_destroy()
331 if (!psp || !psp->tee_data) in psp_tee_process_cmd()
337 tee = psp->tee_data; in psp_tee_process_cmd()
[all …]
H A 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()
117 void dbc_dev_destroy(struct psp_device *psp) in dbc_dev_destroy() argument
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()
224 dbc_dev->psp = psp; in dbc_dev_init()
226 if (psp->capability.dbc_thru_ext) { in dbc_dev_init()
[all …]
/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/power/supply/
H A 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()
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()
146 enum power_supply_property psp, in a500_battery_get_property() argument
153 switch (psp) { in a500_battery_get_property()
[all …]
H A Dsbs-battery.c87 .psp = _psp, \
94 enum power_supply_property psp; member
227 if (string_properties[i] == psp) in sbs_get_string_buf()
678 enum power_supply_property psp) in sbs_get_property_index() argument
683 if (psp == sbs_data[count].psp) in sbs_get_property_index()
725 switch (psp) { in sbs_unit_adjustment()
874 enum power_supply_property psp, in sbs_get_battery_manufacture_date() argument
888 switch (psp) { in sbs_get_battery_manufacture_date()
906 enum power_supply_property psp, in sbs_get_property() argument
927 switch (psp) { in sbs_get_property()
[all …]
/linux/drivers/staging/greybus/
H A Dpower_supply.c321 if (gbpsy->props[i].prop == psp) in get_psy_prop()
331 prop = get_psy_prop(gbpsy, psp); in is_psy_prop_writeable()
513 enum power_supply_property psp; in gb_power_supply_prop_descriptors_get() local
569 gbpsy->props[i - r].prop = psp; in gb_power_supply_prop_descriptors_get()
571 gbpsy->props_raw[i - r] = psp; in gb_power_supply_prop_descriptors_get()
599 prop = get_psy_prop(gbpsy, psp); in __gb_power_supply_property_update()
628 prop = get_psy_prop(gbpsy, psp); in __gb_power_supply_property_get()
640 switch (psp) { in __gb_power_supply_property_strval_get()
668 if (is_prop_valint(psp)) in _gb_power_supply_property_get()
754 enum power_supply_property psp, in get_property() argument
[all …]
/linux/include/linux/
H A Dpower_supply.h257 enum power_supply_property psp,
260 enum power_supply_property psp,
268 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);
896 switch (psp) { in power_supply_is_amp_property()
[all …]
/linux/drivers/usb/misc/
H A 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