HI_MIPI_DISABLE_MIPI_CLOCK

Applicable Products

Product

Supported

Ascend 950PR/Ascend 950DT

☓

Atlas A3 training products/Atlas A3 inference products

☓

Atlas A2 training products/Atlas A2 inference products

☓

Atlas 200I/500 A2 inference products

√

Atlas inference products

☓

Atlas training products

☓

Function

Disables the MIPI clock.

Definition

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

Parameters

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

Returns

  • 0: success
  • -1: failure