id
stringlengths
4
63
text
stringlengths
153
8.81M
smpboot_unregister_percpu_thread(9)
NAME smpboot_unregister_percpu_thread - Unregister a per_cpu thread related to hotplug SYNOPSIS void smpboot_unregister_percpu_thread (struct smp_hotplug_thread *plug_thread ); ARGUMENTS plug_thread Hotplug thread descriptor DESCRIPTION Stops all threads on all possible cpus. SEE ALSO Kernel file ./kernel/smpboot.c...
smsm_get_size_info(9)
NAME smsm_get_size_info - parse the optional memory segment for sizes SYNOPSIS int smsm_get_size_info (struct qcom_smsm *smsm ); ARGUMENTS smsm smsm driver context DESCRIPTION Attempt to acquire the number of hosts and entries from the optional shared memory location. Not being able to find this segment sho...
smsm_inbound_entry(9)
NAME smsm_inbound_entry - parse DT and set up an entry representing a remote system SYNOPSIS int smsm_inbound_entry (struct qcom_smsm *smsm , struct smsm_entry *entry , struct device_node *node ); ARGUMENTS smsm smsm driver context entry entry context to be set up node dt node cont...
smsm_intr(9)
NAME smsm_intr - cascading IRQ handler for SMSM SYNOPSIS irqreturn_t smsm_intr (int irq , void *data ); ARGUMENTS irq unused data entry related to this IRQ DESCRIPTION This function cascades an incoming interrupt from a remote system, based on the state bits and configuration. SEE ALSO Kernel...
smsm_irq_map(9)
NAME smsm_irq_map - sets up a mapping for a cascaded IRQ SYNOPSIS int smsm_irq_map (struct irq_domain *d , unsigned int irq , irq_hw_number_t hw ); ARGUMENTS d IRQ domain representing an entry irq IRQ to set up hw unused SEE ALSO Kernel file ./drivers/soc/qcom/smsm.c str...
smsm_mask_irq(9)
NAME smsm_mask_irq - un-subscribe from cascades of IRQs of a certain staus bit SYNOPSIS void smsm_mask_irq (struct irq_data *irqd ); ARGUMENTS irqd IRQ handle to be masked DESCRIPTION This un-subscribes the local CPU from interrupts upon changes to the defines status bit. The bit is also cleared from cascadin...
smsm_parse_ipc(9)
NAME smsm_parse_ipc - parses a qcom,ipc-%d device tree property SYNOPSIS int smsm_parse_ipc (struct qcom_smsm *smsm , unsigned host_id ); ARGUMENTS smsm smsm driver context host_id index of the remote host to be resolved DESCRIPTION Parses device tree to acquire the information needed for sending ...
smsm_parse_mbox(9)
NAME smsm_parse_mbox - requests an mbox channel SYNOPSIS int smsm_parse_mbox (struct qcom_smsm *smsm , unsigned int host_id ); ARGUMENTS smsm smsm driver context host_id index of the remote host to be resolved DESCRIPTION Requests the desired channel using the mbox interface which is needed for se...
smsm_set_irq_type(9)
NAME smsm_set_irq_type - updates the requested IRQ type for the cascading SYNOPSIS int smsm_set_irq_type (struct irq_data *irqd , unsigned int type ); ARGUMENTS irqd consumer interrupt handle type requested flags SEE ALSO Kernel file ./drivers/soc/qcom/smsm.c struct qcom_smsm(9), struct s...
smsm_unmask_irq(9)
NAME smsm_unmask_irq - subscribe to cascades of IRQs of a certain status bit SYNOPSIS void smsm_unmask_irq (struct irq_data *irqd ); ARGUMENTS irqd IRQ handle to be unmasked DESCRIPTION This subscribes the local CPU to interrupts upon changes to the defined status bit. The bit is also marked for cascading. S...
smsm_update_bits(9)
NAME smsm_update_bits - change bit in outgoing entry and inform subscribers SYNOPSIS int smsm_update_bits (void *data , u32 mask , u32 value ); ARGUMENTS data smsm context pointer mask value mask value new value DESCRIPTION Used to set and clear the bits in the outgoing/local entr...
smu7_construct_voltage_tables(9)
NAME smu7_construct_voltage_tables - Create Voltage Tables. SYNOPSIS int smu7_construct_voltage_tables (struct pp_hwmgr *hwmgr ); ARGUMENTS hwmgr the address of the powerplay hardware manager. RETURN always 0 SEE ALSO Kernel file ./drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c smu7_get_mc_microcode_...
smu7_enable_acpi_power_management(9)
NAME smu7_enable_acpi_power_management - Enables Dynamic Power Management by SMC SYNOPSIS int smu7_enable_acpi_power_management (struct pp_hwmgr *hwmgr ); ARGUMENTS hwmgr the address of the powerplay hardware manager. RETURN always 0 SEE ALSO Kernel file ./drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c...
smu7_enable_display_gap(9)
NAME smu7_enable_display_gap - Setup display gap for glitch free memory clock switching. SYNOPSIS int smu7_enable_display_gap (struct pp_hwmgr *hwmgr ); ARGUMENTS hwmgr the address of the powerplay hardware manager. RETURN always 0 SEE ALSO Kernel file ./drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c ...
smu7_enable_smc_voltage_controller(9)
NAME smu7_enable_smc_voltage_controller - Enable voltage control SYNOPSIS int smu7_enable_smc_voltage_controller (struct pp_hwmgr *hwmgr ); ARGUMENTS hwmgr the address of the powerplay hardware manager. RETURN always PP_Result_OK SEE ALSO Kernel file ./drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c ...
smu7_enable_voltage_control(9)
NAME smu7_enable_voltage_control - Enable voltage control SYNOPSIS int smu7_enable_voltage_control (struct pp_hwmgr *hwmgr ); ARGUMENTS hwmgr the address of the powerplay hardware manager. RETURN always 0 SEE ALSO Kernel file ./drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c smu7_get_mc_microcode_versi...
smu7_fan_ctrl_reset_fan_speed_to_default(9)
NAME smu7_fan_ctrl_reset_fan_speed_to_default - Reset Fan Speed to default. SYNOPSIS int smu7_fan_ctrl_reset_fan_speed_to_default (struct pp_hwmgr *hwmgr ); ARGUMENTS hwmgr the address of the powerplay hardware manager. Exception: Always succeeds. SEE ALSO Kernel file ./drivers/gpu/drm/amd/pm/powerplay/hwmg...
smu7_fan_ctrl_set_default_mode(9)
NAME smu7_fan_ctrl_set_default_mode - Reset Fan Speed Control to default mode. SYNOPSIS int smu7_fan_ctrl_set_default_mode (struct pp_hwmgr *hwmgr ); ARGUMENTS hwmgr the address of the powerplay hardware manager. Exception: Should always succeed. SEE ALSO Kernel file ./drivers/gpu/drm/amd/pm/powerplay/hwmgr...
smu7_fan_ctrl_set_fan_speed_pwm(9)
NAME smu7_fan_ctrl_set_fan_speed_pwm - Set Fan Speed in PWM. SYNOPSIS int smu7_fan_ctrl_set_fan_speed_pwm (struct pp_hwmgr *hwmgr , uint32_t speed ); ARGUMENTS hwmgr the address of the powerplay hardware manager. speed is the pwm value (0 - 255) to be set. SEE ALSO Kernel file ./drivers/gpu/drm...
smu7_fan_ctrl_set_fan_speed_rpm(9)
NAME smu7_fan_ctrl_set_fan_speed_rpm - Set Fan Speed in RPM. SYNOPSIS int smu7_fan_ctrl_set_fan_speed_rpm (struct pp_hwmgr *hwmgr , uint32_t speed ); ARGUMENTS hwmgr the address of the powerplay hardware manager. speed is the percentage value (min - max) to be set. Exception: Fails is the speed n...
smu7_fan_ctrl_set_static_mode(9)
NAME smu7_fan_ctrl_set_static_mode - Set Fan Speed Control to static mode, so that the user can decide what speed to use. SYNOPSIS int smu7_fan_ctrl_set_static_mode (struct pp_hwmgr *hwmgr , uint32_t mode ); ARGUMENTS hwmgr the address of the powerplay hardware manager. mode the fan control mode,...
smu7_get_evv_voltages(9)
NAME smu7_get_evv_voltages - Get Leakage VDDC based on leakage ID. SYNOPSIS int smu7_get_evv_voltages (struct pp_hwmgr *hwmgr ); ARGUMENTS hwmgr the address of the powerplay hardware manager. RETURN always 0 SEE ALSO Kernel file ./drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c smu7_get_mc_microcode_ve...
smu7_get_mc_microcode_version(9)
NAME smu7_get_mc_microcode_version - Find the MC microcode version and store it in the HwMgr struct SYNOPSIS int smu7_get_mc_microcode_version (struct pp_hwmgr *hwmgr ); ARGUMENTS hwmgr the address of the powerplay hardware manager. RETURN always 0 SEE ALSO Kernel file ./drivers/gpu/drm/amd/pm/powerplay/hw...
smu7_get_memory_type(9)
NAME smu7_get_memory_type - Find out if memory is GDDR5. SYNOPSIS int smu7_get_memory_type (struct pp_hwmgr *hwmgr ); ARGUMENTS hwmgr the address of the powerplay hardware manager. RETURN always 0 SEE ALSO Kernel file ./drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c smu7_get_mc_microcode_version(9), ...
smu7_init_power_gate_state(9)
NAME smu7_init_power_gate_state - Initialize PowerGating States for different engines SYNOPSIS int smu7_init_power_gate_state (struct pp_hwmgr *hwmgr ); ARGUMENTS hwmgr the address of the powerplay hardware manager. RETURN always 0 SEE ALSO Kernel file ./drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c ...
smu7_initial_switch_from_arbf0_to_f1(9)
NAME smu7_initial_switch_from_arbf0_to_f1 - Initial switch from ARB F0->F1 SYNOPSIS int smu7_initial_switch_from_arbf0_to_f1 (struct pp_hwmgr *hwmgr ); ARGUMENTS hwmgr the address of the powerplay hardware manager. RETURN always 0 This function is to be called from the SetPowerState table. SEE ALSO Kernel fi...
smu7_patch_lookup_table_with_leakage(9)
NAME smu7_patch_lookup_table_with_leakage - Patch voltage lookup table by EVV leakages. SYNOPSIS int smu7_patch_lookup_table_with_leakage (struct pp_hwmgr *hwmgr , phm_ppt_v1_voltage_lookup_table *lookup_table , struct smu7_leakage_voltage *leakage_table ); ARGUMENTS hwmgr the address of the powerplay hardware ...
smu7_patch_ppt_v0_with_vdd_leakage(9)
NAME smu7_patch_ppt_v0_with_vdd_leakage - Change virtual leakage voltage to actual value. SYNOPSIS void smu7_patch_ppt_v0_with_vdd_leakage (struct pp_hwmgr *hwmgr , uint32_t *voltage , struct smu7_leakage_voltage *leakage_table ); ARGUMENTS hwmgr the address of the powerplay hardware manager. voltage ...
smu7_patch_ppt_v1_with_vdd_leakage(9)
NAME smu7_patch_ppt_v1_with_vdd_leakage - Change virtual leakage voltage to actual value. SYNOPSIS void smu7_patch_ppt_v1_with_vdd_leakage (struct pp_hwmgr *hwmgr , uint16_t *voltage , struct smu7_leakage_voltage *leakage_table ); ARGUMENTS hwmgr the address of the powerplay hardware manager. voltage ...
smu7_program_display_gap(9)
NAME smu7_program_display_gap - Programs the display gap SYNOPSIS int smu7_program_display_gap (struct pp_hwmgr *hwmgr ); ARGUMENTS hwmgr the address of the powerplay hardware manager. RETURN always OK SEE ALSO Kernel file ./drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c smu7_get_mc_microcode_version(...
smu7_program_static_screen_threshold_parameters(9)
NAME smu7_program_static_screen_threshold_parameters - Programs static screed detection parameters SYNOPSIS int smu7_program_static_screen_threshold_parameters (struct pp_hwmgr *hwmgr ); ARGUMENTS hwmgr the address of the powerplay hardware manager. RETURN always 0 SEE ALSO Kernel file ./drivers/gpu/drm/amd...
smu7_program_voting_clients(9)
NAME smu7_program_voting_clients - Programs activity state transition voting clients SYNOPSIS int smu7_program_voting_clients (struct pp_hwmgr *hwmgr ); ARGUMENTS hwmgr the address of the powerplay hardware manager. RETURN always 0 SEE ALSO Kernel file ./drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c ...
smu7_set_max_fan_rpm_output(9)
NAME smu7_set_max_fan_rpm_output - Set maximum target operating fan output RPM SYNOPSIS int smu7_set_max_fan_rpm_output (struct pp_hwmgr *hwmgr , uint16_t us_max_fan_rpm ); ARGUMENTS hwmgr the address of the powerplay hardware manager. us_max_fan_rpm max operating fan RPM value. RETU...
smu7_thermal_disable_alert(9)
NAME smu7_thermal_disable_alert - Disable thermal alerts on the RV770 thermal controller. SYNOPSIS int smu7_thermal_disable_alert (struct pp_hwmgr *hwmgr ); ARGUMENTS hwmgr The address of the hardware manager. SEE ALSO Kernel file ./drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_thermal.c smu7_fan_ctrl_set_sta...
smu7_thermal_enable_alert(9)
NAME smu7_thermal_enable_alert - Enable thermal alerts on the RV770 thermal controller. SYNOPSIS void smu7_thermal_enable_alert (struct pp_hwmgr *hwmgr ); ARGUMENTS hwmgr The address of the hardware manager. SEE ALSO Kernel file ./drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_thermal.c smu7_fan_ctrl_se...
smu7_thermal_get_temperature(9)
NAME smu7_thermal_get_temperature - Reads the remote temperature from the SIslands thermal controller. SYNOPSIS int smu7_thermal_get_temperature (struct pp_hwmgr *hwmgr ); ARGUMENTS hwmgr The address of the hardware manager. SEE ALSO Kernel file ./drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_thermal.c smu7_f...
smu7_thermal_initialize(9)
NAME smu7_thermal_initialize - Programs thermal controller one-time setting registers SYNOPSIS int smu7_thermal_initialize (struct pp_hwmgr *hwmgr ); ARGUMENTS hwmgr The address of the hardware manager. SEE ALSO Kernel file ./drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_thermal.c smu7_fan_ctrl_set_static_mod...
smu7_thermal_set_temperature_range(9)
NAME smu7_thermal_set_temperature_range - Set the requested temperature range for high and low alert signals SYNOPSIS int smu7_thermal_set_temperature_range (struct pp_hwmgr *hwmgr , int low_temp , int high_temp ); ARGUMENTS hwmgr The address of the hardware manager. low_temp Temperature to be progra...
smu7_thermal_start_smc_fan_control(9)
NAME smu7_thermal_start_smc_fan_control - Start the fan control on the SMC. SYNOPSIS int smu7_thermal_start_smc_fan_control (struct pp_hwmgr *hwmgr ); ARGUMENTS hwmgr the address of the powerplay hardware manager. RETURN result from set temperature range routine SEE ALSO Kernel file ./drivers/gpu/drm/amd/pm...
smu7_thermal_stop_thermal_controller(9)
NAME smu7_thermal_stop_thermal_controller - Uninitialize the thermal controller. Currently just disables alerts. SYNOPSIS int smu7_thermal_stop_thermal_controller (struct pp_hwmgr *hwmgr ); ARGUMENTS hwmgr The address of the hardware manager. SEE ALSO Kernel file ./drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7...
smu7_voltage_control(9)
NAME smu7_voltage_control - Checks if we want to support voltage control SYNOPSIS bool smu7_voltage_control (const struct pp_hwmgr *hwmgr ); ARGUMENTS hwmgr the address of the powerplay hardware manager. SEE ALSO Kernel file ./drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c smu7_get_mc_microcode_version...
smu_alloc_memory_pool(9)
NAME smu_alloc_memory_pool - allocate memory pool in the system memory SYNOPSIS int smu_alloc_memory_pool (struct smu_context *smu ); ARGUMENTS smu amdgpu_device pointer DESCRIPTION This memory pool will be used for SMC use and msg SetSystemVirtualDramAddr and DramLogSetDramAddr can notify it changed. Retur...
smu_cmn_disable_all_features_with_exception(9)
NAME smu_cmn_disable_all_features_with_exception - disable all dpm features except this specified by @mask SYNOPSIS int smu_cmn_disable_all_features_with_exception (struct smu_context *smu , enum smu_feature_mask mask ); ARGUMENTS smu smu_context pointer mask the dpm feature which should not be...
smu_cmn_send_smc_msg_with_param(9)
NAME smu_cmn_send_smc_msg_with_param - - send a message with parameter SYNOPSIS int smu_cmn_send_smc_msg_with_param (struct smu_context *smu , enum smu_message_type msg , uint32_t param , uint32_t *read_arg ); ARGUMENTS smu pointer to an SMU context msg message to send param para...
smu_cmn_wait_for_response(9)
NAME smu_cmn_wait_for_response - - wait for response from the SMU SYNOPSIS int smu_cmn_wait_for_response (struct smu_context *smu ); ARGUMENTS smu pointer to an SMU context DESCRIPTION Wait for status from the SMU. Return 0 on success, -errno on error, indicating the execution status and result of the messa...
smu_dpm_set_power_gate(9)
NAME smu_dpm_set_power_gate - power gate/ungate the specific IP block SYNOPSIS int smu_dpm_set_power_gate (void *handle , uint32_t block_type , bool gate , int inst ); ARGUMENTS handle smu_context pointer block_type the IP block to power gate/ungate gate to power gate if true, ungate othe...
smu_get_power_limit(9)
NAME smu_get_power_limit - Request one of the SMU Power Limits SYNOPSIS int smu_get_power_limit (void *handle , uint32_t *limit , enum pp_power_limit_level pp_limit_level , enum pp_power_type pp_power_type ); ARGUMENTS handle pointer to smu context limit requested limit is written back to this vari...
smu_memcpy_trailing(9)
NAME smu_memcpy_trailing - Copy the end of one structure into the middle of another SYNOPSIS smu_memcpy_trailing (dst , first_dst_member , last_dst_member , src , first_src_member ); ARGUMENTS dst Pointer to destination struct first_dst_member The member name in dst where the overwr...
smu_msg_send_async_locked(9)
NAME smu_msg_send_async_locked - Send message asynchronously, caller holds lock SYNOPSIS int smu_msg_send_async_locked (struct smu_msg_ctl *ctl , enum smu_message_type msg , u32 param ); ARGUMENTS ctl Message control block msg Message type param Message parameter DESCRIPTION Sen...
smu_reset_sdma_is_supported(9)
NAME smu_reset_sdma_is_supported - Check if SDMA reset is supported by SMU SYNOPSIS bool smu_reset_sdma_is_supported (struct smu_context *smu ); ARGUMENTS smu smu_context pointer DESCRIPTION This function checks if the SMU supports resetting the SDMA engine. It returns true if supported, false otherwise. S...
smu_restore_dpm_user_profile(9)
NAME smu_restore_dpm_user_profile - reinstate user dpm profile SYNOPSIS void smu_restore_dpm_user_profile (struct smu_context *smu ); ARGUMENTS smu smu_context pointer DESCRIPTION Restore the saved user power configurations include power limit, clock frequencies, fan control mode and fan speed. SEE ALSO Ker...
smu_set_user_clk_dependencies(9)
NAME smu_set_user_clk_dependencies - set user profile clock dependencies SYNOPSIS void smu_set_user_clk_dependencies (struct smu_context *smu , enum smu_clk_type clk ); ARGUMENTS smu smu_context pointer clk enum smu_clk_type type DESCRIPTION Enable/Disable the clock dependency for the clk typ...
smu_v11_0_i2c_receive(9)
NAME smu_v11_0_i2c_receive - Receive a block of data over the I2C bus from a slave device. SYNOPSIS uint32_t smu_v11_0_i2c_receive (struct i2c_adapter *control , u16 address , u8 *data , u32 numbytes , u32 i2c_flag ); ARGUMENTS control I2C adapter reference address The I2C address of the slave device....
smu_v11_0_i2c_transmit(9)
NAME smu_v11_0_i2c_transmit - Send a block of data over the I2C bus to a slave device. SYNOPSIS uint32_t smu_v11_0_i2c_transmit (struct i2c_adapter *control , u16 address , u8 *data , u32 numbytes , u32 i2c_flag ); ARGUMENTS control I2C adapter reference address The I2C address of the slave device. ...
smu_v12_0_get_gfxoff_status(9)
NAME smu_v12_0_get_gfxoff_status - get gfxoff status SYNOPSIS uint32_t smu_v12_0_get_gfxoff_status (struct smu_context *smu ); ARGUMENTS smu amdgpu_device pointer DESCRIPTION This function will be used to get gfxoff status Returns 0=GFXOFF(default). Returns 1=Transition out of GFX State. Returns 2=Not in G...
smu_v13_0_6_reset_sdma_is_supported(9)
NAME smu_v13_0_6_reset_sdma_is_supported - Check if SDMA reset is supported SYNOPSIS bool smu_v13_0_6_reset_sdma_is_supported (struct smu_context *smu ); ARGUMENTS smu smu_context pointer DESCRIPTION This function checks if the SMU supports resetting the SDMA engine. It returns false if the capability is no...
smu_wbrf_delayed_work_handler(9)
NAME smu_wbrf_delayed_work_handler - callback on delayed work timer expired SYNOPSIS void smu_wbrf_delayed_work_handler (struct work_struct *work ); ARGUMENTS work struct work_struct pointer DESCRIPTION Flood is over and driver will consume the latest exclusion ranges. SEE ALSO Kernel file ./drivers/gpu/...
smu_wbrf_event_handler(9)
NAME smu_wbrf_event_handler - handle notify events SYNOPSIS int smu_wbrf_event_handler (struct notifier_block *nb , unsigned long action , void *_arg ); ARGUMENTS nb notifier block action event type _arg event data DESCRIPTION Calls relevant amdgpu function in response to wbrf ev...
smu_wbrf_fini(9)
NAME smu_wbrf_fini - tear down driver wbrf support SYNOPSIS void smu_wbrf_fini (struct smu_context *smu ); ARGUMENTS smu smu_context pointer DESCRIPTION Unregisters with the wbrf notifier chain. SEE ALSO Kernel file ./drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c smu_dpm_set_power_gate(9), smu_set_user_cl...
smu_wbrf_handle_exclusion_ranges(9)
NAME smu_wbrf_handle_exclusion_ranges - consume the wbrf exclusion ranges SYNOPSIS int smu_wbrf_handle_exclusion_ranges (struct smu_context *smu ); ARGUMENTS smu smu_context pointer DESCRIPTION Retrieve the wbrf exclusion ranges and send them to PMFW for proper handling. Returns 0 on success, error on failu...
smu_wbrf_init(9)
NAME smu_wbrf_init - init driver wbrf support SYNOPSIS int smu_wbrf_init (struct smu_context *smu ); ARGUMENTS smu smu_context pointer DESCRIPTION Verifies the AMD ACPI interfaces and registers with the wbrf notifier chain if wbrf feature is supported. Returns 0 on success, error on failure. SEE ALSO Kerne...
smu_wbrf_support_check(9)
NAME smu_wbrf_support_check - check wbrf support SYNOPSIS void smu_wbrf_support_check (struct smu_context *smu ); ARGUMENTS smu smu_context pointer DESCRIPTION Verifies the ACPI interface whether wbrf is supported. SEE ALSO Kernel file ./drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c smu_dpm_set_power_gate(...
smuio_v13_0_3_get_die_id(9)
NAME smuio_v13_0_3_get_die_id - query die id from FCH. SYNOPSIS u32 smuio_v13_0_3_get_die_id (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu device pointer DESCRIPTION Returns die id SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/smuio_v13_0_3.c smuio_v13_0_3_get_socket_id(9), smuio_v13_0_3_get_pkg_t...
smuio_v13_0_3_get_pkg_type(9)
NAME smuio_v13_0_3_get_pkg_type - query package type set by MP1/bootcode SYNOPSIS enum amdgpu_pkg_type smuio_v13_0_3_get_pkg_type (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu device pointer DESCRIPTION Returns package type SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/smuio_v13_0_3.c smuio_v13_0_...
smuio_v13_0_3_get_socket_id(9)
NAME smuio_v13_0_3_get_socket_id - query socket id from FCH SYNOPSIS u32 smuio_v13_0_3_get_socket_id (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu device pointer DESCRIPTION Returns socket id SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/smuio_v13_0_3.c smuio_v13_0_3_get_die_id(9), smuio_v13_0_3_g...
smuio_v13_0_get_die_id(9)
NAME smuio_v13_0_get_die_id - query die id from FCH. SYNOPSIS u32 smuio_v13_0_get_die_id (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu device pointer DESCRIPTION Returns die id SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/smuio_v13_0.c smuio_v13_0_get_socket_id(9), smuio_v13_0_is_host_gpu_xgmi_su...
smuio_v13_0_get_socket_id(9)
NAME smuio_v13_0_get_socket_id - query socket id from FCH SYNOPSIS u32 smuio_v13_0_get_socket_id (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu device pointer DESCRIPTION Returns socket id SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/smuio_v13_0.c smuio_v13_0_get_die_id(9), smuio_v13_0_is_host_gpu...
smuio_v13_0_is_host_gpu_xgmi_supported(9)
NAME smuio_v13_0_is_host_gpu_xgmi_supported - detect xgmi interface between cpu and gpu/s. SYNOPSIS bool smuio_v13_0_is_host_gpu_xgmi_supported (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu device pointer DESCRIPTION Returns true on success or false otherwise. SEE ALSO Kernel file ./drivers/gpu/drm/am...
smuio_v15_0_8_get_die_id(9)
NAME smuio_v15_0_8_get_die_id - query die id from FCH. SYNOPSIS u32 smuio_v15_0_8_get_die_id (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu device pointer DESCRIPTION Returns die id SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/smuio_v15_0_8.c smuio_v15_0_8_get_socket_id(9), smuio_v15_0_8_is_host_g...
smuio_v15_0_8_get_socket_id(9)
NAME smuio_v15_0_8_get_socket_id - query socket id from FCH SYNOPSIS u32 smuio_v15_0_8_get_socket_id (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu device pointer DESCRIPTION Returns socket id SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/smuio_v15_0_8.c smuio_v15_0_8_get_die_id(9), smuio_v15_0_8_i...
smuio_v15_0_8_is_host_gpu_xgmi_supported(9)
NAME smuio_v15_0_8_is_host_gpu_xgmi_supported - detect xgmi interface between cpu and gpu/s. SYNOPSIS bool smuio_v15_0_8_is_host_gpu_xgmi_supported (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu device pointer DESCRIPTION Returns true on success or false otherwise. SEE ALSO Kernel file ./drivers/gpu/dr...
snake_inventory(9)
NAME snake_inventory - SYNOPSIS void snake_inventory (void ); ARGUMENTS void no arguments DESCRIPTION Before PDC_SYSTEM_MAP was invented, the PDC_MEM_MAP call was used. To use it, we initialise the mod_path.bc to 0xff and try all values of mod to get the HPA for the top-level devices. Bus adapters may hav...
snapshot_additional_pages(9)
NAME snapshot_additional_pages - Estimate the number of extra pages needed. SYNOPSIS unsigned int snapshot_additional_pages (struct zone *zone ); ARGUMENTS zone Memory zone to carry out the computation for. DESCRIPTION Estimate the number of additional pages needed for setting up a hibernation image data stru...
snapshot_page(9)
NAME snapshot_page - Create a snapshot of a struct page SYNOPSIS void snapshot_page (struct page_snapshot *ps , const struct page *page ); ARGUMENTS ps Pointer to a struct page_snapshot to store the page snapshot page The page to snapshot DESCRIPTION Create a snapshot of the page and store b...
snapshot_read_next(9)
NAME snapshot_read_next - Get the address to read the next image page from. SYNOPSIS int snapshot_read_next (struct snapshot_handle *handle ); ARGUMENTS handle Snapshot handle to be used for the reading. DESCRIPTION On the first call, handle should point to a zeroed snapshot_handle structure. The structure g...
snapshot_write_finalize(9)
NAME snapshot_write_finalize - Complete the loading of a hibernation image. SYNOPSIS int snapshot_write_finalize (struct snapshot_handle *handle ); ARGUMENTS handle -- undescribed -- DESCRIPTION Must be called after the last call to snapshot_write_next in case the last page in the image happens to be a highme...
snapshot_write_next(9)
NAME snapshot_write_next - Get the address to store the next image page. SYNOPSIS int snapshot_write_next (struct snapshot_handle *handle ); ARGUMENTS handle Snapshot handle structure to guide the writing. DESCRIPTION On the first call, handle should point to a zeroed snapshot_handle structure. The structure...
snc_kernel_support(9)
NAME snc_kernel_support - Check for existence of mon_sub_L3_00 file that indicates SNC resctrl support on the kernel side. SYNOPSIS int snc_kernel_support (void ); ARGUMENTS void no arguments RETURN 0 if not supported, 1 if SNC is disabled or SNC discovery is unreliable or SNC is both enabled and supported. ...
snd_BUG(9)
NAME snd_BUG - give a BUG warning message and stack trace SYNOPSIS snd_BUG DESCRIPTION Calls WARN if CONFIG_SND_DEBUG is set. Ignored when CONFIG_SND_DEBUG is not set. SEE ALSO Kernel file ./include/sound/core.h snd_power_ref(9), snd_power_unref(9), snd_power_sync_ref(9), snd_card_unref(9), snd_BUG_ON(9) April 202...
snd_BUG_ON(9)
NAME snd_BUG_ON - debugging check macro SYNOPSIS snd_BUG_ON (cond ); ARGUMENTS cond condition to evaluate DESCRIPTION Has the same behavior as WARN_ON when CONFIG_SND_DEBUG is set, otherwise just evaluates the conditional and returns the value. SEE ALSO Kernel file ./include/sound/core.h snd_power_ref(9), sn...
snd_ac97_bus(9)
NAME snd_ac97_bus - create an AC97 bus component SYNOPSIS int snd_ac97_bus (struct snd_card *card , int num , const struct snd_ac97_bus_ops *ops , void *private_data , struct snd_ac97_bus **rbus ); ARGUMENTS card the card instance num the bus number ops the bus callbacks table ...
snd_ac97_codec_driver_register(9)
NAME snd_ac97_codec_driver_register - register an AC97 codec driver SYNOPSIS int snd_ac97_codec_driver_register (struct ac97_codec_driver *drv ); ARGUMENTS drv AC97 driver codec to register DESCRIPTION Register an AC97 codec driver to the ac97 bus driver, aka. the AC97 digital controller. Returns 0 on succe...
snd_ac97_codec_driver_unregister(9)
NAME snd_ac97_codec_driver_unregister - unregister an AC97 codec driver SYNOPSIS void snd_ac97_codec_driver_unregister (struct ac97_codec_driver *drv ); ARGUMENTS drv AC97 codec driver to unregister DESCRIPTION Unregister a previously registered ac97 codec driver. SEE ALSO Kernel file ./sound/ac97/bus.c snd...
snd_ac97_codec_get_platdata(9)
NAME snd_ac97_codec_get_platdata - get platform_data SYNOPSIS void * snd_ac97_codec_get_platdata (const struct ac97_codec_device *adev ); ARGUMENTS adev the ac97 codec device DESCRIPTION For legacy platforms, in order to have platform_data in codec drivers available, while ac97 device are auto-created upo...
snd_ac97_controller_register(9)
NAME snd_ac97_controller_register - register an ac97 controller SYNOPSIS struct ac97_controller * snd_ac97_controller_register (const struct ac97_controller_ops *ops , struct device *dev , unsigned short slots_available , void **codecs_pdata ); ARGUMENTS ops the ac97 bus operations dev the dev...
snd_ac97_controller_unregister(9)
NAME snd_ac97_controller_unregister - unregister an ac97 controller SYNOPSIS void snd_ac97_controller_unregister (struct ac97_controller *ac97_ctrl ); ARGUMENTS ac97_ctrl the device previously provided to ac97_controller_register SEE ALSO Kernel file ./sound/ac97/bus.c snd_ac97_codec_driver_register(9), snd_ac97_c...
snd_ac97_get_short_name(9)
NAME snd_ac97_get_short_name - retrieve codec name SYNOPSIS const char * snd_ac97_get_short_name (struct snd_ac97 *ac97 ); ARGUMENTS ac97 the codec instance RETURN The short identifying name of the codec. SEE ALSO Kernel file ./sound/pci/ac97/ac97_codec.c snd_ac97_write(9), snd_ac97_read(9), snd_ac97_w...
snd_ac97_mixer(9)
NAME snd_ac97_mixer - create an Codec97 component SYNOPSIS int snd_ac97_mixer (struct snd_ac97_bus *bus , struct snd_ac97_template *template , struct snd_ac97 **rac97 ); ARGUMENTS bus the AC97 bus which codec is attached to template the template of ac97, including index, callbacks and the private d...
snd_ac97_pcm_assign(9)
NAME snd_ac97_pcm_assign - assign AC97 slots to given PCM streams SYNOPSIS int snd_ac97_pcm_assign (struct snd_ac97_bus *bus , unsigned short pcms_count , const struct ac97_pcm *pcms ); ARGUMENTS bus the ac97 bus instance pcms_count count of PCMs to be assigned pcms PCMs to be assigned...
snd_ac97_pcm_close(9)
NAME snd_ac97_pcm_close - closes the given AC97 pcm SYNOPSIS int snd_ac97_pcm_close (struct ac97_pcm *pcm ); ARGUMENTS pcm the ac97 pcm instance DESCRIPTION It frees the locked AC97 slots. RETURN Zero. SEE ALSO Kernel file ./sound/pci/ac97/ac97_pcm.c snd_ac97_set_rate(9), snd_ac97_pcm_assign(9), snd_ac97_p...
snd_ac97_pcm_double_rate_rules(9)
NAME snd_ac97_pcm_double_rate_rules - set double rate constraints SYNOPSIS int snd_ac97_pcm_double_rate_rules (struct snd_pcm_runtime *runtime ); ARGUMENTS runtime the runtime of the ac97 front playback pcm DESCRIPTION Installs the hardware constraint rules to prevent using double rates and more than two channel...
snd_ac97_pcm_open(9)
NAME snd_ac97_pcm_open - opens the given AC97 pcm SYNOPSIS int snd_ac97_pcm_open (struct ac97_pcm *pcm , unsigned int rate , enum ac97_pcm_cfg cfg , unsigned short slots ); ARGUMENTS pcm the ac97 pcm instance rate rate in Hz, if codec does not support VRA, this value must be 48000Hz cfg...
snd_ac97_read(9)
NAME snd_ac97_read - read a value from the given register SYNOPSIS unsigned short snd_ac97_read (struct snd_ac97 *ac97 , unsigned short reg ); ARGUMENTS ac97 the ac97 instance reg the register to read DESCRIPTION Reads a value from the given register. This will invoke the read callback direct...
snd_ac97_reset(9)
NAME snd_ac97_reset - Reset AC'97 device SYNOPSIS int snd_ac97_reset (struct snd_ac97 *ac97 , bool try_warm , unsigned int id , unsigned int id_mask ); ARGUMENTS ac97 The AC'97 device to reset try_warm Try a warm reset first id Expected device vendor ID id_mask Mask that...
snd_ac97_resume(9)
NAME snd_ac97_resume - General resume function for AC97 codec SYNOPSIS void snd_ac97_resume (struct snd_ac97 *ac97 ); ARGUMENTS ac97 the ac97 instance DESCRIPTION Do the standard resume procedure, power up and restoring the old register values. SEE ALSO Kernel file ./sound/pci/ac97/ac97_codec.c snd_ac97_w...
snd_ac97_set_rate(9)
NAME snd_ac97_set_rate - change the rate of the given input/output. SYNOPSIS int snd_ac97_set_rate (struct snd_ac97 *ac97 , int reg , unsigned int rate ); ARGUMENTS ac97 the ac97 instance reg the register to change rate the sample rate to set DESCRIPTION Changes the rate of ...
snd_ac97_suspend(9)
NAME snd_ac97_suspend - General suspend function for AC97 codec SYNOPSIS void snd_ac97_suspend (struct snd_ac97 *ac97 ); ARGUMENTS ac97 the ac97 instance DESCRIPTION Suspends the codec, power down the chip. SEE ALSO Kernel file ./sound/pci/ac97/ac97_codec.c snd_ac97_write(9), snd_ac97_read(9), snd_ac97_...
snd_ac97_tune_hardware(9)
NAME snd_ac97_tune_hardware - tune up the hardware SYNOPSIS int snd_ac97_tune_hardware (struct snd_ac97 *ac97 , const struct ac97_quirk *quirk , const char *override ); ARGUMENTS ac97 the ac97 instance quirk quirk list override explicit quirk value (overrides the list if non-NULL) DES...
snd_ac97_update(9)
NAME snd_ac97_update - update the value on the given register SYNOPSIS int snd_ac97_update (struct snd_ac97 *ac97 , unsigned short reg , unsigned short value ); ARGUMENTS ac97 the ac97 instance reg the register to change value the value to set DESCRIPTION Compares the value with ...
snd_ac97_update_bits(9)
NAME snd_ac97_update_bits - update the bits on the given register SYNOPSIS int snd_ac97_update_bits (struct snd_ac97 *ac97 , unsigned short reg , unsigned short mask , unsigned short value ); ARGUMENTS ac97 the ac97 instance reg the register to change mask the bit-mask to change ...