/openbmc/linux/drivers/md/ |
H A D | md.c | 140 struct md_rdev *rdev; in rdevs_uninit_serial() local 176 struct md_rdev *rdev; in rdevs_init_serial() local 505 struct md_rdev *rdev; in submit_flushes() local 772 struct md_rdev *rdev; in mddev_unlock() local 831 struct md_rdev *rdev; in md_find_rdev_nr_rcu() local 843 struct md_rdev *rdev; in find_rdev() local 854 struct md_rdev *rdev; in md_find_rdev_rcu() local 2544 struct md_rdev *rdev; in export_array() local 2590 struct md_rdev *rdev; in sync_sbs() local 2648 struct md_rdev *rdev; in md_update_sb() local [all …]
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_kms.c | 63 struct radeon_device *rdev = dev->dev_private; in radeon_driver_unload_kms() local 107 struct radeon_device *rdev; in radeon_driver_load_kms() local 206 struct radeon_device *rdev = dev->dev_private; in radeon_set_filp_rights() local 239 struct radeon_device *rdev = dev->dev_private; in radeon_info_ioctl() local 635 struct radeon_device *rdev = dev->dev_private; in radeon_driver_open_kms() local 713 struct radeon_device *rdev = dev->dev_private; in radeon_driver_postclose_kms() local 767 struct radeon_device *rdev = dev->dev_private; in radeon_get_vblank_counter_kms() local 835 struct radeon_device *rdev = dev->dev_private; in radeon_enable_vblank_kms() local 862 struct radeon_device *rdev = dev->dev_private; in radeon_disable_vblank_kms() local
|
H A D | radeon_i2c.c | 88 struct radeon_device *rdev = i2c->dev->dev_private; in pre_xfer() local 158 struct radeon_device *rdev = i2c->dev->dev_private; in post_xfer() local 177 struct radeon_device *rdev = i2c->dev->dev_private; in get_clock() local 192 struct radeon_device *rdev = i2c->dev->dev_private; in get_data() local 206 struct radeon_device *rdev = i2c->dev->dev_private; in set_clock() local 219 struct radeon_device *rdev = i2c->dev->dev_private; in set_data() local 325 struct radeon_device *rdev = i2c->dev->dev_private; in r100_hw_i2c_xfer() local 907 struct radeon_device *rdev = dev->dev_private; in radeon_i2c_create() local 986 void radeon_i2c_init(struct radeon_device *rdev) in radeon_i2c_init() 998 void radeon_i2c_fini(struct radeon_device *rdev) in radeon_i2c_fini() [all …]
|
H A D | atombios_crtc.c | 43 struct radeon_device *rdev = dev->dev_private; in atombios_overscan_setup() local 86 struct radeon_device *rdev = dev->dev_private; in atombios_scaler_setup() local 171 struct radeon_device *rdev = dev->dev_private; in atombios_lock_crtc() local 188 struct radeon_device *rdev = dev->dev_private; in atombios_enable_crtc() local 204 struct radeon_device *rdev = dev->dev_private; in atombios_enable_crtc_memreq() local 230 struct radeon_device *rdev = dev->dev_private; in atombios_blank_crtc() local 255 struct radeon_device *rdev = dev->dev_private; in atombios_powergate_crtc() local 270 struct radeon_device *rdev = dev->dev_private; in atombios_crtc_dpms() local 307 struct radeon_device *rdev = dev->dev_private; in atombios_set_crtc_dtd_timing() local 354 struct radeon_device *rdev = dev->dev_private; in atombios_crtc_set_timing() local [all …]
|
H A D | radeon_fbdev.c | 60 struct radeon_device *rdev = fb_helper->dev->dev_private; in radeon_fbdev_create_pinned_object() local 148 struct radeon_device *rdev = fb_helper->dev->dev_private; in radeon_fbdev_fb_open() local 166 struct radeon_device *rdev = fb_helper->dev->dev_private; in radeon_fbdev_fb_release() local 208 struct radeon_device *rdev = fb_helper->dev->dev_private; in radeon_fbdev_fb_helper_fb_probe() local 303 struct radeon_device *rdev = dev->dev_private; in radeon_fbdev_client_unregister() local 328 struct radeon_device *rdev = dev->dev_private; in radeon_fbdev_client_hotplug() local 363 void radeon_fbdev_setup(struct radeon_device *rdev) in radeon_fbdev_setup() 395 void radeon_fbdev_set_suspend(struct radeon_device *rdev, int state) in radeon_fbdev_set_suspend() 401 bool radeon_fbdev_robj_is_fb(struct radeon_device *rdev, struct radeon_bo *robj) in radeon_fbdev_robj_is_fb()
|
H A D | radeon_atombios.c | 434 struct radeon_device *rdev = dev->dev_private; in radeon_atom_apply_quirks() local 518 struct radeon_device *rdev = dev->dev_private; in radeon_get_atom_connector_info_from_object_table() local 836 struct radeon_device *rdev = dev->dev_private; in atombios_get_connector_object_id() local 887 struct radeon_device *rdev = dev->dev_private; in radeon_get_atom_connector_info_from_supported_devices_table() local 1126 struct radeon_device *rdev = dev->dev_private; in radeon_atom_get_clock_info() local 1331 struct radeon_device *rdev = dev->dev_private; in radeon_atombios_get_tmds_info() local 1620 struct radeon_device *rdev = dev->dev_private; in radeon_atombios_get_lvds_info() local 1766 struct radeon_device *rdev = dev->dev_private; in radeon_atombios_get_primary_dac_info() local 1952 struct radeon_device *rdev = dev->dev_private; in radeon_atombios_get_tv_dac_info() local 4080 struct radeon_device *rdev = dev->dev_private; in radeon_atom_initialize_bios_scratch_regs() local [all …]
|
H A D | rv730_dpm.c | 37 int rv730_populate_sclk_value(struct radeon_device *rdev, in rv730_populate_sclk_value() 116 int rv730_populate_mclk_value(struct radeon_device *rdev, in rv730_populate_mclk_value() 195 void rv730_read_clock_registers(struct radeon_device *rdev) in rv730_read_clock_registers() 226 int rv730_populate_smc_acpi_state(struct radeon_device *rdev, in rv730_populate_smc_acpi_state() 316 int rv730_populate_smc_initial_state(struct radeon_device *rdev, in rv730_populate_smc_initial_state() 390 void rv730_program_memory_timing_parameters(struct radeon_device *rdev, in rv730_program_memory_timing_parameters() 448 void rv730_start_dpm(struct radeon_device *rdev) in rv730_start_dpm() 457 void rv730_stop_dpm(struct radeon_device *rdev) in rv730_stop_dpm() 473 void rv730_program_dcodt(struct radeon_device *rdev, bool use_dcodt) in rv730_program_dcodt() 492 void rv730_get_odt_values(struct radeon_device *rdev) in rv730_get_odt_values()
|
H A D | dce3_1_afmt.c | 33 struct radeon_device *rdev = encoder->dev->dev_private; in dce3_2_afmt_hdmi_write_speaker_allocation() local 51 struct radeon_device *rdev = encoder->dev->dev_private; in dce3_2_afmt_dp_write_speaker_allocation() local 70 struct radeon_device *rdev = encoder->dev->dev_private; in dce3_2_afmt_write_sad_regs() local 116 void dce3_2_audio_set_dto(struct radeon_device *rdev, in dce3_2_audio_set_dto() 174 struct radeon_device *rdev = dev->dev_private; in dce3_2_hdmi_update_acr() local 205 struct radeon_device *rdev = dev->dev_private; in dce3_2_set_audio_packet() local 226 struct radeon_device *rdev = dev->dev_private; in dce3_2_set_mute() local
|
H A D | radeon_clocks.c | 40 uint32_t radeon_legacy_get_engine_clock(struct radeon_device *rdev) in radeon_legacy_get_engine_clock() 70 uint32_t radeon_legacy_get_memory_clock(struct radeon_device *rdev) in radeon_legacy_get_memory_clock() 106 struct radeon_device *rdev = dev->dev_private; in radeon_read_clocks_OF() local 182 struct radeon_device *rdev = dev->dev_private; in radeon_get_clock_info() local 351 static uint32_t calc_eng_mem_clock(struct radeon_device *rdev, in calc_eng_mem_clock() 390 void radeon_legacy_set_engine_clock(struct radeon_device *rdev, in radeon_legacy_set_engine_clock() 476 void radeon_legacy_set_clock_gating(struct radeon_device *rdev, int enable) in radeon_legacy_set_clock_gating()
|
H A D | radeon_semaphore.c | 34 int radeon_semaphore_create(struct radeon_device *rdev, in radeon_semaphore_create() 58 bool radeon_semaphore_emit_signal(struct radeon_device *rdev, int ridx, in radeon_semaphore_emit_signal() 75 bool radeon_semaphore_emit_wait(struct radeon_device *rdev, int ridx, in radeon_semaphore_emit_wait() 92 void radeon_semaphore_free(struct radeon_device *rdev, in radeon_semaphore_free()
|
/openbmc/linux/drivers/regulator/ |
H A D | internal.h | 18 #define rdev_crit(rdev, fmt, ...) \ argument 20 #define rdev_err(rdev, fmt, ...) \ argument 22 #define rdev_warn(rdev, fmt, ...) \ argument 24 #define rdev_info(rdev, fmt, ...) \ argument 26 #define rdev_dbg(rdev, fmt, ...) \ argument 57 struct regulator_dev *rdev; member 99 of_parse_coupled_regulator(struct regulator_dev *rdev, in of_parse_coupled_regulator() 105 static inline int of_get_n_coupled(struct regulator_dev *rdev) in of_get_n_coupled() 110 static inline bool of_check_coupling_data(struct regulator_dev *rdev) in of_check_coupling_data()
|
H A D | db8500-prcmu.c | 25 static int db8500_regulator_enable(struct regulator_dev *rdev) in db8500_regulator_enable() 44 static int db8500_regulator_disable(struct regulator_dev *rdev) in db8500_regulator_disable() 64 static int db8500_regulator_is_enabled(struct regulator_dev *rdev) in db8500_regulator_is_enabled() 141 static int db8500_regulator_switch_enable(struct regulator_dev *rdev) in db8500_regulator_switch_enable() 165 static int db8500_regulator_switch_disable(struct regulator_dev *rdev) in db8500_regulator_switch_disable() 189 static int db8500_regulator_switch_is_enabled(struct regulator_dev *rdev) in db8500_regulator_switch_is_enabled() 442 struct regulator_dev *rdev; in db8500_regulator_probe() local
|
H A D | rk808-regulator.c | 293 static unsigned int rk806_get_mode_dcdc(struct regulator_dev *rdev) in rk806_get_mode_dcdc() 550 static int rk805_set_suspend_enable(struct regulator_dev *rdev) in rk805_set_suspend_enable() 561 static int rk805_set_suspend_disable(struct regulator_dev *rdev) in rk805_set_suspend_disable() 596 static int rk806_set_suspend_enable(struct regulator_dev *rdev) in rk806_set_suspend_enable() 605 static int rk806_set_suspend_disable(struct regulator_dev *rdev) in rk806_set_suspend_disable() 613 static int rk808_set_suspend_enable(struct regulator_dev *rdev) in rk808_set_suspend_enable() 624 static int rk808_set_suspend_disable(struct regulator_dev *rdev) in rk808_set_suspend_disable() 662 static int rk817_set_suspend_enable(struct regulator_dev *rdev) in rk817_set_suspend_enable() 667 static int rk817_set_suspend_disable(struct regulator_dev *rdev) in rk817_set_suspend_disable() 710 static unsigned int rk8xx_get_mode(struct regulator_dev *rdev) in rk8xx_get_mode() [all …]
|
H A D | mcp16502.c | 178 static int mcp16502_get_state_reg(struct regulator_dev *rdev, int opmode) in mcp16502_get_state_reg() 201 static unsigned int mcp16502_get_mode(struct regulator_dev *rdev) in mcp16502_get_mode() 259 static int mcp16502_set_mode(struct regulator_dev *rdev, unsigned int mode) in mcp16502_set_mode() 267 static int mcp16502_get_status(struct regulator_dev *rdev) in mcp16502_get_status() 287 static int mcp16502_set_voltage_time_sel(struct regulator_dev *rdev, in mcp16502_set_voltage_time_sel() 330 static int mcp16502_suspend_get_target_reg(struct regulator_dev *rdev) in mcp16502_suspend_get_target_reg() 349 static int mcp16502_set_suspend_voltage(struct regulator_dev *rdev, int uV) in mcp16502_set_suspend_voltage() 366 static int mcp16502_set_suspend_mode(struct regulator_dev *rdev, in mcp16502_set_suspend_mode() 386 static int mcp16502_set_suspend_enable(struct regulator_dev *rdev) in mcp16502_set_suspend_enable() 399 static int mcp16502_set_suspend_disable(struct regulator_dev *rdev) in mcp16502_set_suspend_disable() [all …]
|
H A D | max8925-regulator.c | 42 static int max8925_set_voltage_sel(struct regulator_dev *rdev, in max8925_set_voltage_sel() 51 static int max8925_get_voltage_sel(struct regulator_dev *rdev) in max8925_get_voltage_sel() 66 static int max8925_enable(struct regulator_dev *rdev) in max8925_enable() 77 static int max8925_disable(struct regulator_dev *rdev) in max8925_disable() 87 static int max8925_is_enabled(struct regulator_dev *rdev) in max8925_is_enabled() 102 static int max8925_set_dvm_voltage(struct regulator_dev *rdev, int uV) in max8925_set_dvm_voltage() 117 static int max8925_set_dvm_enable(struct regulator_dev *rdev) in max8925_set_dvm_enable() 125 static int max8925_set_dvm_disable(struct regulator_dev *rdev) in max8925_set_dvm_disable() 225 struct regulator_dev *rdev; in max8925_regulator_probe() local
|
H A D | max8660.c | 98 static int max8660_dcdc_is_enabled(struct regulator_dev *rdev) in max8660_dcdc_is_enabled() 107 static int max8660_dcdc_enable(struct regulator_dev *rdev) in max8660_dcdc_enable() 115 static int max8660_dcdc_disable(struct regulator_dev *rdev) in max8660_dcdc_disable() 123 static int max8660_dcdc_get_voltage_sel(struct regulator_dev *rdev) in max8660_dcdc_get_voltage_sel() 132 static int max8660_dcdc_set_voltage_sel(struct regulator_dev *rdev, in max8660_dcdc_set_voltage_sel() 162 static int max8660_ldo5_get_voltage_sel(struct regulator_dev *rdev) in max8660_ldo5_get_voltage_sel() 170 static int max8660_ldo5_set_voltage_sel(struct regulator_dev *rdev, in max8660_ldo5_set_voltage_sel() 196 static int max8660_ldo67_is_enabled(struct regulator_dev *rdev) in max8660_ldo67_is_enabled() 205 static int max8660_ldo67_enable(struct regulator_dev *rdev) in max8660_ldo67_enable() 213 static int max8660_ldo67_disable(struct regulator_dev *rdev) in max8660_ldo67_disable() [all …]
|
H A D | twl6030-regulator.c | 106 static int twlreg_grp(struct regulator_dev *rdev) in twlreg_grp() 121 static int twl6030reg_is_enabled(struct regulator_dev *rdev) in twl6030reg_is_enabled() 146 static int twl6030reg_enable(struct regulator_dev *rdev) in twl6030reg_enable() 163 static int twl6030reg_disable(struct regulator_dev *rdev) in twl6030reg_disable() 180 static int twl6030reg_get_status(struct regulator_dev *rdev) in twl6030reg_get_status() 212 static int twl6030reg_set_mode(struct regulator_dev *rdev, unsigned mode) in twl6030reg_set_mode() 248 static int twl6030coresmps_get_voltage(struct regulator_dev *rdev) in twl6030coresmps_get_voltage() 270 static int twl6030ldo_get_voltage_sel(struct regulator_dev *rdev) in twl6030ldo_get_voltage_sel() 471 static int twl6030smps_set_voltage_sel(struct regulator_dev *rdev, in twl6030smps_set_voltage_sel() 480 static int twl6030smps_get_voltage_sel(struct regulator_dev *rdev) in twl6030smps_get_voltage_sel() [all …]
|
H A D | irq_helpers.c | 35 static void rdev_flag_err(struct regulator_dev *rdev, int err) in rdev_flag_err() 42 static void rdev_clear_err(struct regulator_dev *rdev, int err) in rdev_clear_err() 105 struct regulator_dev *rdev; in regulator_notifier_isr_work() local 130 struct regulator_dev *rdev; in regulator_notifier_isr_work() local 211 struct regulator_dev *rdev; in regulator_notifier_isr() local 238 struct regulator_dev *rdev; in regulator_notifier_isr() local 281 struct regulator_dev **rdev, int common_err, in init_rdev_state() 341 struct regulator_dev **rdev, int rdev_amount) in regulator_irq_helper()
|
H A D | da9062-regulator.c | 61 struct regulator_dev *rdev; member 115 static int da9062_buck_set_mode(struct regulator_dev *rdev, unsigned mode) in da9062_buck_set_mode() 143 static unsigned da9062_buck_get_mode(struct regulator_dev *rdev) in da9062_buck_get_mode() 180 static int da9062_ldo_set_mode(struct regulator_dev *rdev, unsigned mode) in da9062_ldo_set_mode() 199 static unsigned da9062_ldo_get_mode(struct regulator_dev *rdev) in da9062_ldo_get_mode() 214 static int da9062_buck_get_status(struct regulator_dev *rdev) in da9062_buck_get_status() 231 static int da9062_ldo_get_status(struct regulator_dev *rdev) in da9062_ldo_get_status() 266 static int da9062_suspend_enable(struct regulator_dev *rdev) in da9062_suspend_enable() 273 static int da9062_suspend_disable(struct regulator_dev *rdev) in da9062_suspend_disable() 280 static int da9062_buck_set_suspend_mode(struct regulator_dev *rdev, in da9062_buck_set_suspend_mode() [all …]
|
H A D | ab8500-ext.c | 111 static int ab8500_ext_regulator_enable(struct regulator_dev *rdev) in ab8500_ext_regulator_enable() 148 static int ab8500_ext_regulator_disable(struct regulator_dev *rdev) in ab8500_ext_regulator_disable() 184 static int ab8500_ext_regulator_is_enabled(struct regulator_dev *rdev) in ab8500_ext_regulator_is_enabled() 215 static int ab8500_ext_regulator_set_mode(struct regulator_dev *rdev, in ab8500_ext_regulator_set_mode() 266 static unsigned int ab8500_ext_regulator_get_mode(struct regulator_dev *rdev) in ab8500_ext_regulator_get_mode() 286 static int ab8500_ext_set_voltage(struct regulator_dev *rdev, int min_uV, in ab8500_ext_set_voltage() 308 static int ab8500_ext_list_voltage(struct regulator_dev *rdev, in ab8500_ext_list_voltage() 397 struct regulator_dev *rdev; in ab8500_ext_regulator_probe() local
|
H A D | max77857-regulator.c | 77 static int max77857_get_status(struct regulator_dev *rdev) in max77857_get_status() 92 static unsigned int max77857_get_mode(struct regulator_dev *rdev) in max77857_get_mode() 126 static int max77857_set_mode(struct regulator_dev *rdev, unsigned int mode) in max77857_set_mode() 156 static int max77857_get_error_flags(struct regulator_dev *rdev, in max77857_get_error_flags() 192 static int max77859_set_voltage_sel(struct regulator_dev *rdev, in max77859_set_voltage_sel() 209 static int max77859_get_voltage_sel(struct regulator_dev *rdev) in max77859_get_voltage_sel() 221 static int max77859_set_current_limit(struct regulator_dev *rdev, int min_uA, int max_uA) in max77859_set_current_limit() 235 static int max77859_get_current_limit(struct regulator_dev *rdev) in max77859_get_current_limit() 353 struct regulator_dev *rdev; in max77857_probe() local
|
/openbmc/linux/drivers/infiniband/hw/bnxt_re/ |
H A D | hw_counters.c | 155 static void bnxt_re_copy_ext_stats(struct bnxt_re_dev *rdev, in bnxt_re_copy_ext_stats() 182 static int bnxt_re_get_ext_stat(struct bnxt_re_dev *rdev, in bnxt_re_get_ext_stat() 199 static void bnxt_re_copy_err_stats(struct bnxt_re_dev *rdev, in bnxt_re_copy_err_stats() 285 static void bnxt_re_copy_db_pacing_stats(struct bnxt_re_dev *rdev, in bnxt_re_copy_db_pacing_stats() 301 struct bnxt_re_dev *rdev = to_bnxt_re_dev(ibdev, ibdev); in bnxt_re_ib_get_hw_stats() local 381 struct bnxt_re_dev *rdev = to_bnxt_re_dev(ibdev, ibdev); in bnxt_re_ib_alloc_hw_port_stats() local
|
H A D | ib_verbs.c | 846 struct bnxt_re_dev *rdev; in bnxt_re_destroy_gsi_sqp() local 983 struct bnxt_re_dev *rdev; in bnxt_re_setup_swqe_size() local 1202 struct bnxt_re_dev *rdev; in bnxt_re_init_rq_attr() local 1241 struct bnxt_re_dev *rdev; in bnxt_re_adjust_gsi_rq_attr() local 1261 struct bnxt_re_dev *rdev; in bnxt_re_init_sq_attr() local 1307 struct bnxt_re_dev *rdev; in bnxt_re_adjust_gsi_sq_attr() local 1355 struct bnxt_re_dev *rdev; in bnxt_re_init_qp_attr() local 1428 struct bnxt_re_dev *rdev; in bnxt_re_create_shadow_gsi() local 1472 struct bnxt_re_dev *rdev; in bnxt_re_create_gsi_qp() local 1733 struct bnxt_re_dev *rdev; in bnxt_re_create_srq() local [all …]
|
/openbmc/linux/drivers/net/ethernet/renesas/ |
H A D | rswitch.c | 417 struct rswitch_device *rdev = netdev_priv(ndev); in rswitch_gwca_queue_ext_ts_fill() local 560 struct rswitch_device *rdev = netdev_priv(ndev); in rswitch_txdmac_alloc() local 579 struct rswitch_device *rdev = netdev_priv(ndev); in rswitch_txdmac_free() local 587 struct rswitch_device *rdev = priv->rdev[index]; in rswitch_txdmac_init() local 594 struct rswitch_device *rdev = netdev_priv(ndev); in rswitch_rxdmac_alloc() local 613 struct rswitch_device *rdev = netdev_priv(ndev); in rswitch_rxdmac_free() local 621 struct rswitch_device *rdev = priv->rdev[index]; in rswitch_rxdmac_init() local 697 struct rswitch_device *rdev = netdev_priv(ndev); in rswitch_rx() local 802 struct rswitch_device *rdev; in rswitch_poll() local 1712 struct rswitch_device *rdev; in rswitch_device_alloc() local [all …]
|
/openbmc/linux/include/linux/regulator/ |
H A D | coupler.h | 71 static inline int regulator_check_consumers(struct regulator_dev *rdev, in regulator_check_consumers() 77 static inline int regulator_check_voltage(struct regulator_dev *rdev, in regulator_check_voltage() 82 static inline int regulator_get_voltage_rdev(struct regulator_dev *rdev) in regulator_get_voltage_rdev() 86 static inline int regulator_set_voltage_rdev(struct regulator_dev *rdev, in regulator_set_voltage_rdev() 92 static inline int regulator_do_balance_voltage(struct regulator_dev *rdev, in regulator_do_balance_voltage()
|