Home
last modified time | relevance | path

Searched refs:amd_mp2_dev (Results 1 – 7 of 7) sorted by relevance

/drivers/hid/amd-sfh-hid/
Damd_sfh_pcie.h98 struct amd_mp2_dev { struct
131 void amd_start_sensor(struct amd_mp2_dev *privdata, struct amd_mp2_sensor_info info);
132 void amd_stop_sensor(struct amd_mp2_dev *privdata, u16 sensor_idx);
133 void amd_stop_all_sensors(struct amd_mp2_dev *privdata);
134 int amd_mp2_get_sensor_num(struct amd_mp2_dev *privdata, u8 *sensor_id);
135 int amd_sfh_hid_client_init(struct amd_mp2_dev *privdata);
136 int amd_sfh_hid_client_deinit(struct amd_mp2_dev *privdata);
137 u32 amd_sfh_wait_for_response(struct amd_mp2_dev *mp2, u8 sid, u32 sensor_sts);
138 void amd_mp2_suspend(struct amd_mp2_dev *mp2);
139 void amd_mp2_resume(struct amd_mp2_dev *mp2);
[all …]
Damd_sfh_pcie.c35 static int amd_sfh_wait_response_v2(struct amd_mp2_dev *mp2, u8 sid, u32 sensor_sts) in amd_sfh_wait_response_v2()
49 static void amd_start_sensor_v2(struct amd_mp2_dev *privdata, struct amd_mp2_sensor_info info) in amd_start_sensor_v2()
66 static void amd_stop_sensor_v2(struct amd_mp2_dev *privdata, u16 sensor_idx) in amd_stop_sensor_v2()
80 static void amd_stop_all_sensor_v2(struct amd_mp2_dev *privdata) in amd_stop_all_sensor_v2()
91 static void amd_sfh_clear_intr_v2(struct amd_mp2_dev *privdata) in amd_sfh_clear_intr_v2()
99 static void amd_sfh_clear_intr(struct amd_mp2_dev *privdata) in amd_sfh_clear_intr()
112 static int amd_sfh_irq_init_v2(struct amd_mp2_dev *privdata) in amd_sfh_irq_init_v2()
129 static int amd_sfh_dis_sts_v2(struct amd_mp2_dev *privdata) in amd_sfh_dis_sts_v2()
135 void amd_start_sensor(struct amd_mp2_dev *privdata, struct amd_mp2_sensor_info info) in amd_start_sensor()
156 void amd_stop_sensor(struct amd_mp2_dev *privdata, u16 sensor_idx) in amd_stop_sensor()
[all …]
Damd_sfh_client.c135 u32 amd_sfh_wait_for_response(struct amd_mp2_dev *mp2, u8 sid, u32 sensor_sts) in amd_sfh_wait_for_response()
143 int amd_sfh_hid_client_init(struct amd_mp2_dev *privdata) in amd_sfh_hid_client_init()
263 int amd_sfh_hid_client_deinit(struct amd_mp2_dev *privdata) in amd_sfh_hid_client_deinit()
/drivers/i2c/busses/
Di2c-amd-mp2-pci.c21 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 …]
Di2c-amd-mp2.h19 struct amd_mp2_dev;
154 struct amd_mp2_dev *mp2_dev;
179 struct amd_mp2_dev { struct
200 struct amd_mp2_dev *amd_mp2_find_device(void); argument
202 static inline void amd_mp2_pm_runtime_get(struct amd_mp2_dev *mp2_dev) in amd_mp2_pm_runtime_get()
207 static inline void amd_mp2_pm_runtime_put(struct amd_mp2_dev *mp2_dev) in amd_mp2_pm_runtime_put()
Di2c-amd-mp2-plat.c251 struct amd_mp2_dev *mp2_dev; in i2c_amd_probe()
/drivers/hid/amd-sfh-hid/hid_descriptor/
Damd_sfh_hid_desc.c204 struct amd_mp2_dev *privdata = container_of(in_data, struct amd_mp2_dev, in_data); in get_input_report()