id
stringlengths
4
63
text
stringlengths
153
8.81M
mipi_dsi_dcs_get_power_mode(9)
NAME mipi_dsi_dcs_get_power_mode - query the display module's current power mode SYNOPSIS int mipi_dsi_dcs_get_power_mode (struct mipi_dsi_device *dsi , u8 *mode ); ARGUMENTS dsi DSI peripheral device mode return location for the current power mode RETURN 0 on success or a negative error code ...
mipi_dsi_dcs_nop(9)
NAME mipi_dsi_dcs_nop - send DCS nop packet SYNOPSIS int mipi_dsi_dcs_nop (struct mipi_dsi_device *dsi ); ARGUMENTS dsi DSI peripheral device DESCRIPTION This function is deprecated. Use mipi_dsi_dcs_nop_multi instead. RETURN 0 on success or a negative error code on failure. SEE ALSO Kernel file ./dr...
mipi_dsi_dcs_nop_multi(9)
NAME mipi_dsi_dcs_nop_multi - send DCS NOP packet SYNOPSIS void mipi_dsi_dcs_nop_multi (struct mipi_dsi_multi_context *ctx ); ARGUMENTS ctx Context for multiple DSI transactions DESCRIPTION Like mipi_dsi_dcs_nop but deals with errors in a way that makes it convenient to make several calls in a row. SEE ALSO...
mipi_dsi_dcs_read(9)
NAME mipi_dsi_dcs_read - send DCS read request command SYNOPSIS ssize_t mipi_dsi_dcs_read (struct mipi_dsi_device *dsi , u8 cmd , void *data , size_t len ); ARGUMENTS dsi DSI peripheral device cmd DCS command data buffer in which to receive data len size of recei...
mipi_dsi_dcs_read_multi(9)
NAME mipi_dsi_dcs_read_multi - mipi_dsi_dcs_read() w/ accum_err SYNOPSIS void mipi_dsi_dcs_read_multi (struct mipi_dsi_multi_context *ctx , u8 cmd , void *data , size_t len ); ARGUMENTS ctx Context for multiple DSI transactions cmd DCS command data buffer in which to receive dat...
mipi_dsi_dcs_set_column_address(9)
NAME mipi_dsi_dcs_set_column_address - define the column extent of the frame memory accessed by the host processor SYNOPSIS int mipi_dsi_dcs_set_column_address (struct mipi_dsi_device *dsi , u16 start , u16 end ); ARGUMENTS dsi DSI peripheral device start first column of frame memory end...
mipi_dsi_dcs_set_column_address_multi(9)
NAME mipi_dsi_dcs_set_column_address_multi - define the column extent of the frame memory accessed by the host processor SYNOPSIS void mipi_dsi_dcs_set_column_address_multi (struct mipi_dsi_multi_context *ctx , u16 start , u16 end ); ARGUMENTS ctx Context for multiple DSI transactions start firs...
mipi_dsi_dcs_set_display_brightness(9)
NAME mipi_dsi_dcs_set_display_brightness - sets the brightness value of the display SYNOPSIS int mipi_dsi_dcs_set_display_brightness (struct mipi_dsi_device *dsi , u16 brightness ); ARGUMENTS dsi DSI peripheral device brightness brightness value DESCRIPTION This function is deprecated. Use mipi_dsi_...
mipi_dsi_dcs_set_display_brightness_large(9)
NAME mipi_dsi_dcs_set_display_brightness_large - sets the 16-bit brightness value of the display SYNOPSIS int mipi_dsi_dcs_set_display_brightness_large (struct mipi_dsi_device *dsi , u16 brightness ); ARGUMENTS dsi DSI peripheral device brightness brightness value RETURN 0 on success or a negative e...
mipi_dsi_dcs_set_display_brightness_multi(9)
NAME mipi_dsi_dcs_set_display_brightness_multi - sets the brightness value of the display SYNOPSIS void mipi_dsi_dcs_set_display_brightness_multi (struct mipi_dsi_multi_context *ctx , u16 brightness ); ARGUMENTS ctx Context for multiple DSI transactions brightness brightness value DESCRIPTION Like m...
mipi_dsi_dcs_set_display_off(9)
NAME mipi_dsi_dcs_set_display_off - stop displaying the image data on the display device SYNOPSIS int mipi_dsi_dcs_set_display_off (struct mipi_dsi_device *dsi ); ARGUMENTS dsi DSI peripheral device DESCRIPTION This function is deprecated. Use mipi_dsi_dcs_set_display_off_multi instead. RETURN 0 on success ...
mipi_dsi_dcs_set_display_off_multi(9)
NAME mipi_dsi_dcs_set_display_off_multi - send DCS SET_DISPLAY_OFF packet SYNOPSIS void mipi_dsi_dcs_set_display_off_multi (struct mipi_dsi_multi_context *ctx ); ARGUMENTS ctx Context for multiple DSI transactions DESCRIPTION Like mipi_dsi_dcs_set_display_off but deals with errors in a way that makes it conv...
mipi_dsi_dcs_set_display_on(9)
NAME mipi_dsi_dcs_set_display_on - start displaying the image data on the display device SYNOPSIS int mipi_dsi_dcs_set_display_on (struct mipi_dsi_device *dsi ); ARGUMENTS dsi DSI peripheral device DESCRIPTION This function is deprecated. Use mipi_dsi_dcs_set_display_on_multi instead. RETURN 0 on success or...
mipi_dsi_dcs_set_display_on_multi(9)
NAME mipi_dsi_dcs_set_display_on_multi - send DCS SET_DISPLAY_ON packet SYNOPSIS void mipi_dsi_dcs_set_display_on_multi (struct mipi_dsi_multi_context *ctx ); ARGUMENTS ctx Context for multiple DSI transactions DESCRIPTION Like mipi_dsi_dcs_set_display_on but deals with errors in a way that makes it convenie...
mipi_dsi_dcs_set_page_address(9)
NAME mipi_dsi_dcs_set_page_address - define the page extent of the frame memory accessed by the host processor SYNOPSIS int mipi_dsi_dcs_set_page_address (struct mipi_dsi_device *dsi , u16 start , u16 end ); ARGUMENTS dsi DSI peripheral device start first page of frame memory end ...
mipi_dsi_dcs_set_page_address_multi(9)
NAME mipi_dsi_dcs_set_page_address_multi - define the page extent of the frame memory accessed by the host processor SYNOPSIS void mipi_dsi_dcs_set_page_address_multi (struct mipi_dsi_multi_context *ctx , u16 start , u16 end ); ARGUMENTS ctx Context for multiple DSI transactions start first page...
mipi_dsi_dcs_set_pixel_format(9)
NAME mipi_dsi_dcs_set_pixel_format - sets the pixel format for the RGB image data used by the interface SYNOPSIS int mipi_dsi_dcs_set_pixel_format (struct mipi_dsi_device *dsi , u8 format ); ARGUMENTS dsi DSI peripheral device format pixel format DESCRIPTION This function is deprecated. Use mipi...
mipi_dsi_dcs_set_pixel_format_multi(9)
NAME mipi_dsi_dcs_set_pixel_format_multi - sets the pixel format for the RGB image data used by the interface SYNOPSIS void mipi_dsi_dcs_set_pixel_format_multi (struct mipi_dsi_multi_context *ctx , u8 format ); ARGUMENTS ctx Context for multiple DSI transactions format pixel format DESCRIPTION L...
mipi_dsi_dcs_set_tear_off_multi(9)
NAME mipi_dsi_dcs_set_tear_off_multi - turn off the display module's Tearing Effect output signal on the TE signal line SYNOPSIS void mipi_dsi_dcs_set_tear_off_multi (struct mipi_dsi_multi_context *ctx ); ARGUMENTS ctx Context for multiple DSI transactions SEE ALSO Kernel file ./drivers/gpu/drm/drm_mip...
mipi_dsi_dcs_set_tear_on(9)
NAME mipi_dsi_dcs_set_tear_on - turn on the display module's Tearing Effect output signal on the TE signal line. SYNOPSIS int mipi_dsi_dcs_set_tear_on (struct mipi_dsi_device *dsi , enum mipi_dsi_dcs_tear_mode mode ); ARGUMENTS dsi DSI peripheral device mode the Tearing Effect Output Line mode ...
mipi_dsi_dcs_set_tear_on_multi(9)
NAME mipi_dsi_dcs_set_tear_on_multi - send DCS SET_TEAR_ON packet SYNOPSIS void mipi_dsi_dcs_set_tear_on_multi (struct mipi_dsi_multi_context *ctx , enum mipi_dsi_dcs_tear_mode mode ); ARGUMENTS ctx Context for multiple DSI transactions mode the Tearing Effect Output Line mode DESCRIPTION Like...
mipi_dsi_dcs_set_tear_scanline(9)
NAME mipi_dsi_dcs_set_tear_scanline - set the scanline to use as trigger for the Tearing Effect output signal of the display module SYNOPSIS int mipi_dsi_dcs_set_tear_scanline (struct mipi_dsi_device *dsi , u16 scanline ); ARGUMENTS dsi DSI peripheral device scanline scanline to use as trigger DES...
mipi_dsi_dcs_set_tear_scanline_multi(9)
NAME mipi_dsi_dcs_set_tear_scanline_multi - set the scanline to use as trigger for the Tearing Effect output signal of the display module SYNOPSIS void mipi_dsi_dcs_set_tear_scanline_multi (struct mipi_dsi_multi_context *ctx , u16 scanline ); ARGUMENTS ctx Context for multiple DSI transactions scanlin...
mipi_dsi_dcs_soft_reset(9)
NAME mipi_dsi_dcs_soft_reset - perform a software reset of the display module SYNOPSIS int mipi_dsi_dcs_soft_reset (struct mipi_dsi_device *dsi ); ARGUMENTS dsi DSI peripheral device DESCRIPTION This function is deprecated. Use mipi_dsi_dcs_soft_reset_multi instead. RETURN 0 on success or a negative error c...
mipi_dsi_dcs_soft_reset_multi(9)
NAME mipi_dsi_dcs_soft_reset_multi - perform a software reset of the display module SYNOPSIS void mipi_dsi_dcs_soft_reset_multi (struct mipi_dsi_multi_context *ctx ); ARGUMENTS ctx Context for multiple DSI transactions DESCRIPTION Like mipi_dsi_dcs_soft_reset but deals with errors in a way that makes it conv...
mipi_dsi_dcs_write(9)
NAME mipi_dsi_dcs_write - send DCS write command SYNOPSIS ssize_t mipi_dsi_dcs_write (struct mipi_dsi_device *dsi , u8 cmd , const void *data , size_t len ); ARGUMENTS dsi DSI peripheral device cmd DCS command data buffer containing the command payload len comman...
mipi_dsi_dcs_write_buffer(9)
NAME mipi_dsi_dcs_write_buffer - transmit a DCS command with payload SYNOPSIS ssize_t mipi_dsi_dcs_write_buffer (struct mipi_dsi_device *dsi , const void *data , size_t len ); ARGUMENTS dsi DSI peripheral device data buffer containing data to be transmitted len size of transmiss...
mipi_dsi_dcs_write_buffer_chatty(9)
NAME mipi_dsi_dcs_write_buffer_chatty - mipi_dsi_dcs_write_buffer() w/ an error log SYNOPSIS int mipi_dsi_dcs_write_buffer_chatty (struct mipi_dsi_device *dsi , const void *data , size_t len ); ARGUMENTS dsi DSI peripheral device data buffer containing data to be transmitted len ...
mipi_dsi_dcs_write_buffer_multi(9)
NAME mipi_dsi_dcs_write_buffer_multi - mipi_dsi_dcs_write_buffer_chatty() w/ accum_err SYNOPSIS void mipi_dsi_dcs_write_buffer_multi (struct mipi_dsi_multi_context *ctx , const void *data , size_t len ); ARGUMENTS ctx Context for multiple DSI transactions data buffer containing data to be trans...
mipi_dsi_dcs_write_seq_multi(9)
NAME mipi_dsi_dcs_write_seq_multi - transmit a DCS command with payload SYNOPSIS mipi_dsi_dcs_write_seq_multi (ctx , cmd , seq... ); ARGUMENTS ctx Context for multiple DSI transactions cmd Command seq buffer containing data to be transmitted DESCRIPTION This macro will print e...
mipi_dsi_dcs_write_var_seq_multi(9)
NAME mipi_dsi_dcs_write_var_seq_multi - transmit a DCS command with non-constant payload SYNOPSIS mipi_dsi_dcs_write_var_seq_multi (ctx , cmd , seq... ); ARGUMENTS ctx Context for multiple DSI transactions cmd Command seq buffer containing data to be transmitted DESCRIPTION Th...
mipi_dsi_detach(9)
NAME mipi_dsi_detach - detach a DSI device from its DSI host SYNOPSIS int mipi_dsi_detach (struct mipi_dsi_device *dsi ); ARGUMENTS dsi DSI peripheral SEE ALSO Kernel file ./drivers/gpu/drm/drm_mipi_dsi.c Kernel API(9), of_find_mipi_dsi_device_by_node(9), mipi_dsi_device_register_full(9), ...
mipi_dsi_device_register_full(9)
NAME mipi_dsi_device_register_full - create a MIPI DSI device SYNOPSIS struct mipi_dsi_device * mipi_dsi_device_register_full (struct mipi_dsi_host *host , const struct mipi_dsi_device_info *info ); ARGUMENTS host DSI host to which this device is connected info pointer to template containing DSI...
mipi_dsi_device_unregister(9)
NAME mipi_dsi_device_unregister - unregister MIPI DSI device SYNOPSIS void mipi_dsi_device_unregister (struct mipi_dsi_device *dsi ); ARGUMENTS dsi DSI peripheral device SEE ALSO Kernel file ./drivers/gpu/drm/drm_mipi_dsi.c Kernel API(9), of_find_mipi_dsi_device_by_node(9), mipi_dsi_device_register_ful...
mipi_dsi_driver_register_full(9)
NAME mipi_dsi_driver_register_full - register a driver for DSI devices SYNOPSIS int mipi_dsi_driver_register_full (struct mipi_dsi_driver *drv , struct module *owner ); ARGUMENTS drv DSI driver structure owner owner module RETURN 0 on success or a negative error code on failure. SEE ALSO Kerne...
mipi_dsi_driver_unregister(9)
NAME mipi_dsi_driver_unregister - unregister a driver for DSI devices SYNOPSIS void mipi_dsi_driver_unregister (struct mipi_dsi_driver *drv ); ARGUMENTS drv DSI driver structure RETURN 0 on success or a negative error code on failure. SEE ALSO Kernel file ./drivers/gpu/drm/drm_mipi_dsi.c Kernel ...
mipi_dsi_dual(9)
NAME mipi_dsi_dual - send the same MIPI DSI command to two interfaces SYNOPSIS mipi_dsi_dual (_func , _ctx , _dsi1 , _dsi2 , ... ); ARGUMENTS _func MIPI DSI function to pass context and arguments into _ctx Context for multiple DSI transactions _dsi1 First DSI interface to act as rec...
mipi_dsi_dual_dcs_write_buffer_multi(9)
NAME mipi_dsi_dual_dcs_write_buffer_multi - mipi_dsi_dcs_write_buffer_multi() for two dsi channels, one after the other SYNOPSIS void mipi_dsi_dual_dcs_write_buffer_multi (struct mipi_dsi_multi_context *ctx , struct mipi_dsi_device *dsi1 , struct mipi_dsi_device *dsi2 , const void *data , size_t len ); ARGUMENTS ctx ...
mipi_dsi_dual_dcs_write_seq_multi(9)
NAME mipi_dsi_dual_dcs_write_seq_multi - transmit a DCS command with payload to two dsi interfaces, one after the other SYNOPSIS mipi_dsi_dual_dcs_write_seq_multi (_ctx , _dsi1 , _dsi2 , _cmd , _seq... ); ARGUMENTS _ctx Context for multiple DSI transactions _dsi1 First DSI interface to act as rec...
mipi_dsi_dual_generic_write_multi(9)
NAME mipi_dsi_dual_generic_write_multi - mipi_dsi_generic_write_multi() for two dsi channels, one after the other SYNOPSIS void mipi_dsi_dual_generic_write_multi (struct mipi_dsi_multi_context *ctx , struct mipi_dsi_device *dsi1 , struct mipi_dsi_device *dsi2 , const void *payload , size_t size ); ARGUMENTS ctx ...
mipi_dsi_dual_generic_write_seq_multi(9)
NAME mipi_dsi_dual_generic_write_seq_multi - transmit data using a generic write packet to two dsi interfaces, one after the other SYNOPSIS mipi_dsi_dual_generic_write_seq_multi (_ctx , _dsi1 , _dsi2 , _seq... ); ARGUMENTS _ctx Context for multiple DSI transactions _dsi1 First DSI interface to ac...
mipi_dsi_generic_read(9)
NAME mipi_dsi_generic_read - receive data using a generic read packet SYNOPSIS ssize_t mipi_dsi_generic_read (struct mipi_dsi_device *dsi , const void *params , size_t num_params , void *data , size_t size ); ARGUMENTS dsi DSI peripheral device params buffer containing the request parameters ...
mipi_dsi_generic_write(9)
NAME mipi_dsi_generic_write - transmit data using a generic write packet SYNOPSIS ssize_t mipi_dsi_generic_write (struct mipi_dsi_device *dsi , const void *payload , size_t size ); ARGUMENTS dsi DSI peripheral device payload buffer containing the payload size size of payload buffer ...
mipi_dsi_generic_write_multi(9)
NAME mipi_dsi_generic_write_multi - mipi_dsi_generic_write() w/ accum_err SYNOPSIS void mipi_dsi_generic_write_multi (struct mipi_dsi_multi_context *ctx , const void *payload , size_t size ); ARGUMENTS ctx Context for multiple DSI transactions payload buffer containing the payload size ...
mipi_dsi_generic_write_seq_multi(9)
NAME mipi_dsi_generic_write_seq_multi - transmit data using a generic write packet SYNOPSIS mipi_dsi_generic_write_seq_multi (ctx , seq... ); ARGUMENTS ctx Context for multiple DSI transactions seq buffer containing the payload DESCRIPTION This macro will print errors for you and error handli...
mipi_dsi_generic_write_var_seq_multi(9)
NAME mipi_dsi_generic_write_var_seq_multi - transmit non-constant data using a generic write packet SYNOPSIS mipi_dsi_generic_write_var_seq_multi (ctx , seq... ); ARGUMENTS ctx Context for multiple DSI transactions seq buffer containing the payload DESCRIPTION This macro will print errors for...
mipi_dsi_packet_format_is_long(9)
NAME mipi_dsi_packet_format_is_long - check if a packet is of the long format SYNOPSIS bool mipi_dsi_packet_format_is_long (u8 type ); ARGUMENTS type MIPI DSI data type of the packet RETURN true if the packet for the given data type is a long packet, false otherwise. SEE ALSO Kernel file ./drivers/gpu/...
mipi_dsi_packet_format_is_short(9)
NAME mipi_dsi_packet_format_is_short - check if a packet is of the short format SYNOPSIS bool mipi_dsi_packet_format_is_short (u8 type ); ARGUMENTS type MIPI DSI data type of the packet RETURN true if the packet for the given data type is a short packet, false otherwise. SEE ALSO Kernel file ./drivers/...
mipi_dsi_picture_parameter_set(9)
NAME mipi_dsi_picture_parameter_set - transmit the DSC PPS to the peripheral SYNOPSIS int mipi_dsi_picture_parameter_set (struct mipi_dsi_device *dsi , const struct drm_dsc_picture_parameter_set *pps ); ARGUMENTS dsi DSI peripheral device pps VESA DSC 1.1 Picture Parameter Set DESCRIPTION Tra...
mipi_dsi_picture_parameter_set_multi(9)
NAME mipi_dsi_picture_parameter_set_multi - transmit the DSC PPS to the peripheral SYNOPSIS void mipi_dsi_picture_parameter_set_multi (struct mipi_dsi_multi_context *ctx , const struct drm_dsc_picture_parameter_set *pps ); ARGUMENTS ctx Context for multiple DSI transactions pps VESA DSC 1.1 Pi...
mipi_dsi_pixel_format_to_bpp(9)
NAME mipi_dsi_pixel_format_to_bpp - obtain the number of bits per pixel for any given pixel format defined by the MIPI DSI specification SYNOPSIS int mipi_dsi_pixel_format_to_bpp (enum mipi_dsi_pixel_format fmt ); ARGUMENTS fmt MIPI DSI pixel format RETURN The number of bits per pixel of the given pixel form...
mipi_dsi_shutdown_peripheral(9)
NAME mipi_dsi_shutdown_peripheral - sends a Shutdown Peripheral command SYNOPSIS int mipi_dsi_shutdown_peripheral (struct mipi_dsi_device *dsi ); ARGUMENTS dsi DSI peripheral device RETURN 0 on success or a negative error code on failure. SEE ALSO Kernel file ./drivers/gpu/drm/drm_mipi_dsi.c Kernel...
mipi_dsi_turn_on_peripheral(9)
NAME mipi_dsi_turn_on_peripheral - sends a Turn On Peripheral command SYNOPSIS int mipi_dsi_turn_on_peripheral (struct mipi_dsi_device *dsi ); ARGUMENTS dsi DSI peripheral device DESCRIPTION This function is deprecated. Use mipi_dsi_turn_on_peripheral_multi instead. RETURN 0 on success or a negative error c...
mipi_dsi_turn_on_peripheral_multi(9)
NAME mipi_dsi_turn_on_peripheral_multi - sends a Turn On Peripheral command SYNOPSIS void mipi_dsi_turn_on_peripheral_multi (struct mipi_dsi_multi_context *ctx ); ARGUMENTS ctx Context for multiple DSI transactions DESCRIPTION Like mipi_dsi_turn_on_peripheral but deals with errors in a way that makes it conv...
mips_cdmm_bus_discover(9)
NAME mips_cdmm_bus_discover - Discover the devices on the CDMM bus. SYNOPSIS void mips_cdmm_bus_discover (struct mips_cdmm_bus *bus ); ARGUMENTS bus CDMM bus information, must already be set up. SEE ALSO Kernel file ./drivers/bus/mips_cdmm.c struct mips_cdmm_work_dev(9), mips_cdmm_void_work(9), mip...
mips_cdmm_cpu_down_prep(9)
NAME mips_cdmm_cpu_down_prep - Callback for CPUHP DOWN_PREP: Tear down the CDMM bus. SYNOPSIS int mips_cdmm_cpu_down_prep (unsigned int cpu ); ARGUMENTS cpu unsigned int CPU number. DESCRIPTION This function is executed on the hotplugged CPU and calls the CDMM driver cpu_down callback for all devices on that...
mips_cdmm_cpu_online(9)
NAME mips_cdmm_cpu_online - Callback for CPUHP ONLINE: Bring up the CDMM bus. SYNOPSIS int mips_cdmm_cpu_online (unsigned int cpu ); ARGUMENTS cpu unsigned int CPU number. DESCRIPTION This work_on_cpu callback function is executed on a given CPU to discover CDMM devices on that CPU, or to call the CDMM d...
mips_cdmm_cur_base(9)
NAME mips_cdmm_cur_base - Find current physical base address of CDMM region. SYNOPSIS phys_addr_t mips_cdmm_cur_base (void ); ARGUMENTS void no arguments RETURN Physical base address of CDMM region according to cdmmbase CP0 register, or 0 if the CDMM region is disabled. SEE ALSO Kernel file ./drivers/bus...
mips_cdmm_driver_register(9)
NAME mips_cdmm_driver_register - Register a CDMM driver. SYNOPSIS int mips_cdmm_driver_register (struct mips_cdmm_driver *drv ); ARGUMENTS drv CDMM driver information. DESCRIPTION Register a CDMM driver with the CDMM subsystem. The driver will be informed of matching devices which are discovered. RETURN 0 o...
mips_cdmm_driver_unregister(9)
NAME mips_cdmm_driver_unregister - Unregister a CDMM driver. SYNOPSIS void mips_cdmm_driver_unregister (struct mips_cdmm_driver *drv ); ARGUMENTS drv CDMM driver information. DESCRIPTION Unregister a CDMM driver from the CDMM subsystem. SEE ALSO Kernel file ./drivers/bus/mips_cdmm.c struct mips_cdmm_wor...
mips_cdmm_early_probe(9)
NAME mips_cdmm_early_probe - Minimally probe for a specific device on CDMM. SYNOPSIS void __iomem * mips_cdmm_early_probe (unsigned int dev_type ); ARGUMENTS dev_type CDMM type code to look for. DESCRIPTION Minimally configure the in-CPU Common Device Memory Map (CDMM) and look for a specific device. This can ...
mips_cdmm_get_bus(9)
NAME mips_cdmm_get_bus - Get the per-CPU CDMM bus information. SYNOPSIS struct mips_cdmm_bus * mips_cdmm_get_bus (void ); ARGUMENTS void no arguments DESCRIPTION Get information about the per-CPU CDMM bus, if the bus is present. The caller must prevent migration to another CPU, either by disabling pre-emptio...
mips_cdmm_init(9)
NAME mips_cdmm_init - Initialise CDMM bus. SYNOPSIS int mips_cdmm_init (void ); ARGUMENTS void no arguments DESCRIPTION Initialise CDMM bus, discover CDMM devices for online CPUs, and arrange for hotplug notifications so the CDMM drivers can be kept up to date. SEE ALSO Kernel file ./drivers/bus/mips_cdm...
mips_cdmm_int_work(9)
NAME mips_cdmm_int_work - Call an int returning CDMM driver callback. SYNOPSIS long mips_cdmm_int_work (void *data ); ARGUMENTS data struct mips_cdmm_work_dev pointer. DESCRIPTION A work_on_cpu callback function to call an arbitrary CDMM driver callback function which returns an int. SEE ALSO Kernel file ...
mips_cdmm_phys_base(9)
NAME mips_cdmm_phys_base - Choose a physical base address for CDMM region. SYNOPSIS phys_addr_t mips_cdmm_phys_base (void ); ARGUMENTS void no arguments DESCRIPTION Picking a suitable physical address at which to map the CDMM region is platform specific, so this weak function can be overridden by platform co...
mips_cdmm_release(9)
NAME mips_cdmm_release - Release a removed CDMM device. SYNOPSIS void mips_cdmm_release (struct device *dev ); ARGUMENTS dev Device object DESCRIPTION Clean up the struct mips_cdmm_device for an unused CDMM device. This is called automatically by the driver core when a device is removed. SEE ALSO Kernel f...
mips_cdmm_setup(9)
NAME mips_cdmm_setup - Ensure the CDMM bus is initialised and usable. SYNOPSIS int mips_cdmm_setup (struct mips_cdmm_bus *bus ); ARGUMENTS bus Pointer to bus information for current CPU. IS_ERR(bus) is checked, so no need for caller to check. DESCRIPTION The caller must prevent migration to another CPU, eit...
mips_cdmm_void_work(9)
NAME mips_cdmm_void_work - Call a void returning CDMM driver callback. SYNOPSIS long mips_cdmm_void_work (void *data ); ARGUMENTS data struct mips_cdmm_work_dev pointer. DESCRIPTION A work_on_cpu callback function to call an arbitrary CDMM driver callback function which doesn't return a value. SEE ALSO Kerne...
mips_cm_error_report(9)
NAME mips_cm_error_report - Report CM cache errors SYNOPSIS void mips_cm_error_report (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./arch/mips/include/asm/mips-cm.h mips_cm_phys_base(9), mips_cm_l2sync_phys_base(9), mips_cm_probe(9), mips_cm_present(9), mips_cm_update_property(9), mips_cm_has_...
mips_cm_has_l2sync(9)
NAME mips_cm_has_l2sync - determine whether an L2-only sync region is present SYNOPSIS bool mips_cm_has_l2sync (void ); ARGUMENTS void no arguments DESCRIPTION Returns true if the system implements an L2-only sync region, else false. SEE ALSO Kernel file ./arch/mips/include/asm/mips-cm.h mips_cm_phys_base(9...
mips_cm_l2sync(9)
NAME mips_cm_l2sync - perform an L2-only sync operation SYNOPSIS int mips_cm_l2sync (void ); ARGUMENTS void no arguments DESCRIPTION If an L2-only sync region is present in the system then this function performs and L2-only sync and returns zero. Otherwise it returns -ENODEV. SEE ALSO Kernel file ./arch/...
mips_cm_l2sync_phys_base(9)
NAME mips_cm_l2sync_phys_base - retrieve the physical base address of the CM L2-sync region SYNOPSIS phys_addr_t mips_cm_l2sync_phys_base (void ); ARGUMENTS void no arguments DESCRIPTION This function returns the physical base address of the Coherence Manager L2-cache only region. It provides a default imple...
mips_cm_lock_other(9)
NAME mips_cm_lock_other - lock access to redirect/other region SYNOPSIS void mips_cm_lock_other (unsigned int cluster , unsigned int core , unsigned int vp , unsigned int block ); ARGUMENTS cluster the other cluster to be accessed core the other core to be accessed vp the VP within...
mips_cm_lock_other_cpu(9)
NAME mips_cm_lock_other_cpu - lock access to redirect/other region SYNOPSIS void mips_cm_lock_other_cpu (unsigned int cpu , unsigned int block ); ARGUMENTS cpu the other CPU whose register we want to access block -- undescribed -- DESCRIPTION Configure the redirect/other region for the local c...
mips_cm_max_vp_width(9)
NAME mips_cm_max_vp_width - return the width in bits of VP indices SYNOPSIS unsigned int mips_cm_max_vp_width (void ); ARGUMENTS void no arguments RETURN the width, in bits, of VP indices in fields that combine core & VP indices. SEE ALSO Kernel file ./arch/mips/include/asm/mips-cm.h mips_cm_phys_base(9),...
mips_cm_phys_base(9)
NAME mips_cm_phys_base - retrieve the physical base address of the CM SYNOPSIS phys_addr_t mips_cm_phys_base (void ); ARGUMENTS void no arguments DESCRIPTION This function returns the physical base address of the Coherence Manager global control block, or 0 if no Coherence Manager is present. It provides a d...
mips_cm_present(9)
NAME mips_cm_present - determine whether a Coherence Manager is present SYNOPSIS bool mips_cm_present (void ); ARGUMENTS void no arguments DESCRIPTION Returns true if a CM is present in the system, else false. SEE ALSO Kernel file ./arch/mips/include/asm/mips-cm.h mips_cm_phys_base(9), mips_cm_l2sync_phys_ba...
mips_cm_probe(9)
NAME mips_cm_probe - probe for a Coherence Manager SYNOPSIS int mips_cm_probe (void ); ARGUMENTS void no arguments DESCRIPTION Attempt to detect the presence of a Coherence Manager. Returns 0 if a CM is successfully detected, else -errno. SEE ALSO Kernel file ./arch/mips/include/asm/mips-cm.h mips_cm_phy...
mips_cm_revision(9)
NAME mips_cm_revision - return CM revision SYNOPSIS int mips_cm_revision (void ); ARGUMENTS void no arguments RETURN The revision of the CM, from GCR_REV, or 0 if no CM is present. The return value should be checked against the CM_REV_* macros. SEE ALSO Kernel file ./arch/mips/include/asm/mips-cm.h mips...
mips_cm_unlock_other(9)
NAME mips_cm_unlock_other - unlock access to redirect/other region SYNOPSIS void mips_cm_unlock_other (void ); ARGUMENTS void no arguments DESCRIPTION Must be called after mips_cm_lock_other once all required access to the redirect/other region has been completed. SEE ALSO Kernel file ./arch/mips/include...
mips_cm_update_property(9)
NAME mips_cm_update_property - update property from the device tree SYNOPSIS void mips_cm_update_property (void ); ARGUMENTS void no arguments DESCRIPTION Retrieve the properties from the device tree if a CM node exist and update the internal variable based on this. SEE ALSO Kernel file ./arch/mips/include...
mips_cm_vp_id(9)
NAME mips_cm_vp_id - calculate the hardware VP ID for a CPU SYNOPSIS unsigned int mips_cm_vp_id (unsigned int cpu ); ARGUMENTS cpu the CPU whose VP ID to calculate DESCRIPTION Hardware such as the GIC uses identifiers for VPs which may not match the CPU numbers used by Linux. This function calculates the har...
mips_cpc_default_phys_base(9)
NAME mips_cpc_default_phys_base - retrieve the default physical base address of the CPC SYNOPSIS phys_addr_t mips_cpc_default_phys_base (void ); ARGUMENTS void no arguments DESCRIPTION Returns the default physical base address of the Cluster Power Controller memory mapped registers. This is platform dependent...
mips_cpc_lock_other(9)
NAME mips_cpc_lock_other - lock access to another core core: the other core to be accessed SYNOPSIS void mips_cpc_lock_other (unsigned int core ); ARGUMENTS core -- undescribed -- DESCRIPTION Call before operating upon a core via the 'other' register region in order to prevent the region being moved during ac...
mips_cpc_phys_base(9)
NAME mips_cpc_phys_base - retrieve the physical base address of the CPC SYNOPSIS phys_addr_t mips_cpc_phys_base (void ); ARGUMENTS void no arguments DESCRIPTION This function returns the physical base address of the Cluster Power Controller memory mapped registers, or 0 if no Cluster Power Controller is prese...
mips_cpc_present(9)
NAME mips_cpc_present - determine whether a Cluster Power Controller is present SYNOPSIS bool mips_cpc_present (void ); ARGUMENTS void no arguments DESCRIPTION Returns true if a CPC is present in the system, else false. SEE ALSO Kernel file ./arch/mips/include/asm/mips-cpc.h mips_cpc_default_phys_base(9), mi...
mips_cpc_probe(9)
NAME mips_cpc_probe - probe for a Cluster Power Controller SYNOPSIS int mips_cpc_probe (void ); ARGUMENTS void no arguments DESCRIPTION Attempt to detect the presence of a Cluster Power Controller. Returns 0 if a CPC is successfully detected, else -errno. SEE ALSO Kernel file ./arch/mips/include/asm/mips-cpc...
mips_cpc_unlock_other(9)
NAME mips_cpc_unlock_other - unlock access to another core SYNOPSIS void mips_cpc_unlock_other (void ); ARGUMENTS void no arguments DESCRIPTION Call after operating upon another core via the 'other' register region. Must be called after mips_cpc_lock_other. SEE ALSO Kernel file ./arch/mips/include/asm/mips-...
mips_cps_cluster_config(9)
NAME mips_cps_cluster_config - return (GCR|CPC)_CONFIG from a cluster SYNOPSIS uint64_t mips_cps_cluster_config (unsigned int cluster ); ARGUMENTS cluster the ID of the cluster whose config we want DESCRIPTION Read the value of GCR_CONFIG (or its CPC_CONFIG mirror) from a cluster. Returns the value of GCR_CONFI...
mips_cps_first_online_in_cluster(9)
NAME mips_cps_first_online_in_cluster - Detect if CPU is first online in cluster SYNOPSIS unsigned int mips_cps_first_online_in_cluster (int *first_cpu ); ARGUMENTS first_cpu The first other online CPU in cluster, or nr_cpu_ids if the function returns true. DESCRIPTION Determine whether the local CPU is the first ...
mips_cps_multicluster_cpus(9)
NAME mips_cps_multicluster_cpus - Detect whether CPUs are in multiple clusters SYNOPSIS bool mips_cps_multicluster_cpus (void ); ARGUMENTS void no arguments DESCRIPTION Determine whether the system includes CPUs in multiple clusters - ie. whether we can treat the system as single or multi-cluster as fa...
mips_cps_numclusters(9)
NAME mips_cps_numclusters - return the number of clusters present in the system SYNOPSIS unsigned int mips_cps_numclusters (void ); ARGUMENTS void no arguments DESCRIPTION Returns the number of clusters in the system. SEE ALSO Kernel file ./arch/mips/include/asm/mips-cps.h mips_cps_cluster_config(9), mips_cp...
mips_cps_numcores(9)
NAME mips_cps_numcores - return the number of cores present in a cluster SYNOPSIS unsigned int mips_cps_numcores (unsigned int cluster ); ARGUMENTS cluster the ID of the cluster whose core count we want DESCRIPTION Returns the value of the PCORES field of the GCR_CONFIG register plus 1, or zero if no Coherence M...
mips_cps_numiocu(9)
NAME mips_cps_numiocu - return the number of IOCUs present in a cluster SYNOPSIS unsigned int mips_cps_numiocu (unsigned int cluster ); ARGUMENTS cluster the ID of the cluster whose IOCU count we want DESCRIPTION Returns the value of the NUMIOCU field of the GCR_CONFIG register, or zero if no Coherence Manager i...
mips_cps_numvps(9)
NAME mips_cps_numvps - return the number of VPs (threads) supported by a core SYNOPSIS unsigned int mips_cps_numvps (unsigned int cluster , unsigned int core ); ARGUMENTS cluster the ID of the cluster containing the core we want to examine core the ID of the core whose VP count we want DESCRIPTION...
mips_cpu_restore(9)
NAME mips_cpu_restore - Restore general CPU state. Restores important CPU context. SYNOPSIS void mips_cpu_restore (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./arch/mips/kernel/pm.c mips_cpu_save(9), mips_pm_notifier(9) April 2026 ...
mips_cpu_save(9)
NAME mips_cpu_save - Save general CPU state. Ensures that general CPU context is saved, notably FPU and DSP. SYNOPSIS int mips_cpu_save (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./arch/mips/kernel/pm.c mips_cpu_restore(9), mips_pm_notifier(9) April 2026 ...
mips_dsemul(9)
NAME mips_dsemul - 'Emulate' an instruction from a branch delay slot SYNOPSIS int mips_dsemul (struct pt_regs *regs , mips_instruction ir , unsigned long branch_pc , unsigned long cont_pc ); ARGUMENTS regs User thread register context. ir The instruction to be 'emulated'. branch_pc T...
mips_ejtag_fdc_handle(9)
NAME mips_ejtag_fdc_handle - Handle FDC events. SYNOPSIS void mips_ejtag_fdc_handle (struct mips_ejtag_fdc_tty *priv ); ARGUMENTS priv Pointer to driver private data. DESCRIPTION Handle FDC events, such as new incoming data which needs draining out of the RX FIFO and feeding into the appropriate TTY ports, an...
mips_ejtag_fdc_isr(9)
NAME mips_ejtag_fdc_isr - Interrupt handler. SYNOPSIS irqreturn_t mips_ejtag_fdc_isr (int irq , void *dev_id ); ARGUMENTS irq IRQ number. dev_id Pointer to driver private data. DESCRIPTION This is the interrupt handler, used when interrupts are enabled. It simply triggers the common FDC handler...