Searched refs:amd_mp2_dev (Results 1 – 14 of 14) sorted by relevance
/drivers/hid/amd-sfh-hid/ |
D | amd_sfh_common.h | 40 struct amd_mp2_dev { struct 53 void (*start)(struct amd_mp2_dev *privdata, struct amd_mp2_sensor_info info); argument 54 void (*stop)(struct amd_mp2_dev *privdata, u16 sensor_idx); 55 void (*stop_all)(struct amd_mp2_dev *privdata); 56 int (*response)(struct amd_mp2_dev *mp2, u8 sid, u32 sensor_sts); 57 void (*clear_intr)(struct amd_mp2_dev *privdata); 58 int (*init_intr)(struct amd_mp2_dev *privdata); 59 int (*discovery_status)(struct amd_mp2_dev *privdata); 60 void (*suspend)(struct amd_mp2_dev *mp2); 61 void (*resume)(struct amd_mp2_dev *mp2); [all …]
|
D | amd_sfh_pcie.c | 40 static int amd_sfh_wait_response_v2(struct amd_mp2_dev *mp2, u8 sid, u32 sensor_sts) in amd_sfh_wait_response_v2() 54 static void amd_start_sensor_v2(struct amd_mp2_dev *privdata, struct amd_mp2_sensor_info info) in amd_start_sensor_v2() 72 static void amd_stop_sensor_v2(struct amd_mp2_dev *privdata, u16 sensor_idx) in amd_stop_sensor_v2() 87 static void amd_stop_all_sensor_v2(struct amd_mp2_dev *privdata) in amd_stop_all_sensor_v2() 99 void amd_sfh_clear_intr_v2(struct amd_mp2_dev *privdata) in amd_sfh_clear_intr_v2() 107 void amd_sfh_clear_intr(struct amd_mp2_dev *privdata) in amd_sfh_clear_intr() 120 int amd_sfh_irq_init_v2(struct amd_mp2_dev *privdata) in amd_sfh_irq_init_v2() 137 static int amd_sfh_dis_sts_v2(struct amd_mp2_dev *privdata) in amd_sfh_dis_sts_v2() 143 static void amd_start_sensor(struct amd_mp2_dev *privdata, struct amd_mp2_sensor_info info) in amd_start_sensor() 164 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()
|
/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()
|
/drivers/hid/amd-sfh-hid/sfh1_1/ |
D | amd_sfh_interface.c | 15 static int amd_sfh_wait_response(struct amd_mp2_dev *mp2, u8 sid, u32 cmd_id) in amd_sfh_wait_response() 29 static void amd_start_sensor(struct amd_mp2_dev *privdata, struct amd_mp2_sensor_info info) in amd_start_sensor() 42 static void amd_stop_sensor(struct amd_mp2_dev *privdata, u16 sensor_idx) in amd_stop_sensor() 56 static void amd_stop_all_sensor(struct amd_mp2_dev *privdata) in amd_stop_all_sensor() 76 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() 95 static int amd_sfh1_1_hid_client_init(struct amd_mp2_dev *privdata) in amd_sfh1_1_hid_client_init() 207 static void amd_sfh_resume(struct amd_mp2_dev *mp2) in amd_sfh_resume() 238 static void amd_sfh_suspend(struct amd_mp2_dev *mp2) in amd_sfh_suspend() 270 struct amd_mp2_dev *mp2 = privdata; in amd_mp2_pci_remove() 278 static void amd_sfh_set_ops(struct amd_mp2_dev *mp2) in amd_sfh_set_ops() 291 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 | 152 void sfh_interface_init(struct amd_mp2_dev *mp2);
|
/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()
|