/linux/drivers/staging/unisys/visornic/ |
A D | visornic_main.c | 353 (*devdata->server_down_complete_func)(devdata->dev, 0); in visornic_serverdown_complete() 543 if (devdata->server_down || devdata->server_change_state) { in visornic_disable_with_timeout() 634 err = post_skb(devdata->cmdrsp_rcv, devdata, in init_rcv_bufs() 708 if (devdata->server_down || devdata->server_change_state) { in visornic_enable_with_timeout() 1157 status = post_skb(cmdrsp, devdata, devdata->rcvbuf[i]); in repost_return() 1223 if (!(devdata->enabled && devdata->enab_dis_acked)) { in visornic_rx() 1587 if (!(devdata->enabled && devdata->enab_dis_acked)) in send_rcv_posts_if_needed() 1607 err = post_skb(cmdrsp, devdata, devdata->rcvbuf[i]); in send_rcv_posts_if_needed() 1759 if (!devdata) in visornic_channel_interrupt() 1819 drain_resp_queue(devdata->cmdrsp, devdata); in visornic_probe() [all …]
|
/linux/drivers/staging/unisys/visorhba/ |
A D | visorhba_main.c | 250 if (devdata->serverdown || devdata->serverchangingstate) in forward_taskmgmt_command() 463 if (devdata->serverdown || devdata->serverchangingstate) in visorhba_queue_command_lck() 549 if (!devdata) in DEF_SCSI_QCMD() 716 if (!devdata->serverdown && !devdata->serverchangingstate) { in visorhba_serverdown() 905 if (!devdata) in visorhba_channel_interrupt() 908 drain_queue(devdata->cmdrsp, devdata); in visorhba_channel_interrupt() 948 if (!devdata) in visorhba_resume() 951 if (devdata->serverdown && !devdata->serverchangingstate) in visorhba_resume() 1013 devdata->debugfs_dir, devdata, in visorhba_probe() 1037 devdata->cmdrsp = kmalloc(sizeof(*devdata->cmdrsp), GFP_ATOMIC); in visorhba_probe() [all …]
|
/linux/drivers/staging/unisys/visorinput/ |
A D | visorinput.c | 264 if (!devdata) { in visorinput_open() 292 if (!devdata) { in visorinput_close() 409 devdata = kzalloc(sizeof(*devdata) + extra_bytes, GFP_KERNEL); in devdata_create() 410 if (!devdata) in devdata_create() 437 (devdata, devdata->keycode_table); in devdata_create() 449 devdata->visorinput_dev = setup_client_mouse(devdata, xres, in devdata_create() 484 return devdata; in devdata_create() 489 kfree(devdata); in devdata_create() 521 if (!devdata) in visorinput_remove() 536 kfree(devdata); in visorinput_remove() [all …]
|
/linux/drivers/power/supply/ |
A D | wm831x_backup.c | 117 struct wm831x *wm831x = devdata->wm831x; in wm831x_backup_get_prop() 166 struct wm831x_backup *devdata; in wm831x_backup_probe() local 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() 195 &devdata->backup_desc, NULL); in wm831x_backup_probe() 197 return PTR_ERR_OR_ZERO(devdata->backup); in wm831x_backup_probe() [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
A D | intel_bios.c | 1878 if (!devdata || devdata->i915->vbt.version < 216) in _intel_bios_dp_max_link_rate() 1942 if (!devdata || devdata->i915->vbt.version < 158) in _intel_bios_hdmi_level_shift() 1950 if (!devdata || devdata->i915->vbt.version < 204) in _intel_bios_max_tmds_clock() 2156 devdata = kzalloc(sizeof(*devdata), GFP_KERNEL); in parse_general_definitions() 2236 devdata = kzalloc(sizeof(*devdata), GFP_KERNEL); in init_vbt_missing_defaults() 2865 return devdata && devdata->child.hpd_invert; in intel_bios_is_port_hpd_inverted() 2897 return devdata && devdata->child.lane_reversal; in intel_bios_is_lane_reversal_needed() 2906 if (!devdata || !devdata->child.aux_channel) { in intel_bios_port_aux_ch() 3013 if (!devdata || devdata->i915->vbt.version < 196 || !devdata->child.iboost) in intel_bios_encoder_dp_boost_level() 3021 if (!devdata || devdata->i915->vbt.version < 196 || !devdata->child.iboost) in intel_bios_encoder_hdmi_boost_level() [all …]
|
A D | intel_bios.h | 261 bool intel_bios_encoder_supports_dvi(const struct intel_bios_encoder_data *devdata); 262 bool intel_bios_encoder_supports_hdmi(const struct intel_bios_encoder_data *devdata); 263 bool intel_bios_encoder_supports_dp(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 int intel_bios_encoder_dp_boost_level(const struct intel_bios_encoder_data *devdata); 267 int intel_bios_encoder_hdmi_boost_level(const struct intel_bios_encoder_data *devdata);
|
/linux/drivers/pinctrl/mediatek/ |
A D | pinctrl-mtk-common.c | 55 if (pin >= pctl->devdata->type1_start && pin < pctl->devdata->type1_end) in mtk_get_regmap() 63 return ((pin >> pctl->devdata->mode_shf) & pctl->devdata->port_mask) in mtk_get_port() 64 << pctl->devdata->port_shf; in mtk_get_port() 78 if (pctl->devdata->spec_dir_set) in mtk_pmx_gpio_set_direction() 185 pctl->devdata->pin_drv_grp + i; in mtk_find_pin_drv_grp_by_pin() 201 if (pin >= pctl->devdata->npins) in mtk_pconf_set_driving() 685 reg_addr = ((pin / pctl->devdata->mode_per_reg) << pctl->devdata->port_shf) in mtk_pmx_set_mode() 703 pin = pctl->devdata->pins + i; in mtk_find_pin_by_eint_num() 820 pctl->devdata->din_offset; in mtk_gpio_get() 1058 pctl->devdata = data; in mtk_pctrl_init() [all …]
|
A 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)) 272 const struct mtk_pinctrl_devdata *devdata; member
|
/linux/drivers/pinctrl/visconti/ |
A D | pinctrl-common.c | 30 const struct visconti_pinctrl_devdata *devdata; member 132 pins = priv->devdata->groups[selector].pins; in visconti_pin_config_group_set() 159 return priv->devdata->nr_groups; in visconti_get_groups_count() 196 return priv->devdata->nr_functions; in visconti_get_functions_count() 292 priv->devdata = devdata; in visconti_pinctrl_probe() 301 pins = devm_kcalloc(dev, devdata->nr_pins, in visconti_pinctrl_probe() 306 for (i = 0; i < devdata->nr_pins; i++) in visconti_pinctrl_probe() 307 pins[i] = devdata->pins[i].pin; in visconti_pinctrl_probe() 312 priv->pctl_desc.npins = devdata->nr_pins; in visconti_pinctrl_probe() 324 if (devdata->unlock) in visconti_pinctrl_probe() [all …]
|
/linux/drivers/crypto/nx/ |
A D | nx-common-pseries.c | 133 } __rcu *devdata; variable 549 if (devdata) { in nx842_OF_set_defaults() 550 devdata->max_sync_size = 0; in nx842_OF_set_defaults() 551 devdata->max_sync_sg = 0; in nx842_OF_set_defaults() 552 devdata->max_sg_len = 0; in nx842_OF_set_defaults() 690 devdata->max_sync_size = min_t(unsigned int, devdata->max_sync_size, in nx842_OF_upd_maxsyncop() 705 if (devdata->max_sync_sg < 1) { in nx842_OF_upd_maxsyncop() 709 __func__, devdata->max_sync_sg); in nx842_OF_upd_maxsyncop() 1127 RCU_INIT_POINTER(devdata, NULL); in nx842_remove() 1216 RCU_INIT_POINTER(devdata, NULL); in nx842_pseries_init() [all …]
|
/linux/drivers/spi/ |
A D | spi-orion.c | 98 const struct orion_spi_dev *devdata; member 143 const struct orion_spi_dev *devdata; in orion_spi_baudrate_set() local 146 devdata = orion_spi->devdata; in orion_spi_baudrate_set() 150 if (devdata->typ == ARMADA_SPI) { in orion_spi_baudrate_set() 311 if (orion_spi->devdata->is_errata_50mhz_ac) in orion_spi_setup_transfer() 647 const struct orion_spi_dev *devdata; in orion_spi_probe() local 688 devdata = device_get_match_data(&pdev->dev); in orion_spi_probe() 689 devdata = devdata ? devdata : &orion_spi_dev_data; in orion_spi_probe() 690 spi->devdata = devdata; in orion_spi_probe() 724 else if (devdata->min_divisor) in orion_spi_probe() [all …]
|
/linux/drivers/reset/ |
A 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()
|
/linux/drivers/mtd/nand/raw/gpmi-nand/ |
A D | gpmi-nand.h | 116 const struct gpmi_devdata *devdata; member 166 #define GPMI_IS_MX23(x) ((x)->devdata->type == IS_MX23) 167 #define GPMI_IS_MX28(x) ((x)->devdata->type == IS_MX28) 168 #define GPMI_IS_MX6Q(x) ((x)->devdata->type == IS_MX6Q) 169 #define GPMI_IS_MX6SX(x) ((x)->devdata->type == IS_MX6SX) 170 #define GPMI_IS_MX7D(x) ((x)->devdata->type == IS_MX7D)
|
/linux/drivers/thermal/ |
A D | thermal_of.c | 90 struct __thermal_zone *data = tz->devdata; in of_thermal_get_temp() 101 struct __thermal_zone *data = tz->devdata; in of_thermal_set_trips() 121 struct __thermal_zone *data = tz->devdata; in of_thermal_get_ntrips() 142 struct __thermal_zone *data = tz->devdata; in of_thermal_is_trip_valid() 164 struct __thermal_zone *data = tz->devdata; in of_thermal_get_trip_points() 187 struct __thermal_zone *data = tz->devdata; in of_thermal_set_emul_temp() 198 struct __thermal_zone *data = tz->devdata; in of_thermal_get_trend() 389 tz = tzd->devdata; in thermal_zone_of_add_sensor() 556 if (!dev || !tzd || !tzd->devdata) in thermal_zone_of_sensor_unregister() 559 tz = tzd->devdata; in thermal_zone_of_sensor_unregister() [all …]
|
A D | k3_bandgap.c | 107 static int k3_bgp_read_temp(struct k3_thermal_data *devdata, in k3_bgp_read_temp() argument 113 bgp = devdata->bgp; in k3_bgp_read_temp() 124 s0 = readl(bgp->base + devdata->stat_offset) & in k3_bgp_read_temp() 126 s1 = readl(bgp->base + devdata->stat_offset) & in k3_bgp_read_temp() 128 s2 = readl(bgp->base + devdata->stat_offset) & in k3_bgp_read_temp() 140 static int k3_thermal_get_temp(void *devdata, int *temp) in k3_thermal_get_temp() argument 142 struct k3_thermal_data *data = devdata; in k3_thermal_get_temp()
|
A D | devfreq_cooling.c | 65 struct devfreq_cooling_device *dfc = cdev->devdata; in devfreq_cooling_get_max_state() 75 struct devfreq_cooling_device *dfc = cdev->devdata; in devfreq_cooling_get_cur_state() 85 struct devfreq_cooling_device *dfc = cdev->devdata; in devfreq_cooling_set_cur_state() 179 struct devfreq_cooling_device *dfc = cdev->devdata; in devfreq_cooling_get_requested_power() 239 struct devfreq_cooling_device *dfc = cdev->devdata; in devfreq_cooling_state2power() 254 struct devfreq_cooling_device *dfc = cdev->devdata; in devfreq_cooling_power2state() 518 dfc = cdev->devdata; in devfreq_cooling_unregister()
|
A D | spear_thermal.c | 34 struct spear_thermal_dev *stdev = thermal->devdata; in thermal_get_temp() 51 struct spear_thermal_dev *stdev = spear_thermal->devdata; in spear_thermal_suspend() 67 struct spear_thermal_dev *stdev = spear_thermal->devdata; in spear_thermal_resume() 159 struct spear_thermal_dev *stdev = spear_thermal->devdata; in spear_thermal_exit()
|
A D | cpufreq_cooling.c | 215 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; in cpufreq_get_requested_power() 274 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; in cpufreq_state2power() 313 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; in cpufreq_power2state() 423 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; in cpufreq_get_max_state() 442 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; in cpufreq_get_cur_state() 462 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; in cpufreq_set_cur_state() 689 cpufreq_cdev = cdev->devdata; in cpufreq_cooling_unregister()
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | core_thermal.c | 220 struct mlxsw_thermal *thermal = tzdev->devdata; in mlxsw_thermal_bind() 246 struct mlxsw_thermal *thermal = tzdev->devdata; in mlxsw_thermal_unbind() 268 struct mlxsw_thermal *thermal = tzdev->devdata; in mlxsw_thermal_get_temp() 294 struct mlxsw_thermal *thermal = tzdev->devdata; in mlxsw_thermal_get_trip_type() 306 struct mlxsw_thermal *thermal = tzdev->devdata; in mlxsw_thermal_get_trip_temp() 318 struct mlxsw_thermal *thermal = tzdev->devdata; in mlxsw_thermal_set_trip_temp() 330 struct mlxsw_thermal *thermal = tzdev->devdata; in mlxsw_thermal_get_trip_hyst() 339 struct mlxsw_thermal *thermal = tzdev->devdata; in mlxsw_thermal_set_trip_hyst() 348 struct mlxsw_thermal *thermal = tzdev->devdata; in mlxsw_thermal_trend_get() 612 struct mlxsw_thermal *thermal = cdev->devdata; in mlxsw_thermal_get_cur_state() [all …]
|
/linux/include/linux/ |
A D | thermal.h | 97 void *devdata; member 155 void *devdata; member 385 char *type, void *devdata, 398 const char *type, int trips, int mask, void *devdata, in thermal_zone_device_register() argument 407 thermal_cooling_device_register(const char *type, void *devdata, in thermal_cooling_device_register() argument 412 const char *type, void *devdata, in thermal_of_cooling_device_register() argument 418 char *type, void *devdata, in devm_thermal_of_cooling_device_register() argument
|
/linux/drivers/gpu/drm/mxsfb/ |
A D | mxsfb_kms.c | 42 return (val & mxsfb->devdata->hs_wdth_mask) << in set_hsync_pulse_width() 43 mxsfb->devdata->hs_wdth_shift; in set_hsync_pulse_width() 108 if (mxsfb->devdata->has_ctrl2) { in mxsfb_enable_controller() 248 if (mxsfb->devdata->has_overlay) in mxsfb_crtc_mode_set_nofb() 267 mxsfb->base + mxsfb->devdata->transfer_count); in mxsfb_crtc_mode_set_nofb() 386 writel(paddr, mxsfb->base + mxsfb->devdata->cur_buf); in mxsfb_crtc_atomic_enable() 387 writel(paddr, mxsfb->base + mxsfb->devdata->next_buf); in mxsfb_crtc_atomic_enable() 491 writel(paddr, mxsfb->base + mxsfb->devdata->next_buf); in mxsfb_plane_primary_atomic_update() 625 if (mxsfb->devdata->has_overlay) { in mxsfb_kms_init()
|
/linux/drivers/phy/freescale/ |
A D | phy-fsl-imx8-mipi-dphy.c | 99 const struct mixel_dphy_devdata *devdata; member 298 phy_write(phy, priv->cfg.rxhs_settle, priv->devdata->reg_rxhs_settle); in mixel_phy_set_hs_timings() 334 phy_write(phy, 0x01, priv->devdata->reg_tx_rcal); in mixel_dphy_configure() 335 phy_write(phy, 0x00, priv->devdata->reg_auto_pd_en); in mixel_dphy_configure() 336 phy_write(phy, 0x02, priv->devdata->reg_rxlprp); in mixel_dphy_configure() 337 phy_write(phy, 0x02, priv->devdata->reg_rxcdrp); in mixel_dphy_configure() 447 priv->devdata = of_device_get_match_data(&pdev->dev); in mixel_dphy_probe() 448 if (!priv->devdata) in mixel_dphy_probe()
|
/linux/drivers/thermal/intel/int340x_thermal/ |
A D | int340x_thermal_zone.c | 17 struct int34x_thermal_zone *d = zone->devdata; in int340x_thermal_get_zone_temp() 46 struct int34x_thermal_zone *d = zone->devdata; in int340x_thermal_get_trip_temp() 79 struct int34x_thermal_zone *d = zone->devdata; in int340x_thermal_get_trip_type() 111 struct int34x_thermal_zone *d = zone->devdata; in int340x_thermal_set_trip_temp() 133 struct int34x_thermal_zone *d = zone->devdata; in int340x_thermal_get_trip_hyst()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
A D | cxgb4_thermal.c | 15 struct adapter *adap = tzdev->devdata; in cxgb4_thermal_get_temp() 35 struct adapter *adap = tzdev->devdata; in cxgb4_thermal_get_trip_type() 47 struct adapter *adap = tzdev->devdata; in cxgb4_thermal_get_trip_temp()
|
/linux/drivers/acpi/ |
A D | processor_thermal.c | 190 struct acpi_device *device = cdev->devdata; in processor_get_max_state() 208 struct acpi_device *device = cdev->devdata; in processor_get_cur_state() 228 struct acpi_device *device = cdev->devdata; in processor_set_cur_state()
|