HI_MIPI_DISABLE_MIPI_CLOCK

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Description

Disables the MIPI clock.

Prototype

#define HI_MIPI_DISABLE_MIPI_CLOCK _IOW(HI_MIPI_IOC_MAGIC, 0x0d, combo_dev_t)

Parameters

  • HI_MIPI_IOC_MAGIC: magic number of the MIPI RX ioctl command.
    #define HI_MIPI_IOC_MAGIC 'm'
  • 0x0d: indicates the command word function and disables the clock of the MIPI device.
  • combo_dev_t: device ID.

Returns

  • 0: success
  • -1: failure