Home
last modified time | relevance | path

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

123456

/linux-6.1.9/drivers/usb/dwc3/
Ddwc3-xilinx.c54 static void dwc3_xlnx_mask_phy_rst(struct dwc3_xlnx *priv_data, bool mask) in dwc3_xlnx_mask_phy_rst() argument
63 reg = readl(priv_data->regs + XLNX_USB_PHY_RST_EN); in dwc3_xlnx_mask_phy_rst()
70 writel(reg, priv_data->regs + XLNX_USB_PHY_RST_EN); in dwc3_xlnx_mask_phy_rst()
73 static int dwc3_xlnx_init_versal(struct dwc3_xlnx *priv_data) in dwc3_xlnx_init_versal() argument
75 struct device *dev = priv_data->dev; in dwc3_xlnx_init_versal()
78 dwc3_xlnx_mask_phy_rst(priv_data, false); in dwc3_xlnx_init_versal()
95 dwc3_xlnx_mask_phy_rst(priv_data, true); in dwc3_xlnx_init_versal()
100 static int dwc3_xlnx_init_zynqmp(struct dwc3_xlnx *priv_data) in dwc3_xlnx_init_zynqmp() argument
102 struct device *dev = priv_data->dev; in dwc3_xlnx_init_zynqmp()
108 priv_data->usb3_phy = devm_phy_optional_get(dev, "usb3-phy"); in dwc3_xlnx_init_zynqmp()
[all …]
/linux-6.1.9/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,
61 void *priv_data; member
/linux-6.1.9/drivers/pcmcia/
Dpcmcia_cis.c83 cisdata_t code, cisparse_t *parse, void *priv_data, in pccard_loop_tuple() argument
86 void *priv_data)) in pccard_loop_tuple()
113 ret = loop_tuple(&tuple, parse, priv_data); in pccard_loop_tuple()
141 int (*conf_check) (struct pcmcia_device *p_dev, void *priv_data);
142 void *priv_data; member
244 return cfg_mem->conf_check(p_dev, cfg_mem->priv_data); in pcmcia_do_loop_config()
261 void *priv_data), in pcmcia_loop_config() argument
262 void *priv_data) in pcmcia_loop_config()
273 cfg_mem->priv_data = priv_data; in pcmcia_loop_config()
287 void *priv_data; member
[all …]
/linux-6.1.9/drivers/bus/fsl-mc/
Dfsl-mc-uapi.c473 struct uapi_priv_data *priv_data; in fsl_mc_uapi_dev_open() local
479 priv_data = kzalloc(sizeof(*priv_data), GFP_KERNEL); in fsl_mc_uapi_dev_open()
480 if (!priv_data) in fsl_mc_uapi_dev_open()
490 priv_data->mc_io = mc_uapi->static_mc_io; in fsl_mc_uapi_dev_open()
501 priv_data->mc_io = dynamic_mc_io; in fsl_mc_uapi_dev_open()
503 priv_data->uapi = mc_uapi; in fsl_mc_uapi_dev_open()
504 filep->private_data = priv_data; in fsl_mc_uapi_dev_open()
512 kfree(priv_data); in fsl_mc_uapi_dev_open()
519 struct uapi_priv_data *priv_data; in fsl_mc_uapi_dev_release() local
523 priv_data = filep->private_data; in fsl_mc_uapi_dev_release()
[all …]
/linux-6.1.9/drivers/thermal/intel/int340x_thermal/
Dint340x_thermal_zone.h33 void *priv_data; member
44 struct int34x_thermal_zone *tzone, void *priv_data) in int340x_thermal_zone_set_priv_data() argument
46 tzone->priv_data = priv_data; in int340x_thermal_zone_set_priv_data()
52 return tzone->priv_data; in int340x_thermal_zone_get_priv_data()
/linux-6.1.9/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()
307 dw_mipi_dsi_phy_get_timing(void *priv_data, unsigned int lane_mbps, in dw_mipi_dsi_phy_get_timing() argument
328 dw_mipi_dsi_stm_mode_valid(void *priv_data, in dw_mipi_dsi_stm_mode_valid() argument
[all …]
/linux-6.1.9/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()
/linux-6.1.9/drivers/crypto/qat/qat_common/
Dadf_vf_isr.c204 struct adf_etr_data *priv_data = accel_dev->transport; in adf_setup_bh() local
206 tasklet_init(&priv_data->banks[0].resp_handler, adf_response_handler, in adf_setup_bh()
207 (unsigned long)priv_data->banks); in adf_setup_bh()
213 struct adf_etr_data *priv_data = accel_dev->transport; in adf_cleanup_bh() local
215 tasklet_disable(&priv_data->banks[0].resp_handler); in adf_cleanup_bh()
216 tasklet_kill(&priv_data->banks[0].resp_handler); in adf_cleanup_bh()
Dadf_isr.c275 struct adf_etr_data *priv_data = accel_dev->transport; in adf_setup_bh() local
280 tasklet_init(&priv_data->banks[i].resp_handler, in adf_setup_bh()
282 (unsigned long)&priv_data->banks[i]); in adf_setup_bh()
288 struct adf_etr_data *priv_data = accel_dev->transport; in adf_cleanup_bh() local
293 tasklet_disable(&priv_data->banks[i].resp_handler); in adf_cleanup_bh()
294 tasklet_kill(&priv_data->banks[i].resp_handler); in adf_cleanup_bh()
/linux-6.1.9/kernel/bpf/
Dbpf_iter.c578 static void init_seq_meta(struct bpf_iter_priv_data *priv_data, in init_seq_meta() argument
583 priv_data->tinfo = tinfo; in init_seq_meta()
584 priv_data->seq_info = seq_info; in init_seq_meta()
585 priv_data->prog = prog; in init_seq_meta()
586 priv_data->session_id = atomic64_inc_return(&session_id); in init_seq_meta()
587 priv_data->seq_num = 0; in init_seq_meta()
588 priv_data->done_stop = false; in init_seq_meta()
594 struct bpf_iter_priv_data *priv_data; in prepare_seq_file() local
609 priv_data = __seq_open_private(file, seq_info->seq_ops, in prepare_seq_file()
611 if (!priv_data) { in prepare_seq_file()
[all …]
/linux-6.1.9/drivers/staging/rtl8723bs/hal/
Drtl8723bs_xmit.c245 pxmitbuf->priv_data) { in xmit_xmitframes()
247 pframe = (struct xmit_frame *)pxmitbuf->priv_data; in xmit_xmitframes()
252 pxmitbuf->priv_data = NULL; in xmit_xmitframes()
288 pxmitbuf->priv_data = (u8 *)pxmitframe; in xmit_xmitframes()
331 pframe = (struct xmit_frame *)pxmitbuf->priv_data; in xmit_xmitframes()
336 pxmitbuf->priv_data = NULL; in xmit_xmitframes()
462 pxmitbuf->priv_data = NULL; in rtl8723bs_mgnt_xmit()
590 rtw_free_xmitframe(pxmitpriv, (struct xmit_frame *)pxmitbuf->priv_data); in rtl8723bs_free_xmit_priv()
591 pxmitbuf->priv_data = NULL; in rtl8723bs_free_xmit_priv()
/linux-6.1.9/sound/soc/mediatek/mt8192/
Dmt8192-afe-control.c146 int priv_size, const void *priv_data) in mt8192_dai_set_priv() argument
157 if (priv_data) in mt8192_dai_set_priv()
158 memcpy(temp_data, priv_data, priv_size); in mt8192_dai_set_priv()
/linux-6.1.9/include/pcmcia/
Dds.h176 void *priv_data),
177 void *priv_data);
190 void *priv_data),
191 void *priv_data);
/linux-6.1.9/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()
/linux-6.1.9/sound/soc/mediatek/mt8186/
Dmt8186-afe-control.c238 int mt8186_dai_set_priv(struct mtk_base_afe *afe, int id, int priv_size, const void *priv_data) in mt8186_dai_set_priv() argument
249 if (priv_data) in mt8186_dai_set_priv()
250 memcpy(temp_data, priv_data, priv_size); in mt8186_dai_set_priv()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dct_fs.h12 void *priv_data[]; member
34 return &fs->priv_data; in mlx5_ct_fs_priv()
/linux-6.1.9/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()
/linux-6.1.9/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()
598 static int serial_check_for_multi(struct pcmcia_device *p_dev, void *priv_data) in serial_check_for_multi() argument
/linux-6.1.9/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()
/linux-6.1.9/drivers/comedi/
Dcomedi_pcmcia.c31 void *priv_data) in comedi_pcmcia_conf_check() argument
72 void *priv_data)) in comedi_pcmcia_enable() argument
/linux-6.1.9/drivers/gpu/drm/rockchip/
Ddw-mipi-dsi-rockchip.c411 static int dw_mipi_dsi_phy_init(void *priv_data) in dw_mipi_dsi_phy_init() argument
413 struct dw_mipi_dsi_rockchip *dsi = priv_data; in dw_mipi_dsi_phy_init()
527 static void dw_mipi_dsi_phy_power_on(void *priv_data) in dw_mipi_dsi_phy_power_on() argument
529 struct dw_mipi_dsi_rockchip *dsi = priv_data; in dw_mipi_dsi_phy_power_on()
542 static void dw_mipi_dsi_phy_power_off(void *priv_data) in dw_mipi_dsi_phy_power_off() argument
544 struct dw_mipi_dsi_rockchip *dsi = priv_data; in dw_mipi_dsi_phy_power_off()
550 dw_mipi_dsi_get_lane_mbps(void *priv_data, const struct drm_display_mode *mode, in dw_mipi_dsi_get_lane_mbps() argument
554 struct dw_mipi_dsi_rockchip *dsi = priv_data; in dw_mipi_dsi_get_lane_mbps()
712 dw_mipi_dsi_phy_get_timing(void *priv_data, unsigned int lane_mbps, in dw_mipi_dsi_phy_get_timing() argument
1032 static int dw_mipi_dsi_rockchip_host_attach(void *priv_data, in dw_mipi_dsi_rockchip_host_attach() argument
[all …]
/linux-6.1.9/drivers/gpu/drm/bridge/synopsys/
Ddw-mipi-dsi.c340 ret = pdata->host_ops->attach(pdata->priv_data, device); in dw_mipi_dsi_host_attach()
356 ret = pdata->host_ops->detach(pdata->priv_data, device); in dw_mipi_dsi_host_detach()
609 ret = phy_ops->get_esc_clk_rate(dsi->plat_data->priv_data, in dw_mipi_dsi_init()
767 ret = phy_ops->get_timing(dsi->plat_data->priv_data, in dw_mipi_dsi_dphy_timing_config()
872 phy_ops->power_off(dsi->plat_data->priv_data); in dw_mipi_dsi_bridge_post_atomic_disable()
903 void *priv_data = dsi->plat_data->priv_data; in dw_mipi_dsi_mode_set() local
909 ret = phy_ops->get_lane_mbps(priv_data, adjusted_mode, dsi->mode_flags, in dw_mipi_dsi_mode_set()
930 ret = phy_ops->init(priv_data); in dw_mipi_dsi_mode_set()
942 phy_ops->power_on(dsi->plat_data->priv_data); in dw_mipi_dsi_mode_set()
977 mode_status = pdata->mode_valid(pdata->priv_data, mode, in dw_mipi_dsi_bridge_mode_valid()

123456