/linux/drivers/usb/dwc3/ |
H A D | dwc3-xilinx.c | 50 static void dwc3_xlnx_mask_phy_rst(struct dwc3_xlnx *priv_data, bool mask) in dwc3_xlnx_mask_phy_rst() argument 59 reg = readl(priv_data->regs + XLNX_USB_PHY_RST_EN); in dwc3_xlnx_mask_phy_rst() 66 writel(reg, priv_data->regs + XLNX_USB_PHY_RST_EN); in dwc3_xlnx_mask_phy_rst() 69 static int dwc3_xlnx_init_versal(struct dwc3_xlnx *priv_data) in dwc3_xlnx_init_versal() argument 71 struct device *dev = priv_data->dev; in dwc3_xlnx_init_versal() 79 dwc3_xlnx_mask_phy_rst(priv_data, false); in dwc3_xlnx_init_versal() 94 dwc3_xlnx_mask_phy_rst(priv_data, true); in dwc3_xlnx_init_versal() 99 static int dwc3_xlnx_init_zynqmp(struct dwc3_xlnx *priv_data) in dwc3_xlnx_init_zynqmp() argument 101 struct device *dev = priv_data->dev; in dwc3_xlnx_init_zynqmp() 107 priv_data->usb3_phy = devm_phy_optional_get(dev, "usb3-phy"); in dwc3_xlnx_init_zynqmp() [all …]
|
/linux/include/drm/bridge/ |
H A D | dw_mipi_dsi.h | 34 int (*init)(void *priv_data); 35 void (*power_on)(void *priv_data); 36 void (*power_off)(void *priv_data); 37 int (*get_lane_mbps)(void *priv_data, 41 int (*get_timing)(void *priv_data, unsigned int lane_mbps, 43 int (*get_esc_clk_rate)(void *priv_data, unsigned int *esc_clk_rate); 47 int (*attach)(void *priv_data, 49 int (*detach)(void *priv_data, 57 enum drm_mode_status (*mode_valid)(void *priv_data, 62 bool (*mode_fixup)(void *priv_data, const struct drm_display_mode *mode, [all …]
|
/linux/drivers/gpu/drm/meson/ |
H A D | meson_dw_mipi_dsi.c | 75 static int dw_mipi_dsi_phy_init(void *priv_data) in dw_mipi_dsi_phy_init() argument 77 struct meson_dw_mipi_dsi *mipi_dsi = priv_data; in dw_mipi_dsi_phy_init() 138 static void dw_mipi_dsi_phy_power_on(void *priv_data) in dw_mipi_dsi_phy_power_on() argument 140 struct meson_dw_mipi_dsi *mipi_dsi = priv_data; in dw_mipi_dsi_phy_power_on() 146 static void dw_mipi_dsi_phy_power_off(void *priv_data) in dw_mipi_dsi_phy_power_off() argument 148 struct meson_dw_mipi_dsi *mipi_dsi = priv_data; in dw_mipi_dsi_phy_power_off() 158 dw_mipi_dsi_get_lane_mbps(void *priv_data, const struct drm_display_mode *mode, in dw_mipi_dsi_get_lane_mbps() argument 162 struct meson_dw_mipi_dsi *mipi_dsi = priv_data; in dw_mipi_dsi_get_lane_mbps() 179 dw_mipi_dsi_phy_get_timing(void *priv_data, unsigned int lane_mbps, in dw_mipi_dsi_phy_get_timing() argument 182 struct meson_dw_mipi_dsi *mipi_dsi = priv_data; in dw_mipi_dsi_phy_get_timing() [all …]
|
/linux/drivers/pcmcia/ |
H A D | pcmcia_cis.c | 83 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/drivers/bus/fsl-mc/ |
H A D | fsl-mc-uapi.c | 473 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/drivers/mfd/ |
H A D | rz-mtu3.c | 68 struct rz_mtu3_priv *priv = mtu->priv_data; in rz_mtu3_shared_reg_read() 80 struct rz_mtu3_priv *priv = mtu->priv_data; in rz_mtu3_8bit_ch_read() 92 struct rz_mtu3_priv *priv = mtu->priv_data; in rz_mtu3_16bit_ch_read() 108 struct rz_mtu3_priv *priv = mtu->priv_data; in rz_mtu3_32bit_ch_read() 123 struct rz_mtu3_priv *priv = mtu->priv_data; in rz_mtu3_8bit_ch_write() 134 struct rz_mtu3_priv *priv = mtu->priv_data; in rz_mtu3_16bit_ch_write() 149 struct rz_mtu3_priv *priv = mtu->priv_data; in rz_mtu3_32bit_ch_write() 163 struct rz_mtu3_priv *priv = mtu->priv_data; in rz_mtu3_shared_reg_write() 176 struct rz_mtu3_priv *priv = mtu->priv_data; in rz_mtu3_shared_reg_update_bit() 250 struct rz_mtu3_priv *priv = mtu->priv_data; in rz_mtu3_start_stop_ch() [all …]
|
/linux/drivers/thermal/intel/int340x_thermal/ |
H A D | int340x_thermal_zone.h | 25 void *priv_data; member 35 struct int34x_thermal_zone *tzone, void *priv_data) in int340x_thermal_zone_set_priv_data() argument 37 tzone->priv_data = priv_data; in int340x_thermal_zone_set_priv_data() 43 return tzone->priv_data; in int340x_thermal_zone_get_priv_data()
|
/linux/drivers/gpu/drm/bridge/imx/ |
H A D | imx93-mipi-dsi.c | 545 imx93_dsi_mode_valid(void *priv_data, const struct drm_display_mode *mode, in imx93_dsi_mode_valid() argument 548 struct imx93_dsi *dsi = priv_data; in imx93_dsi_mode_valid() 569 static bool imx93_dsi_mode_fixup(void *priv_data, in imx93_dsi_mode_fixup() argument 573 struct imx93_dsi *dsi = priv_data; in imx93_dsi_mode_fixup() 589 static u32 *imx93_dsi_get_input_bus_fmts(void *priv_data, in imx93_dsi_get_input_bus_fmts() argument 623 static int imx93_dsi_phy_init(void *priv_data) in imx93_dsi_phy_init() argument 625 struct imx93_dsi *dsi = priv_data; in imx93_dsi_phy_init() 668 static void imx93_dsi_phy_power_off(void *priv_data) in imx93_dsi_phy_power_off() argument 670 struct imx93_dsi *dsi = priv_data; in imx93_dsi_phy_power_off() 677 imx93_dsi_get_lane_mbps(void *priv_data, const struct drm_display_mode *mode, in imx93_dsi_get_lane_mbps() argument [all …]
|
/linux/drivers/char/tpm/ |
H A D | tpm_i2c_atmel.c | 32 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() 153 struct priv_data *priv; in i2c_atmel_probe() 162 priv = devm_kzalloc(dev, sizeof(struct priv_data), GFP_KERNEL); in i2c_atmel_probe()
|
H A D | tpm_i2c_nuvoton.c | 47 struct priv_data { struct 176 struct priv_data *priv = dev_get_drvdata(&chip->dev); in i2c_nuvoton_wait_for_stat() 233 struct priv_data *priv = dev_get_drvdata(&chip->dev); in i2c_nuvoton_recv_data() 267 struct priv_data *priv = dev_get_drvdata(&chip->dev); in i2c_nuvoton_recv() 355 struct priv_data *priv = dev_get_drvdata(&chip->dev); in i2c_nuvoton_send() 484 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/drivers/gpu/drm/stm/ |
H A D | dw_mipi_dsi-stm.c | 387 static int dw_mipi_dsi_phy_init(void *priv_data) in dw_mipi_dsi_phy_init() argument 389 struct dw_mipi_dsi_stm *dsi = priv_data; in dw_mipi_dsi_phy_init() 396 static void dw_mipi_dsi_phy_power_on(void *priv_data) in dw_mipi_dsi_phy_power_on() argument 398 struct dw_mipi_dsi_stm *dsi = priv_data; in dw_mipi_dsi_phy_power_on() 406 static void dw_mipi_dsi_phy_power_off(void *priv_data) in dw_mipi_dsi_phy_power_off() argument 408 struct dw_mipi_dsi_stm *dsi = priv_data; in dw_mipi_dsi_phy_power_off() 419 dw_mipi_dsi_get_lane_mbps(void *priv_data, const struct drm_display_mode *mode, in dw_mipi_dsi_get_lane_mbps() argument 423 struct dw_mipi_dsi_stm *dsi = priv_data; in dw_mipi_dsi_get_lane_mbps() 469 dw_mipi_dsi_phy_get_timing(void *priv_data, unsigned int lane_mbps, in dw_mipi_dsi_phy_get_timing() argument 490 dw_mipi_dsi_stm_mode_valid(void *priv_data, in dw_mipi_dsi_stm_mode_valid() argument [all …]
|
/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_vf_isr.c | 205 struct adf_etr_data *priv_data = accel_dev->transport; in adf_setup_bh() local 207 tasklet_init(&priv_data->banks[0].resp_handler, adf_response_handler, in adf_setup_bh() 208 (unsigned long)priv_data->banks); in adf_setup_bh() 214 struct adf_etr_data *priv_data = accel_dev->transport; in adf_cleanup_bh() local 216 tasklet_disable(&priv_data->banks[0].resp_handler); in adf_cleanup_bh() 217 tasklet_kill(&priv_data->banks[0].resp_handler); in adf_cleanup_bh()
|
H A D | adf_isr.c | 298 struct adf_etr_data *priv_data = accel_dev->transport; in adf_setup_bh() local 303 tasklet_init(&priv_data->banks[i].resp_handler, in adf_setup_bh() 305 (unsigned long)&priv_data->banks[i]); in adf_setup_bh() 311 struct adf_etr_data *priv_data = accel_dev->transport; in adf_cleanup_bh() local 316 tasklet_disable(&priv_data->banks[i].resp_handler); in adf_cleanup_bh() 317 tasklet_kill(&priv_data->banks[i].resp_handler); in adf_cleanup_bh()
|
/linux/drivers/edac/ |
H A D | npcm_edac.c | 92 struct priv_data { struct 106 struct priv_data *priv = mci->pvt_info; in handle_ce() argument 139 struct priv_data *priv = mci->pvt_info; in handle_ue() 176 pdata = ((struct priv_data *)mci->pvt_info)->pdata; in edac_ecc_isr() 203 struct priv_data *priv = mci->pvt_info; in force_ecc_error() 290 struct priv_data *priv = mci->pvt_info; in setup_debugfs() 308 pdata = ((struct priv_data *)mci->pvt_info)->pdata; in setup_irq() 345 struct priv_data *priv; in edac_probe() 375 sizeof(struct priv_data)); in edac_probe() 416 struct priv_data *priv = mci->pvt_info; in edac_remove()
|
/linux/kernel/bpf/ |
H A D | bpf_iter.c | 577 static void init_seq_meta(struct bpf_iter_priv_data *priv_data, in init_seq_meta() argument 582 priv_data->tinfo = tinfo; in init_seq_meta() 583 priv_data->seq_info = seq_info; in init_seq_meta() 584 priv_data->prog = prog; in init_seq_meta() 585 priv_data->session_id = atomic64_inc_return(&session_id); in init_seq_meta() 586 priv_data->seq_num = 0; in init_seq_meta() 587 priv_data->done_stop = false; in init_seq_meta() 593 struct bpf_iter_priv_data *priv_data; in prepare_seq_file() local 608 priv_data = __seq_open_private(file, seq_info->seq_ops, in prepare_seq_file() 610 if (!priv_data) { in prepare_seq_file() [all …]
|
/linux/include/pcmcia/ |
H A D | ds.h | 176 void *priv_data), 177 void *priv_data); 190 void *priv_data), 191 void *priv_data);
|
/linux/sound/soc/mediatek/mt8192/ |
H A D | mt8192-afe-control.c | 144 int priv_size, const void *priv_data) in mt8192_dai_set_priv() argument 155 if (priv_data) in mt8192_dai_set_priv() 156 memcpy(temp_data, priv_data, priv_size); in mt8192_dai_set_priv()
|
/linux/sound/soc/mediatek/mt8186/ |
H A D | mt8186-afe-control.c | 237 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 248 if (priv_data) in mt8186_dai_set_priv() 249 memcpy(temp_data, priv_data, priv_size); in mt8186_dai_set_priv()
|
/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2800mmio.c | 71 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()
|
H A D | rt2x00mmio.c | 59 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()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
H A D | ct_fs.h | 12 void *priv_data[]; member 36 return &fs->priv_data; in mlx5_ct_fs_priv()
|
/linux/drivers/tty/serial/8250/ |
H A D | serial_cs.c | 400 static int simple_config_check(struct pcmcia_device *p_dev, void *priv_data) in simple_config_check() argument 403 int *try = priv_data; in simple_config_check() 422 void *priv_data) in simple_config_check_notpicky() argument 484 static int multi_config_check(struct pcmcia_device *p_dev, void *priv_data) in multi_config_check() argument 486 int *multi = priv_data; in multi_config_check() 508 void *priv_data) in multi_config_check_notpicky() argument 510 int *base2 = priv_data; in multi_config_check_notpicky() 592 static int serial_check_for_multi(struct pcmcia_device *p_dev, void *priv_data) in serial_check_for_multi() argument
|
/linux/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-mipi-dsi.c | 345 ret = pdata->host_ops->attach(pdata->priv_data, device); in dw_mipi_dsi_host_attach() 361 ret = pdata->host_ops->detach(pdata->priv_data, device); in dw_mipi_dsi_host_detach() 557 return pdata->get_input_bus_fmts(pdata->priv_data, in dw_mipi_dsi_bridge_atomic_get_input_bus_fmts() 585 ret = pdata->mode_fixup(pdata->priv_data, &crtc_state->mode, in dw_mipi_dsi_bridge_atomic_check() 667 ret = phy_ops->get_esc_clk_rate(dsi->plat_data->priv_data, in dw_mipi_dsi_init() 855 ret = phy_ops->get_timing(dsi->plat_data->priv_data, in dw_mipi_dsi_dphy_timing_config() 951 phy_ops->power_off(dsi->plat_data->priv_data); in dw_mipi_dsi_bridge_post_atomic_disable() 982 void *priv_data = dsi->plat_data->priv_data; in dw_mipi_dsi_mode_set() local 988 ret = phy_ops->get_lane_mbps(priv_data, adjusted_mode, dsi->mode_flags, in dw_mipi_dsi_mode_set() 1009 ret = phy_ops->init(priv_data); in dw_mipi_dsi_mode_set() [all …]
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | chain_mode.c | 21 struct stmmac_priv *priv = tx_q->priv_data; in jumbo_frm() 130 struct stmmac_priv *priv = rx_q->priv_data; in refill_desc3() 145 struct stmmac_priv *priv = tx_q->priv_data; in clean_desc3()
|
H A D | ring_mode.c | 21 struct stmmac_priv *priv = tx_q->priv_data; in jumbo_frm() 106 struct stmmac_priv *priv = rx_q->priv_data; in refill_desc3() 121 struct stmmac_priv *priv = tx_q->priv_data; in clean_desc3()
|