/Linux-v6.6/drivers/power/supply/ |
D | wm831x_backup.c | 116 struct wm831x_backup *devdata = dev_get_drvdata(psy->dev.parent); in wm831x_backup_get_prop() local 117 struct wm831x *wm831x = devdata->wm831x; in wm831x_backup_get_prop() 166 struct wm831x_backup *devdata; in wm831x_backup_probe() local 168 devdata = devm_kzalloc(&pdev->dev, sizeof(struct wm831x_backup), in wm831x_backup_probe() 170 if (devdata == NULL) in wm831x_backup_probe() 173 devdata->wm831x = wm831x; in wm831x_backup_probe() 174 platform_set_drvdata(pdev, devdata); in wm831x_backup_probe() 183 snprintf(devdata->name, sizeof(devdata->name), in wm831x_backup_probe() 186 snprintf(devdata->name, sizeof(devdata->name), in wm831x_backup_probe() 189 devdata->backup_desc.name = devdata->name; in wm831x_backup_probe() [all …]
|
/Linux-v6.6/drivers/pinctrl/mediatek/ |
D | pinctrl-mtk-common.c | 53 if (pin >= pctl->devdata->type1_start && pin < pctl->devdata->type1_end) in mtk_get_regmap() 61 return ((pin >> pctl->devdata->mode_shf) & pctl->devdata->port_mask) in mtk_get_port() 62 << pctl->devdata->port_shf; in mtk_get_port() 73 reg_addr = mtk_get_port(pctl, offset) + pctl->devdata->dir_offset; in mtk_pmx_gpio_set_direction() 74 bit = BIT(offset & pctl->devdata->mode_mask); in mtk_pmx_gpio_set_direction() 76 if (pctl->devdata->spec_dir_set) in mtk_pmx_gpio_set_direction() 77 pctl->devdata->spec_dir_set(®_addr, offset); in mtk_pmx_gpio_set_direction() 95 reg_addr = mtk_get_port(pctl, offset) + pctl->devdata->dout_offset; in mtk_gpio_set() 96 bit = BIT(offset & pctl->devdata->mode_mask); in mtk_gpio_set() 116 if (!pctl->devdata->spec_ies_smt_set && in mtk_pconf_set_ies_smt() [all …]
|
D | pinctrl-mtk-common.h | 61 #define SET_ADDR(x, y) (x + (y->devdata->port_align)) 62 #define CLR_ADDR(x, y) (x + (y->devdata->port_align << 1)) 250 const struct mtk_pinctrl_devdata *devdata, 253 const struct mtk_pinctrl_devdata *devdata, 292 const struct mtk_pinctrl_devdata *devdata; member 303 const struct mtk_pinctrl_devdata *devdata, 307 const struct mtk_pinctrl_devdata *devdata,
|
/Linux-v6.6/drivers/gpu/drm/i915/display/ |
D | intel_bios.h | 238 const struct intel_bios_encoder_data *devdata); 241 const struct intel_bios_encoder_data *devdata, 260 bool intel_bios_encoder_supports_dvi(const struct intel_bios_encoder_data *devdata); 261 bool intel_bios_encoder_supports_hdmi(const struct intel_bios_encoder_data *devdata); 262 bool intel_bios_encoder_supports_dp(const struct intel_bios_encoder_data *devdata); 263 bool intel_bios_encoder_supports_edp(const struct intel_bios_encoder_data *devdata); 264 bool intel_bios_encoder_supports_typec_usb(const struct intel_bios_encoder_data *devdata); 265 bool intel_bios_encoder_supports_tbt(const struct intel_bios_encoder_data *devdata); 266 bool intel_bios_encoder_supports_dsi(const struct intel_bios_encoder_data *devdata); 267 bool intel_bios_encoder_supports_dp_dual_mode(const struct intel_bios_encoder_data *devdata); [all …]
|
D | intel_bios.c | 621 const struct intel_bios_encoder_data *devdata, in opregion_get_panel_type() argument 628 const struct intel_bios_encoder_data *devdata, in vbt_get_panel_type() argument 644 if (devdata && devdata->child.handle == DEVICE_HANDLE_LFP2) in vbt_get_panel_type() 647 drm_WARN_ON(&i915->drm, devdata && devdata->child.handle != DEVICE_HANDLE_LFP1); in vbt_get_panel_type() 653 const struct intel_bios_encoder_data *devdata, in pnpid_get_panel_type() argument 703 const struct intel_bios_encoder_data *devdata, in fallback_get_panel_type() argument 717 const struct intel_bios_encoder_data *devdata, in get_panel_type() argument 723 const struct intel_bios_encoder_data *devdata, in get_panel_type() 747 panel_types[i].panel_type = panel_types[i].get_panel_type(i915, devdata, in get_panel_type() 1211 const struct intel_bios_encoder_data *devdata; in parse_sdvo_device_mapping() local [all …]
|
/Linux-v6.6/drivers/pinctrl/visconti/ |
D | pinctrl-common.c | 30 const struct visconti_pinctrl_devdata *devdata; member 42 const struct visconti_desc_pin *pin = &priv->devdata->pins[_pin]; in visconti_pin_config_set() 132 pins = priv->devdata->groups[selector].pins; in visconti_pin_config_group_set() 133 num_pins = priv->devdata->groups[selector].nr_pins; in visconti_pin_config_group_set() 159 return priv->devdata->nr_groups; in visconti_get_groups_count() 167 return priv->devdata->groups[selector].name; in visconti_get_group_name() 177 *pins = priv->devdata->groups[selector].pins; in visconti_get_group_pins() 178 *num_pins = priv->devdata->groups[selector].nr_pins; in visconti_get_group_pins() 196 return priv->devdata->nr_functions; in visconti_get_functions_count() 204 return priv->devdata->functions[selector].name; in visconti_get_function_name() [all …]
|
/Linux-v6.6/drivers/crypto/nx/ |
D | nx-common-pseries.c | 135 static struct nx842_devdata __rcu *devdata; variable 331 local_devdata = rcu_dereference(devdata); in nx842_pseries_compress() 462 local_devdata = rcu_dereference(devdata); in nx842_pseries_decompress() 549 static int nx842_OF_set_defaults(struct nx842_devdata *devdata) in nx842_OF_set_defaults() argument 551 if (devdata) { in nx842_OF_set_defaults() 552 devdata->max_sync_size = 0; in nx842_OF_set_defaults() 553 devdata->max_sync_sg = 0; in nx842_OF_set_defaults() 554 devdata->max_sg_len = 0; in nx842_OF_set_defaults() 575 static int nx842_OF_upd_status(struct nx842_devdata *devdata, in nx842_OF_upd_status() argument 584 dev_info(devdata->dev, "%s: unknown status '%s'\n", __func__, status); in nx842_OF_upd_status() [all …]
|
/Linux-v6.6/drivers/mtd/nand/raw/gpmi-nand/ |
D | gpmi-nand.h | 120 const struct gpmi_devdata *devdata; member 170 #define GPMI_IS_MX23(x) ((x)->devdata->type == IS_MX23) 171 #define GPMI_IS_MX28(x) ((x)->devdata->type == IS_MX28) 172 #define GPMI_IS_MX6Q(x) ((x)->devdata->type == IS_MX6Q) 173 #define GPMI_IS_MX6SX(x) ((x)->devdata->type == IS_MX6SX) 174 #define GPMI_IS_MX7D(x) ((x)->devdata->type == IS_MX7D)
|
/Linux-v6.6/drivers/reset/ |
D | reset-simple.c | 160 const struct reset_simple_devdata *devdata; in reset_simple_probe() local 166 devdata = of_device_get_match_data(dev); in reset_simple_probe() 184 if (devdata) { in reset_simple_probe() 185 reg_offset = devdata->reg_offset; in reset_simple_probe() 186 if (devdata->nr_resets) in reset_simple_probe() 187 data->rcdev.nr_resets = devdata->nr_resets; in reset_simple_probe() 188 data->active_low = devdata->active_low; in reset_simple_probe() 189 data->status_active_low = devdata->status_active_low; in reset_simple_probe()
|
D | reset-tps380x.c | 74 const struct tps380x_reset_devdata *devdata; in tps380x_reset_probe() local 77 devdata = device_get_match_data(dev); in tps380x_reset_probe() 78 if (!devdata) in tps380x_reset_probe() 90 tps380x->reset_ms = devdata->max_reset_ms; in tps380x_reset_probe()
|
/Linux-v6.6/drivers/spi/ |
D | spi-orion.c | 97 const struct orion_spi_dev *devdata; member 142 const struct orion_spi_dev *devdata; in orion_spi_baudrate_set() local 145 devdata = orion_spi->devdata; in orion_spi_baudrate_set() 149 if (devdata->typ == ARMADA_SPI) { in orion_spi_baudrate_set() 226 reg = ((reg & ~devdata->prescale_mask) | prescale); in orion_spi_baudrate_set() 310 if (orion_spi->devdata->is_errata_50mhz_ac) in orion_spi_setup_transfer() 646 const struct orion_spi_dev *devdata; in orion_spi_probe() local 687 devdata = device_get_match_data(&pdev->dev); in orion_spi_probe() 688 devdata = devdata ? devdata : &orion_spi_dev_data; in orion_spi_probe() 689 spi->devdata = devdata; in orion_spi_probe() [all …]
|
/Linux-v6.6/include/linux/ |
D | thermal.h | 104 void *devdata; member 163 void *devdata; member 307 void *devdata, 314 void *devdata, 346 char *type, void *devdata, 363 void *devdata, in thermal_zone_device_register_with_trips() argument 371 void *devdata, in thermal_tripless_zone_device_register() argument 380 thermal_cooling_device_register(const char *type, void *devdata, in thermal_cooling_device_register() argument 385 const char *type, void *devdata, in thermal_of_cooling_device_register() argument 391 char *type, void *devdata, in devm_thermal_of_cooling_device_register() argument
|
D | lcd.h | 105 struct device *parent, void *devdata, struct lcd_ops *ops); 108 void *devdata, struct lcd_ops *ops);
|
/Linux-v6.6/drivers/gpu/drm/bridge/ |
D | fsl-ldb.c | 92 const struct fsl_ldb_devdata *devdata; member 207 regmap_write(fsl_ldb->regmap, fsl_ldb->devdata->ldb_ctrl, reg); in fsl_ldb_atomic_enable() 209 if (fsl_ldb->devdata->single_ctrl_reg) in fsl_ldb_atomic_enable() 215 regmap_write(fsl_ldb->regmap, fsl_ldb->devdata->lvds_ctrl, reg); in fsl_ldb_atomic_enable() 223 regmap_write(fsl_ldb->regmap, fsl_ldb->devdata->lvds_ctrl, reg); in fsl_ldb_atomic_enable() 232 if (fsl_ldb->devdata->lvds_en_bit) in fsl_ldb_atomic_disable() 234 regmap_write(fsl_ldb->regmap, fsl_ldb->devdata->lvds_ctrl, in fsl_ldb_atomic_disable() 237 if (!fsl_ldb->devdata->single_ctrl_reg) in fsl_ldb_atomic_disable() 238 regmap_write(fsl_ldb->regmap, fsl_ldb->devdata->lvds_ctrl, 0); in fsl_ldb_atomic_disable() 239 regmap_write(fsl_ldb->regmap, fsl_ldb->devdata->ldb_ctrl, 0); in fsl_ldb_atomic_disable() [all …]
|
/Linux-v6.6/drivers/thermal/ |
D | k3_bandgap.c | 109 static int k3_bgp_read_temp(struct k3_thermal_data *devdata, in k3_bgp_read_temp() argument 115 bgp = devdata->bgp; in k3_bgp_read_temp() 126 s0 = readl(bgp->base + devdata->stat_offset) & in k3_bgp_read_temp() 128 s1 = readl(bgp->base + devdata->stat_offset) & in k3_bgp_read_temp() 130 s2 = readl(bgp->base + devdata->stat_offset) & in k3_bgp_read_temp()
|
D | cpufreq_cooling.c | 224 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; in cpufreq_get_requested_power() 266 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; in cpufreq_state2power() 301 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; in cpufreq_power2state() 411 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; in cpufreq_get_max_state() 430 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; in cpufreq_get_cur_state() 450 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; in cpufreq_set_cur_state() 665 cpufreq_cdev = cdev->devdata; in cpufreq_cooling_unregister()
|
D | devfreq_cooling.c | 67 struct devfreq_cooling_device *dfc = cdev->devdata; in devfreq_cooling_get_max_state() 77 struct devfreq_cooling_device *dfc = cdev->devdata; in devfreq_cooling_get_cur_state() 87 struct devfreq_cooling_device *dfc = cdev->devdata; in devfreq_cooling_set_cur_state() 181 struct devfreq_cooling_device *dfc = cdev->devdata; in devfreq_cooling_get_requested_power() 247 struct devfreq_cooling_device *dfc = cdev->devdata; in devfreq_cooling_state2power() 263 struct devfreq_cooling_device *dfc = cdev->devdata; in devfreq_cooling_power2state() 533 dfc = cdev->devdata; in devfreq_cooling_unregister()
|
D | thermal_core.c | 851 const char *type, void *devdata, in __thermal_cooling_device_register() argument 887 cdev->devdata = devdata; in __thermal_cooling_device_register() 948 thermal_cooling_device_register(const char *type, void *devdata, in thermal_cooling_device_register() argument 951 return __thermal_cooling_device_register(NULL, type, devdata, ops); in thermal_cooling_device_register() 972 const char *type, void *devdata, in thermal_of_cooling_device_register() argument 975 return __thermal_cooling_device_register(np, type, devdata, ops); in thermal_of_cooling_device_register() 1005 char *type, void *devdata, in devm_thermal_of_cooling_device_register() argument 1015 tcd = __thermal_cooling_device_register(np, type, devdata, ops); in devm_thermal_of_cooling_device_register() 1227 void *devdata, struct thermal_zone_device_ops *ops, in thermal_zone_device_register_with_trips() argument 1306 tz->devdata = devdata; in thermal_zone_device_register_with_trips() [all …]
|
D | k3_j72xx_bandgap.c | 216 static inline int k3_bgp_read_temp(struct k3_thermal_data *devdata, in k3_bgp_read_temp() argument 222 bgp = devdata->bgp; in k3_bgp_read_temp() 232 s0 = readl(bgp->base + devdata->stat_offset) & in k3_bgp_read_temp() 234 s1 = readl(bgp->base + devdata->stat_offset) & in k3_bgp_read_temp() 236 s2 = readl(bgp->base + devdata->stat_offset) & in k3_bgp_read_temp()
|
/Linux-v6.6/drivers/phy/freescale/ |
D | phy-fsl-imx8-mipi-dphy.c | 128 const struct mixel_dphy_devdata *devdata; member 330 phy_write(phy, priv->cfg.rxhs_settle, priv->devdata->reg_rxhs_settle); in mixel_phy_set_hs_timings() 367 phy_write(phy, 0x01, priv->devdata->reg_tx_rcal); in mixel_dphy_configure_mipi_dphy() 368 phy_write(phy, 0x00, priv->devdata->reg_auto_pd_en); in mixel_dphy_configure_mipi_dphy() 369 phy_write(phy, 0x02, priv->devdata->reg_rxlprp); in mixel_dphy_configure_mipi_dphy() 370 phy_write(phy, 0x02, priv->devdata->reg_rxcdrp); in mixel_dphy_configure_mipi_dphy() 614 if (priv->devdata->is_combo && mode != PHY_MODE_LVDS) { in mixel_dphy_set_mode() 619 if (!priv->devdata->is_combo && mode != PHY_MODE_MIPI_DPHY) { in mixel_dphy_set_mode() 624 if (priv->devdata->is_combo) { in mixel_dphy_set_mode() 677 priv->devdata = of_device_get_match_data(&pdev->dev); in mixel_dphy_probe() [all …]
|
/Linux-v6.6/drivers/gpu/drm/mxsfb/ |
D | mxsfb_kms.c | 43 return (val & mxsfb->devdata->hs_wdth_mask) << in set_hsync_pulse_width() 44 mxsfb->devdata->hs_wdth_shift; in set_hsync_pulse_width() 107 mxsfb->base + mxsfb->devdata->transfer_count); in mxsfb_set_mode() 160 if (mxsfb->devdata->has_ctrl2) { in mxsfb_enable_controller() 272 if (mxsfb->devdata->has_overlay) in mxsfb_reset_block() 393 writel(dma_addr, mxsfb->base + mxsfb->devdata->cur_buf); in mxsfb_crtc_atomic_enable() 394 writel(dma_addr, mxsfb->base + mxsfb->devdata->next_buf); in mxsfb_crtc_atomic_enable() 548 writel(dma_addr, mxsfb->base + mxsfb->devdata->next_buf); in mxsfb_plane_primary_atomic_update() 691 if (mxsfb->devdata->has_overlay) { in mxsfb_kms_init() 706 if (mxsfb->devdata->has_crc32) { in mxsfb_kms_init()
|
/Linux-v6.6/drivers/thermal/intel/int340x_thermal/ |
D | int3406_thermal.c | 44 struct int3406_thermal_data *d = cooling_dev->devdata; in int3406_thermal_get_max_state() 54 struct int3406_thermal_data *d = cooling_dev->devdata; in int3406_thermal_set_cur_state() 71 struct int3406_thermal_data *d = cooling_dev->devdata; in int3406_thermal_get_cur_state()
|
D | int3403_thermal.c | 125 struct int3403_priv *priv = cdev->devdata; in int3403_get_max_state() 135 struct int3403_priv *priv = cdev->devdata; in int3403_get_cur_state() 150 struct int3403_priv *priv = cdev->devdata; in int3403_set_cur_state()
|
/Linux-v6.6/drivers/video/backlight/ |
D | lcd.c | 191 void *devdata, struct lcd_ops *ops) in lcd_device_register() argument 209 dev_set_drvdata(&new_ld->dev, devdata); in lcd_device_register() 279 void *devdata, struct lcd_ops *ops) in devm_lcd_device_register() argument 287 lcd = lcd_device_register(name, parent, devdata, ops); in devm_lcd_device_register()
|
/Linux-v6.6/drivers/acpi/ |
D | processor_thermal.c | 205 struct acpi_device *device = cdev->devdata; in processor_get_max_state() 223 struct acpi_device *device = cdev->devdata; in processor_get_cur_state() 243 struct acpi_device *device = cdev->devdata; in processor_set_cur_state()
|