HI_MIPI_ENABLE_SLVS_CLOCK

Applicability

Product

Supported

Atlas A3 training products/Atlas A3 inference products

x

Atlas A2 training products/Atlas A2 inference products

x

Atlas 200I/500 A2 inference products

Atlas inference products

x

Atlas training products

x

Description

Enables the SLVS clock.

Prototype

#define HI_MIPI_ENABLE_SLVS_CLOCK _IOW(HI_MIPI_IOC_MAGIC, 0x0e, combo_dev_t)

Parameters

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

Returns

  • 0: success
  • -1: failure