/drivers/gpu/drm/radeon/ |
D | rv6xx_dpm.c | 43 static struct rv6xx_power_info *rv6xx_get_pi(struct radeon_device *rdev) in rv6xx_get_pi() 50 static void rv6xx_force_pcie_gen1(struct radeon_device *rdev) in rv6xx_force_pcie_gen1() 74 static void rv6xx_enable_pcie_gen2_support(struct radeon_device *rdev) in rv6xx_enable_pcie_gen2_support() 87 static void rv6xx_enable_bif_dynamic_pcie_gen2(struct radeon_device *rdev, in rv6xx_enable_bif_dynamic_pcie_gen2() 100 static void rv6xx_enable_l0s(struct radeon_device *rdev) in rv6xx_enable_l0s() 109 static void rv6xx_enable_l1(struct radeon_device *rdev) in rv6xx_enable_l1() 121 static void rv6xx_enable_pll_sleep_in_l1(struct radeon_device *rdev) in rv6xx_enable_pll_sleep_in_l1() 138 static int rv6xx_convert_clock_to_stepping(struct radeon_device *rdev, in rv6xx_convert_clock_to_stepping() 159 static void rv6xx_output_stepping(struct radeon_device *rdev, in rv6xx_output_stepping() 193 static struct rv6xx_sclk_stepping rv6xx_next_vco_step(struct radeon_device *rdev, in rv6xx_next_vco_step() [all …]
|
D | r600.c | 120 u32 r600_rcu_rreg(struct radeon_device *rdev, u32 reg) in r600_rcu_rreg() 132 void r600_rcu_wreg(struct radeon_device *rdev, u32 reg, u32 v) in r600_rcu_wreg() 142 u32 r600_uvd_ctx_rreg(struct radeon_device *rdev, u32 reg) in r600_uvd_ctx_rreg() 154 void r600_uvd_ctx_wreg(struct radeon_device *rdev, u32 reg, u32 v) in r600_uvd_ctx_wreg() 174 int r600_get_allowed_info_register(struct radeon_device *rdev, in r600_get_allowed_info_register() 198 u32 r600_get_xclk(struct radeon_device *rdev) in r600_get_xclk() 203 int r600_set_uvd_clocks(struct radeon_device *rdev, u32 vclk, u32 dclk) in r600_set_uvd_clocks() 299 struct radeon_device *rdev = dev->dev_private; in dce3_program_fmt() local 350 int rv6xx_get_temp(struct radeon_device *rdev) in rv6xx_get_temp() 362 void r600_pm_get_dynpm_state(struct radeon_device *rdev) in r600_pm_get_dynpm_state() [all …]
|
D | rv770_dpm.c | 56 struct rv7xx_power_info *rv770_get_pi(struct radeon_device *rdev) in rv770_get_pi() 63 struct evergreen_power_info *evergreen_get_pi(struct radeon_device *rdev) in evergreen_get_pi() 70 static void rv770_enable_bif_dynamic_pcie_gen2(struct radeon_device *rdev, in rv770_enable_bif_dynamic_pcie_gen2() 93 static void rv770_enable_l0s(struct radeon_device *rdev) in rv770_enable_l0s() 102 static void rv770_enable_l1(struct radeon_device *rdev) in rv770_enable_l1() 114 static void rv770_enable_pll_sleep_in_l1(struct radeon_device *rdev) in rv770_enable_pll_sleep_in_l1() 131 static void rv770_gfx_clock_gating_enable(struct radeon_device *rdev, in rv770_gfx_clock_gating_enable() 144 static void rv770_mg_clock_gating_enable(struct radeon_device *rdev, in rv770_mg_clock_gating_enable() 168 void rv770_restore_cgcg(struct radeon_device *rdev) in rv770_restore_cgcg() 181 static void rv770_start_dpm(struct radeon_device *rdev) in rv770_start_dpm() [all …]
|
D | kv_dpm.c | 151 static struct kv_power_info *kv_get_pi(struct radeon_device *rdev) in kv_get_pi() 158 static int kv_program_pt_config_registers(struct radeon_device *rdev, in kv_program_pt_config_registers() 207 static void kv_do_enable_didt(struct radeon_device *rdev, bool enable) in kv_do_enable_didt() 249 static int kv_enable_didt(struct radeon_device *rdev, bool enable) in kv_enable_didt() 276 static int kv_enable_smc_cac(struct radeon_device *rdev, bool enable) in kv_enable_smc_cac() 297 static int kv_process_firmware_header(struct radeon_device *rdev) in kv_process_firmware_header() 320 static int kv_enable_dpm_voltage_scaling(struct radeon_device *rdev) in kv_enable_dpm_voltage_scaling() 336 static int kv_set_dpm_interval(struct radeon_device *rdev) in kv_set_dpm_interval() 352 static int kv_set_dpm_boot_state(struct radeon_device *rdev) in kv_set_dpm_boot_state() 366 static void kv_program_vc(struct radeon_device *rdev) in kv_program_vc() [all …]
|
D | sumo_dpm.c | 81 struct sumo_power_info *sumo_get_pi(struct radeon_device *rdev) in sumo_get_pi() 88 static void sumo_gfx_clockgating_enable(struct radeon_device *rdev, bool enable) in sumo_gfx_clockgating_enable() 103 static void sumo_mg_clockgating_enable(struct radeon_device *rdev, bool enable) in sumo_mg_clockgating_enable() 120 static void sumo_program_git(struct radeon_device *rdev) in sumo_program_git() 131 static void sumo_program_grsd(struct radeon_device *rdev) in sumo_program_grsd() 142 void sumo_gfx_clockgating_initialize(struct radeon_device *rdev) in sumo_gfx_clockgating_initialize() 148 static void sumo_gfx_powergating_initialize(struct radeon_device *rdev) in sumo_gfx_powergating_initialize() 274 static void sumo_gfx_powergating_enable(struct radeon_device *rdev, bool enable) in sumo_gfx_powergating_enable() 284 static int sumo_enable_clock_power_gating(struct radeon_device *rdev) in sumo_enable_clock_power_gating() 302 static void sumo_disable_clock_power_gating(struct radeon_device *rdev) in sumo_disable_clock_power_gating() [all …]
|
D | ci_dpm.c | 172 static struct ci_power_info *ci_get_pi(struct radeon_device *rdev) in ci_get_pi() 186 static void ci_initialize_powertune_defaults(struct radeon_device *rdev) in ci_initialize_powertune_defaults() 251 static int ci_populate_bapm_vddc_vid_sidd(struct radeon_device *rdev) in ci_populate_bapm_vddc_vid_sidd() 280 static int ci_populate_vddc_vid(struct radeon_device *rdev) in ci_populate_vddc_vid() 295 static int ci_populate_svi_load_line(struct radeon_device *rdev) in ci_populate_svi_load_line() 308 static int ci_populate_tdc_limit(struct radeon_device *rdev) in ci_populate_tdc_limit() 323 static int ci_populate_dw8(struct radeon_device *rdev) in ci_populate_dw8() 343 static int ci_populate_fuzzy_fan(struct radeon_device *rdev) in ci_populate_fuzzy_fan() 358 static int ci_min_max_v_gnbl_pm_lid_from_bapm_vddc(struct radeon_device *rdev) in ci_min_max_v_gnbl_pm_lid_from_bapm_vddc() 390 static int ci_populate_bapm_vddc_base_leakage_sidd(struct radeon_device *rdev) in ci_populate_bapm_vddc_base_leakage_sidd() [all …]
|
D | r600_dpm.c | 143 void r600_dpm_print_ps_status(struct radeon_device *rdev, in r600_dpm_print_ps_status() 156 u32 r600_dpm_get_vblank_time(struct radeon_device *rdev) in r600_dpm_get_vblank_time() 183 u32 r600_dpm_get_vrefresh(struct radeon_device *rdev) in r600_dpm_get_vrefresh() 242 void r600_gfx_clockgating_enable(struct radeon_device *rdev, bool enable) in r600_gfx_clockgating_enable() 266 void r600_dynamicpm_enable(struct radeon_device *rdev, bool enable) in r600_dynamicpm_enable() 274 void r600_enable_thermal_protection(struct radeon_device *rdev, bool enable) in r600_enable_thermal_protection() 282 void r600_enable_acpi_pm(struct radeon_device *rdev) in r600_enable_acpi_pm() 287 void r600_enable_dynamic_pcie_gen2(struct radeon_device *rdev, bool enable) in r600_enable_dynamic_pcie_gen2() 295 bool r600_dynamicpm_enabled(struct radeon_device *rdev) in r600_dynamicpm_enabled() 303 void r600_enable_sclk_control(struct radeon_device *rdev, bool enable) in r600_enable_sclk_control() [all …]
|
D | ni.c | 47 u32 tn_smc_rreg(struct radeon_device *rdev, u32 reg) in tn_smc_rreg() 59 void tn_smc_wreg(struct radeon_device *rdev, u32 reg, u32 v) in tn_smc_wreg() 443 static void ni_init_golden_registers(struct radeon_device *rdev) in ni_init_golden_registers() 624 int ni_mc_load_microcode(struct radeon_device *rdev) in ni_mc_load_microcode() 700 int ni_init_microcode(struct radeon_device *rdev) in ni_init_microcode() 848 int cayman_get_allowed_info_register(struct radeon_device *rdev, in cayman_get_allowed_info_register() 867 int tn_get_temp(struct radeon_device *rdev) in tn_get_temp() 878 static void cayman_gpu_init(struct radeon_device *rdev) in cayman_gpu_init() 1252 void cayman_pcie_gart_tlb_flush(struct radeon_device *rdev) in cayman_pcie_gart_tlb_flush() 1261 static int cayman_pcie_gart_enable(struct radeon_device *rdev) in cayman_pcie_gart_enable() [all …]
|
D | rs600.c | 63 static bool avivo_is_in_vblank(struct radeon_device *rdev, int crtc) in avivo_is_in_vblank() 71 static bool avivo_is_counter_moving(struct radeon_device *rdev, int crtc) in avivo_is_counter_moving() 92 void avivo_wait_for_vblank(struct radeon_device *rdev, int crtc) in avivo_wait_for_vblank() 120 void rs600_page_flip(struct radeon_device *rdev, int crtc_id, u64 crtc_base, bool async) in rs600_page_flip() 156 bool rs600_page_flip_pending(struct radeon_device *rdev, int crtc_id) in rs600_page_flip_pending() 168 struct radeon_device *rdev = dev->dev_private; in avivo_program_fmt() local 229 void rs600_pm_misc(struct radeon_device *rdev) in rs600_pm_misc() 323 void rs600_pm_prepare(struct radeon_device *rdev) in rs600_pm_prepare() 341 void rs600_pm_finish(struct radeon_device *rdev) in rs600_pm_finish() 360 bool rs600_hpd_sense(struct radeon_device *rdev, enum radeon_hpd_id hpd) in rs600_hpd_sense() [all …]
|
D | radeon_pm.c | 56 int radeon_pm_get_type_index(struct radeon_device *rdev, in radeon_pm_get_type_index() 74 void radeon_pm_acpi_event_handler(struct radeon_device *rdev) in radeon_pm_acpi_event_handler() 97 static void radeon_pm_update_profile(struct radeon_device *rdev) in radeon_pm_update_profile() 149 static void radeon_unmap_vram_bos(struct radeon_device *rdev) in radeon_unmap_vram_bos() 162 static void radeon_sync_with_vblank(struct radeon_device *rdev) in radeon_sync_with_vblank() 172 static void radeon_set_power_state(struct radeon_device *rdev) in radeon_set_power_state() 252 static void radeon_pm_set_clocks(struct radeon_device *rdev) in radeon_pm_set_clocks() 321 static void radeon_pm_print_states(struct radeon_device *rdev) in radeon_pm_print_states() 360 struct radeon_device *rdev = ddev->dev_private; in radeon_get_pm_profile() local 375 struct radeon_device *rdev = ddev->dev_private; in radeon_set_pm_profile() local [all …]
|
D | trinity_dpm.c | 311 static struct trinity_power_info *trinity_get_pi(struct radeon_device *rdev) in trinity_get_pi() 318 static void trinity_gfx_powergating_initialize(struct radeon_device *rdev) in trinity_gfx_powergating_initialize() 358 static void trinity_mg_clockgating_enable(struct radeon_device *rdev, in trinity_mg_clockgating_enable() 387 static void trinity_mg_clockgating_initialize(struct radeon_device *rdev) in trinity_mg_clockgating_initialize() 398 static void trinity_gfx_clockgating_enable(struct radeon_device *rdev, in trinity_gfx_clockgating_enable() 411 static void trinity_program_clk_gating_hw_sequence(struct radeon_device *rdev, in trinity_program_clk_gating_hw_sequence() 420 static void trinity_program_override_mgpg_sequences(struct radeon_device *rdev, in trinity_program_override_mgpg_sequences() 430 static void trinity_override_dynamic_mg_powergating(struct radeon_device *rdev) in trinity_override_dynamic_mg_powergating() 441 static void trinity_ls_clockgating_enable(struct radeon_device *rdev, in trinity_ls_clockgating_enable() 458 static void trinity_gfx_powergating_enable(struct radeon_device *rdev, in trinity_gfx_powergating_enable() [all …]
|
D | r100.c | 77 static bool r100_is_in_vblank(struct radeon_device *rdev, int crtc) in r100_is_in_vblank() 92 static bool r100_is_counter_moving(struct radeon_device *rdev, int crtc) in r100_is_counter_moving() 117 void r100_wait_for_vblank(struct radeon_device *rdev, int crtc) in r100_wait_for_vblank() 163 void r100_page_flip(struct radeon_device *rdev, int crtc_id, u64 crtc_base, bool async) in r100_page_flip() 205 bool r100_page_flip_pending(struct radeon_device *rdev, int crtc_id) in r100_page_flip_pending() 223 void r100_pm_get_dynpm_state(struct radeon_device *rdev) in r100_pm_get_dynpm_state() 314 void r100_pm_init_profile(struct radeon_device *rdev) in r100_pm_init_profile() 361 void r100_pm_misc(struct radeon_device *rdev) in r100_pm_misc() 459 void r100_pm_prepare(struct radeon_device *rdev) in r100_pm_prepare() 490 void r100_pm_finish(struct radeon_device *rdev) in r100_pm_finish() [all …]
|
D | radeon_device.c | 160 struct radeon_device *rdev = dev->dev_private; in radeon_is_px() local 167 static void radeon_device_handle_px_quirks(struct radeon_device *rdev) in radeon_device_handle_px_quirks() 202 void radeon_program_register_sequence(struct radeon_device *rdev, in radeon_program_register_sequence() 228 void radeon_pci_config_reset(struct radeon_device *rdev) in radeon_pci_config_reset() 240 void radeon_surface_init(struct radeon_device *rdev) in radeon_surface_init() 267 void radeon_scratch_init(struct radeon_device *rdev) in radeon_scratch_init() 293 int radeon_scratch_get(struct radeon_device *rdev, uint32_t *reg) in radeon_scratch_get() 315 void radeon_scratch_free(struct radeon_device *rdev, uint32_t reg) in radeon_scratch_free() 338 static int radeon_doorbell_init(struct radeon_device *rdev) in radeon_doorbell_init() 367 static void radeon_doorbell_fini(struct radeon_device *rdev) in radeon_doorbell_fini() [all …]
|
D | rs780_dpm.c | 42 static struct igp_power_info *rs780_get_pi(struct radeon_device *rdev) in rs780_get_pi() 49 static void rs780_get_pm_mode_parameters(struct radeon_device *rdev) in rs780_get_pm_mode_parameters() 75 static int rs780_initialize_dpm_power_state(struct radeon_device *rdev, in rs780_initialize_dpm_power_state() 109 static int rs780_initialize_dpm_parameters(struct radeon_device *rdev, in rs780_initialize_dpm_parameters() 176 static void rs780_start_dpm(struct radeon_device *rdev) in rs780_start_dpm() 200 static void rs780_preset_ranges_slow_clk_fbdiv_en(struct radeon_device *rdev) in rs780_preset_ranges_slow_clk_fbdiv_en() 210 static void rs780_preset_starting_fbdiv(struct radeon_device *rdev) in rs780_preset_starting_fbdiv() 223 static void rs780_voltage_scaling_init(struct radeon_device *rdev) in rs780_voltage_scaling_init() 303 static void rs780_clk_scaling_enable(struct radeon_device *rdev, bool enable) in rs780_clk_scaling_enable() 313 static void rs780_voltage_scaling_enable(struct radeon_device *rdev, bool enable) in rs780_voltage_scaling_enable() [all …]
|
D | cypress_dpm.c | 48 static void cypress_enable_bif_dynamic_pcie_gen2(struct radeon_device *rdev, in cypress_enable_bif_dynamic_pcie_gen2() 85 static void cypress_enable_dynamic_pcie_gen2(struct radeon_device *rdev, in cypress_enable_dynamic_pcie_gen2() 118 static void cypress_gfx_clock_gating_enable(struct radeon_device *rdev, in cypress_gfx_clock_gating_enable() 170 static void cypress_mg_clock_gating_enable(struct radeon_device *rdev, in cypress_mg_clock_gating_enable() 219 void cypress_enable_spread_spectrum(struct radeon_device *rdev, in cypress_enable_spread_spectrum() 238 void cypress_start_dpm(struct radeon_device *rdev) in cypress_start_dpm() 243 void cypress_enable_sclk_control(struct radeon_device *rdev, in cypress_enable_sclk_control() 252 void cypress_enable_mclk_control(struct radeon_device *rdev, in cypress_enable_mclk_control() 261 int cypress_notify_smc_display_change(struct radeon_device *rdev, in cypress_notify_smc_display_change() 273 void cypress_program_response_times(struct radeon_device *rdev) in cypress_program_response_times() [all …]
|
D | si.c | 1228 static void si_init_golden_registers(struct radeon_device *rdev) in si_init_golden_registers() 1307 int si_get_allowed_info_register(struct radeon_device *rdev, in si_get_allowed_info_register() 1338 u32 si_get_xclk(struct radeon_device *rdev) in si_get_xclk() 1355 int si_get_temp(struct radeon_device *rdev) in si_get_temp() 1571 int si_mc_load_microcode(struct radeon_device *rdev) in si_mc_load_microcode() 1669 static int si_init_microcode(struct radeon_device *rdev) in si_init_microcode() 1966 static u32 dce6_line_buffer_adjust(struct radeon_device *rdev, in dce6_line_buffer_adjust() 2025 static u32 si_get_number_of_dram_channels(struct radeon_device *rdev) in si_get_number_of_dram_channels() 2293 static void dce6_program_watermarks(struct radeon_device *rdev, in dce6_program_watermarks() 2459 void dce6_bandwidth_update(struct radeon_device *rdev) in dce6_bandwidth_update() [all …]
|
D | si_dpm.c | 1743 static struct si_power_info *si_get_pi(struct radeon_device *rdev) in si_get_pi() 1777 static void si_calculate_leakage_for_v_and_t(struct radeon_device *rdev, in si_calculate_leakage_for_v_and_t() 1805 static void si_calculate_leakage_for_v(struct radeon_device *rdev, in si_calculate_leakage_for_v() 1816 static void si_update_dte_from_pl2(struct radeon_device *rdev, in si_update_dte_from_pl2() 1846 static void si_initialize_powertune_defaults(struct radeon_device *rdev) in si_initialize_powertune_defaults() 2072 static u32 si_get_smc_power_scaling_factor(struct radeon_device *rdev) in si_get_smc_power_scaling_factor() 2077 static u32 si_calculate_cac_wintime(struct radeon_device *rdev) in si_calculate_cac_wintime() 2102 static int si_calculate_adjusted_tdp_limits(struct radeon_device *rdev, in si_calculate_adjusted_tdp_limits() 2135 static int si_populate_smc_tdp_limits(struct radeon_device *rdev, in si_populate_smc_tdp_limits() 2200 static int si_populate_smc_tdp_limits_2(struct radeon_device *rdev, in si_populate_smc_tdp_limits_2() [all …]
|
D | rs400.c | 42 void rs400_gart_adjust_size(struct radeon_device *rdev) in rs400_gart_adjust_size() 64 void rs400_gart_tlb_flush(struct radeon_device *rdev) in rs400_gart_tlb_flush() 80 int rs400_gart_init(struct radeon_device *rdev) in rs400_gart_init() 110 int rs400_gart_enable(struct radeon_device *rdev) in rs400_gart_enable() 197 void rs400_gart_disable(struct radeon_device *rdev) in rs400_gart_disable() 207 void rs400_gart_fini(struct radeon_device *rdev) in rs400_gart_fini() 233 void rs400_gart_set_page(struct radeon_device *rdev, unsigned i, in rs400_gart_set_page() 240 int rs400_mc_wait_for_idle(struct radeon_device *rdev) in rs400_mc_wait_for_idle() 256 static void rs400_gpu_init(struct radeon_device *rdev) in rs400_gpu_init() 266 static void rs400_mc_init(struct radeon_device *rdev) in rs400_mc_init() [all …]
|
D | cik.c | 153 int cik_get_allowed_info_register(struct radeon_device *rdev, in cik_get_allowed_info_register() 179 u32 cik_didt_rreg(struct radeon_device *rdev, u32 reg) in cik_didt_rreg() 191 void cik_didt_wreg(struct radeon_device *rdev, u32 reg, u32 v) in cik_didt_wreg() 202 int ci_get_temp(struct radeon_device *rdev) in ci_get_temp() 219 int kv_get_temp(struct radeon_device *rdev) in kv_get_temp() 237 u32 cik_pciep_rreg(struct radeon_device *rdev, u32 reg) in cik_pciep_rreg() 250 void cik_pciep_wreg(struct radeon_device *rdev, u32 reg, u32 v) in cik_pciep_wreg() 1619 static void cik_init_golden_registers(struct radeon_device *rdev) in cik_init_golden_registers() 1705 u32 cik_get_xclk(struct radeon_device *rdev) in cik_get_xclk() 1728 u32 cik_mm_rdoorbell(struct radeon_device *rdev, u32 index) in cik_mm_rdoorbell() [all …]
|
D | r300.c | 59 uint32_t rv370_pcie_rreg(struct radeon_device *rdev, uint32_t reg) in rv370_pcie_rreg() 71 void rv370_pcie_wreg(struct radeon_device *rdev, uint32_t reg, uint32_t v) in rv370_pcie_wreg() 86 void rv370_pcie_gart_tlb_flush(struct radeon_device *rdev) in rv370_pcie_gart_tlb_flush() 118 void rv370_pcie_gart_set_page(struct radeon_device *rdev, unsigned i, in rv370_pcie_gart_set_page() 129 int rv370_pcie_gart_init(struct radeon_device *rdev) in rv370_pcie_gart_init() 150 int rv370_pcie_gart_enable(struct radeon_device *rdev) in rv370_pcie_gart_enable() 190 void rv370_pcie_gart_disable(struct radeon_device *rdev) in rv370_pcie_gart_disable() 204 void rv370_pcie_gart_fini(struct radeon_device *rdev) in rv370_pcie_gart_fini() 211 void r300_fence_ring_emit(struct radeon_device *rdev, in r300_fence_ring_emit() 245 void r300_ring_start(struct radeon_device *rdev, struct radeon_ring *ring) in r300_ring_start() [all …]
|
D | evergreen.c | 56 u32 eg_cg_rreg(struct radeon_device *rdev, u32 reg) in eg_cg_rreg() 68 void eg_cg_wreg(struct radeon_device *rdev, u32 reg, u32 v) in eg_cg_wreg() 78 u32 eg_pif_phy0_rreg(struct radeon_device *rdev, u32 reg) in eg_pif_phy0_rreg() 90 void eg_pif_phy0_wreg(struct radeon_device *rdev, u32 reg, u32 v) in eg_pif_phy0_wreg() 100 u32 eg_pif_phy1_rreg(struct radeon_device *rdev, u32 reg) in eg_pif_phy1_rreg() 112 void eg_pif_phy1_wreg(struct radeon_device *rdev, u32 reg, u32 v) in eg_pif_phy1_wreg() 996 static void evergreen_init_golden_registers(struct radeon_device *rdev) in evergreen_init_golden_registers() 1092 int evergreen_get_allowed_info_register(struct radeon_device *rdev, in evergreen_get_allowed_info_register() 1141 static int sumo_set_uvd_clock(struct radeon_device *rdev, u32 clock, in sumo_set_uvd_clock() 1165 int sumo_set_uvd_clocks(struct radeon_device *rdev, u32 vclk, u32 dclk) in sumo_set_uvd_clocks() [all …]
|
D | radeon_irq_kms.c | 56 struct radeon_device *rdev = dev->dev_private; in radeon_driver_irq_handler_kms() local 81 struct radeon_device *rdev = container_of(work, struct radeon_device, in radeon_hotplug_work_func() local 102 struct radeon_device *rdev = container_of(work, struct radeon_device, in radeon_dp_work_func() local 124 struct radeon_device *rdev = dev->dev_private; in radeon_driver_irq_preinstall_kms() local 156 struct radeon_device *rdev = dev->dev_private; in radeon_driver_irq_postinstall_kms() local 175 struct radeon_device *rdev = dev->dev_private; in radeon_driver_irq_uninstall_kms() local 198 static int radeon_irq_install(struct radeon_device *rdev, int irq) in radeon_irq_install() 219 static void radeon_irq_uninstall(struct radeon_device *rdev) in radeon_irq_uninstall() 238 static bool radeon_msi_ok(struct radeon_device *rdev) in radeon_msi_ok() 318 int radeon_irq_kms_init(struct radeon_device *rdev) in radeon_irq_kms_init() [all …]
|
/drivers/regulator/ |
D | core.c | 101 const char *rdev_get_name(struct regulator_dev *rdev) in rdev_get_name() 117 static bool regulator_ops_is_valid(struct regulator_dev *rdev, int ops) in regulator_ops_is_valid() 141 static inline int regulator_lock_nested(struct regulator_dev *rdev, in regulator_lock_nested() 184 static void regulator_lock(struct regulator_dev *rdev) in regulator_lock() 196 static void regulator_unlock(struct regulator_dev *rdev) in regulator_unlock() 275 static bool regulator_supply_is_couple(struct regulator_dev *rdev) in regulator_supply_is_couple() 290 static void regulator_unlock_recursive(struct regulator_dev *rdev, in regulator_unlock_recursive() 314 static int regulator_lock_recursive(struct regulator_dev *rdev, in regulator_lock_recursive() 371 static void regulator_unlock_dependent(struct regulator_dev *rdev, in regulator_unlock_dependent() 386 static void regulator_lock_dependent(struct regulator_dev *rdev, in regulator_lock_dependent() [all …]
|
/drivers/infiniband/hw/cxgb4/ |
D | resource.c | 38 static int c4iw_init_qid_table(struct c4iw_rdev *rdev) in c4iw_init_qid_table() 56 int c4iw_init_resource(struct c4iw_rdev *rdev, u32 nr_tpt, in c4iw_init_resource() 108 u32 c4iw_get_cqid(struct c4iw_rdev *rdev, struct c4iw_dev_ucontext *uctx) in c4iw_get_cqid() 163 void c4iw_put_cqid(struct c4iw_rdev *rdev, u32 qid, in c4iw_put_cqid() 178 u32 c4iw_get_qpid(struct c4iw_rdev *rdev, struct c4iw_dev_ucontext *uctx) in c4iw_get_qpid() 237 void c4iw_put_qpid(struct c4iw_rdev *rdev, u32 qid, in c4iw_put_qpid() 265 u32 c4iw_pblpool_alloc(struct c4iw_rdev *rdev, int size) in c4iw_pblpool_alloc() 283 struct c4iw_rdev *rdev; in destroy_pblpool() local 290 void c4iw_pblpool_free(struct c4iw_rdev *rdev, u32 addr, int size) in c4iw_pblpool_free() 300 int c4iw_pblpool_create(struct c4iw_rdev *rdev) in c4iw_pblpool_create() [all …]
|
/drivers/infiniband/hw/bnxt_re/ |
D | main.c | 90 static void bnxt_re_set_db_offset(struct bnxt_re_dev *rdev) in bnxt_re_set_db_offset() 126 static void bnxt_re_set_drv_mode(struct bnxt_re_dev *rdev, u8 mode) in bnxt_re_set_drv_mode() 138 static void bnxt_re_destroy_chip_ctx(struct bnxt_re_dev *rdev) in bnxt_re_destroy_chip_ctx() 153 static int bnxt_re_setup_chip_ctx(struct bnxt_re_dev *rdev, u8 wqe_mode) in bnxt_re_setup_chip_ctx() 190 static void bnxt_re_get_sriov_func_type(struct bnxt_re_dev *rdev) in bnxt_re_get_sriov_func_type() 201 static void bnxt_re_limit_pf_res(struct bnxt_re_dev *rdev) in bnxt_re_limit_pf_res() 260 static void bnxt_re_set_resource_limits(struct bnxt_re_dev *rdev) in bnxt_re_set_resource_limits() 273 static void bnxt_re_vf_res_config(struct bnxt_re_dev *rdev) in bnxt_re_vf_res_config() 288 struct bnxt_re_dev *rdev = auxiliary_get_drvdata(adev); in bnxt_re_shutdown() local 298 struct bnxt_re_dev *rdev = (struct bnxt_re_dev *)handle; in bnxt_re_stop_irq() local [all …]
|