Home
last modified time | relevance | path

Searched refs:privdata (Results 1 – 20 of 20) sorted by relevance

/linux-6.3-rc2/drivers/hid/amd-sfh-hid/
A Damd_sfh_pcie.c107 privdata->mp2_ops->clear_intr(privdata); in amd_sfh_clear_intr()
123 rc = devm_request_irq(&privdata->pdev->dev, privdata->pdev->irq, in amd_sfh_irq_init_v2()
270 privdata->mp2_acs = readl(privdata->mmio + AMD_P2C_MSG3); in mp2_select_ops()
286 return privdata->mp2_ops->init_intr(privdata); in amd_sfh_irq_init()
314 privdata = devm_kzalloc(&pdev->dev, sizeof(*privdata), GFP_KERNEL); in amd_mp2_pci_probe()
315 if (!privdata) in amd_mp2_pci_probe()
318 privdata->pdev = pdev; in amd_mp2_pci_probe()
337 if (!privdata->cl_data) in amd_mp2_pci_probe()
342 rc = privdata->sfh1_1_ops->init(privdata); in amd_mp2_pci_probe()
348 mp2_select_ops(privdata); in amd_mp2_pci_probe()
[all …]
A Damd_sfh_common.h53 void (*start)(struct amd_mp2_dev *privdata, struct amd_mp2_sensor_info info);
54 void (*stop)(struct amd_mp2_dev *privdata, u16 sensor_idx);
55 void (*stop_all)(struct amd_mp2_dev *privdata);
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);
62 void (*remove)(void *privdata);
72 void amd_sfh_clear_intr_v2(struct amd_mp2_dev *privdata);
73 int amd_sfh_irq_init_v2(struct amd_mp2_dev *privdata);
74 void amd_sfh_clear_intr(struct amd_mp2_dev *privdata);
[all …]
A Damd_sfh_client.c207 int amd_sfh_hid_client_init(struct amd_mp2_dev *privdata) in amd_sfh_hid_client_init() argument
209 struct amd_input_data *in_data = &privdata->in_data; in amd_sfh_hid_client_init()
210 struct amdtp_cl_data *cl_data = privdata->cl_data; in amd_sfh_hid_client_init()
211 struct amd_mp2_ops *mp2_ops = privdata->mp2_ops; in amd_sfh_hid_client_init()
221 dev = &privdata->pdev->dev; in amd_sfh_hid_client_init()
287 mp2_ops->start(privdata, info); in amd_sfh_hid_client_init()
289 (privdata, cl_data->sensor_idx[i], SENSOR_ENABLED); in amd_sfh_hid_client_init()
295 mp2_ops->stop(privdata, cl_data->sensor_idx[i]); in amd_sfh_hid_client_init()
319 amd_sfh_hid_client_deinit(privdata); in amd_sfh_hid_client_init()
347 struct amdtp_cl_data *cl_data = privdata->cl_data; in amd_sfh_hid_client_deinit()
[all …]
A Damd_sfh_pcie.h101 int amd_mp2_get_sensor_num(struct amd_mp2_dev *privdata, u8 *sensor_id);
102 int amd_sfh_hid_client_init(struct amd_mp2_dev *privdata);
103 int amd_sfh_hid_client_deinit(struct amd_mp2_dev *privdata);
/linux-6.3-rc2/drivers/i2c/busses/
A Di2c-amd-mp2-pci.c24 mutex_lock(&privdata->c2p_lock); in amd_mp2_c2p_mutex_lock()
33 pci_warn(privdata->pci_dev, in amd_mp2_c2p_mutex_unlock()
39 mutex_unlock(&privdata->c2p_lock); in amd_mp2_c2p_mutex_unlock()
336 free_irq(privdata->dev_irq, privdata); in amd_mp2_pci_init()
347 struct amd_mp2_dev *privdata; in amd_mp2_pci_probe() local
350 privdata = devm_kzalloc(&pci_dev->dev, sizeof(*privdata), GFP_KERNEL); in amd_mp2_pci_probe()
351 if (!privdata) in amd_mp2_pci_probe()
354 privdata->pci_dev = pci_dev; in amd_mp2_pci_probe()
366 privdata->probed = true; in amd_mp2_pci_probe()
379 free_irq(privdata->dev_irq, privdata); in amd_mp2_pci_remove()
[all …]
/linux-6.3-rc2/drivers/hid/amd-sfh-hid/sfh1_1/
A Damd_sfh_init.c72 struct amdtp_cl_data *cl_data = privdata->cl_data; in amd_sfh_hid_client_deinit()
77 privdata->mp2_ops->stop(privdata, cl_data->sensor_idx[i]); in amd_sfh_hid_client_deinit()
98 struct amdtp_cl_data *cl_data = privdata->cl_data; in amd_sfh1_1_hid_client_init()
99 struct amd_mp2_ops *mp2_ops = privdata->mp2_ops; in amd_sfh1_1_hid_client_init()
109 dev = &privdata->pdev->dev; in amd_sfh1_1_hid_client_init()
165 writel(0, privdata->mmio + AMD_P2C_MSG(0)); in amd_sfh1_1_hid_client_init()
166 mp2_ops->start(privdata, info); in amd_sfh1_1_hid_client_init()
199 amd_sfh_hid_client_deinit(privdata); in amd_sfh1_1_hid_client_init()
259 static void amd_mp2_pci_remove(void *privdata) in amd_mp2_pci_remove() argument
261 struct amd_mp2_dev *mp2 = privdata; in amd_mp2_pci_remove()
[all …]
A Damd_sfh_interface.c29 static void amd_start_sensor(struct amd_mp2_dev *privdata, struct amd_mp2_sensor_info info) in amd_start_sensor() argument
38 writel(cmd_base.ul, privdata->mmio + AMD_C2P_MSG(0)); in amd_start_sensor()
41 static void amd_stop_sensor(struct amd_mp2_dev *privdata, u16 sensor_idx) in amd_stop_sensor() argument
50 writeq(0x0, privdata->mmio + AMD_C2P_MSG(1)); in amd_stop_sensor()
51 writel(cmd_base.ul, privdata->mmio + AMD_C2P_MSG(0)); in amd_stop_sensor()
54 static void amd_stop_all_sensor(struct amd_mp2_dev *privdata) in amd_stop_all_sensor() argument
62 writel(cmd_base.ul, privdata->mmio + AMD_C2P_MSG(0)); in amd_stop_all_sensor()
/linux-6.3-rc2/drivers/hid/amd-sfh-hid/hid_descriptor/
A Damd_sfh_hid_desc.c206 struct amd_mp2_dev *privdata = container_of(in_data, struct amd_mp2_dev, in_data); in get_input_report() local
209 u8 supported_input = privdata->mp2_acs & GENMASK(3, 0); in get_input_report()
252 readl(privdata->mmio + AMD_C2P_MSG(5)) & ILLUMINANCE_MASK; in get_input_report()
261 hpdstatus.val = readl(privdata->mmio + AMD_C2P_MSG(4)); in get_input_report()
/linux-6.3-rc2/drivers/usb/gadget/udc/
A Dfsl_qe_udc.h180 void *privdata; member
234 #define frame_get_privdata(frm) (frm->privdata)
235 #define frame_set_privdata(frm, dat) (frm->privdata = dat)
/linux-6.3-rc2/drivers/counter/
A Dcounter-core.c37 unsigned long privdata[] ____cacheline_aligned; member
74 return &ch->privdata; in counter_priv()
/linux-6.3-rc2/include/net/
A Dpkt_sched.h25 return &q->privdata; in qdisc_priv()
30 return container_of(priv, struct Qdisc, privdata); in qdisc_from_priv()
A Dsch_generic.h130 long privdata[] ____cacheline_aligned; member
/linux-6.3-rc2/drivers/crypto/qat/qat_common/
A Dadf_vf_isr.c131 static irqreturn_t adf_isr(int irq, void *privdata) in adf_isr() argument
133 struct adf_accel_dev *accel_dev = privdata; in adf_isr()
/linux-6.3-rc2/drivers/usb/c67x00/
A Dc67x00-sched.c63 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.3-rc2/arch/m68k/mac/
A Diop.c448 int iop_send_message(uint iop_num, uint chan, void *privdata, in iop_send_message() argument
465 msg->caller_priv = privdata; in iop_send_message()
/linux-6.3-rc2/include/linux/
A Dthunderbolt.h86 unsigned long privdata[]; member
/linux-6.3-rc2/drivers/scsi/
A Dmyrb.c3399 struct myrb_privdata *privdata = in myrb_detect() local
3401 irq_handler_t irq_handler = privdata->irq_handler; in myrb_detect()
3402 unsigned int mmio_size = privdata->mmio_size; in myrb_detect()
3425 if (privdata->hw_init == DAC960_PD_hw_init || in myrb_detect()
3426 privdata->hw_init == DAC960_P_hw_init) { in myrb_detect()
3444 if (privdata->hw_init(pdev, cb, cb->io_base)) in myrb_detect()
A Dmyrs.c2287 struct myrs_privdata *privdata = in myrs_detect() local
2289 irq_handler_t irq_handler = privdata->irq_handler; in myrs_detect()
2290 unsigned int mmio_size = privdata->mmio_size; in myrs_detect()
2318 if (privdata->hw_init(pdev, cs, cs->io_base)) in myrs_detect()
/linux-6.3-rc2/drivers/scsi/mpi3mr/
A Dmpi3mr_fw.c602 static irqreturn_t mpi3mr_isr_primary(int irq, void *privdata) in mpi3mr_isr_primary() argument
604 struct mpi3mr_intr_info *intr_info = privdata; in mpi3mr_isr_primary()
633 static irqreturn_t mpi3mr_isr(int irq, void *privdata) in mpi3mr_isr() argument
635 struct mpi3mr_intr_info *intr_info = privdata; in mpi3mr_isr()
642 ret = mpi3mr_isr_primary(irq, privdata); in mpi3mr_isr()
670 static irqreturn_t mpi3mr_isr_poll(int irq, void *privdata) in mpi3mr_isr_poll() argument
672 struct mpi3mr_intr_info *intr_info = privdata; in mpi3mr_isr_poll()
/linux-6.3-rc2/drivers/thunderbolt/
A Dtb.h524 return (void *)tb->privdata; in tb_priv()

Completed in 56 milliseconds