/linux-6.12.1/drivers/hid/amd-sfh-hid/ |
D | amd_sfh_common.h | 48 struct amd_mp2_dev { struct 65 void (*start)(struct amd_mp2_dev *privdata, struct amd_mp2_sensor_info info); argument 66 void (*stop)(struct amd_mp2_dev *privdata, u16 sensor_idx); 67 void (*stop_all)(struct amd_mp2_dev *privdata); 68 int (*response)(struct amd_mp2_dev *mp2, u8 sid, u32 sensor_sts); 69 void (*clear_intr)(struct amd_mp2_dev *privdata); 70 int (*init_intr)(struct amd_mp2_dev *privdata); 71 int (*discovery_status)(struct amd_mp2_dev *privdata); 72 void (*suspend)(struct amd_mp2_dev *mp2); 73 void (*resume)(struct amd_mp2_dev *mp2); [all …]
|
D | amd_sfh_pcie.c | 41 static int amd_sfh_wait_response_v2(struct amd_mp2_dev *mp2, u8 sid, u32 sensor_sts) in amd_sfh_wait_response_v2() 55 static void amd_start_sensor_v2(struct amd_mp2_dev *privdata, struct amd_mp2_sensor_info info) in amd_start_sensor_v2() 73 static void amd_stop_sensor_v2(struct amd_mp2_dev *privdata, u16 sensor_idx) in amd_stop_sensor_v2() 88 static void amd_stop_all_sensor_v2(struct amd_mp2_dev *privdata) in amd_stop_all_sensor_v2() 100 void amd_sfh_clear_intr_v2(struct amd_mp2_dev *privdata) in amd_sfh_clear_intr_v2() 108 void amd_sfh_clear_intr(struct amd_mp2_dev *privdata) in amd_sfh_clear_intr() 121 int amd_sfh_irq_init_v2(struct amd_mp2_dev *privdata) in amd_sfh_irq_init_v2() 138 static int amd_sfh_dis_sts_v2(struct amd_mp2_dev *privdata) in amd_sfh_dis_sts_v2() 144 static void amd_start_sensor(struct amd_mp2_dev *privdata, struct amd_mp2_sensor_info info) in amd_start_sensor() 165 static void amd_stop_sensor(struct amd_mp2_dev *privdata, u16 sensor_idx) in amd_stop_sensor() [all …]
|
D | amd_sfh_client.c | 74 struct amd_mp2_dev *mp2; in amd_sfh_work() 86 mp2 = container_of(in_data, struct amd_mp2_dev, in_data); in amd_sfh_work() 116 struct amd_mp2_dev *mp2; in amd_sfh_work_buffer() 122 mp2 = container_of(in_data, struct amd_mp2_dev, in_data); in amd_sfh_work_buffer() 132 static u32 amd_sfh_wait_for_response(struct amd_mp2_dev *mp2, u8 sid, u32 sensor_sts) in amd_sfh_wait_for_response() 159 static void amd_sfh_resume(struct amd_mp2_dev *mp2) in amd_sfh_resume() 185 static void amd_sfh_suspend(struct amd_mp2_dev *mp2) in amd_sfh_suspend() 208 int amd_sfh_hid_client_init(struct amd_mp2_dev *privdata) in amd_sfh_hid_client_init() 331 int amd_sfh_hid_client_deinit(struct amd_mp2_dev *privdata) in amd_sfh_hid_client_deinit()
|
D | amd_sfh_pcie.h | 102 int amd_mp2_get_sensor_num(struct amd_mp2_dev *privdata, u8 *sensor_id); 103 int amd_sfh_hid_client_init(struct amd_mp2_dev *privdata); 104 int amd_sfh_hid_client_deinit(struct amd_mp2_dev *privdata);
|
D | amd_sfh_hid.c | 128 struct amd_mp2_dev *mp2 = container_of(cli_data->in_data, struct amd_mp2_dev, in_data); in amdtp_hid_probe()
|
/linux-6.12.1/drivers/i2c/busses/ |
D | i2c-amd-mp2-pci.c | 21 struct amd_mp2_dev *privdata = i2c_common->mp2_dev; in amd_mp2_c2p_mutex_lock() 30 struct amd_mp2_dev *privdata = i2c_common->mp2_dev; in amd_mp2_c2p_mutex_unlock() 45 struct amd_mp2_dev *privdata = i2c_common->mp2_dev; in amd_mp2_cmd() 59 struct amd_mp2_dev *privdata = i2c_common->mp2_dev; in amd_mp2_bus_enable_set() 88 struct amd_mp2_dev *privdata = i2c_common->mp2_dev; in amd_mp2_rw() 112 struct amd_mp2_dev *privdata = i2c_common->mp2_dev; in amd_mp2_pci_check_rw_event() 136 struct amd_mp2_dev *privdata = i2c_common->mp2_dev; in __amd_mp2_process_event() 185 struct amd_mp2_dev *privdata = i2c_common->mp2_dev; in amd_mp2_process_event() 203 struct amd_mp2_dev *privdata = dev; in amd_mp2_irq_isr() 250 struct amd_mp2_dev *privdata = i2c_common->mp2_dev; in amd_mp2_register_cb() [all …]
|
D | i2c-amd-mp2.h | 19 struct amd_mp2_dev; 154 struct amd_mp2_dev *mp2_dev; 179 struct amd_mp2_dev { struct 201 struct amd_mp2_dev *amd_mp2_find_device(void); argument 203 static inline void amd_mp2_pm_runtime_get(struct amd_mp2_dev *mp2_dev) in amd_mp2_pm_runtime_get() 208 static inline void amd_mp2_pm_runtime_put(struct amd_mp2_dev *mp2_dev) in amd_mp2_pm_runtime_put()
|
D | i2c-amd-mp2-plat.c | 250 struct amd_mp2_dev *mp2_dev; in i2c_amd_probe()
|
/linux-6.12.1/drivers/hid/amd-sfh-hid/sfh1_1/ |
D | amd_sfh_interface.c | 16 static struct amd_mp2_dev *emp2; 18 static int amd_sfh_wait_response(struct amd_mp2_dev *mp2, u8 sid, u32 cmd_id) in amd_sfh_wait_response() 32 static void amd_start_sensor(struct amd_mp2_dev *privdata, struct amd_mp2_sensor_info info) in amd_start_sensor() 45 static void amd_stop_sensor(struct amd_mp2_dev *privdata, u16 sensor_idx) in amd_stop_sensor() 59 static void amd_stop_all_sensor(struct amd_mp2_dev *privdata) in amd_stop_all_sensor() 84 void sfh_interface_init(struct amd_mp2_dev *mp2) in sfh_interface_init()
|
D | amd_sfh_init.c | 18 static int amd_sfh_get_sensor_num(struct amd_mp2_dev *mp2, u8 *sensor_id) in amd_sfh_get_sensor_num() 44 static u32 amd_sfh_wait_for_response(struct amd_mp2_dev *mp2, u8 sid, u32 cmd_id) in amd_sfh_wait_for_response() 70 static int amd_sfh_hid_client_deinit(struct amd_mp2_dev *privdata) in amd_sfh_hid_client_deinit() 104 static int amd_sfh1_1_hid_client_init(struct amd_mp2_dev *privdata) in amd_sfh1_1_hid_client_init() 224 static void amd_sfh_resume(struct amd_mp2_dev *mp2) in amd_sfh_resume() 255 static void amd_sfh_suspend(struct amd_mp2_dev *mp2) in amd_sfh_suspend() 287 struct amd_mp2_dev *mp2 = privdata; in amd_mp2_pci_remove() 296 static void amd_sfh_set_ops(struct amd_mp2_dev *mp2) in amd_sfh_set_ops() 309 int amd_sfh1_1_init(struct amd_mp2_dev *mp2) in amd_sfh1_1_init()
|
D | amd_sfh_init.h | 17 int (*init)(struct amd_mp2_dev *mp2); 20 int amd_sfh1_1_init(struct amd_mp2_dev *mp2);
|
D | amd_sfh_desc.c | 179 struct amd_mp2_dev *mp2 = container_of(in_data, struct amd_mp2_dev, in_data); in get_input_rep()
|
D | amd_sfh_interface.h | 167 void sfh_interface_init(struct amd_mp2_dev *mp2);
|
/linux-6.12.1/drivers/platform/x86/amd/pmc/ |
D | mp2_stb.c | 72 static int amd_mp2_wait_response(struct amd_mp2_dev *mp2, u8 cmd_id, u32 command_sts) in amd_mp2_wait_response() 86 static void amd_mp2_stb_send_cmd(struct amd_mp2_dev *mp2, u8 cmd_id, bool is_dma_used) in amd_mp2_stb_send_cmd() 99 static int amd_mp2_stb_region(struct amd_mp2_dev *mp2) in amd_mp2_stb_region() 117 static int amd_mp2_process_cmd(struct amd_mp2_dev *mp2, struct file *filp) in amd_mp2_process_cmd() 161 struct amd_mp2_dev *mp2 = dev->mp2; in amd_mp2_stb_debugfs_open() 179 struct amd_mp2_dev *mp2 = dev->mp2; in amd_mp2_stb_debugfs_read() 207 struct amd_mp2_dev *mp2 = dev->mp2; in amd_mp2_stb_deinit() 227 struct amd_mp2_dev *mp2 = NULL; in amd_mp2_stb_init()
|
D | pmc.h | 17 struct amd_mp2_dev { struct 52 struct amd_mp2_dev *mp2;
|
/linux-6.12.1/drivers/hid/amd-sfh-hid/hid_descriptor/ |
D | amd_sfh_hid_desc.c | 209 struct amd_mp2_dev *privdata = container_of(in_data, struct amd_mp2_dev, in_data); in get_input_report()
|