Home
last modified time | relevance | path

Searched refs:priv_data (Results 1 – 25 of 132) sorted by relevance

123456

/kernel/linux/linux-5.10/include/drm/bridge/
Ddw_mipi_dsi.h30 int (*init)(void *priv_data);
31 void (*power_on)(void *priv_data);
32 void (*power_off)(void *priv_data);
33 int (*get_lane_mbps)(void *priv_data,
37 int (*get_timing)(void *priv_data, unsigned int lane_mbps,
39 int (*get_esc_clk_rate)(void *priv_data, unsigned int *esc_clk_rate);
43 int (*attach)(void *priv_data,
45 int (*detach)(void *priv_data,
53 enum drm_mode_status (*mode_valid)(void *priv_data,
59 void *priv_data; member
/kernel/linux/linux-5.10/drivers/pcmcia/
Dpcmcia_cis.c82 cisdata_t code, cisparse_t *parse, void *priv_data, in pccard_loop_tuple() argument
85 void *priv_data)) in pccard_loop_tuple()
112 ret = loop_tuple(&tuple, parse, priv_data); in pccard_loop_tuple()
140 int (*conf_check) (struct pcmcia_device *p_dev, void *priv_data);
141 void *priv_data; member
243 return cfg_mem->conf_check(p_dev, cfg_mem->priv_data); in pcmcia_do_loop_config()
260 void *priv_data), in pcmcia_loop_config() argument
261 void *priv_data) in pcmcia_loop_config()
272 cfg_mem->priv_data = priv_data; in pcmcia_loop_config()
286 void *priv_data; member
[all …]
/kernel/linux/linux-5.10/drivers/thermal/intel/int340x_thermal/
Dint340x_thermal_zone.h33 void *priv_data; member
43 struct int34x_thermal_zone *tzone, void *priv_data) in int340x_thermal_zone_set_priv_data() argument
45 tzone->priv_data = priv_data; in int340x_thermal_zone_set_priv_data()
51 return tzone->priv_data; in int340x_thermal_zone_get_priv_data()
/kernel/linux/linux-5.10/drivers/gpu/drm/stm/
Ddw_mipi_dsi-stm.c197 static int dw_mipi_dsi_phy_init(void *priv_data) in dw_mipi_dsi_phy_init() argument
199 struct dw_mipi_dsi_stm *dsi = priv_data; in dw_mipi_dsi_phy_init()
220 static void dw_mipi_dsi_phy_power_on(void *priv_data) in dw_mipi_dsi_phy_power_on() argument
222 struct dw_mipi_dsi_stm *dsi = priv_data; in dw_mipi_dsi_phy_power_on()
230 static void dw_mipi_dsi_phy_power_off(void *priv_data) in dw_mipi_dsi_phy_power_off() argument
232 struct dw_mipi_dsi_stm *dsi = priv_data; in dw_mipi_dsi_phy_power_off()
241 dw_mipi_dsi_get_lane_mbps(void *priv_data, const struct drm_display_mode *mode, in dw_mipi_dsi_get_lane_mbps() argument
245 struct dw_mipi_dsi_stm *dsi = priv_data; in dw_mipi_dsi_get_lane_mbps()
313 dw_mipi_dsi_phy_get_timing(void *priv_data, unsigned int lane_mbps, in dw_mipi_dsi_phy_get_timing() argument
415 dw_mipi_dsi_stm_plat_data.priv_data = dsi; in dw_mipi_dsi_stm_probe()
[all …]
/kernel/linux/linux-5.10/drivers/char/tpm/
Dtpm_i2c_atmel.c32 struct priv_data { struct
42 struct priv_data *priv = dev_get_drvdata(&chip->dev); in i2c_atmel_send() argument
69 struct priv_data *priv = dev_get_drvdata(&chip->dev); in i2c_atmel_recv()
109 struct priv_data *priv = dev_get_drvdata(&chip->dev); in i2c_atmel_read_status()
154 struct priv_data *priv; in i2c_atmel_probe()
163 priv = devm_kzalloc(dev, sizeof(struct priv_data), GFP_KERNEL); in i2c_atmel_probe()
Dtpm_i2c_nuvoton.c46 struct priv_data { struct
175 struct priv_data *priv = dev_get_drvdata(&chip->dev); in i2c_nuvoton_wait_for_stat()
232 struct priv_data *priv = dev_get_drvdata(&chip->dev); in i2c_nuvoton_recv_data()
266 struct priv_data *priv = dev_get_drvdata(&chip->dev); in i2c_nuvoton_recv()
354 struct priv_data *priv = dev_get_drvdata(&chip->dev); in i2c_nuvoton_send()
483 struct priv_data *priv = dev_get_drvdata(&chip->dev); in i2c_nuvoton_int_handler()
531 struct priv_data *priv; in i2c_nuvoton_probe()
545 priv = devm_kzalloc(dev, sizeof(struct priv_data), GFP_KERNEL); in i2c_nuvoton_probe()
/kernel/linux/linux-5.10/drivers/base/
Dplatform-msi.c82 struct platform_msi_priv_data *priv_data; in platform_msi_write_msg() local
84 priv_data = desc->platform.msi_priv_data; in platform_msi_write_msg()
86 priv_data->write_msg(desc, msg); in platform_msi_write_msg()
254 struct platform_msi_priv_data *priv_data; in platform_msi_domain_alloc_irqs() local
257 priv_data = platform_msi_alloc_priv_data(dev, nvec, write_msi_msg); in platform_msi_domain_alloc_irqs()
258 if (IS_ERR(priv_data)) in platform_msi_domain_alloc_irqs()
259 return PTR_ERR(priv_data); in platform_msi_domain_alloc_irqs()
261 err = platform_msi_alloc_descs(dev, nvec, priv_data); in platform_msi_domain_alloc_irqs()
274 platform_msi_free_priv_data(priv_data); in platform_msi_domain_alloc_irqs()
/kernel/linux/linux-5.10/kernel/bpf/
Dbpf_iter.c529 static void init_seq_meta(struct bpf_iter_priv_data *priv_data, in init_seq_meta() argument
534 priv_data->tinfo = tinfo; in init_seq_meta()
535 priv_data->seq_info = seq_info; in init_seq_meta()
536 priv_data->prog = prog; in init_seq_meta()
537 priv_data->session_id = atomic64_inc_return(&session_id); in init_seq_meta()
538 priv_data->seq_num = 0; in init_seq_meta()
539 priv_data->done_stop = false; in init_seq_meta()
545 struct bpf_iter_priv_data *priv_data; in prepare_seq_file() local
560 priv_data = __seq_open_private(file, seq_info->seq_ops, in prepare_seq_file()
562 if (!priv_data) { in prepare_seq_file()
[all …]
Dtask_iter.c286 static int init_seq_pidns(void *priv_data, struct bpf_iter_aux_info *aux) in init_seq_pidns() argument
288 struct bpf_iter_seq_task_common *common = priv_data; in init_seq_pidns()
294 static void fini_seq_pidns(void *priv_data) in fini_seq_pidns() argument
296 struct bpf_iter_seq_task_common *common = priv_data; in fini_seq_pidns()
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/
Dadf_vf_isr.c223 struct adf_etr_data *priv_data = accel_dev->transport; in adf_setup_bh() local
225 tasklet_init(&priv_data->banks[0].resp_handler, adf_response_handler, in adf_setup_bh()
226 (unsigned long)priv_data->banks); in adf_setup_bh()
232 struct adf_etr_data *priv_data = accel_dev->transport; in adf_cleanup_bh() local
234 tasklet_disable(&priv_data->banks[0].resp_handler); in adf_cleanup_bh()
235 tasklet_kill(&priv_data->banks[0].resp_handler); in adf_cleanup_bh()
Dadf_isr.c238 struct adf_etr_data *priv_data = accel_dev->transport; in adf_setup_bh() local
243 tasklet_init(&priv_data->banks[i].resp_handler, in adf_setup_bh()
245 (unsigned long)&priv_data->banks[i]); in adf_setup_bh()
251 struct adf_etr_data *priv_data = accel_dev->transport; in adf_cleanup_bh() local
256 tasklet_disable(&priv_data->banks[i].resp_handler); in adf_cleanup_bh()
257 tasklet_kill(&priv_data->banks[i].resp_handler); in adf_cleanup_bh()
/kernel/linux/linux-5.10/include/pcmcia/
Dds.h176 void *priv_data),
177 void *priv_data);
190 void *priv_data),
191 void *priv_data);
/kernel/linux/linux-5.10/drivers/pci/pcie/
Dportdrv.h63 void *priv_data; /* Service Private Data */ member
70 dev->priv_data = data; in set_service_data()
75 return dev->priv_data; in get_service_data()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/
Drtl8723bs_xmit.c292 pxmitbuf->priv_data) { in xmit_xmitframes()
294 pframe = (struct xmit_frame *)pxmitbuf->priv_data; in xmit_xmitframes()
299 pxmitbuf->priv_data = NULL; in xmit_xmitframes()
340 pxmitbuf->priv_data = (u8 *)pxmitframe; in xmit_xmitframes()
385 pframe = (struct xmit_frame *)pxmitbuf->priv_data; in xmit_xmitframes()
390 pxmitbuf->priv_data = NULL; in xmit_xmitframes()
532 pxmitbuf->priv_data = NULL; in rtl8723bs_mgnt_xmit()
663 rtw_free_xmitframe(pxmitpriv, (struct xmit_frame *)pxmitbuf->priv_data); in rtl8723bs_free_xmit_priv()
664 pxmitbuf->priv_data = NULL; in rtl8723bs_free_xmit_priv()
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/
Ddw-mipi-dsi-rockchip.c368 static int dw_mipi_dsi_phy_init(void *priv_data) in dw_mipi_dsi_phy_init() argument
370 struct dw_mipi_dsi_rockchip *dsi = priv_data; in dw_mipi_dsi_phy_init()
484 static void dw_mipi_dsi_phy_power_on(void *priv_data) in dw_mipi_dsi_phy_power_on() argument
486 struct dw_mipi_dsi_rockchip *dsi = priv_data; in dw_mipi_dsi_phy_power_on()
499 static void dw_mipi_dsi_phy_power_off(void *priv_data) in dw_mipi_dsi_phy_power_off() argument
501 struct dw_mipi_dsi_rockchip *dsi = priv_data; in dw_mipi_dsi_phy_power_off()
507 dw_mipi_dsi_get_lane_mbps(void *priv_data, const struct drm_display_mode *mode, in dw_mipi_dsi_get_lane_mbps() argument
511 struct dw_mipi_dsi_rockchip *dsi = priv_data; in dw_mipi_dsi_get_lane_mbps()
669 dw_mipi_dsi_phy_get_timing(void *priv_data, unsigned int lane_mbps, in dw_mipi_dsi_phy_get_timing() argument
979 static int dw_mipi_dsi_rockchip_host_attach(void *priv_data, in dw_mipi_dsi_rockchip_host_attach() argument
[all …]
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0014_linux_drivers_bus.patch622 + struct uapi_priv_data *priv_data;
628 + priv_data = kzalloc(sizeof(*priv_data), GFP_KERNEL);
629 + if (!priv_data)
639 + priv_data->mc_io = mc_uapi->static_mc_io;
650 + priv_data->mc_io = dynamic_mc_io;
652 + priv_data->uapi = mc_uapi;
653 + filep->private_data = priv_data;
661 + kfree(priv_data);
668 + struct uapi_priv_data *priv_data;
672 + priv_data = filep->private_data;
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/
Drt2x00mmio.c59 entry_priv = entry->priv_data; in rt2x00mmio_rxdone()
121 entry_priv = queue->entries[i].priv_data; in rt2x00mmio_alloc_queue_dma()
133 queue->entries[0].priv_data; in rt2x00mmio_free_queue_dma()
Drt2800mmio.c71 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt2800mmio_write_tx_desc()
127 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt2800mmio_fill_rxdone()
612 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt2800mmio_get_entry_state()
629 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; in rt2800mmio_clear_entry()
668 entry_priv = rt2x00dev->tx[0].entries[0].priv_data; in rt2800mmio_init_queues()
676 entry_priv = rt2x00dev->tx[1].entries[0].priv_data; in rt2800mmio_init_queues()
684 entry_priv = rt2x00dev->tx[2].entries[0].priv_data; in rt2800mmio_init_queues()
692 entry_priv = rt2x00dev->tx[3].entries[0].priv_data; in rt2800mmio_init_queues()
710 entry_priv = rt2x00dev->rx->entries[0].priv_data; in rt2800mmio_init_queues()
Drt2x00usb.c300 struct queue_entry_priv_usb *entry_priv = entry->priv_data; in rt2x00usb_kick_tx_entry()
403 struct queue_entry_priv_usb *entry_priv = entry->priv_data; in rt2x00usb_kick_rx_entry()
458 struct queue_entry_priv_usb *entry_priv = entry->priv_data; in rt2x00usb_flush_entry()
459 struct queue_entry_priv_usb_bcn *bcn_priv = entry->priv_data; in rt2x00usb_flush_entry()
657 entry_priv = queue->entries[i].priv_data; in rt2x00usb_alloc_entries()
673 bcn_priv = queue->entries[i].priv_data; in rt2x00usb_alloc_entries()
693 entry_priv = queue->entries[i].priv_data; in rt2x00usb_free_entries()
708 bcn_priv = queue->entries[i].priv_data; in rt2x00usb_free_entries()
/kernel/linux/linux-5.10/drivers/tty/serial/8250/
Dserial_cs.c406 static int simple_config_check(struct pcmcia_device *p_dev, void *priv_data) in simple_config_check() argument
409 int *try = priv_data; in simple_config_check()
428 void *priv_data) in simple_config_check_notpicky() argument
490 static int multi_config_check(struct pcmcia_device *p_dev, void *priv_data) in multi_config_check() argument
492 int *multi = priv_data; in multi_config_check()
514 void *priv_data) in multi_config_check_notpicky() argument
516 int *base2 = priv_data; in multi_config_check_notpicky()
601 static int serial_check_for_multi(struct pcmcia_device *p_dev, void *priv_data) in serial_check_for_multi() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Dchain_mode.c21 struct stmmac_priv *priv = tx_q->priv_data; in jumbo_frm()
131 struct stmmac_priv *priv = rx_q->priv_data; in refill_desc3()
147 struct stmmac_priv *priv = tx_q->priv_data; in clean_desc3()
Dring_mode.c21 struct stmmac_priv *priv = tx_q->priv_data; in jumbo_frm()
107 struct stmmac_priv *priv = rx_q->priv_data; in refill_desc3()
123 struct stmmac_priv *priv = tx_q->priv_data; in clean_desc3()
/kernel/linux/linux-5.10/drivers/staging/comedi/
Dcomedi_pcmcia.c32 void *priv_data) in comedi_pcmcia_conf_check() argument
73 void *priv_data)) in comedi_pcmcia_enable() argument
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/synopsys/
Ddw-mipi-dsi.c349 ret = pdata->host_ops->attach(pdata->priv_data, device); in dw_mipi_dsi_host_attach()
365 ret = pdata->host_ops->detach(pdata->priv_data, device); in dw_mipi_dsi_host_detach()
618 ret = phy_ops->get_esc_clk_rate(dsi->plat_data->priv_data, in dw_mipi_dsi_init()
776 ret = phy_ops->get_timing(dsi->plat_data->priv_data, in dw_mipi_dsi_dphy_timing_config()
880 phy_ops->power_off(dsi->plat_data->priv_data); in dw_mipi_dsi_bridge_post_disable()
911 void *priv_data = dsi->plat_data->priv_data; in dw_mipi_dsi_mode_set() local
917 ret = phy_ops->get_lane_mbps(priv_data, adjusted_mode, dsi->mode_flags, in dw_mipi_dsi_mode_set()
938 ret = phy_ops->init(priv_data); in dw_mipi_dsi_mode_set()
950 phy_ops->power_on(dsi->plat_data->priv_data); in dw_mipi_dsi_mode_set()
984 mode_status = pdata->mode_valid(pdata->priv_data, mode); in dw_mipi_dsi_bridge_mode_valid()
/kernel/linux/linux-5.10/fs/proc/
Dproc_net.c85 int bpf_iter_init_seq_net(void *priv_data, struct bpf_iter_aux_info *aux) in bpf_iter_init_seq_net() argument
88 struct seq_net_private *p = priv_data; in bpf_iter_init_seq_net()
95 void bpf_iter_fini_seq_net(void *priv_data) in bpf_iter_fini_seq_net() argument
98 struct seq_net_private *p = priv_data; in bpf_iter_fini_seq_net()

123456