| /device/qemu/arm_virt/liteos_a/board/amba_pl011/ |
| D | amba_pl011.c | 47 #define UARTREG(base, reg) (*REG32((base) + (reg))) argument 50 STATIC VOID UartPutcReg(UINTPTR base, CHAR c) in UartPutcReg() 65 UINTPTR base = uart_to_ptr((UINT32)port); in uart_putc() local 85 STATIC VOID UartPutStr(UINTPTR base, const CHAR *s, UINT32 len) in UartPutStr() 97 UINT32 UartPutsReg(UINTPTR base, const CHAR *s, UINT32 len, BOOL isLock) in UartPutsReg() 118 UINTPTR base = uart_to_ptr(0); in UartPuts() local 143 UINTPTR base = uart_to_ptr(0); in uart_handler() local
|
| /device/qemu/arm_virt/liteos_a_mini/board/amba_pl011/ |
| D | amba_pl011.c | 47 #define UARTREG(base, reg) (*REG32((base) + (reg))) argument 50 STATIC VOID UartPutcReg(UINTPTR base, CHAR c) in UartPutcReg() 65 UINTPTR base = uart_to_ptr((UINT32)port); in uart_putc() local 85 STATIC VOID UartPutStr(UINTPTR base, const CHAR *s, UINT32 len) in UartPutStr() 97 UINT32 UartPutsReg(UINTPTR base, const CHAR *s, UINT32 len, BOOL isLock) in UartPutsReg() 118 UINTPTR base = uart_to_ptr(0); in UartPuts() local 143 UINTPTR base = uart_to_ptr(0); in uart_handler() local
|
| /device/qemu/SmartL_E802/liteos_m/board/hals/csky_driver/src/ |
| D | devices.c | 32 uint32_t base; member 56 int32_t target_usart_init(int32_t idx, uint32_t *base, uint32_t *irq) in target_usart_init() 69 uint32_t base; member 84 int32_t target_get_timer(int32_t idx, uint32_t *base, uint32_t *irq) in target_get_timer() 96 uint32_t base; member 127 int32_t target_gpio_port_init(port_name_e port, uint32_t *base, uint32_t *irq, uint32_t *pin_num) in target_gpio_port_init()
|
| /device/soc/hisilicon/ws63v100/sdk/middleware/utils/common_headers/ |
| D | chip_io.h | 189 #define reg(base, offset) (*(volatile uint32_t *)(uintptr_t)((uint32_t)(b… argument 190 #define regb(base, offset) (*(volatile uint8_t *)(uintptr_t)((uint32_t)(ba… argument 191 #define regw(base, offset) (*(volatile uint16_t *)(uintptr_t)((uint32_t)(b… argument 198 #define reg_clrbit(base, offset, pos) ((reg(base, offset)) &= ~((uint32_t)(1) << (pos… argument 199 #define regw_clrbit(base, offset, pos) ((regw(base, offset)) &= ~((uint16_t)(1) << (po… argument 200 #define regb_clrbit(base, offset, pos) ((regb(base, offset)) &= ~((uint8_t)(1) << (pos… argument 202 #define reg_setbit(base, offset, pos) ((reg(base, offset)) |= ((uint32_t)(1) << (pos)… argument 203 #define regw_setbit(base, offset, pos) ((regw(base, offset)) |= (uint16_t)((uint32_t)(… argument 204 #define regb_setbit(base, offset, pos) ((regb(base, offset)) |= ((uint8_t)(1) << (pos)… argument 207 #define reg_clrbits(base, offset, pos, bits) (reg(base, offset) &= ~((((uint32_t)1 << (bits)… argument [all …]
|
| /device/soc/rockchip/common/vendor/drivers/video/rockchip/rga2/ |
| D | rga2_reg_info.c | 38 static void RGA2_reg_get_param(unsigned char *base, struct rga2_req *msg) in RGA2_reg_get_param() 113 static void RGA2_set_mode_ctrl(u8 *base, struct rga2_req *msg) in RGA2_set_mode_ctrl() 136 static void RGA2_set_reg_src_info(unsigned char *base, struct rga2_req *msg) in RGA2_set_reg_src_info() 513 static void RGA2_set_reg_dst_info(u8 *base, struct rga2_req *msg) in RGA2_set_reg_dst_info() 1091 static void RGA2_set_reg_alpha_info(u8 *base, struct rga2_req *msg) in RGA2_set_reg_alpha_info() 1159 static void RGA2_set_reg_rop_info(u8 *base, struct rga2_req *msg) in RGA2_set_reg_rop_info() 1196 static void RGA2_set_reg_full_csc(u8 *base, struct rga2_req *msg) in RGA2_set_reg_full_csc() 1246 static void RGA2_set_reg_color_palette(unsigned char *base, struct rga2_req *msg) in RGA2_set_reg_color_palette() 1293 static void RGA2_set_reg_color_fill(u8 *base, struct rga2_req *msg) in RGA2_set_reg_color_fill() 1337 static void RGA2_set_reg_update_palette_table(unsigned char *base, struct rga2_req *msg) in RGA2_set_reg_update_palette_table() [all …]
|
| /device/soc/rockchip/rk2206/sdk_liteos/platform/system/ |
| D | system.c | 68 const char *_parse_integer_fixup_radix(const char *str, unsigned int *base) in _parse_integer_fixup_radix() 89 unsigned int _parse_integer(const char *str, unsigned int base, unsigned long long *p) in _parse_integer() 152 unsigned long long simple_strtoull(const char *cp_temp, char **endp, unsigned int base) in simple_strtoull() 178 unsigned long simple_strtoul(const char *cp, char **endp, unsigned int base) in simple_strtoul() 189 long long simple_strtoll(const char *cp, char **endp, unsigned int base) in simple_strtoll() 197 long simple_strtol(const char *cp, char **endp, unsigned int base) in simple_strtol() 218 unsigned char base; in pre_vsscanf() local
|
| /device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/ |
| D | rockchip-cpuinfo.c | 123 void __iomem *base; in rk3288_init() local 138 void __iomem *base; in rk3126_init() local 158 void __iomem *base; in rk3308_init() local 176 void __iomem *base; in rk356x_set_cpu_version() local
|
| D | rockchip_debug.c | 88 void __iomem *base; in rockchip_debug_dump_edpcsr() local 142 void __iomem *base; in rockchip_debug_dump_pmpcsr() local 211 void __iomem *base; in rockchip_panic_notify_edpcsr() local 271 void __iomem *base; in rockchip_panic_notify_pmpcsr() local
|
| /device/soc/rockchip/common/vendor/drivers/rockchip/ |
| D | rockchip-cpuinfo.c | 131 void __iomem *base; in rk3288_init() local 147 void __iomem *base; in rk3126_init() local 168 void __iomem *base; in rk3308_init() local 187 void __iomem *base; in rk356x_set_cpu_version() local
|
| D | rockchip_debug.c | 88 void IO_MEM *base; in rockchip_debug_dump_edpcsr() local 138 void IO_MEM *base; in rockchip_debug_dump_pmpcsr() local 204 void IO_MEM *base; in rockchip_panic_notify_edpcsr() local 261 void IO_MEM *base; in rockchip_panic_notify_pmpcsr() local
|
| /device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/rga3/ |
| D | rga2_reg_info.c | 99 static void RGA2_reg_get_param(unsigned char *base, struct rga2_req *msg) in RGA2_reg_get_param() 159 static void RGA2_set_mode_ctrl(u8 *base, struct rga2_req *msg) in RGA2_set_mode_ctrl() 192 static void RGA2_set_reg_src_info(u8 *base, struct rga2_req *msg) in RGA2_set_reg_src_info() 605 static void RGA2_set_reg_dst_info(u8 *base, struct rga2_req *msg) in RGA2_set_reg_dst_info() 1236 static void RGA2_set_reg_alpha_info(u8 *base, struct rga2_req *msg) in RGA2_set_reg_alpha_info() 1346 static void RGA2_set_reg_rop_info(u8 *base, struct rga2_req *msg) in RGA2_set_reg_rop_info() 1385 static void RGA2_set_reg_full_csc(u8 *base, struct rga2_req *msg) in RGA2_set_reg_full_csc() 1435 static void RGA2_set_reg_color_palette(u8 *base, struct rga2_req *msg) in RGA2_set_reg_color_palette() 1488 static void RGA2_set_reg_color_fill(u8 *base, struct rga2_req *msg) in RGA2_set_reg_color_fill() 1537 static void RGA2_set_reg_update_palette_table(u8 *base, in RGA2_set_reg_update_palette_table() [all …]
|
| /device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/upg/ |
| D | boot_upg_common.c | 20 hi_u16 base = pos / BIT_U8; in boot_upg_tool_bit_test() local 27 hi_u16 base = pos / BIT_U8; in boot_upg_tool_bit_set() local
|
| /device/soc/hisilicon/common/platform/gpio/ |
| D | gpio_hi35xx.c | 38 #define PL061_GPIO_DATA_ALL(base) ((base) + 0x3FC) argument 39 #define PL061_GPIO_DATA(base, bit) ((base) + 0x000 + (1 << ((bit) + 2))) argument 40 #define PL061_GPIO_DIR(base) ((base) + 0x400) argument 41 #define PL061_GPIO_IS(base) ((base) + 0x404) argument 42 #define PL061_GPIO_IBE(base) ((base) + 0x408) argument 43 #define PL061_GPIO_IEV(base) ((base) + 0x40C) argument 44 #define PL061_GPIO_IE(base) ((base) + 0x410) argument 45 #define PL061_GPIO_RIS(base) ((base) + 0x414) argument 46 #define PL061_GPIO_MIS(base) ((base) + 0x418) argument 47 #define PL061_GPIO_IC(base) ((base) + 0x41C) argument
|
| /device/qemu/riscv32_virt/liteos_m/board/driver/cfiflash/ |
| D | cfiflash.c | 163 uint32_t *base = (uint32_t *)p; in CfiFlashQuery() local 224 uint32_t *base = (uint32_t *)pbase; in CfiFlashRead() local 248 uint32_t *base = (uint32_t *)pbase; in CfiFlashWrite() local 271 uint32_t *base = (uint32_t *)pbase; in CfiFlashErase() local
|
| /device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/ |
| D | capture_v1x.c | 186 void __iomem *base = stream->ispdev->base_addr; in mp_config_mi() local 239 void __iomem *base = stream->ispdev->base_addr; in sp_config_mi() local 285 void __iomem *base = stream->ispdev->base_addr; in mp_enable_mi() local 298 void __iomem *base = stream->ispdev->base_addr; in sp_enable_mi() local 306 void __iomem *base = dev->base_addr; in mp_disable_mi() local 313 void __iomem *base = stream->ispdev->base_addr; in sp_disable_mi() local 322 void __iomem *base = stream->ispdev->base_addr; in update_mi() local
|
| D | regs.h | 1611 void __iomem *base = stream->ispdev->base_addr; in config_mi_ctrl() local 1623 static inline bool mp_is_stream_stopped(void __iomem *base) in mp_is_stream_stopped() 1631 static inline bool sp_is_stream_stopped(void __iomem *base) in sp_is_stream_stopped() 1652 void __iomem *base = stream->ispdev->base_addr; in mi_set_y_size() local 1659 void __iomem *base = stream->ispdev->base_addr; in mi_set_cb_size() local 1666 void __iomem *base = stream->ispdev->base_addr; in mi_set_cr_size() local 1673 void __iomem *base = stream->ispdev->base_addr; in mi_set_y_addr() local 1680 void __iomem *base = stream->ispdev->base_addr; in mi_set_cb_addr() local 1687 void __iomem *base = stream->ispdev->base_addr; in mi_set_cr_addr() local 1694 void __iomem *base = stream->ispdev->base_addr; in mi_set_y_offset() local [all …]
|
| /device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/ |
| D | capture_v1x.c | 195 void __iomem *base = stream->ispdev->base_addr; in mp_config_mi() local 247 void __iomem *base = stream->ispdev->base_addr; in sp_config_mi() local 297 void __iomem *base = stream->ispdev->base_addr; in mp_enable_mi() local 309 void __iomem *base = stream->ispdev->base_addr; in sp_enable_mi() local 317 void __iomem *base = dev->base_addr; in mp_disable_mi() local 324 void __iomem *base = stream->ispdev->base_addr; in sp_disable_mi() local 333 void __iomem *base = stream->ispdev->base_addr; in update_mi() local
|
| D | regs.h | 1634 void __iomem *base = stream->ispdev->base_addr; in config_mi_ctrl() local 1646 static inline bool mp_is_stream_stopped(void __iomem *base) in mp_is_stream_stopped() 1654 static inline bool sp_is_stream_stopped(void __iomem *base) in sp_is_stream_stopped() 1675 void __iomem *base = stream->ispdev->base_addr; in mi_set_y_size() local 1682 void __iomem *base = stream->ispdev->base_addr; in mi_set_cb_size() local 1689 void __iomem *base = stream->ispdev->base_addr; in mi_set_cr_size() local 1696 void __iomem *base = stream->ispdev->base_addr; in mi_set_y_addr() local 1703 void __iomem *base = stream->ispdev->base_addr; in mi_set_cb_addr() local 1710 void __iomem *base = stream->ispdev->base_addr; in mi_set_cr_addr() local 1717 void __iomem *base = stream->ispdev->base_addr; in mi_set_y_offset() local [all …]
|
| /device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/ |
| D | osal_string.c | 133 unsigned long long osal_strtoull(const char *cp, char **endp, unsigned int base) in osal_strtoull() 138 unsigned long osal_strtoul(const char *cp, char **endp, unsigned int base) in osal_strtoul() 143 long osal_strtol(const char *cp, char **endp, unsigned int base) in osal_strtol() 148 long long osal_strtoll(const char *cp, char **endp, unsigned int base) in osal_strtoll()
|
| /device/soc/hisilicon/ws63v100/sdk/kernel/osal/src/liteos/ |
| D | osal_string.c | 138 unsigned long long osal_strtoull(const char *cp, char **endp, unsigned int base) in osal_strtoull() 143 unsigned long osal_strtoul(const char *cp, char **endp, unsigned int base) in osal_strtoul() 147 long osal_strtol(const char *cp, char **endp, unsigned int base) in osal_strtol() 151 long long osal_strtoll(const char *cp, char **endp, unsigned int base) in osal_strtoll()
|
| /device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/ |
| D | osal_string.c | 57 long osal_strtol(const char *str, char **end, unsigned int base) in osal_strtol() 63 unsigned long osal_strtoul(const char *str, char **end, unsigned int base) in osal_strtoul()
|
| /device/soc/rockchip/common/sdk_linux/include/linux/ |
| D | dma-iommu.h | 59 static inline int iommu_get_msi_cookie(struct iommu_domain *domain, dma_addr_t base) in iommu_get_msi_cookie() 81 static inline int iommu_dma_reserve_iova(struct device *dev, dma_addr_t base, u64 size) in iommu_dma_reserve_iova()
|
| /device/soc/hisilicon/common/platform/hieth-sf/include/internal/ |
| D | hieth_pri.h | 158 #define HiregReadl(base, ofs) ({ unsigned long reg = readl((base) + (ofs)); \ argument 162 #define HiregWritel(base, v, ofs) \ argument 169 #define HiregWritelBits(base, v, ofs, bits_desc) \ argument 179 #define HiregReadlBits(base, ofs, bits_desc) ({ \ argument
|
| /device/qemu/drivers/virtio/ |
| D | virtmmio.c | 36 VADDR_T base; in VirtmmioDiscover() local 163 static VADDR_T CalculateQueueAddr(VADDR_T base, uint16_t qsz, struct Virtq *q) in CalculateQueueAddr() 176 VADDR_T VirtmmioConfigQueue(struct VirtmmioDev *dev, VADDR_T base, uint16_t qsz[], int num) in VirtmmioConfigQueue()
|
| /device/qemu/riscv32_virt/liteos_m/board/driver/ |
| D | virtmmio.c | 41 VADDR_T base; in VirtmmioDiscover() local 171 static VADDR_T CalculateQueueAddr(VADDR_T base, uint16_t qsz, struct Virtq *q) in CalculateQueueAddr() 184 VADDR_T VirtmmioConfigQueue(struct VirtmmioDev *dev, VADDR_T base, uint16_t qsz[], int num) in VirtmmioConfigQueue()
|