/drivers/hdf_core/framework/model/storage/include/mmc/ |
D | mmc_caps.h | 41 uint32_t capsData; 43 uint32_t cap4Bit : 1; /* bit:0 support 4 bit transfer */ 44 uint32_t cap8Bit : 1; /* bit:1 support 8 bit transfer */ 45 uint32_t highSpeed : 1; /* bit:2 support high-speed timing */ 46 uint32_t sdioIrq : 1; /* bit:3 signal pending SDIO irqs */ 47 uint32_t onlySpi : 1; /* bit:4 only support spi protocols */ 48 uint32_t needPoll : 1; /* bit:5 need polling for card-detection */ 49 uint32_t nonremovable : 1; /* bit:6 Nonremovable eg. eMMC */ 50 uint32_t waitWhileBusy : 1; /* bit:7 waits while card is busy */ 51 uint32_t erase : 1; /* bit:8 allow erase */ [all …]
|
D | mmc_sdio.h | 24 uint32_t maxBlkSize; 25 uint32_t curBlkSize; 26 uint32_t funcNum; 30 uint32_t timeOut; 43 uint32_t functions; 53 int32_t (*incrAddrReadBytes)(struct SdioDevice *, uint8_t *, uint32_t, uint32_t); 54 int32_t (*incrAddrWriteBytes)(struct SdioDevice *, uint8_t *, uint32_t, uint32_t); 55 int32_t (*fixedAddrReadBytes)(struct SdioDevice *, uint8_t *, uint32_t, uint32_t, uint32_t); 56 int32_t (*fixedAddrWriteBytes)(struct SdioDevice *, uint8_t *, uint32_t, uint32_t, uint32_t); 57 int32_t (*func0ReadBytes)(struct SdioDevice *, uint8_t *, uint32_t, uint32_t); [all …]
|
/drivers/peripheral/display/interfaces/include/ |
D | display_layer.h | 62 int32_t (*InitDisplay)(uint32_t devId); 76 int32_t (*DeinitDisplay)(uint32_t devId); 90 int32_t (*GetDisplayInfo)(uint32_t devId, DisplayInfo *dispInfo); 112 int32_t (*CreateLayer)(uint32_t devId, const LayerInfo *layerInfo, uint32_t *layerId); 127 int32_t (*CloseLayer)(uint32_t devId, uint32_t layerId); 147 int32_t (*SetLayerVisible)(uint32_t devId, uint32_t layerId, bool visible); 165 int32_t (*GetLayerVisibleState)(uint32_t devId, uint32_t layerId, bool *visible); 182 int32_t (*SetLayerSize)(uint32_t devId, uint32_t layerId, IRect *rect); 199 int32_t (*GetLayerSize)(uint32_t devId, uint32_t layerId, IRect *rect); 215 int32_t (*SetLayerCrop)(uint32_t devId, uint32_t layerId, IRect *rect); [all …]
|
D | display_device.h | 61 typedef void (*HotPlugCallback)(uint32_t devId, bool connected, void *data); 90 typedef void (*RefreshCallback)(uint32_t devId, void *data); 126 int32_t (*RegDisplayVBlankCallback)(uint32_t devId, VBlankCallback callback, void *data); 142 int32_t (*RegDisplayRefreshCallback)(uint32_t devId, RefreshCallback callback, void *data); 156 int32_t (*GetDisplayCapability)(uint32_t devId, DisplayCapability *info); 172 int32_t (*GetDisplaySupportedModes)(uint32_t devId, uint32_t *num, DisplayModeInfo *modes); 186 int32_t (*GetDisplayMode)(uint32_t devId, uint32_t *modeId); 200 int32_t (*SetDisplayMode)(uint32_t devId, uint32_t modeId); 213 int32_t (*GetDisplayPowerStatus)(uint32_t devId, DispPowerStatus *status); 226 int32_t (*SetDisplayPowerStatus)(uint32_t devId, DispPowerStatus status); [all …]
|
/drivers/peripheral/display/hdi_service/device/include/server/ |
D | display_device_service.h | 36 int32_t GetDisplayCapability(uint32_t devId, DisplayCapability &info) override; 37 … int32_t GetDisplaySupportedModes(uint32_t devId, uint32_t &num, DisplayModeInfo *modes) override; 38 int32_t GetDisplayMode(uint32_t devId, uint32_t &modeId) override; 39 int32_t SetDisplayMode(uint32_t devId, uint32_t modeId) override; 40 int32_t GetDisplayPowerStatus(uint32_t devId, DispPowerStatus &status) override; 41 int32_t SetDisplayPowerStatus(uint32_t devId, DispPowerStatus status) override; 42 int32_t GetDisplayBacklight(uint32_t devId, uint32_t &level) override; 43 int32_t SetDisplayBacklight(uint32_t devId, uint32_t level) override; 44 int32_t GetDisplayProperty(uint32_t devId, uint32_t id, uint64_t &value) override; 45 int32_t SetDisplayProperty(uint32_t devId, uint32_t id, uint64_t value) override; [all …]
|
/drivers/peripheral/display/hdi_service/device/include/interfaces/ |
D | idisplay_device.h | 46 virtual int32_t GetDisplayCapability(uint32_t devId, DisplayCapability &info) = 0; 47 …virtual int32_t GetDisplaySupportedModes(uint32_t devId, uint32_t &num, DisplayModeInfo *modes) = … 48 virtual int32_t GetDisplayMode(uint32_t devId, uint32_t &modeId) = 0; 49 virtual int32_t SetDisplayMode(uint32_t devId, uint32_t modeId) = 0; 50 virtual int32_t GetDisplayPowerStatus(uint32_t devId, DispPowerStatus &status) = 0; 51 virtual int32_t SetDisplayPowerStatus(uint32_t devId, DispPowerStatus status) = 0; 52 virtual int32_t GetDisplayBacklight(uint32_t devId, uint32_t &level) = 0; 53 virtual int32_t SetDisplayBacklight(uint32_t devId, uint32_t level) = 0; 54 virtual int32_t GetDisplayProperty(uint32_t devId, uint32_t id, uint64_t &value) = 0; 55 virtual int32_t SetDisplayProperty(uint32_t devId, uint32_t id, uint64_t value) = 0; [all …]
|
/drivers/hdf_core/framework/support/platform/include/hdmi/ |
D | hdmi_dfm.h | 87 uint32_t htotal; 88 uint32_t vtotal; 89 uint32_t bpp; /* Bits per Pixel */ 90 uint32_t cFrlSb; /* Total FRL Characters Per SuperBlock(include SSB/SR) */ 91 uint32_t overheadSb; 92 uint32_t overheadRs; 93 uint32_t overheadMap; 94 uint32_t overheadMin; 95 uint32_t overheadMax; 96 uint32_t lineMinTime; /* minimum Video Line period */ [all …]
|
/drivers/peripheral/display/hdi_service/device/include/proxy/ |
D | display_device_proxy.h | 40 int32_t GetDisplayCapability(uint32_t devId, DisplayCapability &info) override; 41 … int32_t GetDisplaySupportedModes(uint32_t devId, uint32_t &num, DisplayModeInfo *modes) override; 42 int32_t GetDisplayMode(uint32_t devId, uint32_t &modeId) override; 43 int32_t SetDisplayMode(uint32_t devId, uint32_t modeId) override; 44 int32_t GetDisplayPowerStatus(uint32_t devId, DispPowerStatus &status) override; 45 int32_t SetDisplayPowerStatus(uint32_t devId, DispPowerStatus status) override; 46 int32_t GetDisplayBacklight(uint32_t devId, uint32_t &level) override; 47 int32_t SetDisplayBacklight(uint32_t devId, uint32_t level) override; 48 int32_t GetDisplayProperty(uint32_t devId, uint32_t id, uint64_t &value) override; 49 int32_t SetDisplayProperty(uint32_t devId, uint32_t id, uint64_t value) override; [all …]
|
/drivers/interface/display/composer/v1_0/include/ |
D | idisplay_composer_interface.h | 94 virtual int32_t SetClientBufferCacheCount(uint32_t devId, uint32_t count) = 0; 108 virtual int32_t GetDisplayCapability(uint32_t devId, DisplayCapability& info) = 0; 123 … virtual int32_t GetDisplaySupportedModes(uint32_t devId, std::vector<DisplayModeInfo>& modes) = 0; 137 virtual int32_t GetDisplayMode(uint32_t devId, uint32_t& modeId) = 0; 151 virtual int32_t SetDisplayMode(uint32_t devId, uint32_t modeId) = 0; 164 virtual int32_t GetDisplayPowerStatus(uint32_t devId, DispPowerStatus& status) = 0; 177 virtual int32_t SetDisplayPowerStatus(uint32_t devId, DispPowerStatus status) = 0; 191 virtual int32_t GetDisplayBacklight(uint32_t devId, uint32_t& level) = 0; 204 virtual int32_t SetDisplayBacklight(uint32_t devId, uint32_t level) = 0; 218 virtual int32_t GetDisplayProperty(uint32_t devId, uint32_t id, uint64_t& value) = 0; [all …]
|
/drivers/peripheral/display/composer/hdi_service/include/ |
D | idisplay_composer_vdi.h | 37 virtual int32_t GetDisplayCapability(uint32_t devId, DisplayCapability& info) = 0; 38 … virtual int32_t GetDisplaySupportedModes(uint32_t devId, std::vector<DisplayModeInfo>& modes) = 0; 39 virtual int32_t GetDisplayMode(uint32_t devId, uint32_t& modeId) = 0; 40 virtual int32_t SetDisplayMode(uint32_t devId, uint32_t modeId) = 0; 41 virtual int32_t GetDisplayPowerStatus(uint32_t devId, DispPowerStatus& status) = 0; 42 virtual int32_t SetDisplayPowerStatus(uint32_t devId, DispPowerStatus status) = 0; 43 virtual int32_t GetDisplayBacklight(uint32_t devId, uint32_t& level) = 0; 44 virtual int32_t SetDisplayBacklight(uint32_t devId, uint32_t level) = 0; 45 virtual int32_t GetDisplayProperty(uint32_t devId, uint32_t id, uint64_t& value) = 0; 47 uint32_t devId, std::vector<uint32_t>& layers, std::vector<int32_t>& types) = 0; [all …]
|
D | display_composer_service.h | 36 int32_t SetClientBufferCacheCount(uint32_t devId, uint32_t count) override; 37 int32_t GetDisplayCapability(uint32_t devId, DisplayCapability& info) override; 38 int32_t GetDisplaySupportedModes(uint32_t devId, std::vector<DisplayModeInfo>& modes) override; 39 int32_t GetDisplayMode(uint32_t devId, uint32_t& modeId) override; 40 int32_t SetDisplayMode(uint32_t devId, uint32_t modeId) override; 41 int32_t GetDisplayPowerStatus(uint32_t devId, DispPowerStatus& status) override; 42 int32_t SetDisplayPowerStatus(uint32_t devId, DispPowerStatus status) override; 43 int32_t GetDisplayBacklight(uint32_t devId, uint32_t& level) override; 44 int32_t SetDisplayBacklight(uint32_t devId, uint32_t level) override; 45 int32_t GetDisplayProperty(uint32_t devId, uint32_t id, uint64_t& value) override; [all …]
|
/drivers/hdf_core/framework/model/display/driver/ |
D | hdf_disp.h | 61 uint32_t type; 62 uint32_t minLevel; 63 uint32_t maxLevel; 64 uint32_t defLevel; 68 uint32_t dev; 69 uint32_t period; 73 uint32_t width; 74 uint32_t height; 75 uint32_t hbp; 76 uint32_t hfp; [all …]
|
/drivers/peripheral/display/hal/default_standard/src/display_device/ |
D | display_composer_vdi_impl.h | 35 virtual int32_t GetDisplayCapability(uint32_t devId, DisplayCapability& info) override; 36 …virtual int32_t GetDisplaySupportedModes(uint32_t devId, std::vector<DisplayModeInfo>& modes) over… 37 virtual int32_t GetDisplayMode(uint32_t devId, uint32_t& modeId) override; 38 virtual int32_t SetDisplayMode(uint32_t devId, uint32_t modeId) override; 39 virtual int32_t GetDisplayPowerStatus(uint32_t devId, DispPowerStatus& status) override; 40 virtual int32_t SetDisplayPowerStatus(uint32_t devId, DispPowerStatus status) override; 41 virtual int32_t GetDisplayBacklight(uint32_t devId, uint32_t& level) override; 42 virtual int32_t SetDisplayBacklight(uint32_t devId, uint32_t level) override; 43 virtual int32_t GetDisplayProperty(uint32_t devId, uint32_t id, uint64_t& value) override; 44 virtual int32_t GetDisplayCompChange(uint32_t devId, std::vector<uint32_t>& layers, [all …]
|
/drivers/hdf_core/framework/model/audio/usb/include/ |
D | audio_usb_linux.h | 28 uint32_t bufferSize; /* size of data buffer, if data URB */ 53 uint32_t packetSize[MAX_PACKS_HS]; 60 uint32_t nurbs; /* # urbs */ 66 uint32_t pipe; /* the data i/o pipe */ 67 uint32_t packsize[2]; /* small/large packet sizes in samples */ 68 uint32_t sampleRem; /* remainder from division fs/pps */ 69 uint32_t sampleAccum; /* sample accumulator */ 70 uint32_t pps; /* packets per second */ 71 uint32_t freqn; /* nominal sampling rate in fs/fps in Q16.16 format */ 72 uint32_t freqm; /* momentary sampling rate in fs/fps in Q16.16 format */ [all …]
|
/drivers/interface/camera/metadata/include/ |
D | camera_metadata_operator.h | 77 uint32_t version; 78 uint32_t size; 79 uint32_t item_count; 80 uint32_t item_capacity; 81 uint32_t items_start; // Offset from common_metadata_header 82 uint32_t data_count; 83 uint32_t data_capacity; 84 uint32_t data_start; // Offset from common_metadata_header 88 uint32_t item; 89 uint32_t data_type; [all …]
|
/drivers/peripheral/display/hdi_service/device/src/server/ |
D | display_device_service.cpp | 49 int32_t DisplayDeviceService::GetDisplayCapability(uint32_t devId, DisplayCapability &info) in GetDisplayCapability() 54 int32_t DisplayDeviceService::GetDisplaySupportedModes(uint32_t devId, uint32_t &num, DisplayModeIn… in GetDisplaySupportedModes() 59 int32_t DisplayDeviceService::GetDisplayMode(uint32_t devId, uint32_t &modeId) in GetDisplayMode() 64 int32_t DisplayDeviceService::SetDisplayMode(uint32_t devId, uint32_t modeId) in SetDisplayMode() 69 int32_t DisplayDeviceService::GetDisplayPowerStatus(uint32_t devId, DispPowerStatus &status) in GetDisplayPowerStatus() 74 int32_t DisplayDeviceService::SetDisplayPowerStatus(uint32_t devId, DispPowerStatus status) in SetDisplayPowerStatus() 79 int32_t DisplayDeviceService::GetDisplayBacklight(uint32_t devId, uint32_t &level) in GetDisplayBacklight() 84 int32_t DisplayDeviceService::SetDisplayBacklight(uint32_t devId, uint32_t level) in SetDisplayBacklight() 89 int32_t DisplayDeviceService::GetDisplayProperty(uint32_t devId, uint32_t id, uint64_t &value) in GetDisplayProperty() 94 int32_t DisplayDeviceService::SetDisplayProperty(uint32_t devId, uint32_t id, uint64_t value) in SetDisplayProperty() [all …]
|
/drivers/peripheral/input/interfaces/include/ |
D | input_controller.h | 72 int32_t (*SetPowerStatus)(uint32_t devIndex, uint32_t status); 89 int32_t (*GetPowerStatus)(uint32_t devIndex, uint32_t *status); 102 int32_t (*GetDeviceType)(uint32_t devIndex, uint32_t *deviceType); 119 int32_t (*GetChipInfo)(uint32_t devIndex, char *chipInfo, uint32_t length); 133 int32_t (*GetVendorName)(uint32_t devIndex, char *vendorName, uint32_t length); 147 int32_t (*GetChipName)(uint32_t devIndex, char *chipName, uint32_t length); 163 int32_t (*SetGestureMode)(uint32_t devIndex, uint32_t gestureMode); 182 …int32_t (*RunCapacitanceTest)(uint32_t devIndex, uint32_t testType, char *result, uint32_t length); 196 int32_t (*RunExtraCommand)(uint32_t devIndex, InputExtraCmd *cmd);
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/include/ |
D | camera_common.h | 57 enum CameraFmtCmd : uint32_t { 96 uint32_t zoomMaxNum; 118 uint32_t heightMaxNum; 119 uint32_t widthMaxNum; 120 uint32_t frameRateMaxNum; 121 uint32_t bufferTypeNum; 123 uint32_t bufferType[BUFFER_TYPE_MAX_NUM]; 136 uint32_t type; 143 uint32_t numerator; 144 uint32_t denominator; [all …]
|
/drivers/hdf_core/framework/model/audio/common/include/ |
D | audio_platform_base.h | 40 uint32_t cirBufSize; /* Current DMA cache size */ 41 uint32_t trafBufSize; /* PCM data per transmission default size */ 42 uint32_t period; /* not used */ 43 uint32_t periodSize; /* DMA cache period size */ 44 uint32_t periodCount; /* Number of DMA cache periods */ 46 uint32_t *virtAddr; /* DMA cache virtual address */ 47 uint32_t wbufOffSet; /* DMA cache write address offset */ 48 uint32_t wptrOffSet; /* DMA cache write pointer offset */ 49 uint32_t rbufOffSet; /* DMA cache read address offset */ 50 uint32_t rptrOffSet; /* DMA cache read pointer offset */ [all …]
|
/drivers/peripheral/display/composer/test/common/ |
D | display_test_utils.h | 28 const uint32_t DISPLAY_DEAULT_W = 480; 29 const uint32_t DISPLAY_DEAULT_H = 960; 30 const uint32_t RED = 0xff0000ff; 31 const uint32_t GREEN = 0x00ff00ff; 32 const uint32_t BLUE = 0x0000ffff; 33 const uint32_t TRANSPARENT = 0; 34 const uint32_t YELLOW = 0xffff29ff; 35 const uint32_t PINK = 0xffc0cbff; 36 const uint32_t PURPLE = 0x800080ff; 37 const uint32_t CYAN = 0x00ffffff; [all …]
|
/drivers/hdf_core/framework/sample/platform/uart/include/ |
D | uart_pl011_sample.h | 22 volatile uint32_t dr; /* Offset: 0x000 TYPE: (RW) Data register */ 24 volatile uint32_t rsr; /* Offset: 0x004 TYPE: (RO) Receive status register */ 25 volatile uint32_t ecr; /* Offset: 0x004 TYPE: (WO) Error clear register */ 27 volatile uint32_t reserved0[4]; /* Offset: 0x008-0x014 Reserved */ 28 volatile uint32_t fr; /* Offset: 0x018 TYPE: (RO) Flag register */ 29 volatile uint32_t reserved1; /* Offset: 0x01C Reserved */ 30 volatile uint32_t ilpr; /* Offset: 0x020 TYPE: (RW) IrDA low-power counter register */ 31 volatile uint32_t ibrd; /* Offset: 0x024 TYPE: (RW) Integer baud rate register */ 32 volatile uint32_t fbrd; /* Offset: 0x028 TYPE: (RW) Fractional baud rate register */ 33 volatile uint32_t lcr; /* Offset: 0x02C TYPE: (RW) Line control register */ [all …]
|
/drivers/hdf_core/framework/test/unittest/platform/common/ |
D | rtc_test.h | 21 uint32_t time; 22 uint32_t maxYear; 23 uint32_t year; 24 uint32_t month; 25 uint32_t day; 26 uint32_t weekday; 27 uint32_t millisecond; 28 uint32_t hour; 29 uint32_t minute; 30 uint32_t second; [all …]
|
/drivers/peripheral/display/composer/test/fuzztest/layer_fuzzer/ |
D | layer_fuzzer.cpp | 58 uint32_t lenLayerType = GetArrLength(CONVERT_TABLE_LAYER_TYPE); in GetLayerInfo() 64 uint32_t lenFormat = GetArrLength(CONVERT_TABLE_FORMAT); in GetLayerInfo() 69 layerInfo.width = GetData<uint32_t>() % WIDTH; in GetLayerInfo() 70 layerInfo.height = GetData<uint32_t>() % HEIGHT; in GetLayerInfo() 71 layerInfo.type = CONVERT_TABLE_LAYER_TYPE[GetData<uint32_t>() % lenLayerType]; in GetLayerInfo() 72 layerInfo.bpp = GetData<uint32_t>(); in GetLayerInfo() 73 layerInfo.pixFormat = CONVERT_TABLE_FORMAT[GetData<uint32_t>() % lenFormat]; in GetLayerInfo() 79 alpha.enGlobalAlpha = GetRandBoolValue(GetData<uint32_t>()); in GetLayerAlpha() 80 alpha.enPixelAlpha = GetRandBoolValue(GetData<uint32_t>()); in GetLayerAlpha() 81 alpha.alpha0 = GetData<uint32_t>() % ALPHA_VALUE_RANGE; in GetLayerAlpha() [all …]
|
/drivers/peripheral/codec/image/vdi/ |
D | codec_jpeg_vdi.h | 35 int32_t (*AllocateInBuffer)(BufferHandle **buffer, uint32_t size); 44 uint32_t left; 45 uint32_t right; 46 uint32_t top; 47 uint32_t bottom; 48 uint32_t flag; 49 uint32_t rsv; 63 uint32_t componentId; 64 uint32_t componentIndex; 65 uint32_t hSampFactor; [all …]
|
/drivers/hdf_core/framework/model/audio/core/include/ |
D | audio_control.h | 35 uint32_t count; /* R: count of all elements */ 36 uint32_t space; /* W: count of element IDs to get */ 42 uint32_t count; /* count of values */ 50 uint32_t value[2]; 55 uint32_t reg; 56 uint32_t reg2; 59 uint32_t max; 60 uint32_t mask; 62 const uint32_t *values; 68 uint32_t min; [all …]
|