Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/hid/amd-sfh-hid/
Damd_sfh_pcie.c50 static void amd_start_sensor_v2(struct amd_mp2_dev *privdata, struct amd_mp2_sensor_info info) in amd_start_sensor_v2() argument
64 writeq(info.dma_address, privdata->mmio + AMD_C2P_MSG1); in amd_start_sensor_v2()
65 writel(cmd_base.ul, privdata->mmio + AMD_C2P_MSG0); in amd_start_sensor_v2()
68 static void amd_stop_sensor_v2(struct amd_mp2_dev *privdata, u16 sensor_idx) in amd_stop_sensor_v2() argument
79 writeq(0x0, privdata->mmio + AMD_C2P_MSG1); in amd_stop_sensor_v2()
80 writel(cmd_base.ul, privdata->mmio + AMD_C2P_MSG0); in amd_stop_sensor_v2()
83 static void amd_stop_all_sensor_v2(struct amd_mp2_dev *privdata) in amd_stop_all_sensor_v2() argument
92 writel(cmd_base.ul, privdata->mmio + AMD_C2P_MSG0); in amd_stop_all_sensor_v2()
95 static void amd_sfh_clear_intr_v2(struct amd_mp2_dev *privdata) in amd_sfh_clear_intr_v2() argument
97 if (readl(privdata->mmio + AMD_P2C_MSG(4))) { in amd_sfh_clear_intr_v2()
[all …]
Damd_sfh_pcie.h132 void amd_start_sensor(struct amd_mp2_dev *privdata, struct amd_mp2_sensor_info info);
133 void amd_stop_sensor(struct amd_mp2_dev *privdata, u16 sensor_idx);
134 void amd_stop_all_sensors(struct amd_mp2_dev *privdata);
135 int amd_mp2_get_sensor_num(struct amd_mp2_dev *privdata, u8 *sensor_id);
136 int amd_sfh_hid_client_init(struct amd_mp2_dev *privdata);
137 int amd_sfh_hid_client_deinit(struct amd_mp2_dev *privdata);
144 void (*start)(struct amd_mp2_dev *privdata, struct amd_mp2_sensor_info info);
145 void (*stop)(struct amd_mp2_dev *privdata, u16 sensor_idx);
146 void (*stop_all)(struct amd_mp2_dev *privdata);
148 void (*clear_intr)(struct amd_mp2_dev *privdata);
[all …]
Damd_sfh_client.c162 int amd_sfh_hid_client_init(struct amd_mp2_dev *privdata) in amd_sfh_hid_client_init() argument
164 struct amd_input_data *in_data = &privdata->in_data; in amd_sfh_hid_client_init()
165 struct amdtp_cl_data *cl_data = privdata->cl_data; in amd_sfh_hid_client_init()
173 dev = &privdata->pdev->dev; in amd_sfh_hid_client_init()
175 cl_data->num_hid_devices = amd_mp2_get_sensor_num(privdata, &cl_data->sensor_idx[0]); in amd_sfh_hid_client_init()
230 privdata->mp2_ops->start(privdata, info); in amd_sfh_hid_client_init()
232 (privdata, cl_data->sensor_idx[i], SENSOR_ENABLED); in amd_sfh_hid_client_init()
237 privdata->mp2_ops->stop(privdata, cl_data->sensor_idx[i]); in amd_sfh_hid_client_init()
239 (privdata, cl_data->sensor_idx[i], SENSOR_DISABLED); in amd_sfh_hid_client_init()
253 if (privdata->mp2_ops->discovery_status && in amd_sfh_hid_client_init()
[all …]
/linux-5.19.10/drivers/i2c/busses/
Di2c-amd-mp2-pci.c21 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-5.19.10/drivers/hid/amd-sfh-hid/hid_descriptor/
Damd_sfh_hid_desc.c205 struct amd_mp2_dev *privdata = container_of(in_data, struct amd_mp2_dev, in_data); in get_input_report() local
208 u8 supported_input = privdata->mp2_acs & GENMASK(3, 0); in get_input_report()
251 readl(privdata->mmio + AMD_C2P_MSG(5)) & ILLUMINANCE_MASK; in get_input_report()
260 hpdstatus.val = readl(privdata->mmio + AMD_C2P_MSG(4)); in get_input_report()
/linux-5.19.10/drivers/usb/gadget/udc/
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-5.19.10/drivers/counter/
Dcounter-core.c37 unsigned long privdata[] ____cacheline_aligned; member
74 return &ch->privdata; in counter_priv()
/linux-5.19.10/include/net/
Dpkt_sched.h25 return &q->privdata; in qdisc_priv()
30 return container_of(priv, struct Qdisc, privdata); in qdisc_from_priv()
Dsch_generic.h130 long privdata[] ____cacheline_aligned; member
/linux-5.19.10/drivers/crypto/qat/qat_common/
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-5.19.10/drivers/usb/c67x00/
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-5.19.10/arch/m68k/mac/
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-5.19.10/include/linux/
Dthunderbolt.h86 unsigned long privdata[]; member
/linux-5.19.10/drivers/scsi/
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()
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-5.19.10/drivers/scsi/mpi3mr/
Dmpi3mr_fw.c581 static irqreturn_t mpi3mr_isr_primary(int irq, void *privdata) in mpi3mr_isr_primary() argument
583 struct mpi3mr_intr_info *intr_info = privdata; in mpi3mr_isr_primary()
610 static irqreturn_t mpi3mr_isr(int irq, void *privdata) in mpi3mr_isr() argument
612 struct mpi3mr_intr_info *intr_info = privdata; in mpi3mr_isr()
623 ret = mpi3mr_isr_primary(irq, privdata); in mpi3mr_isr()
651 static irqreturn_t mpi3mr_isr_poll(int irq, void *privdata) in mpi3mr_isr_poll() argument
653 struct mpi3mr_intr_info *intr_info = privdata; in mpi3mr_isr_poll()
/linux-5.19.10/drivers/thunderbolt/
Dtb.h493 return (void *)tb->privdata; in tb_priv()