Home
last modified time | relevance | path

Searched defs:addr (Results 1 – 25 of 86) sorted by relevance

1234

/lk-master/external/platform/nrfx/drivers/src/
A Dnrfx_nvmc.c145 static bool is_page_aligned_check(uint32_t addr) in is_page_aligned_check()
151 __STATIC_INLINE bool is_halfword_aligned(uint32_t addr) in is_halfword_aligned()
156 __STATIC_INLINE bool is_valid_address(uint32_t addr, bool uicr_allowed) in is_valid_address()
236 static void nvmc_word_write(uint32_t addr, uint32_t value) in nvmc_word_write()
258 nrfx_err_t nrfx_nvmc_page_erase(uint32_t addr) in nrfx_nvmc_page_erase()
346 bool nrfx_nvmc_byte_writable_check(uint32_t addr, uint8_t val_to_check) in nrfx_nvmc_byte_writable_check()
372 bool nrfx_nvmc_word_writable_check(uint32_t addr, uint32_t val_to_check) in nrfx_nvmc_word_writable_check()
381 void nrfx_nvmc_byte_write(uint32_t addr, uint8_t value) in nrfx_nvmc_byte_write()
390 void nrfx_nvmc_halfword_write(uint32_t addr, uint16_t value) in nrfx_nvmc_halfword_write()
400 void nrfx_nvmc_word_write(uint32_t addr, uint32_t value) in nrfx_nvmc_word_write()
[all …]
/lk-master/top/include/lk/
A Dreg.h13 #define REG64(addr) ((volatile uint64_t *)(uintptr_t)(addr)) argument
14 #define REG32(addr) ((volatile uint32_t *)(uintptr_t)(addr)) argument
15 #define REG16(addr) ((volatile uint16_t *)(uintptr_t)(addr)) argument
16 #define REG8(addr) ((volatile uint8_t *)(uintptr_t)(addr)) argument
18 #define RMWREG64(addr, startbit, width, val) *REG64(addr) = (*REG64(addr) & ~(((1<<(width)) - 1) <<… argument
19 #define RMWREG32(addr, startbit, width, val) *REG32(addr) = (*REG32(addr) & ~(((1<<(width)) - 1) <<… argument
20 #define RMWREG16(addr, startbit, width, val) *REG16(addr) = (*REG16(addr) & ~(((1<<(width)) - 1) <<… argument
21 #define RMWREG8(addr, startbit, width, val) *REG8(addr) = (*REG8(addr) & ~(((1<<(width)) - 1) << (s… argument
/lk-master/external/arch/arm/arm-m/CMSIS/Include/
A Dcmsis_compiler.h106 …#define __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void*)(addr))->v… argument
110 …#define __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(addr… argument
114 …#define __UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))->… argument
118 …#define __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(addr… argument
178 …#define __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))->… argument
182 …#define __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(addr… argument
186 …#define __UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))->… argument
190 …#define __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(addr… argument
249 …#define __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))->… argument
253 …#define __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(addr… argument
[all …]
A Dcachel1_armv7.h115 __STATIC_FORCEINLINE void SCB_InvalidateICache_by_Addr (volatile void *addr, int32_t isize) in SCB_InvalidateICache_by_Addr()
328 __STATIC_FORCEINLINE void SCB_InvalidateDCache_by_Addr (volatile void *addr, int32_t dsize) in SCB_InvalidateDCache_by_Addr()
358 __STATIC_FORCEINLINE void SCB_CleanDCache_by_Addr (volatile void *addr, int32_t dsize) in SCB_CleanDCache_by_Addr()
388 __STATIC_FORCEINLINE void SCB_CleanInvalidateDCache_by_Addr (volatile void *addr, int32_t dsize) in SCB_CleanInvalidateDCache_by_Addr()
/lk-master/tools/
A Dnetwork.c19 in_addr_t addr = 0; in lookup_hostname() local
48 static int inet_listen(in_addr_t addr, int type, unsigned port, int shared) { in inet_listen()
70 static int inet_connect(in_addr_t addr, int type, unsigned port) { in inet_connect()
91 int udp_listen(in_addr_t addr, unsigned port, int shared) { in udp_listen()
95 int udp_connect(in_addr_t addr, unsigned port) { in udp_connect()
99 int tcp_listen(in_addr_t addr, unsigned port) { in tcp_listen()
103 int tcp_connect(in_addr_t addr, unsigned port) { in tcp_connect()
/lk-master/external/platform/pico/rp2_common/hardware_base/include/hardware/
A Daddress_mapped.h68 #define hw_set_alias_untyped(addr) ((void *)(REG_ALIAS_SET_BITS | (uintptr_t)(addr))) argument
69 #define hw_clear_alias_untyped(addr) ((void *)(REG_ALIAS_CLR_BITS | (uintptr_t)(addr))) argument
70 #define hw_xor_alias_untyped(addr) ((void *)(REG_ALIAS_XOR_BITS | (uintptr_t)(addr))) argument
83 inline static void hw_set_bits(io_rw_32 *addr, uint32_t mask) { in hw_set_bits()
93 inline static void hw_clear_bits(io_rw_32 *addr, uint32_t mask) { in hw_clear_bits()
103 inline static void hw_xor_bits(io_rw_32 *addr, uint32_t mask) { in hw_xor_bits()
119 inline static void hw_write_masked(io_rw_32 *addr, uint32_t values, uint32_t write_mask) { in hw_write_masked()
/lk-master/external/platform/pico/rp2_common/hardware_i2c/
A Di2c.c30 static inline bool i2c_reserved_addr(uint8_t addr) { in i2c_reserved_addr()
92 void i2c_set_slave_mode(i2c_inst_t *i2c, bool slave, uint8_t addr) { in i2c_set_slave_mode()
111 static int i2c_write_blocking_internal(i2c_inst_t *i2c, uint8_t addr, const uint8_t *src, size_t le… in i2c_write_blocking_internal()
184 int i2c_write_blocking(i2c_inst_t *i2c, uint8_t addr, const uint8_t *src, size_t len, bool nostop) { in i2c_write_blocking()
188 int i2c_write_blocking_until(i2c_inst_t *i2c, uint8_t addr, const uint8_t *src, size_t len, bool no… in i2c_write_blocking_until()
194 int i2c_write_timeout_per_char_us(i2c_inst_t *i2c, uint8_t addr, const uint8_t *src, size_t len, bo… in i2c_write_timeout_per_char_us()
201 static int i2c_read_blocking_internal(i2c_inst_t *i2c, uint8_t addr, uint8_t *dst, size_t len, bool… in i2c_read_blocking_internal()
263 int i2c_read_blocking(i2c_inst_t *i2c, uint8_t addr, uint8_t *dst, size_t len, bool nostop) { in i2c_read_blocking()
267 int i2c_read_blocking_until(i2c_inst_t *i2c, uint8_t addr, uint8_t *dst, size_t len, bool nostop, a… in i2c_read_blocking_until()
272 int i2c_read_timeout_per_char_us(i2c_inst_t *i2c, uint8_t addr, uint8_t *dst, size_t len, bool nost… in i2c_read_timeout_per_char_us()
/lk-master/platform/mediatek/mt6735/include/platform/
A Dmt_typedefs.h131 #define DRV_Reg8(addr) INREG8(addr) argument
132 #define DRV_WriteReg8(addr, data) OUTREG8(addr, data) argument
133 #define DRV_SetReg8(addr, data) SETREG8(addr, data) argument
134 #define DRV_ClrReg8(addr, data) CLRREG8(addr, data) argument
136 #define DRV_Reg16(addr) INREG16(addr) argument
137 #define DRV_WriteReg16(addr, data) OUTREG16(addr, data) argument
138 #define DRV_SetReg16(addr, data) SETREG16(addr, data) argument
139 #define DRV_ClrReg16(addr, data) CLRREG16(addr, data) argument
141 #define DRV_Reg32(addr) INREG32(addr) argument
142 #define DRV_WriteReg32(addr, data) OUTREG32(addr, data) argument
[all …]
/lk-master/platform/mediatek/mt6797/include/platform/
A Dmt_typedefs.h132 #define DRV_Reg8(addr) INREG8(addr) argument
133 #define DRV_WriteReg8(addr, data) OUTREG8(addr, data) argument
134 #define DRV_SetReg8(addr, data) SETREG8(addr, data) argument
135 #define DRV_ClrReg8(addr, data) CLRREG8(addr, data) argument
137 #define DRV_Reg16(addr) INREG16(addr) argument
138 #define DRV_WriteReg16(addr, data) OUTREG16(addr, data) argument
139 #define DRV_SetReg16(addr, data) SETREG16(addr, data) argument
140 #define DRV_ClrReg16(addr, data) CLRREG16(addr, data) argument
142 #define DRV_Reg32(addr) INREG32(addr) argument
143 #define DRV_WriteReg32(addr, data) OUTREG32(addr, data) argument
[all …]
/lk-master/arch/or1k/
A Dfaults.c48 void or1k_busfault_handler(struct or1k_iframe *frame, uint32_t addr) { in or1k_busfault_handler()
53 void or1k_data_pagefault_handler(struct or1k_iframe *frame, uint32_t addr) { in or1k_data_pagefault_handler()
58 void or1k_instruction_pagefault_handler(struct or1k_iframe *frame, uint32_t addr) { in or1k_instruction_pagefault_handler()
63 void or1k_alignment_handler(struct or1k_iframe *frame, uint32_t addr) { in or1k_alignment_handler()
68 void or1k_illegal_instruction_handler(struct or1k_iframe *frame, uint32_t addr) { in or1k_illegal_instruction_handler()
A Dcache-ops.c76 addr_t addr; in arch_clean_cache_range() local
85 addr_t addr; in arch_invalidate_cache_range() local
100 addr_t addr; in arch_sync_cache_range() local
/lk-master/dev/class/
A Di2c_api.c12 status_t class_i2c_write(struct device *dev, uint8_t addr, const void *buf, size_t len) { in class_i2c_write()
23 status_t class_i2c_read(struct device *dev, uint8_t addr, void *buf, size_t len) { in class_i2c_read()
34 status_t class_i2c_write_reg(struct device *dev, uint8_t addr, uint8_t reg, uint8_t value) { in class_i2c_write_reg()
45 status_t class_i2c_read_reg(struct device *dev, uint8_t addr, uint8_t reg, void *value) { in class_i2c_read_reg()
/lk-master/app/lpcboot/
A Dlpc43xx-spifi.c39 void spifi_page_program(u32 addr, u32 *ptr, u32 count) { in spifi_page_program()
50 void spifi_sector_erase(u32 addr) { in spifi_sector_erase()
58 int spifi_verify_erased(u32 addr, u32 count) { in spifi_verify_erased()
70 int spifi_verify_page(u32 addr, u32 *ptr) { in spifi_verify_page()
/lk-master/external/platform/cc13xx/cc13xxware/driverlib/
A Drf_mailbox.h274 #define ADI_VAL_MASK(addr, mask, value) \ argument
278 #define HW_REG_OVERRIDE(addr, val) ((((uintptr_t) (addr)) & 0xFFFC) | ((uint32_t)(val) << 16)) argument
280 #define ADI_REG_OVERRIDE(adiNo, addr, val) (2 | ((uint32_t)(val) << 16) | \ argument
283 #define ADI_2REG_OVERRIDE(adiNo, addr, val, addr2, val2) \ argument
287 #define ADI_HALFREG_OVERRIDE(adiNo, addr, mask, val) (2 | (ADI_VAL_MASK(addr, mask, val) << 16) | \ argument
290 #define ADI_2HALFREG_OVERRIDE(adiNo, addr, mask, val, addr2, mask2, val2) \ argument
305 #define HW16_ARRAY_OVERRIDE(addr, length) (1 | (((uintptr_t) (addr)) & 0xFFFC) | ((uint32_t)(length… argument
306 #define HW32_ARRAY_OVERRIDE(addr, length) (1 | (((uintptr_t) (addr)) & 0xFFFC) | \ argument
308 #define ADI_ARRAY_OVERRIDE(adiNo, addr, bHalfSize, length) (1 | ((((addr) & 0x3F) << 2)) | \ argument
330 #define ADI_ADDR_VAL(addr, value) ((((addr) & 0x7F) << 8) | ((value) & 0xFF)) argument
[all …]
/lk-master/lib/minip/
A Darp.c28 uint32_t addr; member
46 void arp_cache_update(uint32_t addr, const uint8_t mac[6]) { in arp_cache_update()
90 uint8_t *arp_cache_lookup(uint32_t addr) { in arp_cache_lookup()
126 int arp_send_request(uint32_t addr) { in arp_send_request()
A Dminip.c56 void minip_get_macaddr(uint8_t *addr) { in minip_get_macaddr()
60 void minip_set_macaddr(const uint8_t *addr) { in minip_set_macaddr()
68 void minip_set_ipaddr(const uint32_t addr) { in minip_set_ipaddr()
126 static int send_arp_request(uint32_t addr) { in send_arp_request()
248 static void dump_ipv4_addr(uint32_t addr) { in dump_ipv4_addr()
390 uint32_t addr; in handle_arp_pkt() local
/lk-master/external/platform/lpc15xx/lpcopen/lpc_chip_15xx/inc/
A Dcore_cmInstr.h503 __attribute__( ( always_inline ) ) __STATIC_INLINE uint8_t __LDREXB(volatile uint8_t *addr) in __LDREXB()
526 __attribute__( ( always_inline ) ) __STATIC_INLINE uint16_t __LDREXH(volatile uint16_t *addr) in __LDREXH()
549 __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __LDREXW(volatile uint32_t *addr) in __LDREXW()
567 …ute__( ( always_inline ) ) __STATIC_INLINE uint32_t __STREXB(uint8_t value, volatile uint8_t *addr) in __STREXB()
585 …e__( ( always_inline ) ) __STATIC_INLINE uint32_t __STREXH(uint16_t value, volatile uint16_t *addr) in __STREXH()
603 …e__( ( always_inline ) ) __STATIC_INLINE uint32_t __STREXW(uint32_t value, volatile uint32_t *addr) in __STREXW()
/lk-master/external/lib/lwip/core/ipv4/
A Dip_addr.c55 ip4_addr_isbroadcast(u32_t addr, const struct netif *netif) in ip4_addr_isbroadcast()
152 ipaddr_aton(const char *cp, ip_addr_t *addr) in ipaddr_aton()
261 ipaddr_ntoa(const ip_addr_t *addr) in ipaddr_ntoa()
276 char *ipaddr_ntoa_r(const ip_addr_t *addr, char *buf, int buflen) in ipaddr_ntoa_r()
/lk-master/external/lib/lwip/api/
A Dapi_lib.c135 netconn_getaddr(struct netconn *conn, ip_addr_t *addr, u16_t *port, u8_t local) in netconn_getaddr()
166 netconn_bind(struct netconn *conn, ip_addr_t *addr, u16_t port) in netconn_bind()
192 netconn_connect(struct netconn *conn, ip_addr_t *addr, u16_t port) in netconn_connect()
549 netconn_sendto(struct netconn *conn, struct netbuf *buf, ip_addr_t *addr, u16_t port) in netconn_sendto()
753 netconn_gethostbyname(const char *name, ip_addr_t *addr) in netconn_gethostbyname()
A Dnetdb.c53 ip_addr_t addr; member
88 ip_addr_t addr; in lwip_gethostbyname() local
271 ip_addr_t addr; in lwip_getaddrinfo() local
/lk-master/external/platform/lpc15xx/lpcopen/periph_i2cs_interrupt/example/src/
A Dperiph_i2cs_interrupt.c143 static void setEmuEEPROMAddr(int eepromNum, uint16_t addr) in setEmuEEPROMAddr()
217 static void processSlaveTransferStart(uint8_t addr) in processSlaveTransferStart()
241 static uint16_t addr; in processSlaveTransferRecv() local
289 static void toAddr(uint8_t *tx, uint16_t addr) in toAddr()
/lk-master/platform/zynq/
A Dspiflash.c63 static uint32_t qspi_fix_addr(uint32_t addr) { in qspi_fix_addr()
69 static void qspi_rd32(struct qspi_ctxt *qspi, uint32_t addr, uint32_t *data, uint32_t count) { in qspi_rd32()
96 static ssize_t qspi_erase_sector(struct qspi_ctxt *qspi, uint32_t addr) { in qspi_erase_sector()
140 static ssize_t qspi_write_page(struct qspi_ctxt *qspi, uint32_t addr, const uint8_t *data) { in qspi_write_page()
188 static ssize_t spiflash_read_otp(void *buf, uint32_t addr, size_t len) { in spiflash_read_otp()
/lk-master/external/platform/nrfx/drivers/include/
A Dnrfx_twi.h146 #define NRFX_TWI_XFER_DESC_TX(addr, p_data, length) \ argument
157 #define NRFX_TWI_XFER_DESC_RX(addr, p_data, length) \ argument
168 #define NRFX_TWI_XFER_DESC_TXRX(addr, p_tx, tx_len, p_rx, rx_len) \ argument
179 #define NRFX_TWI_XFER_DESC_TXTX(addr, p_tx, tx_len, p_tx2, tx_len2) \ argument
A Dnrfx_twim.h158 #define NRFX_TWIM_XFER_DESC_TX(addr, p_data, length) \ argument
169 #define NRFX_TWIM_XFER_DESC_RX(addr, p_data, length) \ argument
180 #define NRFX_TWIM_XFER_DESC_TXRX(addr, p_tx, tx_len, p_rx, rx_len) \ argument
191 #define NRFX_TWIM_XFER_DESC_TXTX(addr, p_tx, tx_len, p_tx2, tx_len2) \ argument
/lk-master/platform/qemu-mips/include/platform/
A Dqemu-mips.h20 volatile uint8_t *addr = ISA_IO_BASE + port; in isa_write_8() local
26 volatile uint8_t *addr = ISA_IO_BASE + port; in isa_read_8() local

Completed in 42 milliseconds

1234