/linux-6.12.1/drivers/hid/amd-sfh-hid/ |
D | amd_sfh_pcie.c | 55 static void amd_start_sensor_v2(struct amd_mp2_dev *privdata, struct amd_mp2_sensor_info info) in amd_start_sensor_v2() argument 69 writeq(info.dma_address, privdata->mmio + AMD_C2P_MSG1); in amd_start_sensor_v2() 70 writel(cmd_base.ul, privdata->mmio + AMD_C2P_MSG0); 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() argument 84 writeq(0x0, privdata->mmio + AMD_C2P_MSG1); in amd_stop_sensor_v2() 85 writel(cmd_base.ul, privdata->mmio + AMD_C2P_MSG0); in amd_stop_sensor_v2() 88 static void amd_stop_all_sensor_v2(struct amd_mp2_dev *privdata) in amd_stop_all_sensor_v2() argument 97 writel(cmd_base.ul, privdata->mmio + AMD_C2P_MSG0); in amd_stop_all_sensor_v2() 100 void amd_sfh_clear_intr_v2(struct amd_mp2_dev *privdata) in amd_sfh_clear_intr_v2() argument 102 if (readl(privdata->mmio + amd_get_p2c_val(privdata, 4))) { in amd_sfh_clear_intr_v2() [all …]
|
D | amd_sfh_common.h | 65 void (*start)(struct amd_mp2_dev *privdata, struct amd_mp2_sensor_info info); 66 void (*stop)(struct amd_mp2_dev *privdata, u16 sensor_idx); 67 void (*stop_all)(struct amd_mp2_dev *privdata); 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); 74 void (*remove)(void *privdata); 84 void amd_sfh_clear_intr_v2(struct amd_mp2_dev *privdata); 85 int amd_sfh_irq_init_v2(struct amd_mp2_dev *privdata); 86 void amd_sfh_clear_intr(struct amd_mp2_dev *privdata); [all …]
|
D | amd_sfh_client.c | 208 int amd_sfh_hid_client_init(struct amd_mp2_dev *privdata) in amd_sfh_hid_client_init() argument 210 struct amd_input_data *in_data = &privdata->in_data; in amd_sfh_hid_client_init() 211 struct amdtp_cl_data *cl_data = privdata->cl_data; in amd_sfh_hid_client_init() 212 struct amd_mp2_ops *mp2_ops = privdata->mp2_ops; in amd_sfh_hid_client_init() 222 dev = &privdata->pdev->dev; in amd_sfh_hid_client_init() 228 cl_data->num_hid_devices = amd_mp2_get_sensor_num(privdata, &cl_data->sensor_idx[0]); in amd_sfh_hid_client_init() 288 mp2_ops->start(privdata, info); in amd_sfh_hid_client_init() 290 (privdata, cl_data->sensor_idx[i], SENSOR_ENABLED); in amd_sfh_hid_client_init() 297 (mp2_ops->discovery_status && mp2_ops->discovery_status(privdata) == 0)) { in amd_sfh_hid_client_init() 322 amd_sfh_hid_client_deinit(privdata); in amd_sfh_hid_client_init() [all …]
|
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);
|
/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() local 24 mutex_lock(&privdata->c2p_lock); in amd_mp2_c2p_mutex_lock() 25 privdata->c2p_lock_busid = i2c_common->bus_id; in amd_mp2_c2p_mutex_lock() 30 struct amd_mp2_dev *privdata = i2c_common->mp2_dev; in amd_mp2_c2p_mutex_unlock() local 32 if (unlikely(privdata->c2p_lock_busid != i2c_common->bus_id)) { in amd_mp2_c2p_mutex_unlock() 33 pci_warn(privdata->pci_dev, in amd_mp2_c2p_mutex_unlock() 35 i2c_common->bus_id, privdata->c2p_lock_busid); in amd_mp2_c2p_mutex_unlock() 39 mutex_unlock(&privdata->c2p_lock); in amd_mp2_c2p_mutex_unlock() 45 struct amd_mp2_dev *privdata = i2c_common->mp2_dev; in amd_mp2_cmd() local 50 reg = privdata->mmio + ((i2c_cmd_base.s.bus_id == 1) ? in amd_mp2_cmd() [all …]
|
/linux-6.12.1/drivers/hid/amd-sfh-hid/sfh1_1/ |
D | amd_sfh_init.c | 70 static int amd_sfh_hid_client_deinit(struct amd_mp2_dev *privdata) in amd_sfh_hid_client_deinit() argument 72 struct amdtp_cl_data *cl_data = privdata->cl_data; in amd_sfh_hid_client_deinit() 78 privdata->dev_en.is_hpd_present = false; in amd_sfh_hid_client_deinit() 81 privdata->dev_en.is_als_present = false; in amd_sfh_hid_client_deinit() 86 privdata->mp2_ops->stop(privdata, cl_data->sensor_idx[i]); in amd_sfh_hid_client_deinit() 88 (privdata, cl_data->sensor_idx[i], DISABLE_SENSOR); in amd_sfh_hid_client_deinit() 91 dev_dbg(&privdata->pdev->dev, "stopping sid 0x%x (%s) status 0x%x\n", 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() argument 106 struct amd_input_data *in_data = &privdata->in_data; in amd_sfh1_1_hid_client_init() 107 struct amdtp_cl_data *cl_data = privdata->cl_data; in amd_sfh1_1_hid_client_init() [all …]
|
D | amd_sfh_interface.c | 32 static void amd_start_sensor(struct amd_mp2_dev *privdata, struct amd_mp2_sensor_info info) in amd_start_sensor() argument 42 writel(cmd_base.ul, privdata->mmio + amd_get_c2p_val(privdata, 0)); in amd_start_sensor() 45 static void amd_stop_sensor(struct amd_mp2_dev *privdata, u16 sensor_idx) in amd_stop_sensor() argument 55 writeq(0x0, privdata->mmio + amd_get_c2p_val(privdata, 1)); in amd_stop_sensor() 56 writel(cmd_base.ul, privdata->mmio + amd_get_c2p_val(privdata, 0)); in amd_stop_sensor() 59 static void amd_stop_all_sensor(struct amd_mp2_dev *privdata) in amd_stop_all_sensor() argument 69 writel(cmd_base.ul, privdata->mmio + amd_get_c2p_val(privdata, 0)); in amd_stop_all_sensor()
|
/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() local 212 u8 supported_input = privdata->mp2_acs & GENMASK(3, 0); in get_input_report() 256 readl(privdata->mmio + AMD_C2P_MSG(5)) & ILLUMINANCE_MASK; in get_input_report() 272 hpdstatus.val = readl(privdata->mmio + AMD_C2P_MSG(4)); in get_input_report()
|
/linux-6.12.1/include/net/ |
D | pkt_sched.h | 25 const struct Qdisc * : (const void *)&q->privdata, \ 26 struct Qdisc * : (void *)&q->privdata) 30 return container_of(priv, struct Qdisc, privdata); in qdisc_from_priv()
|
D | sch_generic.h | 133 long privdata[] ____cacheline_aligned; member
|
/linux-6.12.1/drivers/usb/gadget/udc/ |
D | fsl_qe_udc.h | 180 void *privdata; member 234 #define frame_get_privdata(frm) (frm->privdata) 235 #define frame_set_privdata(frm, dat) (frm->privdata = dat)
|
/linux-6.12.1/drivers/counter/ |
D | counter-core.c | 38 unsigned long privdata[] __aligned(ARCH_DMA_MINALIGN); 75 return &ch->privdata; in counter_priv()
|
/linux-6.12.1/drivers/crypto/intel/qat/qat_common/ |
D | adf_vf_isr.c | 132 static irqreturn_t adf_isr(int irq, void *privdata) in adf_isr() argument 134 struct adf_accel_dev *accel_dev = privdata; in adf_isr()
|
/linux-6.12.1/drivers/usb/c67x00/ |
D | c67x00-sched.c | 63 unsigned long privdata; member 565 unsigned long privdata) in c67x00_create_td() argument 629 td->privdata = privdata; in c67x00_create_td() 920 switch (td->privdata) { in c67x00_handle_successful_td() 961 cnt = td->privdata; in c67x00_handle_isoc()
|
/linux-6.12.1/arch/m68k/mac/ |
D | iop.c | 450 int iop_send_message(uint iop_num, uint chan, void *privdata, in iop_send_message() argument 467 msg->caller_priv = privdata; in iop_send_message()
|
/linux-6.12.1/include/linux/ |
D | thunderbolt.h | 85 unsigned long privdata[]; member
|
/linux-6.12.1/drivers/scsi/ |
D | myrb.c | 3398 struct myrb_privdata *privdata = in myrb_detect() local 3400 irq_handler_t irq_handler = privdata->irq_handler; in myrb_detect() 3401 unsigned int mmio_size = privdata->mmio_size; in myrb_detect() 3424 if (privdata->hw_init == DAC960_PD_hw_init || in myrb_detect() 3425 privdata->hw_init == DAC960_P_hw_init) { in myrb_detect() 3443 if (privdata->hw_init(pdev, cb, cb->io_base)) in myrb_detect()
|
D | myrs.c | 2286 struct myrs_privdata *privdata = in myrs_detect() local 2288 irq_handler_t irq_handler = privdata->irq_handler; in myrs_detect() 2289 unsigned int mmio_size = privdata->mmio_size; in myrs_detect() 2317 if (privdata->hw_init(pdev, cs, cs->io_base)) in myrs_detect()
|
/linux-6.12.1/drivers/scsi/mpi3mr/ |
D | mpi3mr_fw.c | 638 static irqreturn_t mpi3mr_isr_primary(int irq, void *privdata) in mpi3mr_isr_primary() argument 640 struct mpi3mr_intr_info *intr_info = privdata; in mpi3mr_isr_primary() 669 static irqreturn_t mpi3mr_isr(int irq, void *privdata) in mpi3mr_isr() argument 671 struct mpi3mr_intr_info *intr_info = privdata; in mpi3mr_isr() 678 ret = mpi3mr_isr_primary(irq, privdata); in mpi3mr_isr() 706 static irqreturn_t mpi3mr_isr_poll(int irq, void *privdata) in mpi3mr_isr_poll() argument 708 struct mpi3mr_intr_info *intr_info = privdata; in mpi3mr_isr_poll()
|
/linux-6.12.1/drivers/thunderbolt/ |
D | tb.h | 541 return (void *)tb->privdata; in tb_priv()
|