id
stringlengths
4
63
text
stringlengths
153
8.81M
am43xx_control_save_context(9)
NAME am43xx_control_save_context - Save the wakeup domain registers SYNOPSIS void am43xx_control_save_context (void ); ARGUMENTS void no arguments DESCRIPTION Save the wkup domain registers SEE ALSO Kernel file ./arch/arm/mach-omap2/control.c omap3_ctrl_write_boot_mode(9), omap3_ctrl_save_padconf(9), omap3_...
am65_cpts_prep_tx_timestamp(9)
NAME am65_cpts_prep_tx_timestamp - check and prepare tx packet for timestamping SYNOPSIS void am65_cpts_prep_tx_timestamp (struct am65_cpts *cpts , struct sk_buff *skb ); ARGUMENTS cpts cpts handle skb packet DESCRIPTION This functions should be called from .xmit. It checks if packet can be t...
am65_cpts_tx_timestamp(9)
NAME am65_cpts_tx_timestamp - save tx packet for timestamping SYNOPSIS void am65_cpts_tx_timestamp (struct am65_cpts *cpts , struct sk_buff *skb ); ARGUMENTS cpts cpts handle skb packet DESCRIPTION This functions saves tx packet for timestamping if packet can be timestamped. The future proces...
amba_device_add(9)
NAME amba_device_add - add a previously allocated AMBA device structure SYNOPSIS int amba_device_add (struct amba_device *dev , struct resource *parent ); ARGUMENTS dev AMBA device allocated by amba_device_alloc parent resource parent for this devices resources DESCRIPTION Claim the resource, an...
amba_device_alloc(9)
NAME amba_device_alloc - allocate an AMBA device SYNOPSIS struct amba_device * amba_device_alloc (const char *name , resource_size_t base , size_t size ); ARGUMENTS name sysfs name of the AMBA device base base of AMBA device size size of AMBA device DESCRIPTION Allocate and initi...
amba_device_put(9)
NAME amba_device_put - put an AMBA device SYNOPSIS void amba_device_put (struct amba_device *dev ); ARGUMENTS dev AMBA device to put SEE ALSO Kernel file ./drivers/amba/bus.c __amba_driver_register(9), amba_driver_unregister(9), amba_device_add(9), amba_device_alloc(9), amba_device_register(9), amba_d...
amba_device_register(9)
NAME amba_device_register - register an AMBA device SYNOPSIS int amba_device_register (struct amba_device *dev , struct resource *parent ); ARGUMENTS dev AMBA device to register parent parent memory resource DESCRIPTION Setup the AMBA device, reading the cell ID if present. Claim the resource, ...
amba_device_unregister(9)
NAME amba_device_unregister - unregister an AMBA device SYNOPSIS void amba_device_unregister (struct amba_device *dev ); ARGUMENTS dev AMBA device to remove DESCRIPTION Remove the specified AMBA device from the Linux device manager. All files associated with this object will be destroyed, and device driver...
amba_driver_unregister(9)
NAME amba_driver_unregister - remove an AMBA device driver SYNOPSIS void amba_driver_unregister (struct amba_driver *drv ); ARGUMENTS drv AMBA device driver structure to remove DESCRIPTION Unregister an AMBA device driver from the Linux device model. The device model will call the drivers remove function fo...
amba_release_regions(9)
NAME amba_release_regions - release mem regions associated with device SYNOPSIS void amba_release_regions (struct amba_device *dev ); ARGUMENTS dev amba_device structure for device DESCRIPTION Release regions claimed by a successful call to amba_request_regions. SEE ALSO Kernel file ./drivers/amba/bus.c ...
amba_request_regions(9)
NAME amba_request_regions - request all mem regions associated with device SYNOPSIS int amba_request_regions (struct amba_device *dev , const char *name ); ARGUMENTS dev amba_device structure for device name name, or NULL to use driver name SEE ALSO Kernel file ./drivers/amba/bus.c __amba_d...
amd33_set_dmamode(9)
NAME amd33_set_dmamode - set initial DMA mode data SYNOPSIS void amd33_set_dmamode (struct ata_port *ap , struct ata_device *adev ); ARGUMENTS ap ATA interface adev ATA device DESCRIPTION Program the MWDMA/UDMA modes for the AMD and Nvidia chipset. SEE ALSO Kernel file ./drivers/ata/pata_amd...
amd33_set_piomode(9)
NAME amd33_set_piomode - set initial PIO mode data SYNOPSIS void amd33_set_piomode (struct ata_port *ap , struct ata_device *adev ); ARGUMENTS ap ATA interface adev ATA device DESCRIPTION Program the AMD registers for PIO mode. SEE ALSO Kernel file ./drivers/ata/pata_amd.c timing_setup(9), a...
amd76x_check(9)
NAME amd76x_check - Poll the controller SYNOPSIS void amd76x_check (struct mem_ctl_info *mci ); ARGUMENTS mci Memory controller DESCRIPTION Called by the poll handlers this function reads the status from the controller and checks for errors. SEE ALSO Kernel file ./drivers/edac/amd76x_edac.c amd76x_get_error...
amd76x_get_error_info(9)
NAME amd76x_get_error_info - fetch error information SYNOPSIS void amd76x_get_error_info (struct mem_ctl_info *mci , struct amd76x_error_info *info ); ARGUMENTS mci Memory controller info Info to fill in DESCRIPTION Fetch and store the AMD76x ECC status. Clear pending status on the chip so tha...
amd76x_probe1(9)
NAME amd76x_probe1 - Perform set up for detected device @pdev; PCI device detected SYNOPSIS int amd76x_probe1 (struct pci_dev *pdev , int dev_idx ); ARGUMENTS pdev -- undescribed -- dev_idx Device type index DESCRIPTION We have found an AMD76x and now need to set up the memory controller status re...
amd76x_process_error_info(9)
NAME amd76x_process_error_info - Error check SYNOPSIS int amd76x_process_error_info (struct mem_ctl_info *mci , struct amd76x_error_info *info , int handle_errors ); ARGUMENTS mci Memory controller info Previously fetched information from chip handle_errors 1 if we sh...
amd76x_remove_one(9)
NAME amd76x_remove_one - driver shutdown SYNOPSIS void amd76x_remove_one (struct pci_dev *pdev ); ARGUMENTS pdev PCI device being handed back DESCRIPTION Called when the driver is unloaded. Find the matching mci structure for the device then delete the mci and free the resources. SEE ALSO Kernel file ./drive...
amd_axi_w1_read_byte(9)
NAME amd_axi_w1_read_byte - Performs the read byte function. SYNOPSIS u8 amd_axi_w1_read_byte (void *data ); ARGUMENTS data Pointer to device structure RETURN The value read SEE ALSO Kernel file ./drivers/w1/masters/amd_axi_w1.c amd_axi_w1_wait_irq_interruptible_timeout(9), amd_axi_w1_touch_bit(9), amd_axi_w...
amd_axi_w1_reset_bus(9)
NAME amd_axi_w1_reset_bus - Issues a reset bus sequence. SYNOPSIS u8 amd_axi_w1_reset_bus (void *data ); ARGUMENTS data the bus host data struct RETURN 0=Device present, 1=No device present or error SEE ALSO Kernel file ./drivers/w1/masters/amd_axi_w1.c amd_axi_w1_wait_irq_interruptible_timeout(9), amd_axi_w...
amd_axi_w1_touch_bit(9)
NAME amd_axi_w1_touch_bit - Performs the touch-bit function - write a 0 or 1 and reads the level. SYNOPSIS u8 amd_axi_w1_touch_bit (void *data , u8 bit ); ARGUMENTS data Pointer to device structure bit The level to write RETURN The level read SEE ALSO Kernel file ./drivers/w1/masters/amd_axi_...
amd_axi_w1_wait_irq_interruptible_timeout(9)
NAME amd_axi_w1_wait_irq_interruptible_timeout - Wait for IRQ with timeout. SYNOPSIS int amd_axi_w1_wait_irq_interruptible_timeout (struct amd_axi_w1_local *amd_axi_w1_local , u32 IRQ ); ARGUMENTS amd_axi_w1_local Pointer to device structure IRQ IRQ channel to wait on RETURN 0 - OK, -EINTR - Interrup...
amd_axi_w1_write_byte(9)
NAME amd_axi_w1_write_byte - Performs the write byte function. SYNOPSIS void amd_axi_w1_write_byte (void *data , u8 val ); ARGUMENTS data The ds2482 channel pointer val The value to write SEE ALSO Kernel file ./drivers/w1/masters/amd_axi_w1.c amd_axi_w1_wait_irq_interruptible_timeout(9), amd_a...
amd_cable_detect(9)
NAME amd_cable_detect - report cable type SYNOPSIS int amd_cable_detect (struct ata_port *ap ); ARGUMENTS ap port DESCRIPTION AMD controller/BIOS setups record the cable type in word 0x42 SEE ALSO Kernel file ./drivers/ata/pata_amd.c timing_setup(9), amd_pre_reset(9), amd_fifo_setup(9), amd33_set_piomode(9...
amd_detect_prefcore(9)
NAME amd_detect_prefcore - Detect if CPUs in the system support preferred cores SYNOPSIS int amd_detect_prefcore (bool *detected ); ARGUMENTS detected Output variable for the result of the detection. DESCRIPTION Determine whether CPUs in the system support preferred cores. On systems that support preferred core...
amd_fifo_setup(9)
NAME amd_fifo_setup - set the PIO FIFO for ATA/ATAPI SYNOPSIS void amd_fifo_setup (struct ata_port *ap ); ARGUMENTS ap ATA interface DESCRIPTION Set the PCI fifo for this device according to the devices present on the bus at this point in time. We need to turn the post write buffer off for ATAPI devices a...
amd_get_boost_ratio_numerator(9)
NAME amd_get_boost_ratio_numerator - Get the numerator to use for boost ratio calculation SYNOPSIS int amd_get_boost_ratio_numerator (unsigned int cpu , u64 *numerator ); ARGUMENTS cpu CPU to get numerator for. numerator Output variable for numerator. DESCRIPTION Determine the numerator to use ...
amd_get_registers(9)
NAME amd_get_registers - This function is called in case of DSP oops in order to gather information about the registers, filename and linenumber and stack. SYNOPSIS void amd_get_registers (struct snd_sof_dev *sdev , struct sof_ipc_dsp_oops_xtensa *xoops , struct sof_ipc_panic_info *panic_info , u32 *stack , size_t sta...
amd_hfi_offline(9)
NAME amd_hfi_offline - Disable workload classification on @cpu SYNOPSIS int amd_hfi_offline (unsigned int cpu ); ARGUMENTS cpu CPU in which the workload classification will be disabled DESCRIPTION Remove cpu from those covered by its HFI instance. RETURN 0 on success, negative error code on failure SEE ALS...
amd_hfi_online(9)
NAME amd_hfi_online - Enable workload classification on @cpu SYNOPSIS int amd_hfi_online (unsigned int cpu ); ARGUMENTS cpu CPU in which the workload classification will be enabled RETURN 0 on success, negative error code on failure. SEE ALSO Kernel file ./drivers/platform/x86/amd/hfi/hfi.c struct amd_shmem...
amd_mdb_pcie_init_irq_domains(9)
NAME amd_mdb_pcie_init_irq_domains - Initialize IRQ domain SYNOPSIS int amd_mdb_pcie_init_irq_domains (struct amd_mdb_pcie *pcie , struct platform_device *pdev ); ARGUMENTS pcie PCIe port information pdev Platform device RETURN Returns '0' on success and error value on failure. SEE ALSO Kernel...
amd_mdb_pcie_intx_map(9)
NAME amd_mdb_pcie_intx_map - Set the handler for the INTx and mark IRQ as valid SYNOPSIS int amd_mdb_pcie_intx_map (struct irq_domain *domain , unsigned int irq , irq_hw_number_t hwirq ); ARGUMENTS domain IRQ domain irq Virtual IRQ number hwirq Hardware interrupt number RETURN Alwa...
amd_pre_reset(9)
NAME amd_pre_reset - perform reset handling SYNOPSIS int amd_pre_reset (struct ata_link *link , unsigned long deadline ); ARGUMENTS link ATA link deadline deadline jiffies for the operation DESCRIPTION Reset sequence checking enable bits to see which ports are active. SEE ALSO Kernel file ./driver...
amd_set_mtrr(9)
NAME amd_set_mtrr - Set variable MTRR register on the local CPU. SYNOPSIS void amd_set_mtrr (unsigned int reg , unsigned long base , unsigned long size , mtrr_type type ); ARGUMENTS reg -- undescribed -- base -- undescribed -- size -- undescribed -- type -- undescr...
amd_sof_dump(9)
NAME amd_sof_dump - This function is called when a panic message is received from the firmware. SYNOPSIS void amd_sof_dump (struct snd_sof_dev *sdev , u32 flags ); ARGUMENTS sdev SOF device. flags parameter not used but required by ops prototype SEE ALSO Kernel file ./sound/soc/sof/amd/acp-commo...
amd_sof_ipc_dump(9)
NAME amd_sof_ipc_dump - This function is called when IPC tx times out. SYNOPSIS void amd_sof_ipc_dump (struct snd_sof_dev *sdev ); ARGUMENTS sdev SOF device. SEE ALSO Kernel file ./sound/soc/sof/amd/acp-common.c amd_get_registers(9), amd_sof_dump(9) April 2026 ...
amd_wbrf_register_notifier(9)
NAME amd_wbrf_register_notifier - register for notifications of frequency band update SYNOPSIS int amd_wbrf_register_notifier (struct notifier_block *nb ); ARGUMENTS nb driver notifier block DESCRIPTION The consumer should register itself via this API so that it can get notified on the frequency band update...
amd_wbrf_retrieve_freq_band(9)
NAME amd_wbrf_retrieve_freq_band - retrieve current active frequency bands SYNOPSIS int amd_wbrf_retrieve_freq_band (struct device *dev , struct wbrf_ranges_in_out *out ); ARGUMENTS dev device pointer out output structure containing all the active frequency bands DESCRIPTION Retrieve the cu...
amd_wbrf_unregister_notifier(9)
NAME amd_wbrf_unregister_notifier - unregister for notifications of frequency band update SYNOPSIS int amd_wbrf_unregister_notifier (struct notifier_block *nb ); ARGUMENTS nb driver notifier block DESCRIPTION The consumer should call this API when it is longer interested with the frequency band updates from...
amdgpu_acpi_event(9)
NAME amdgpu_acpi_event - handle notify events SYNOPSIS int amdgpu_acpi_event (struct notifier_block *nb , unsigned long val , void *data ); ARGUMENTS nb notifier block val val data acpi event DESCRIPTION Calls relevant amdgpu functions in response to various acpi events. Retu...
amdgpu_acpi_fini(9)
NAME amdgpu_acpi_fini - tear down driver acpi support SYNOPSIS void amdgpu_acpi_fini (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Unregisters with the acpi notifier chain (all asics). SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c amdgpu_atif_call(9), a...
amdgpu_acpi_get_node_id(9)
NAME amdgpu_acpi_get_node_id - obtain the NUMA node id for corresponding amdgpu acpi device handle SYNOPSIS acpi_status amdgpu_acpi_get_node_id (acpi_handle handle , struct amdgpu_numa_info **numa_info ); ARGUMENTS handle acpi handle numa_info amdgpu_numa_info structure holding numa information DESCRI...
amdgpu_acpi_init(9)
NAME amdgpu_acpi_init - init driver acpi support SYNOPSIS int amdgpu_acpi_init (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Verifies the AMD ACPI interfaces and registers with the acpi notifier chain (all asics). Returns 0 on success, error on failure. SEE ALSO Kernel f...
amdgpu_acpi_is_pcie_performance_request_supported(9)
NAME amdgpu_acpi_is_pcie_performance_request_supported - SYNOPSIS bool amdgpu_acpi_is_pcie_performance_request_supported (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Check if the ATCS pcie_perf_req and pcie_dev_rdy methods are supported (all asics). returns true if supporte...
amdgpu_acpi_is_power_shift_control_supported(9)
NAME amdgpu_acpi_is_power_shift_control_supported - SYNOPSIS bool amdgpu_acpi_is_power_shift_control_supported (void ); ARGUMENTS void no arguments DESCRIPTION Check if the ATCS power shift control method is supported. returns true if supported, false if not. SEE ALSO Kernel file ./drivers/gpu/drm/amd/amd...
amdgpu_acpi_is_s0ix_active(9)
NAME amdgpu_acpi_is_s0ix_active - SYNOPSIS bool amdgpu_acpi_is_s0ix_active (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device_pointer DESCRIPTION returns true if supported, false if not. SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c amdgpu_atif_call(9), amdgpu_atif_parse_notifi...
amdgpu_acpi_is_s3_active(9)
NAME amdgpu_acpi_is_s3_active - SYNOPSIS bool amdgpu_acpi_is_s3_active (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device_pointer DESCRIPTION returns true if supported, false if not. SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c amdgpu_atif_call(9), amdgpu_atif_parse_notificati...
amdgpu_acpi_pcie_notify_device_ready(9)
NAME amdgpu_acpi_pcie_notify_device_ready - SYNOPSIS int amdgpu_acpi_pcie_notify_device_ready (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Executes the PCIE_DEVICE_READY_NOTIFICATION method (all asics). returns 0 on success, error on failure. SEE ALSO Kernel file ./drive...
amdgpu_acpi_pcie_performance_request(9)
NAME amdgpu_acpi_pcie_performance_request - SYNOPSIS int amdgpu_acpi_pcie_performance_request (struct amdgpu_device *adev , u8 perf_req , bool advertise ); ARGUMENTS adev amdgpu_device pointer perf_req requested perf level (pcie gen speed) advertise set advertise caps flag if set DESCRIPT...
amdgpu_acpi_power_shift_control(9)
NAME amdgpu_acpi_power_shift_control - SYNOPSIS int amdgpu_acpi_power_shift_control (struct amdgpu_device *adev , u8 dev_state , bool drv_state ); ARGUMENTS adev amdgpu_device pointer dev_state device acpi state drv_state driver state DESCRIPTION Executes the POWER_SHIFT_CONTROL method to ...
amdgpu_acpi_set_uma_allocation_size(9)
NAME amdgpu_acpi_set_uma_allocation_size - Set Unified Memory Architecture allocation size via ACPI SYNOPSIS int amdgpu_acpi_set_uma_allocation_size (struct amdgpu_device *adev , u8 index , u8 type ); ARGUMENTS adev Pointer to the amdgpu_device structure index Index specifying the UMA allocation ...
amdgpu_acpi_should_gpu_reset(9)
NAME amdgpu_acpi_should_gpu_reset - SYNOPSIS bool amdgpu_acpi_should_gpu_reset (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device_pointer DESCRIPTION returns true if should reset GPU, false if not SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c amdgpu_atif_call(9), amdgpu_atif_pa...
amdgpu_acpi_smart_shift_update(9)
NAME amdgpu_acpi_smart_shift_update - update dGPU device state to SBIOS SYNOPSIS int amdgpu_acpi_smart_shift_update (struct amdgpu_device *adev , enum amdgpu_ss ss_state ); ARGUMENTS adev amdgpu device pointer ss_state current smart shift event DESCRIPTION returns 0 on success, otherwise return err...
amdgpu_amdkfd_gpuvm_pin_bo(9)
NAME amdgpu_amdkfd_gpuvm_pin_bo - Pins a BO using following criteria SYNOPSIS int amdgpu_amdkfd_gpuvm_pin_bo (struct amdgpu_bo *bo , u32 domain ); ARGUMENTS bo Handle of buffer object being pinned domain Domain into which BO should be pinned DESCRIPTION - USERPTR BOs are UNPINNABLE and will ret...
amdgpu_amdkfd_gpuvm_unpin_bo(9)
NAME amdgpu_amdkfd_gpuvm_unpin_bo - Unpins BO using following criteria SYNOPSIS void amdgpu_amdkfd_gpuvm_unpin_bo (struct amdgpu_bo *bo ); ARGUMENTS bo Handle of buffer object being unpinned DESCRIPTION - Is a illegal request for USERPTR BOs and is ignored - All other BO types (GTT, VRAM, MMIO and DOORBELL)...
amdgpu_amdkfd_map_gtt_bo_to_gart(9)
NAME amdgpu_amdkfd_map_gtt_bo_to_gart - Map BO to GART and increment reference count SYNOPSIS int amdgpu_amdkfd_map_gtt_bo_to_gart (struct amdgpu_bo *bo , struct amdgpu_bo **bo_gart ); ARGUMENTS bo Buffer object to be mapped bo_gart Return bo reference DESCRIPTION Before return, bo reference cou...
amdgpu_amdkfd_remove_all_eviction_fences(9)
NAME amdgpu_amdkfd_remove_all_eviction_fences - Remove all eviction fences SYNOPSIS void amdgpu_amdkfd_remove_all_eviction_fences (struct amdgpu_bo *bo ); ARGUMENTS bo the BO where to remove the evictions fences from. DESCRIPTION This functions should only be used on release when all references to the BO a...
amdgpu_amdkfd_reserve_mem_limit(9)
NAME amdgpu_amdkfd_reserve_mem_limit - Decrease available memory by size of buffer. SYNOPSIS int amdgpu_amdkfd_reserve_mem_limit (struct amdgpu_device *adev , uint64_t size , u32 alloc_flag , int8_t xcp_id ); ARGUMENTS adev Device to which allocated BO belongs to size Size of buffer, in bytes, e...
amdgpu_atcs_call(9)
NAME amdgpu_atcs_call - call an ATCS method SYNOPSIS union acpi_object * amdgpu_atcs_call (struct amdgpu_atcs *atcs , int function , struct acpi_buffer *params ); ARGUMENTS atcs atcs structure function the ATCS function to execute params ATCS function params DESCRIPTION Executes the re...
amdgpu_atcs_parse_functions(9)
NAME amdgpu_atcs_parse_functions - parse supported functions SYNOPSIS void amdgpu_atcs_parse_functions (struct amdgpu_atcs_functions *f , u32 mask ); ARGUMENTS f supported functions struct mask supported functions mask from ATCS DESCRIPTION Use the supported functions mask from ATCS function...
amdgpu_atcs_pci_probe_handle(9)
NAME amdgpu_atcs_pci_probe_handle - look up the ATCS handle SYNOPSIS bool amdgpu_atcs_pci_probe_handle (struct pci_dev *pdev ); ARGUMENTS pdev pci device DESCRIPTION Look up the ATCS handles (all asics). Returns true if the handle is found, false if not. SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/a...
amdgpu_atcs_verify_interface(9)
NAME amdgpu_atcs_verify_interface - verify ATCS SYNOPSIS noinline_for_stack int amdgpu_atcs_verify_interface (struct amdgpu_atcs *atcs ); ARGUMENTS atcs amdgpu atcs struct DESCRIPTION Execute the ATCS_FUNCTION_VERIFY_INTERFACE ATCS function to initialize ATCS and determine what features are supported (all asi...
amdgpu_atif_call(9)
NAME amdgpu_atif_call - call an ATIF method SYNOPSIS union acpi_object * amdgpu_atif_call (struct amdgpu_atif *atif , int function , struct acpi_buffer *params ); ARGUMENTS atif atif structure function the ATIF function to execute params ATIF function params DESCRIPTION Executes the re...
amdgpu_atif_get_notification_params(9)
NAME amdgpu_atif_get_notification_params - determine notify configuration SYNOPSIS noinline_for_stack int amdgpu_atif_get_notification_params (struct amdgpu_atif *atif ); ARGUMENTS atif acpi handle DESCRIPTION Execute the ATIF_FUNCTION_GET_SYSTEM_PARAMETERS ATIF function to determine if a notifier is used and...
amdgpu_atif_get_sbios_requests(9)
NAME amdgpu_atif_get_sbios_requests - get requested sbios event SYNOPSIS int amdgpu_atif_get_sbios_requests (struct amdgpu_atif *atif , struct atif_sbios_requests *req ); ARGUMENTS atif acpi handle req atif sbios request struct DESCRIPTION Execute the ATIF_FUNCTION_GET_SYSTEM_BIOS_REQUESTS ATI...
amdgpu_atif_handler(9)
NAME amdgpu_atif_handler - handle ATIF notify requests SYNOPSIS int amdgpu_atif_handler (struct amdgpu_device *adev , struct acpi_bus_event *event ); ARGUMENTS adev amdgpu_device pointer event atif sbios request struct DESCRIPTION Checks the acpi event and if it matches an atif event, handles it...
amdgpu_atif_parse_functions(9)
NAME amdgpu_atif_parse_functions - parse supported functions SYNOPSIS void amdgpu_atif_parse_functions (struct amdgpu_atif_functions *f , u32 mask ); ARGUMENTS f supported functions struct mask supported functions mask from ATIF DESCRIPTION Use the supported functions mask from ATIF function...
amdgpu_atif_parse_notification(9)
NAME amdgpu_atif_parse_notification - parse supported notifications SYNOPSIS void amdgpu_atif_parse_notification (struct amdgpu_atif_notifications *n , u32 mask ); ARGUMENTS n supported notifications struct mask supported notifications mask from ATIF DESCRIPTION Use the supported notificatio...
amdgpu_atif_pci_probe_handle(9)
NAME amdgpu_atif_pci_probe_handle - look up the ATIF handle SYNOPSIS bool amdgpu_atif_pci_probe_handle (struct pci_dev *pdev ); ARGUMENTS pdev pci device DESCRIPTION Look up the ATIF handles (all asics). Returns true if the handle is found, false if not. SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/a...
amdgpu_atif_query_backlight_caps(9)
NAME amdgpu_atif_query_backlight_caps - get min and max backlight input signal SYNOPSIS noinline_for_stack int amdgpu_atif_query_backlight_caps (struct amdgpu_atif *atif ); ARGUMENTS atif acpi handle DESCRIPTION Execute the QUERY_BRIGHTNESS_TRANSFER_CHARACTERISTICS ATIF function to determine the acceptable ...
amdgpu_atif_verify_interface(9)
NAME amdgpu_atif_verify_interface - verify ATIF SYNOPSIS noinline_for_stack int amdgpu_atif_verify_interface (struct amdgpu_atif *atif ); ARGUMENTS atif amdgpu atif struct DESCRIPTION Execute the ATIF_FUNCTION_VERIFY_INTERFACE ATIF function to initialize ATIF and determine what features are supported (all asi...
amdgpu_atombios_fini(9)
NAME amdgpu_atombios_fini - free the driver info and callbacks for atombios SYNOPSIS void amdgpu_atombios_fini (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Frees the driver info and register access callbacks for the ATOM interpreter (r4xx+). Called at driver shutdown. SEE ...
amdgpu_atombios_init(9)
NAME amdgpu_atombios_init - init the driver info and callbacks for atombios SYNOPSIS int amdgpu_atombios_init (struct amdgpu_device *adev ); ARGUMENTS adev amdgpu_device pointer DESCRIPTION Initializes the driver info and register access callbacks for the ATOM interpreter (r4xx+). Returns 0 on sucess, -ENOME...
amdgpu_atomfirmware_ras_rom_addr(9)
NAME amdgpu_atomfirmware_ras_rom_addr - - Get the RAS EEPROM addr from VBIOS SYNOPSIS bool amdgpu_atomfirmware_ras_rom_addr (struct amdgpu_device *adev , u8 *i2c_address ); ARGUMENTS adev amdgpu_device pointer i2c_address pointer to u8; if not NULL, will contain the RAS EEPROM address if the function r...
amdgpu_atpx_call(9)
NAME amdgpu_atpx_call - call an ATPX method SYNOPSIS union acpi_object * amdgpu_atpx_call (acpi_handle handle , int function , struct acpi_buffer *params ); ARGUMENTS handle acpi handle function the ATPX function to execute params ATPX function params DESCRIPTION Executes the requested A...
amdgpu_atpx_detect(9)
NAME amdgpu_atpx_detect - detect whether we have PX SYNOPSIS bool amdgpu_atpx_detect (void ); ARGUMENTS void no arguments DESCRIPTION Check if we have a PX system (all asics). Returns true if we have a PX system, false if not. SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c amd...
amdgpu_atpx_get_client_id(9)
NAME amdgpu_atpx_get_client_id - get the client id SYNOPSIS enum vga_switcheroo_client_id amdgpu_atpx_get_client_id (struct pci_dev *pdev ); ARGUMENTS pdev pci device DESCRIPTION look up whether we are the integrated or discrete GPU (all asics). Returns the client id. SEE ALSO Kernel file ./drivers/gpu/...
amdgpu_atpx_init(9)
NAME amdgpu_atpx_init - verify the ATPX interface SYNOPSIS int amdgpu_atpx_init (void ); ARGUMENTS void no arguments DESCRIPTION Verify the ATPX interface (all asics). Returns 0 on success, error on failure. SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c amdgpu_atpx_call(9), ...
amdgpu_atpx_parse_functions(9)
NAME amdgpu_atpx_parse_functions - parse supported functions SYNOPSIS void amdgpu_atpx_parse_functions (struct amdgpu_atpx_functions *f , u32 mask ); ARGUMENTS f supported functions struct mask supported functions mask from ATPX DESCRIPTION Use the supported functions mask from ATPX function...
amdgpu_atpx_pci_probe_handle(9)
NAME amdgpu_atpx_pci_probe_handle - look up the ATPX handle SYNOPSIS bool amdgpu_atpx_pci_probe_handle (struct pci_dev *pdev ); ARGUMENTS pdev pci device DESCRIPTION Look up the ATPX handles (all asics). Returns true if the handles are found, false if not. SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdg...
amdgpu_atpx_power_state(9)
NAME amdgpu_atpx_power_state - power down/up the requested GPU SYNOPSIS int amdgpu_atpx_power_state (enum vga_switcheroo_client_id id , enum vga_switcheroo_state state ); ARGUMENTS id GPU to power down/up state requested power state (0 = off, 1 = on) DESCRIPTION Execute the necessary ATPX func...
amdgpu_atpx_set_discrete_state(9)
NAME amdgpu_atpx_set_discrete_state - power up/down discrete GPU SYNOPSIS int amdgpu_atpx_set_discrete_state (struct amdgpu_atpx *atpx , u8 state ); ARGUMENTS atpx atpx info struct state discrete GPU state (0 = power down, 1 = power up) DESCRIPTION Execute the ATPX_FUNCTION_POWER_CONTROL ATPX fu...
amdgpu_atpx_switch_disp_mux(9)
NAME amdgpu_atpx_switch_disp_mux - switch display mux SYNOPSIS int amdgpu_atpx_switch_disp_mux (struct amdgpu_atpx *atpx , u16 mux_id ); ARGUMENTS atpx atpx info struct mux_id mux state (0 = integrated GPU, 1 = discrete GPU) DESCRIPTION Execute the ATPX_FUNCTION_DISPLAY_MUX_CONTROL ATPX function ...
amdgpu_atpx_switch_end(9)
NAME amdgpu_atpx_switch_end - notify the sbios of a GPU switch SYNOPSIS int amdgpu_atpx_switch_end (struct amdgpu_atpx *atpx , u16 mux_id ); ARGUMENTS atpx atpx info struct mux_id mux state (0 = integrated GPU, 1 = discrete GPU) DESCRIPTION Execute the ATPX_FUNCTION_GRAPHICS_DEVICE_SWITCH_END_NOT...
amdgpu_atpx_switch_i2c_mux(9)
NAME amdgpu_atpx_switch_i2c_mux - switch i2c/hpd mux SYNOPSIS int amdgpu_atpx_switch_i2c_mux (struct amdgpu_atpx *atpx , u16 mux_id ); ARGUMENTS atpx atpx info struct mux_id mux state (0 = integrated GPU, 1 = discrete GPU) DESCRIPTION Execute the ATPX_FUNCTION_I2C_MUX_CONTROL ATPX function to swi...
amdgpu_atpx_switch_start(9)
NAME amdgpu_atpx_switch_start - notify the sbios of a GPU switch SYNOPSIS int amdgpu_atpx_switch_start (struct amdgpu_atpx *atpx , u16 mux_id ); ARGUMENTS atpx atpx info struct mux_id mux state (0 = integrated GPU, 1 = discrete GPU) DESCRIPTION Execute the ATPX_FUNCTION_GRAPHICS_DEVICE_SWITCH_ST...
amdgpu_atpx_switchto(9)
NAME amdgpu_atpx_switchto - switch to the requested GPU SYNOPSIS int amdgpu_atpx_switchto (enum vga_switcheroo_client_id id ); ARGUMENTS id GPU to switch to DESCRIPTION Execute the necessary ATPX functions to switch between the discrete GPU and integrated GPU (all asics). Returns 0 on success, error on fai...
amdgpu_atpx_validate(9)
NAME amdgpu_atpx_validate - validate ATPX functions SYNOPSIS int amdgpu_atpx_validate (struct amdgpu_atpx *atpx ); ARGUMENTS atpx amdgpu atpx struct DESCRIPTION Validate that required functions are enabled (all asics). returns 0 on success, error on failure. SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdg...
amdgpu_atpx_verify_interface(9)
NAME amdgpu_atpx_verify_interface - verify ATPX SYNOPSIS int amdgpu_atpx_verify_interface (struct amdgpu_atpx *atpx ); ARGUMENTS atpx amdgpu atpx struct DESCRIPTION Execute the ATPX_FUNCTION_VERIFY_INTERFACE ATPX function to initialize ATPX and determine what features are supported (all asics). returns 0 on ...
amdgpu_atrm_call(9)
NAME amdgpu_atrm_call - fetch a chunk of the vbios SYNOPSIS int amdgpu_atrm_call (acpi_handle atrm_handle , uint8_t *bios , int offset , int len ); ARGUMENTS atrm_handle acpi ATRM handle bios vbios image pointer offset offset of vbios image data to fetch len length of vbios...
amdgpu_block_invalid_rreg(9)
NAME amdgpu_block_invalid_rreg - dummy reg read function SYNOPSIS uint32_t amdgpu_block_invalid_rreg (struct amdgpu_device *adev , uint32_t block , uint32_t reg ); ARGUMENTS adev amdgpu_device pointer block offset of instance reg offset of register DESCRIPTION Dummy register read...
amdgpu_block_invalid_wreg(9)
NAME amdgpu_block_invalid_wreg - dummy reg write function SYNOPSIS void amdgpu_block_invalid_wreg (struct amdgpu_device *adev , uint32_t block , uint32_t reg , uint32_t v ); ARGUMENTS adev amdgpu_device pointer block offset of instance reg offset of register v va...
amdgpu_bo_create(9)
NAME amdgpu_bo_create - create an &amdgpu_bo buffer object SYNOPSIS int amdgpu_bo_create (struct amdgpu_device *adev , struct amdgpu_bo_param *bp , struct amdgpu_bo **bo_ptr ); ARGUMENTS adev amdgpu device object bp parameters to be used for the buffer object bo_ptr pointer to the...
amdgpu_bo_create_isp_user(9)
NAME amdgpu_bo_create_isp_user - create user BO for isp SYNOPSIS int amdgpu_bo_create_isp_user (struct amdgpu_device *adev , struct dma_buf *dma_buf , u32 domain , struct amdgpu_bo **bo , u64 *gpu_addr ); ARGUMENTS adev amdgpu device object dma_buf DMABUF handle for isp buffer domain w...
amdgpu_bo_create_kernel(9)
NAME amdgpu_bo_create_kernel - create BO for kernel use SYNOPSIS int amdgpu_bo_create_kernel (struct amdgpu_device *adev , unsigned long size , int align , u32 domain , struct amdgpu_bo **bo_ptr , u64 *gpu_addr , void **cpu_addr ); ARGUMENTS adev amdgpu device object size size for the new BO ...
amdgpu_bo_create_kernel_at(9)
NAME amdgpu_bo_create_kernel_at - create BO for kernel use at specific location SYNOPSIS int amdgpu_bo_create_kernel_at (struct amdgpu_device *adev , uint64_t offset , uint64_t size , struct amdgpu_bo **bo_ptr , void **cpu_addr ); ARGUMENTS adev amdgpu device object offset offset of the BO ...
amdgpu_bo_create_reserved(9)
NAME amdgpu_bo_create_reserved - create reserved BO for kernel use SYNOPSIS int amdgpu_bo_create_reserved (struct amdgpu_device *adev , unsigned long size , int align , u32 domain , struct amdgpu_bo **bo_ptr , u64 *gpu_addr , void **cpu_addr ); ARGUMENTS adev amdgpu device object size size for t...
amdgpu_bo_create_user(9)
NAME amdgpu_bo_create_user - create an &amdgpu_bo_user buffer object SYNOPSIS int amdgpu_bo_create_user (struct amdgpu_device *adev , struct amdgpu_bo_param *bp , struct amdgpu_bo_user **ubo_ptr ); ARGUMENTS adev amdgpu device object bp parameters to be used for the buffer object ubo_p...
amdgpu_bo_create_vm(9)
NAME amdgpu_bo_create_vm - create an &amdgpu_bo_vm buffer object SYNOPSIS int amdgpu_bo_create_vm (struct amdgpu_device *adev , struct amdgpu_bo_param *bp , struct amdgpu_bo_vm **vmbo_ptr ); ARGUMENTS adev amdgpu device object bp parameters to be used for the buffer object vmbo_ptr ...
amdgpu_bo_encrypted(9)
NAME amdgpu_bo_encrypted - test if the BO is encrypted SYNOPSIS bool amdgpu_bo_encrypted (struct amdgpu_bo *bo ); ARGUMENTS bo pointer to a buffer object DESCRIPTION Return true if the buffer object is encrypted, false otherwise. SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_object.h amdgpu_mem_...