Searched refs:priv (Results 651 - 675 of 4436) sorted by relevance

<<21222324252627282930>>

/linux-master/drivers/gpu/drm/msm/
H A Dmsm_kms.c36 struct msm_drm_private *priv = dev->dev_private; local
37 struct msm_kms *kms = priv->kms;
46 struct msm_drm_private *priv = dev->dev_private; local
47 struct msm_kms *kms = priv->kms;
56 struct msm_drm_private *priv = dev->dev_private; local
57 struct msm_kms *kms = priv->kms;
69 struct msm_drm_private *priv = dev->dev_private; local
70 struct msm_kms *kms = priv->kms;
95 struct msm_drm_private *priv = dev->dev_private; local
96 struct msm_kms *kms = priv
107 struct msm_drm_private *priv; member in struct:msm_vblank_work
114 struct msm_drm_private *priv = vbl_work->priv; local
125 vblank_ctrl_queue_work(struct msm_drm_private *priv, struct drm_crtc *crtc, bool enable) argument
148 struct msm_drm_private *priv = dev->dev_private; local
159 struct msm_drm_private *priv = dev->dev_private; local
206 struct msm_drm_private *priv = platform_get_drvdata(pdev); local
233 struct msm_drm_private *priv = dev_get_drvdata(dev); local
311 struct msm_drm_private *priv = dev_get_drvdata(dev); local
322 struct msm_drm_private *priv = dev_get_drvdata(dev); local
333 struct msm_drm_private *priv = platform_get_drvdata(pdev); local
[all...]
/linux-master/drivers/clocksource/
H A Dtimer-stm32-lp.c38 struct stm32_lp_private *priv = to_priv(clkevt); local
40 regmap_write(priv->reg, STM32_LPTIM_CR, 0);
41 regmap_write(priv->reg, STM32_LPTIM_IER, 0);
43 regmap_write(priv->reg, STM32_LPTIM_ICR, STM32_LPTIM_ARRMCF);
52 struct stm32_lp_private *priv = to_priv(clkevt); local
55 regmap_write(priv->reg, STM32_LPTIM_CR, 0);
57 regmap_write(priv->reg, STM32_LPTIM_IER, STM32_LPTIM_ARRMIE);
59 regmap_write(priv->reg, STM32_LPTIM_CR, STM32_LPTIM_ENABLE);
61 regmap_write(priv->reg, STM32_LPTIM_ARR, evt);
65 regmap_write(priv
83 struct stm32_lp_private *priv = to_priv(clkevt); local
90 struct stm32_lp_private *priv = to_priv(clkevt); local
98 struct stm32_lp_private *priv = to_priv(clkevt); local
108 stm32_clkevent_lp_set_prescaler(struct stm32_lp_private *priv, unsigned long *rate) argument
125 stm32_clkevent_lp_init(struct stm32_lp_private *priv, struct device_node *np, unsigned long rate) argument
145 struct stm32_lp_private *priv; local
[all...]
/linux-master/drivers/spi/
H A Dspi-uniphier.c108 static inline void uniphier_spi_irq_enable(struct uniphier_spi_priv *priv, argument
113 val = readl(priv->base + SSI_IE);
115 writel(val, priv->base + SSI_IE);
118 static inline void uniphier_spi_irq_disable(struct uniphier_spi_priv *priv, argument
123 val = readl(priv->base + SSI_IE);
125 writel(val, priv->base + SSI_IE);
130 struct uniphier_spi_priv *priv = spi_controller_get_devdata(spi->controller); local
171 writel(val1, priv->base + SSI_CKS);
172 writel(val2, priv->base + SSI_FPS);
177 writel(val1, priv
183 struct uniphier_spi_priv *priv = spi_controller_get_devdata(spi->controller); local
201 struct uniphier_spi_priv *priv = spi_controller_get_devdata(spi->controller); local
220 struct uniphier_spi_priv *priv = spi_controller_get_devdata(spi->controller); local
251 uniphier_spi_send(struct uniphier_spi_priv *priv) argument
278 uniphier_spi_recv(struct uniphier_spi_priv *priv) argument
305 uniphier_spi_set_fifo_threshold(struct uniphier_spi_priv *priv, unsigned int threshold) argument
317 uniphier_spi_fill_tx_fifo(struct uniphier_spi_priv *priv) argument
336 struct uniphier_spi_priv *priv = spi_controller_get_devdata(spi->controller); local
353 struct uniphier_spi_priv *priv = spi_controller_get_devdata(host); local
367 struct uniphier_spi_priv *priv = spi_controller_get_devdata(host); local
379 struct uniphier_spi_priv *priv = spi_controller_get_devdata(host); local
392 struct uniphier_spi_priv *priv = spi_controller_get_devdata(host); local
475 struct uniphier_spi_priv *priv = spi_controller_get_devdata(host); local
502 struct uniphier_spi_priv *priv = spi_controller_get_devdata(host); local
530 struct uniphier_spi_priv *priv = spi_controller_get_devdata(host); local
558 struct uniphier_spi_priv *priv = spi_controller_get_devdata(host); local
567 struct uniphier_spi_priv *priv = spi_controller_get_devdata(host); local
577 struct uniphier_spi_priv *priv = spi_controller_get_devdata(host); local
602 struct uniphier_spi_priv *priv = dev_id; local
643 struct uniphier_spi_priv *priv; local
781 struct uniphier_spi_priv *priv = spi_controller_get_devdata(host); local
[all...]
/linux-master/drivers/watchdog/
H A Dbd9576_wdt.c35 static void bd9576_wdt_disable(struct bd9576_wdt_priv *priv) argument
37 gpiod_set_value_cansleep(priv->gpiod_en, 0);
42 struct bd9576_wdt_priv *priv = watchdog_get_drvdata(wdd); local
45 gpiod_set_value_cansleep(priv->gpiod_ping, 1);
46 gpiod_set_value_cansleep(priv->gpiod_ping, 0);
53 struct bd9576_wdt_priv *priv = watchdog_get_drvdata(wdd); local
55 gpiod_set_value_cansleep(priv->gpiod_en, 1);
62 struct bd9576_wdt_priv *priv = watchdog_get_drvdata(wdd); local
64 bd9576_wdt_disable(priv);
152 static int bd957x_set_wdt_mode(struct bd9576_wdt_priv *priv, in argument
201 struct bd9576_wdt_priv *priv; local
[all...]
/linux-master/drivers/gpu/drm/meson/
H A Dmeson_venc.c950 void meson_venc_hdmi_mode_set(struct meson_drm *priv, int vic, argument
995 dev_err(priv->dev, "%s: Fatal Error, unsupported mode "
1046 priv->io_base + _REG(VENC_VDAC_SETTING));
1048 writel_relaxed(0, priv->io_base + _REG(ENCI_VIDEO_EN));
1049 writel_relaxed(0, priv->io_base + _REG(ENCP_VIDEO_EN));
1057 priv->io_base + _REG(ENCI_CFILT_CTRL));
1060 priv->io_base + _REG(ENCI_CFILT_CTRL2));
1063 writel_relaxed(0, priv->io_base + _REG(VENC_DVI_SETTING));
1066 writel_relaxed(0, priv->io_base + _REG(ENCI_VIDEO_MODE));
1067 writel_relaxed(0, priv
1581 meson_encl_set_gamma_table(struct meson_drm *priv, u16 *data, u32 rgb_mask) argument
1619 meson_encl_load_gamma(struct meson_drm *priv) argument
1629 meson_venc_mipi_dsi_mode_set(struct meson_drm *priv, const struct drm_display_mode *mode) argument
1761 meson_venci_cvbs_mode_set(struct meson_drm *priv, struct meson_cvbs_enci_mode *mode) argument
1944 meson_venci_get_field(struct meson_drm *priv) argument
1949 meson_venc_enable_vsync(struct meson_drm *priv) argument
1963 meson_venc_disable_vsync(struct meson_drm *priv) argument
1969 meson_venc_init(struct meson_drm *priv) argument
[all...]
/linux-master/drivers/phy/rockchip/
H A Dphy-rockchip-inno-csidphy.c142 static inline void write_grf_reg(struct rockchip_inno_csidphy *priv, argument
145 const struct dphy_drv_data *drv_data = priv->drv_data;
149 regmap_write(priv->grf, reg->offset,
176 static void rockchip_inno_csidphy_ths_settle(struct rockchip_inno_csidphy *priv, argument
179 const struct dphy_drv_data *drv_data = priv->drv_data;
182 val = readl(priv->phy_base + drv_data->ths_settle_offset + offset);
185 writel(val, priv->phy_base + drv_data->ths_settle_offset + offset);
191 struct rockchip_inno_csidphy *priv = phy_get_drvdata(phy); local
192 const struct dphy_drv_data *drv_data = priv->drv_data;
206 dev_dbg(priv
224 struct rockchip_inno_csidphy *priv = phy_get_drvdata(phy); local
293 struct rockchip_inno_csidphy *priv = phy_get_drvdata(phy); local
316 struct rockchip_inno_csidphy *priv = phy_get_drvdata(phy); local
323 struct rockchip_inno_csidphy *priv = phy_get_drvdata(phy); local
402 struct rockchip_inno_csidphy *priv; local
464 struct rockchip_inno_csidphy *priv = platform_get_drvdata(pdev); local
[all...]
/linux-master/drivers/leds/flash/
H A Dleds-rt4505.c55 struct rt4505_priv *priv = local
60 mutex_lock(&priv->lock);
63 ret = regmap_update_bits(priv->regmap,
72 ret = regmap_update_bits(priv->regmap, RT4505_REG_ENABLE,
76 mutex_unlock(&priv->lock);
83 struct rt4505_priv *priv = local
88 mutex_lock(&priv->lock);
90 ret = regmap_read(priv->regmap, RT4505_REG_ENABLE, &val);
102 ret = regmap_read(priv->regmap, RT4505_REG_ILED, &val);
112 mutex_unlock(&priv
119 struct rt4505_priv *priv = local
136 struct rt4505_priv *priv = local
152 struct rt4505_priv *priv = local
173 struct rt4505_priv *priv = local
189 struct rt4505_priv *priv = local
244 struct rt4505_priv *priv = local
261 rt4505_init_v4l2_config(struct rt4505_priv *priv, struct v4l2_flash_config *config) argument
284 rt4505_init_v4l2_config(struct rt4505_priv *priv, struct v4l2_flash_config *config) argument
290 rt4505_init_flash_properties(struct rt4505_priv *priv, struct fwnode_handle *child) argument
343 struct rt4505_priv *priv; local
398 struct rt4505_priv *priv = i2c_get_clientdata(client); local
405 struct rt4505_priv *priv = i2c_get_clientdata(client); local
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rep.c74 struct mlx5e_priv *priv = netdev_priv(dev); local
75 struct mlx5_core_dev *mdev = priv->mdev;
149 data, MLX5E_READ_CTR64_CPU(&priv->stats.sw,
155 struct mlx5e_sw_stats *s = &priv->stats.sw;
159 mlx5e_fold_sw_stats64(priv, &stats64);
171 NUM_VPORT_REP_LOOPBACK_COUNTERS(priv->mdev);
180 for (i = 0; i < NUM_VPORT_REP_LOOPBACK_COUNTERS(priv->mdev); i++)
190 data, MLX5E_READ_CTR64_CPU(&priv->stats.rep_stats,
192 for (i = 0; i < NUM_VPORT_REP_LOOPBACK_COUNTERS(priv->mdev); i++)
195 MLX5E_READ_CTR64_CPU(&priv
290 mlx5e_rep_update_vport_q_counter(struct mlx5e_priv *priv) argument
315 struct mlx5e_priv *priv = netdev_priv(dev); local
327 struct mlx5e_priv *priv = netdev_priv(dev); local
334 struct mlx5e_priv *priv = netdev_priv(dev); local
350 struct mlx5e_priv *priv = netdev_priv(dev); local
361 struct mlx5e_priv *priv = netdev_priv(dev); local
369 struct mlx5e_priv *priv = netdev_priv(dev); local
377 struct mlx5e_priv *priv = netdev_priv(dev); local
387 struct mlx5e_priv *priv = netdev_priv(netdev); local
397 struct mlx5e_priv *priv = netdev_priv(netdev); local
404 struct mlx5e_priv *priv = netdev_priv(netdev); local
411 struct mlx5e_priv *priv = netdev_priv(netdev); local
568 mlx5e_add_sqs_fwd_rules(struct mlx5e_priv *priv) argument
623 mlx5e_remove_sqs_fwd_rules(struct mlx5e_priv *priv) argument
633 mlx5e_rep_add_meta_tunnel_rule(struct mlx5e_priv *priv) argument
655 mlx5e_rep_del_meta_tunnel_rule(struct mlx5e_priv *priv) argument
663 mlx5e_rep_activate_channels(struct mlx5e_priv *priv) argument
669 mlx5e_rep_deactivate_channels(struct mlx5e_priv *priv) argument
677 struct mlx5e_priv *priv = netdev_priv(dev); local
700 struct mlx5e_priv *priv = netdev_priv(dev); local
715 mlx5e_is_uplink_rep(struct mlx5e_priv *priv) argument
744 struct mlx5e_priv *priv = netdev_priv(dev); local
764 struct mlx5e_priv *priv = netdev_priv(dev); local
778 struct mlx5e_priv *priv = netdev_priv(dev); local
837 struct mlx5e_priv *priv = netdev_priv(netdev); local
907 struct mlx5e_priv *priv = netdev_priv(netdev); local
927 struct mlx5e_priv *priv = netdev_priv(netdev); local
947 mlx5e_cleanup_rep(struct mlx5e_priv *priv) argument
954 mlx5e_create_rep_ttc_table(struct mlx5e_priv *priv) argument
982 mlx5e_create_rep_root_ft(struct mlx5e_priv *priv) argument
1018 mlx5e_destroy_rep_root_ft(struct mlx5e_priv *priv) argument
1028 mlx5e_create_rep_vport_rx_rule(struct mlx5e_priv *priv) argument
1046 rep_vport_rx_rule_destroy(struct mlx5e_priv *priv) argument
1057 mlx5e_rep_bond_update(struct mlx5e_priv *priv, bool cleanup) argument
1064 mlx5e_init_rep_rx(struct mlx5e_priv *priv) argument
1117 mlx5e_cleanup_rep_rx(struct mlx5e_priv *priv) argument
1136 struct mlx5e_priv *priv = netdev_priv(rpriv->netdev); local
1142 mlx5e_init_ul_rep_rx(struct mlx5e_priv *priv) argument
1160 mlx5e_cleanup_ul_rep_rx(struct mlx5e_priv *priv) argument
1174 struct mlx5e_priv *priv; local
1210 mlx5e_init_rep_tx(struct mlx5e_priv *priv) argument
1240 mlx5e_cleanup_rep_tx(struct mlx5e_priv *priv) argument
1252 mlx5e_rep_enable(struct mlx5e_priv *priv) argument
1257 mlx5e_rep_disable(struct mlx5e_priv *priv) argument
1261 mlx5e_update_rep_rx(struct mlx5e_priv *priv) argument
1266 mlx5e_rep_stats_update_ndo_stats(struct mlx5e_priv *priv) argument
1272 mlx5e_rep_event_mpesw(struct mlx5e_priv *priv) argument
1287 struct mlx5e_priv *priv = container_of(nb, struct mlx5e_priv, events_nb); local
1312 mlx5e_uplink_rep_enable(struct mlx5e_priv *priv) argument
1347 mlx5e_uplink_rep_disable(struct mlx5e_priv *priv) argument
1376 mlx5e_rep_stats_grps_num(struct mlx5e_priv *priv) argument
1404 mlx5e_ul_rep_stats_grps_num(struct mlx5e_priv *priv) argument
1427 mlx5e_rep_vnic_reporter_create(struct mlx5e_priv *priv, struct devlink_port *dl_port) argument
1446 mlx5e_rep_vnic_reporter_destroy(struct mlx5e_priv *priv) argument
1494 struct mlx5e_priv *priv = netdev_priv(mlx5_uplink_netdev_get(dev)); local
1506 struct mlx5e_priv *priv; local
1520 struct mlx5e_priv *priv; local
1611 struct mlx5e_priv *priv = netdev_priv(netdev); local
[all...]
/linux-master/drivers/uio/
H A Duio_fsl_elbc_gpcm.c85 struct fsl_elbc_gpcm *priv = info->priv; local
86 struct fsl_lbc_bank *bank = &priv->lbc->bank[priv->bank];
104 struct fsl_elbc_gpcm *priv = info->priv; local
105 struct fsl_lbc_bank *bank = &priv->lbc->bank[priv->bank];
180 struct fsl_elbc_gpcm *priv = info->priv; local
205 setup_periph(struct fsl_elbc_gpcm *priv, const char *type) argument
219 check_of_data(struct fsl_elbc_gpcm *priv, struct resource *res, u32 reg_br, u32 reg_or) argument
250 get_of_data(struct fsl_elbc_gpcm *priv, struct device_node *node, struct resource *res, u32 *reg_br, u32 *reg_or, unsigned int *irq, char **name) argument
312 struct fsl_elbc_gpcm *priv; local
433 struct fsl_elbc_gpcm *priv = info->priv; local
[all...]
/linux-master/drivers/net/wireless/realtek/rtl8xxxu/
H A D8710b.c463 static u32 rtl8710b_indirect_read32(struct rtl8xxxu_priv *priv, u32 addr) argument
465 struct device *dev = &priv->udev->dev;
475 mutex_lock(&priv->syson_indirect_access_mutex);
477 rtl8xxxu_write32(priv, REG_USB_HOST_INDIRECT_ADDR_8710B, addr);
478 rtl8xxxu_write32(priv, REG_EFUSE_INDIRECT_CTRL_8710B, NORMAL_REG_READ_OFFSET);
481 val32 = rtl8xxxu_read32(priv, REG_EFUSE_INDIRECT_CTRL_8710B);
488 value = rtl8xxxu_read32(priv, REG_USB_HOST_INDIRECT_DATA_8710B);
490 mutex_unlock(&priv->syson_indirect_access_mutex);
498 static void rtl8710b_indirect_write32(struct rtl8xxxu_priv *priv, u32 addr, u32 val) argument
500 struct device *dev = &priv
530 rtl8710b_read_syson_reg(struct rtl8xxxu_priv *priv, u32 addr) argument
535 rtl8710b_write_syson_reg(struct rtl8xxxu_priv *priv, u32 addr, u32 val) argument
540 rtl8710b_read_efuse8(struct rtl8xxxu_priv *priv, u16 offset, u8 *data) argument
571 rtl8710bu_identify_chip(struct rtl8xxxu_priv *priv) argument
653 rtl8710b_revise_cck_tx_psf(struct rtl8xxxu_priv *priv, u8 channel) argument
680 struct rtl8xxxu_priv *priv = hw->priv; local
804 rtl8710bu_init_aggregation(struct rtl8xxxu_priv *priv) argument
821 rtl8710bu_init_statistics(struct rtl8xxxu_priv *priv) argument
848 rtl8710b_read_efuse(struct rtl8xxxu_priv *priv) argument
923 rtl8710bu_parse_efuse(struct rtl8xxxu_priv *priv) argument
947 rtl8710bu_load_firmware(struct rtl8xxxu_priv *priv) argument
959 rtl8710bu_init_phy_bb(struct rtl8xxxu_priv *priv) argument
979 rtl8710bu_init_phy_rf(struct rtl8xxxu_priv *priv) argument
991 rtl8710bu_iqk_path_a(struct rtl8xxxu_priv *priv, u32 *lok_result) argument
1075 rtl8710bu_rx_iqk_path_a(struct rtl8xxxu_priv *priv, u32 lok_result) argument
1254 rtl8710bu_phy_iqcalibrate(struct rtl8xxxu_priv *priv, int result[][8], int t) argument
1406 rtl8710bu_phy_iq_calibrate(struct rtl8xxxu_priv *priv) argument
1481 rtl8710b_emu_to_active(struct rtl8xxxu_priv *priv) argument
1515 rtl8710bu_active_to_emu(struct rtl8xxxu_priv *priv) argument
1551 rtl8710bu_active_to_lps(struct rtl8xxxu_priv *priv) argument
1609 rtl8710bu_power_on(struct rtl8xxxu_priv *priv) argument
1675 rtl8710bu_power_off(struct rtl8xxxu_priv *priv) argument
1706 rtl8710b_reset_8051(struct rtl8xxxu_priv *priv) argument
1721 rtl8710b_enable_rf(struct rtl8xxxu_priv *priv) argument
1735 rtl8710b_disable_rf(struct rtl8xxxu_priv *priv) argument
1747 rtl8710b_usb_quirks(struct rtl8xxxu_priv *priv) argument
1761 rtl8710b_set_crystal_cap(struct rtl8xxxu_priv *priv, u8 crystal_cap) argument
1786 rtl8710b_cck_rssi(struct rtl8xxxu_priv *priv, struct rtl8723au_phy_stats *phy_stats) argument
[all...]
/linux-master/drivers/hwmon/peci/
H A Dcputemp.c87 static int update_temp_target(struct peci_cputemp *priv) argument
93 if (!peci_sensor_need_update(&priv->temp.target.state))
96 ret = peci_pcs_read(priv->peci_dev, PECI_PCS_TEMP_TARGET, 0, &pcs);
100 priv->temp.target.tjmax =
105 priv->temp.target.tcontrol = priv->temp.target.tjmax - tcontrol_margin;
108 priv->temp.target.tthrottle = priv->temp.target.tjmax - tthrottle_offset;
110 peci_sensor_mark_updated(&priv->temp.target.state);
115 static int get_temp_target(struct peci_cputemp *priv, enu argument
178 get_die_temp(struct peci_cputemp *priv, long *val) argument
212 get_dts(struct peci_cputemp *priv, long *val) argument
250 get_core_temp(struct peci_cputemp *priv, int core_index, long *val) argument
291 struct peci_cputemp *priv = dev_get_drvdata(dev); local
305 struct peci_cputemp *priv = dev_get_drvdata(dev); local
340 const struct peci_cputemp *priv = data; local
354 init_core_mask(struct peci_cputemp *priv) argument
401 create_temp_label(struct peci_cputemp *priv) argument
419 check_resolved_cores(struct peci_cputemp *priv) argument
433 sensor_init(struct peci_cputemp *priv) argument
481 struct peci_cputemp *priv; local
[all...]
/linux-master/drivers/gpu/drm/omapdrm/
H A Domap_drv.c71 struct omap_drm_private *priv = dev->dev_private; local
73 dispc_runtime_get(priv->dispc);
78 if (priv->omaprev != 0x3430) {
117 dispc_runtime_put(priv->dispc);
234 omap_get_existing_global_state(struct omap_drm_private *priv) argument
236 return to_omap_global_state(priv->glob_obj.state);
246 struct omap_drm_private *priv = s->dev->dev_private; local
249 priv_state = drm_atomic_get_private_obj_state(s, &priv->glob_obj);
285 struct omap_drm_private *priv = dev->dev_private; local
292 drm_atomic_private_obj_init(dev, &priv
297 omap_global_obj_fini(struct omap_drm_private *priv) argument
304 struct omap_drm_private *priv = ddev->dev_private; local
323 struct omap_drm_private *priv = ddev->dev_private; local
366 struct omap_drm_private *priv = dev->dev_private; local
395 struct omap_drm_private *priv = dev->dev_private; local
555 struct omap_drm_private *priv = dev->dev_private; local
669 omapdrm_init(struct omap_drm_private *priv, struct device *dev) argument
761 omapdrm_cleanup(struct omap_drm_private *priv) argument
788 struct omap_drm_private *priv; local
813 struct omap_drm_private *priv = platform_get_drvdata(pdev); local
821 struct omap_drm_private *priv = platform_get_drvdata(pdev); local
829 struct omap_drm_private *priv = dev_get_drvdata(dev); local
837 struct omap_drm_private *priv = dev_get_drvdata(dev); local
[all...]
/linux-master/drivers/leds/blink/
H A Dleds-lgm-sso.c120 struct sso_led_priv *priv; member in struct:sso_led
144 static int sso_get_blink_rate_idx(struct sso_led_priv *priv, u32 rate) argument
149 if (rate <= priv->freq[i])
192 static void sso_led_freq_set(struct sso_led_priv *priv, u32 pin, int freq_idx) argument
222 regmap_update_bits(priv->mmap, reg, GENMASK(high, low), val);
229 regmap_update_bits(priv->mmap, reg, GENMASK(high, low), val);
235 struct sso_led_priv *priv; local
241 priv = led->priv;
245 regmap_write(priv
277 struct sso_led_priv *priv = led->priv; local
307 struct sso_led_priv *priv; local
325 sso_led_hw_cfg(struct sso_led_priv *priv, struct sso_led *led) argument
348 sso_create_led(struct sso_led_priv *priv, struct sso_led *led, struct fwnode_handle *child) argument
386 sso_init_freq(struct sso_led_priv *priv) argument
405 struct sso_led_priv *priv = gpiochip_get_data(chip); local
418 struct sso_led_priv *priv = gpiochip_get_data(chip); local
432 struct sso_led_priv *priv = gpiochip_get_data(chip); local
445 struct sso_led_priv *priv = gpiochip_get_data(chip); local
455 struct sso_led_priv *priv = gpiochip_get_data(chip); local
463 sso_gpio_gc_init(struct device *dev, struct sso_led_priv *priv) argument
496 sso_register_shift_clk(struct sso_led_priv *priv) argument
516 sso_gpio_freq_set(struct sso_led_priv *priv) argument
550 sso_gpio_hw_init(struct sso_led_priv *priv) argument
604 struct sso_led_priv *priv = led->priv; local
617 __sso_led_dt_parse(struct sso_led_priv *priv, struct fwnode_handle *fw_ssoled) argument
717 sso_led_dt_parse(struct sso_led_priv *priv) argument
740 sso_probe_gpios(struct sso_led_priv *priv) argument
767 struct sso_led_priv *priv = data; local
775 struct sso_led_priv *priv; local
842 struct sso_led_priv *priv; local
[all...]
/linux-master/drivers/video/backlight/
H A Dmt6370-backlight.c75 struct mt6370_priv *priv = bl_get_data(bl_dev); local
82 brightness_val[0] = (brightness - 1) & priv->dim2_mask;
83 brightness_val[1] = (brightness - 1) >> priv->dim2_shift;
85 ret = regmap_raw_write(priv->regmap, MT6370_REG_BL_DIM2,
91 gpiod_set_value(priv->enable_gpio, !!brightness);
94 return regmap_update_bits(priv->regmap, MT6370_REG_BL_EN,
100 struct mt6370_priv *priv = bl_get_data(bl_dev); local
105 ret = regmap_read(priv->regmap, MT6370_REG_BL_EN, &enable);
112 ret = regmap_raw_read(priv->regmap, MT6370_REG_BL_DIM2,
117 brightness = brightness_val[1] << priv
129 mt6370_init_backlight_properties(struct mt6370_priv *priv, struct backlight_properties *props) argument
239 mt6370_check_vendor_info(struct mt6370_priv *priv) argument
281 struct mt6370_priv *priv; local
323 struct mt6370_priv *priv = platform_get_drvdata(pdev); local
[all...]
/linux-master/drivers/counter/
H A Di8254.c60 struct i8254 *const priv = counter_priv(counter); local
64 mutex_lock(&priv->lock);
66 ret = regmap_write(priv->map, I8254_CONTROL_REG, I8254_COUNTER_LATCH(count->id));
68 mutex_unlock(&priv->lock);
71 ret = regmap_noinc_read(priv->map, I8254_COUNTER_REG(count->id), value, sizeof(value));
73 mutex_unlock(&priv->lock);
77 mutex_unlock(&priv->lock);
101 struct i8254 *const priv = counter_priv(counter); local
108 switch (priv->out_mode[count->id]) {
128 struct i8254 *const priv local
160 const struct i8254 *const priv = counter_priv(counter); local
191 struct i8254 *const priv = counter_priv(counter); local
235 struct i8254 *const priv = counter_priv(counter); local
261 const struct i8254 *const priv = counter_priv(counter); local
271 struct i8254 *const priv = counter_priv(counter); local
407 struct i8254 *priv; local
[all...]
/linux-master/drivers/peci/controller/
H A Dpeci-aspeed.c142 static void aspeed_peci_controller_enable(struct aspeed_peci *priv) argument
144 u32 val = readl(priv->base + ASPEED_PECI_CTRL);
149 writel(val, priv->base + ASPEED_PECI_CTRL);
152 static void aspeed_peci_init_regs(struct aspeed_peci *priv) argument
157 writel(ASPEED_PECI_INT_MASK, priv->base + ASPEED_PECI_INT_STS);
162 writel(val, priv->base + ASPEED_PECI_INT_CTRL);
165 writel(val, priv->base + ASPEED_PECI_CTRL);
168 static int aspeed_peci_check_idle(struct aspeed_peci *priv) argument
170 u32 cmd_sts = readl(priv->base + ASPEED_PECI_CMD);
180 ret = reset_control_assert(priv
213 struct aspeed_peci *priv = dev_get_drvdata(controller->dev.parent); local
291 struct aspeed_peci *priv = arg; local
409 devm_aspeed_peci_register_clk_div(struct device *dev, struct clk *parent, struct aspeed_peci *priv) argument
461 aspeed_peci_property_setup(struct aspeed_peci *priv) argument
510 struct aspeed_peci *priv; local
[all...]
/linux-master/drivers/net/can/sja1000/
H A Dems_pci.c133 static u8 ems_pci_v1_read_reg(const struct sja1000_priv *priv, int port) argument
135 return readb(priv->reg_base + (port * 4));
138 static void ems_pci_v1_write_reg(const struct sja1000_priv *priv, argument
141 writeb(val, priv->reg_base + (port * 4));
144 static void ems_pci_v1_post_irq(const struct sja1000_priv *priv) argument
146 struct ems_pci_card *card = priv->priv;
153 static u8 ems_pci_v2_read_reg(const struct sja1000_priv *priv, int port) argument
155 return readb(priv->reg_base + port);
158 static void ems_pci_v2_write_reg(const struct sja1000_priv *priv, argument
164 ems_pci_v2_post_irq(const struct sja1000_priv *priv) argument
171 ems_pci_v3_read_reg(const struct sja1000_priv *priv, int port) argument
176 ems_pci_v3_write_reg(const struct sja1000_priv *priv, int port, u8 val) argument
182 ems_pci_v3_post_irq(const struct sja1000_priv *priv) argument
192 ems_pci_check_chan(const struct sja1000_priv *priv) argument
250 struct sja1000_priv *priv; local
[all...]
/linux-master/drivers/phy/amlogic/
H A Dphy-meson8b-usb2.c142 struct phy_meson8b_usb2_priv *priv = phy_get_drvdata(phy); local
146 if (!IS_ERR_OR_NULL(priv->reset)) {
147 ret = reset_control_reset(priv->reset);
154 ret = clk_prepare_enable(priv->clk_usb_general);
157 reset_control_rearm(priv->reset);
161 ret = clk_prepare_enable(priv->clk_usb);
164 clk_disable_unprepare(priv->clk_usb_general);
165 reset_control_rearm(priv->reset);
169 regmap_update_bits(priv->regmap, REG_CONFIG, REG_CONFIG_CLK_32k_ALTSEL,
172 regmap_update_bits(priv
215 struct phy_meson8b_usb2_priv *priv = phy_get_drvdata(phy); local
241 struct phy_meson8b_usb2_priv *priv; local
[all...]
/linux-master/drivers/net/usb/
H A Dax88172a.c33 struct ax88172a_private *priv = dev->driver_priv; local
46 if (mode != priv->oldmode) {
48 priv->oldmode = mode;
63 struct ax88172a_private *priv = dev->driver_priv; local
66 priv->mdio = mdiobus_alloc();
67 if (!priv->mdio) {
72 priv->mdio->priv = (void *)dev;
73 priv->mdio->read = &asix_mdio_bus_read;
74 priv
96 struct ax88172a_private *priv = dev->driver_priv; local
162 struct ax88172a_private *priv; local
239 struct ax88172a_private *priv = dev->driver_priv; local
255 struct ax88172a_private *priv = dev->driver_priv; local
264 struct ax88172a_private *priv = dev->driver_priv; local
[all...]
/linux-master/drivers/iio/adc/
H A Dfsl-imx25-gcq.c84 struct mx25_gcq_priv *priv = data; local
87 regmap_read(priv->regs, MX25_ADCQ_SR, &stats);
90 regmap_update_bits(priv->regs, MX25_ADCQ_MR,
92 complete(&priv->completed);
96 regmap_update_bits(priv->regs, MX25_ADCQ_CR, MX25_ADCQ_CR_FQS, 0);
99 regmap_write(priv->regs, MX25_ADCQ_SR, MX25_ADCQ_SR_FRR |
108 struct mx25_gcq_priv *priv,
115 regmap_write(priv->regs, MX25_ADCQ_ITEM_7_0,
118 regmap_update_bits(priv->regs, MX25_ADCQ_MR, MX25_ADCQ_MR_EOQ_IRQ, 0);
121 regmap_update_bits(priv
106 mx25_gcq_get_raw_value(struct device *dev, struct iio_chan_spec const *chan, struct mx25_gcq_priv *priv, int *val) argument
145 struct mx25_gcq_priv *priv = iio_priv(indio_dev); local
176 mx25_gcq_ext_regulator_setup(struct device *dev, struct mx25_gcq_priv *priv, u32 refp) argument
199 mx25_gcq_setup_cfgs(struct platform_device *pdev, struct mx25_gcq_priv *priv) argument
299 struct mx25_gcq_priv *priv; local
[all...]
/linux-master/drivers/net/wireless/intersil/p54/
H A Dp54usb.c145 struct p54u_priv *priv = dev->priv; local
147 skb_unlink(skb, &priv->rx_queue);
156 if (priv->hw_type == P54U_NET2280)
157 skb_pull(skb, priv->common.tx_hdr_len);
158 if (priv->common.fw_interface == FW_LM87) {
164 skb = dev_alloc_skb(priv->common.rx_mtu + 32);
176 if (priv->hw_type == P54U_NET2280)
177 skb_push(skb, priv->common.tx_hdr_len);
178 if (priv
208 struct p54u_priv *priv = dev->priv; local
224 struct p54u_priv *priv = dev->priv; local
296 struct p54u_priv *priv = dev->priv; local
325 struct p54u_priv *priv = dev->priv; local
392 p54u_write(struct p54u_priv *priv, struct net2280_reg_write *buf, enum net2280_op_type type, __le32 addr, __le32 val) argument
412 p54u_read(struct p54u_priv *priv, void *buf, enum net2280_op_type type, __le32 addr, __le32 *val) argument
443 p54u_bulk_msg(struct p54u_priv *priv, unsigned int ep, void *data, size_t len) argument
453 struct p54u_priv *priv = dev->priv; local
479 struct p54u_priv *priv = dev->priv; local
499 struct p54u_priv *priv = dev->priv; local
628 struct p54u_priv *priv = dev->priv; local
854 p54_find_type(struct p54u_priv *priv) argument
867 p54u_start_ops(struct p54u_priv *priv) argument
922 struct p54u_priv *priv = context; local
957 struct p54u_priv *priv = dev->priv; local
989 struct p54u_priv *priv; local
1058 struct p54u_priv *priv; local
1085 struct p54u_priv *priv; local
1100 struct p54u_priv *priv; local
[all...]
/linux-master/sound/soc/codecs/
H A Dsimple-mux.c28 struct simple_mux *priv = snd_soc_component_get_drvdata(c); local
30 ucontrol->value.enumerated.item[0] = priv->mux;
41 struct simple_mux *priv = snd_soc_component_get_drvdata(c); local
46 if (priv->mux == ucontrol->value.enumerated.item[0])
49 priv->mux = ucontrol->value.enumerated.item[0];
51 gpiod_set_value_cansleep(priv->gpiod_mux, priv->mux);
61 struct simple_mux *priv = snd_soc_component_get_drvdata(component); local
63 return priv->mux;
93 struct simple_mux *priv; local
[all...]
/linux-master/drivers/net/ethernet/ti/
H A Ddavinci_emac.c358 #define emac_read(reg) ioread32(priv->emac_base + (reg))
359 #define emac_write(reg, val) iowrite32(val, priv->emac_base + (reg))
361 #define emac_ctrl_read(reg) ioread32((priv->ctrl_base + (reg)))
362 #define emac_ctrl_write(reg, val) iowrite32(val, (priv->ctrl_base + (reg)))
394 struct emac_priv *priv = netdev_priv(ndev); local
396 coal->rx_coalesce_usecs = priv->coal_intvl;
416 struct emac_priv *priv = netdev_priv(ndev); local
421 priv->coal_intvl = 0;
423 switch (priv->version) {
437 switch (priv
519 emac_update_phystatus(struct emac_priv *priv) argument
611 emac_hash_add(struct emac_priv *priv, u8 *mac_addr) argument
653 emac_hash_del(struct emac_priv *priv, u8 *mac_addr) argument
696 emac_add_mcast(struct emac_priv *priv, u32 action, u8 *mac_addr) argument
745 struct emac_priv *priv = netdev_priv(ndev); local
787 emac_int_disable(struct emac_priv *priv) argument
827 emac_int_enable(struct emac_priv *priv) argument
860 struct emac_priv *priv = netdev_priv(ndev); local
872 emac_rx_alloc(struct emac_priv *priv) argument
885 struct emac_priv *priv = netdev_priv(ndev); local
954 struct emac_priv *priv = netdev_priv(ndev); local
1007 struct emac_priv *priv = netdev_priv(ndev); local
1030 emac_set_type0addr(struct emac_priv *priv, u32 ch, char *mac_addr) argument
1057 emac_set_type1addr(struct emac_priv *priv, u32 ch, char *mac_addr) argument
1081 emac_set_type2addr(struct emac_priv *priv, u32 ch, char *mac_addr, int index, int match) argument
1105 emac_setmac(struct emac_priv *priv, u32 ch, char *mac_addr) argument
1135 struct emac_priv *priv = netdev_priv(ndev); local
1167 emac_hw_enable(struct emac_priv *priv) argument
1244 struct emac_priv *priv = container_of(napi, struct emac_priv, napi); local
1319 struct emac_priv *priv = netdev_priv(ndev); local
1329 struct emac_priv *priv = netdev_priv(ndev); local
1418 struct emac_priv *priv = netdev_priv(ndev); local
1601 struct emac_priv *priv = netdev_priv(ndev); local
1655 struct emac_priv *priv = netdev_priv(ndev); local
1728 davinci_emac_of_get_pdata(struct platform_device *pdev, struct emac_priv *priv) argument
1809 struct emac_priv *priv; local
2004 struct emac_priv *priv = netdev_priv(ndev); local
[all...]
/linux-master/drivers/iio/trigger/
H A Dstm32-timer-trigger.c117 static int stm32_timer_start(struct stm32_timer_trigger *priv, argument
126 div = (unsigned long long)clk_get_rate(priv->clk);
136 while (div > priv->max_arr) {
144 dev_err(priv->dev, "prescaler exceeds the maximum value\n");
149 regmap_read(priv->regmap, TIM_CCER, &ccer);
153 mutex_lock(&priv->lock);
154 if (!priv->enabled) {
155 priv->enabled = true;
156 clk_enable(priv->clk);
159 regmap_write(priv
181 stm32_timer_stop(struct stm32_timer_trigger *priv, struct iio_trigger *trig) argument
218 struct stm32_timer_trigger *priv = iio_trigger_get_drvdata(trig); local
241 struct stm32_timer_trigger *priv = iio_trigger_get_drvdata(trig); local
289 struct stm32_timer_trigger *priv = dev_get_drvdata(dev); local
307 struct stm32_timer_trigger *priv = dev_get_drvdata(dev); local
391 stm32_unregister_iio_triggers(struct stm32_timer_trigger *priv) argument
399 stm32_register_iio_triggers(struct stm32_timer_trigger *priv) argument
449 struct stm32_timer_trigger *priv = iio_priv(indio_dev); local
484 struct stm32_timer_trigger *priv = iio_priv(indio_dev); local
521 struct stm32_timer_trigger *priv = iio_priv(indio_dev); local
556 struct stm32_timer_trigger *priv = iio_priv(indio_dev); local
566 struct stm32_timer_trigger *priv = iio_priv(indio_dev); local
605 struct stm32_timer_trigger *priv = iio_priv(indio_dev); local
643 struct stm32_timer_trigger *priv = iio_priv(indio_dev); local
664 struct stm32_timer_trigger *priv = iio_priv(indio_dev); local
677 struct stm32_timer_trigger *priv = iio_priv(indio_dev); local
752 stm32_timer_detect_trgo2(struct stm32_timer_trigger *priv) argument
769 struct stm32_timer_trigger *priv; local
814 struct stm32_timer_trigger *priv = platform_get_drvdata(pdev); local
831 struct stm32_timer_trigger *priv = dev_get_drvdata(dev); local
853 struct stm32_timer_trigger *priv = dev_get_drvdata(dev); local
[all...]
/linux-master/sound/soc/amd/acp/
H A Dacp-mach.h23 #define ACP_OPS(priv, cb) ((priv)->ops.cb)
96 struct acp_card_drvdata *priv = acp_get_drvdata(card); local
98 if (ACP_OPS(priv, probe))
99 ret = ACP_OPS(priv, probe)(card);
107 struct acp_card_drvdata *priv = acp_get_drvdata(card); local
109 if (ACP_OPS(priv, configure_link))
110 ret = ACP_OPS(priv, configure_link)(card, dai_link);
117 struct acp_card_drvdata *priv = acp_get_drvdata(card); local
119 if (ACP_OPS(priv, configure_widget
127 struct acp_card_drvdata *priv = acp_get_drvdata(card); local
137 struct acp_card_drvdata *priv = acp_get_drvdata(card); local
[all...]

Completed in 396 milliseconds

<<21222324252627282930>>