/linux-6.1.9/drivers/hid/amd-sfh-hid/sfh1_1/ |
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() argument 25 memcpy_fromio(&binfo, mp2->vsbase, sizeof(struct sfh_base_info)); 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() argument 46 if (mp2->mp2_ops->response) in amd_sfh_wait_for_response() 47 return mp2->mp2_ops->response(mp2, sid, cmd_id); in amd_sfh_wait_for_response() 208 static void amd_sfh_resume(struct amd_mp2_dev *mp2) in amd_sfh_resume() argument 210 struct amdtp_cl_data *cl_data = mp2->cl_data; in amd_sfh_resume() 217 mp2->mp2_ops->start(mp2, info); in amd_sfh_resume() 219 (mp2, cl_data->sensor_idx[i], ENABLE_SENSOR); in amd_sfh_resume() 224 dev_dbg(&mp2->pdev->dev, "resume sid 0x%x (%s) status 0x%x\n", in amd_sfh_resume() [all …]
|
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() argument 20 if (!readl_poll_timeout(mp2->mmio + AMD_P2C_MSG(0), cmd_resp.resp, in amd_sfh_wait_response() 72 void sfh_interface_init(struct amd_mp2_dev *mp2) in sfh_interface_init() argument 74 mp2->mp2_ops = &amd_sfh_ops; in sfh_interface_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 | 163 struct amd_mp2_dev *mp2 = container_of(in_data, struct amd_mp2_dev, in_data); in get_input_rep() local 183 sensoraddr = mp2->vsbase + (ACCEL_IDX * SENSOR_DATA_MEM_SIZE_DEFAULT) + in get_input_rep() 194 sensoraddr = mp2->vsbase + (GYRO_IDX * SENSOR_DATA_MEM_SIZE_DEFAULT) + in get_input_rep() 205 sensoraddr = mp2->vsbase + (MAG_IDX * SENSOR_DATA_MEM_SIZE_DEFAULT) + in get_input_rep() 217 sensoraddr = mp2->vsbase + (ALS_IDX * SENSOR_DATA_MEM_SIZE_DEFAULT) + in get_input_rep() 227 hpdstatus.val = readl(mp2->mmio + AMD_C2P_MSG(4)); in get_input_rep()
|
D | amd_sfh_interface.h | 152 void sfh_interface_init(struct amd_mp2_dev *mp2);
|
/linux-6.1.9/drivers/hid/amd-sfh-hid/ |
D | amd_sfh_client.c | 74 struct amd_mp2_dev *mp2; in amd_sfh_work() local 86 mp2 = container_of(in_data, struct amd_mp2_dev, in_data); in amd_sfh_work() 87 mp2_ops = mp2->mp2_ops; in amd_sfh_work() 116 struct amd_mp2_dev *mp2; in amd_sfh_work_buffer() local 122 mp2 = container_of(in_data, struct amd_mp2_dev, in_data); in amd_sfh_work_buffer() 123 report_size = mp2->mp2_ops->get_in_rep(i, cli_data->sensor_idx[i], 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() argument 134 if (mp2->mp2_ops->response) in amd_sfh_wait_for_response() 135 sensor_sts = mp2->mp2_ops->response(mp2, sid, sensor_sts); in amd_sfh_wait_for_response() 158 static void amd_sfh_resume(struct amd_mp2_dev *mp2) in amd_sfh_resume() argument [all …]
|
D | amd_sfh_pcie.c | 37 static int amd_sfh_wait_response_v2(struct amd_mp2_dev *mp2, u8 sid, u32 sensor_sts) in amd_sfh_wait_response_v2() argument 42 if (!readl_poll_timeout(mp2->mmio + AMD_P2C_MSG(0), cmd_resp.resp, in amd_sfh_wait_response_v2() 241 struct amd_mp2_dev *mp2 = privdata; in amd_mp2_pci_remove() local 243 mp2->mp2_ops->stop_all(mp2); in amd_mp2_pci_remove() 244 pci_intx(mp2->pdev, false); in amd_mp2_pci_remove() 245 amd_sfh_clear_intr(mp2); in amd_mp2_pci_remove() 372 struct amd_mp2_dev *mp2 = dev_get_drvdata(dev); in amd_mp2_pci_resume() local 374 mp2->mp2_ops->resume(mp2); in amd_mp2_pci_resume() 381 struct amd_mp2_dev *mp2 = dev_get_drvdata(dev); in amd_mp2_pci_suspend() local 383 mp2->mp2_ops->suspend(mp2); in amd_mp2_pci_suspend()
|
D | amd_sfh_common.h | 56 int (*response)(struct amd_mp2_dev *mp2, u8 sid, u32 sensor_sts); 60 void (*suspend)(struct amd_mp2_dev *mp2); 61 void (*resume)(struct amd_mp2_dev *mp2);
|
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() local 129 struct device *dev = &mp2->pdev->dev; in amdtp_hid_probe()
|
/linux-6.1.9/Documentation/i2c/busses/ |
D | index.rst | 15 i2c-amd-mp2
|
D | i2c-amd-mp2.rst | 2 Kernel driver i2c-amd-mp2
|
/linux-6.1.9/Documentation/devicetree/bindings/pinctrl/ |
D | marvell,kirkwood-pinctrl.txt | 134 mpp22 22 gpio, ge1(txd2), ts(mp2), tdm(tx2ql), audio(rmclk), 183 mpp22 22 gpio, ge1(txd2), ts(mp2), tdm(tx2ql), audio(rmclk), 201 mpp38 38 gpio, ts(mp2), tdm(rx2ql), audio(rmclk) 247 mpp22 22 gpio, ge1(txd2), ts(mp2), tdm(tx2ql), audio(rmclk), 271 mpp38 38 gpio, ts(mp2), tdm(rx2ql), audio(rmclk), lcd(d18)
|
/linux-6.1.9/drivers/i2c/busses/ |
D | Makefile | 39 obj-$(CONFIG_I2C_AMD_MP2) += i2c-amd-mp2-pci.o i2c-amd-mp2-plat.o
|
D | Kconfig | 96 be called i2c-amd-mp2-pci and i2c-amd-mp2-plat.
|
/linux-6.1.9/drivers/scsi/lpfc/ |
D | lpfc_init.c | 2795 struct lpfc_dmabuf *mp1, *mp2; in lpfc_sli3_post_buffer() local 2824 mp2 = kmalloc(sizeof (struct lpfc_dmabuf), GFP_KERNEL); in lpfc_sli3_post_buffer() 2825 if (mp2) in lpfc_sli3_post_buffer() 2826 mp2->virt = lpfc_mbuf_alloc(phba, MEM_PRI, in lpfc_sli3_post_buffer() 2827 &mp2->phys); in lpfc_sli3_post_buffer() 2828 if (!mp2 || !mp2->virt) { in lpfc_sli3_post_buffer() 2829 kfree(mp2); in lpfc_sli3_post_buffer() 2837 INIT_LIST_HEAD(&mp2->list); in lpfc_sli3_post_buffer() 2839 mp2 = NULL; in lpfc_sli3_post_buffer() 2847 if (mp2) { in lpfc_sli3_post_buffer() [all …]
|
/linux-6.1.9/ |
D | MAINTAINERS | 1027 F: drivers/i2c/busses/i2c-amd-mp2*
|