/u-boot/arch/arm/include/asm/arch-octeontx2/csrs/ |
A D | csrs-nix.h | 2737 static inline u64 NIXX_AF_LFX_LOCKX(u64 a, u64 b) 2739 static inline u64 NIXX_AF_LFX_LOCKX(u64 a, u64 b) in NIXX_AF_LFX_LOCKX() 2936 static inline u64 NIXX_AF_LFX_RSS_GRPX(u64 a, u64 b) 2938 static inline u64 NIXX_AF_LFX_RSS_GRPX(u64 a, u64 b) in NIXX_AF_LFX_RSS_GRPX() 3127 static inline u64 NIXX_AF_LFX_RX_STATX(u64 a, u64 b) 3129 static inline u64 NIXX_AF_LFX_RX_STATX(u64 a, u64 b) in NIXX_AF_LFX_RX_STATX() 3153 static inline u64 NIXX_AF_LFX_RX_VTAG_TYPEX(u64 a, u64 b) 3155 static inline u64 NIXX_AF_LFX_RX_VTAG_TYPEX(u64 a, u64 b) in NIXX_AF_LFX_RX_VTAG_TYPEX() 3291 static inline u64 NIXX_AF_LFX_TX_STATX(u64 a, u64 b) 3293 static inline u64 NIXX_AF_LFX_TX_STATX(u64 a, u64 b) in NIXX_AF_LFX_TX_STATX() [all …]
|
A D | csrs-cgx.h | 1180 static inline u64 CGXX_CMRX_RX_STAT_PRIX_XOFF(u64 a, u64 b) 1182 static inline u64 CGXX_CMRX_RX_STAT_PRIX_XOFF(u64 a, u64 b) in CGXX_CMRX_RX_STAT_PRIX_XOFF() 1200 static inline u64 CGXX_CMRX_SCRATCHX(u64 a, u64 b) 1202 static inline u64 CGXX_CMRX_SCRATCHX(u64 a, u64 b) in CGXX_CMRX_SCRATCHX() 1794 static inline u64 CGXX_CMRX_TX_STAT_PRIX_XOFF(u64 a, u64 b) 1796 static inline u64 CGXX_CMRX_TX_STAT_PRIX_XOFF(u64 a, u64 b) in CGXX_CMRX_TX_STAT_PRIX_XOFF() 6294 static inline u64 CGXX_SPUX_BR_LANE_MAPX(u64 a, u64 b) 6296 static inline u64 CGXX_SPUX_BR_LANE_MAPX(u64 a, u64 b) in CGXX_SPUX_BR_LANE_MAPX() 6841 static inline u64 CGXX_SPUX_FEC_LNX_RSFEC_ERR(u64 a, u64 b) 6843 static inline u64 CGXX_SPUX_FEC_LNX_RSFEC_ERR(u64 a, u64 b) in CGXX_SPUX_FEC_LNX_RSFEC_ERR() [all …]
|
A D | csrs-mio_emm.h | 56 u64 u; 77 u64 u; 97 u64 u; 122 u64 u; 143 u64 u; 164 u64 u; 195 u64 u; 218 u64 u; 254 u64 u; 807 static inline u64 MIO_EMM_MODEX(u64 a) [all …]
|
A D | csrs-npa.h | 203 u64 u; 363 u64 u; 383 u64 u; 405 u64 u; 426 u64 u; 448 u64 u; 470 u64 u; 492 u64 u; 692 static inline u64 NPA_AF_BAR2_ALIASX(u64 a) 694 static inline u64 NPA_AF_BAR2_ALIASX(u64 a) in NPA_AF_BAR2_ALIASX() [all …]
|
A D | csrs-npc.h | 588 static inline u64 NPC_AF_INTFX_LDATAX_FLAGSX_CFG(u64 a, u64 b, u64 c) 590 static inline u64 NPC_AF_INTFX_LDATAX_FLAGSX_CFG(u64 a, u64 b, u64 c) in NPC_AF_INTFX_LDATAX_FLAGSX_CFG() 622 static inline u64 NPC_AF_INTFX_LIDX_LTX_LDX_CFG(u64 a, u64 b, u64 c, u64 d) 624 static inline u64 NPC_AF_INTFX_LIDX_LTX_LDX_CFG(u64 a, u64 b, u64 c, u64 d) in NPC_AF_INTFX_LIDX_LTX_LDX_CFG() 908 static inline u64 NPC_AF_KPUX_ENTRYX_CAMX(u64 a, u64 b, u64 c) 910 static inline u64 NPC_AF_KPUX_ENTRYX_CAMX(u64 a, u64 b, u64 c) in NPC_AF_KPUX_ENTRYX_CAMX() 1269 static inline u64 NPC_AF_MCAMEX_BANKX_CAMX_INTF(u64 a, u64 b, u64 c) 1290 static inline u64 NPC_AF_MCAMEX_BANKX_CAMX_W0(u64 a, u64 b, u64 c) 1292 static inline u64 NPC_AF_MCAMEX_BANKX_CAMX_W0(u64 a, u64 b, u64 c) in NPC_AF_MCAMEX_BANKX_CAMX_W0() 1312 static inline u64 NPC_AF_MCAMEX_BANKX_CAMX_W1(u64 a, u64 b, u64 c) [all …]
|
A D | csrs-rvu.h | 250 static inline u64 RVU_AF_AFPFX_MBOXX(u64 a, u64 b) 252 static inline u64 RVU_AF_AFPFX_MBOXX(u64 a, u64 b) in RVU_AF_AFPFX_MBOXX() 1206 static inline u64 RVU_PF_VFX_PFVF_MBOXX(u64 a, u64 b) 1208 static inline u64 RVU_PF_VFX_PFVF_MBOXX(u64 a, u64 b) in RVU_PF_VFX_PFVF_MBOXX() 1671 static inline u64 RVU_PRIV_HWVFX_CPTX_CFG(u64 a, u64 b) 1673 static inline u64 RVU_PRIV_HWVFX_CPTX_CFG(u64 a, u64 b) in RVU_PRIV_HWVFX_CPTX_CFG() 1720 static inline u64 RVU_PRIV_HWVFX_NIXX_CFG(u64 a, u64 b) 1865 static inline u64 RVU_PRIV_PFX_CPTX_CFG(u64 a, u64 b) 1867 static inline u64 RVU_PRIV_PFX_CPTX_CFG(u64 a, u64 b) in RVU_PRIV_PFX_CPTX_CFG() 1975 static inline u64 RVU_PRIV_PFX_NIXX_CFG(u64 a, u64 b) [all …]
|
A D | csrs-lmt.h | 26 u64 u; 28 u64 data : 64; 33 static inline u64 LMT_LF_LMTCANCEL(void) 35 static inline u64 LMT_LF_LMTCANCEL(void) in LMT_LF_LMTCANCEL() 46 u64 u; 48 u64 data : 64; 53 static inline u64 LMT_LF_LMTLINEX(u64 a) 55 static inline u64 LMT_LF_LMTLINEX(u64 a) in LMT_LF_LMTLINEX()
|
/u-boot/arch/arm/include/asm/arch-octeontx/csrs/ |
A D | csrs-mio_emm.h | 56 u64 u; 77 u64 u; 97 u64 u; 122 u64 u; 143 u64 u; 164 u64 u; 195 u64 u; 218 u64 u; 254 u64 u; 807 static inline u64 MIO_EMM_MODEX(u64 a) [all …]
|
A D | csrs-xcv.h | 111 static inline u64 XCVX_CTL(u64 a) 113 static inline u64 XCVX_CTL(u64 a) in XCVX_CTL() 185 static inline u64 XCVX_ECO(u64 a) 187 static inline u64 XCVX_ECO(u64 a) in XCVX_ECO() 237 static inline u64 XCVX_INT(u64 a) 342 static inline u64 XCVX_MSIX_PBAX(u64 a, u64 b) 344 static inline u64 XCVX_MSIX_PBAX(u64 a, u64 b) in XCVX_MSIX_PBAX() 366 static inline u64 XCVX_MSIX_VECX_ADDR(u64 a, u64 b) 368 static inline u64 XCVX_MSIX_VECX_ADDR(u64 a, u64 b) in XCVX_MSIX_VECX_ADDR() 390 static inline u64 XCVX_MSIX_VECX_CTL(u64 a, u64 b) [all …]
|
/u-boot/drivers/net/octeontx/ |
A D | q_struct.h | 348 u64 u[64]; 584 u64 ena:1; 588 u64 ena:1; 596 u64 ena:1; 612 u64 ena:1; 620 u64 ena:1; 636 u64 ena:1; 644 u64 ena:1; 670 u64 ena:1; 677 u64 be:1; [all …]
|
A D | nicvf_queues.h | 163 u64 good; 197 u64 good; 220 u64 bytes; 221 u64 pkts; 226 u64 size; 290 u64 cq_len; 292 u64 sq_len; 339 u64 nicvf_reg_read(struct nicvf *nic, u64 offset); 341 u64 nicvf_qset_reg_read(struct nicvf *nic, u64 offset); 343 u64 qidx, u64 val); [all …]
|
A D | nic.h | 138 u64 cfg; 192 u64 tx_drops; 205 u64 rx_drops; 208 u64 tx_drops; 209 u64 tx_busy; 210 u64 tx_tso; 361 u64 cfg; 369 u64 cfg; 378 u64 cfg; 426 u64 stats; [all …]
|
/u-boot/arch/arm/include/asm/arch-octeontx/ |
A D | board.h | 41 u64 u; 43 u64 rboot_pin : 1; 44 u64 rboot : 1; 46 u64 pnr_mul : 6; 47 u64 reserved_39 : 1; 48 u64 c_mul : 7; 49 u64 reserved_47_52 : 6; 50 u64 gpio_ejtag : 1; 51 u64 mcp_jtagdis : 1; 52 u64 dis_scan : 1; [all …]
|
/u-boot/arch/arm/include/asm/arch-octeontx2/ |
A D | board.h | 47 u64 u; 49 u64 rboot_pin : 1; 50 u64 rboot : 1; 52 u64 pnr_mul : 6; 53 u64 reserved_39 : 1; 54 u64 c_mul : 7; 55 u64 reserved_47_52 : 6; 56 u64 gpio_ejtag : 1; 57 u64 mcp_jtagdis : 1; 58 u64 dis_scan : 1; [all …]
|
/u-boot/arch/mips/mach-octeon/include/mach/ |
A D | cvmx-bootmem.h | 58 u64 size; 76 u64 size; 133 void *cvmx_bootmem_alloc(u64 size, u64 alignment); 146 void *cvmx_bootmem_alloc_node(u64 node, u64 size, u64 alignment); 178 u64 min_addr, u64 max_addr); 244 u64 max_addr, u64 align, 355 s64 cvmx_bootmem_phy_alloc(u64 req_size, u64 address_min, u64 address_max, 384 s64 cvmx_bootmem_phy_named_block_alloc(u64 size, u64 min_addr, u64 max_addr, 528 u64 max_addr, u64 align, 530 u64 cvmx_bootmem_phy_alloc_range(u64 size, u64 alignment, [all …]
|
A D | cvmx-regs.h | 71 static inline u64 csr_rd_node(int node, u64 addr) in csr_rd_node() 79 static inline u64 csr_rd(u64 addr) in csr_rd() 84 static inline void csr_wr_node(int node, u64 addr, u64 val) in csr_wr_node() 92 static inline void csr_wr(u64 addr, u64 val) in csr_wr() 101 static inline u64 cvmx_read64_uint64(u64 addr) in cvmx_read64_uint64() 103 return *(volatile u64 *)addr; in cvmx_read64_uint64() 106 static inline void cvmx_write64_uint64(u64 addr, u64 val) in cvmx_write64_uint64() 108 *(volatile u64 *)addr = val; in cvmx_write64_uint64() 111 static inline u32 cvmx_read64_uint32(u64 addr) in cvmx_read64_uint32() 121 static inline void *cvmx_phys_to_ptr(u64 addr) in cvmx_phys_to_ptr() [all …]
|
/u-boot/drivers/net/octeontx2/ |
A D | cgx_intf.h | 178 u64 ack:1; 245 u64 addr:55; 263 u64 fec:2; 270 u64 an:1; 324 u64 u; 386 u64 fec:2; 413 u64 lane:8; 414 u64 qlm:8; 416 u64 mode:8; 422 u64 qlm:8; [all …]
|
/u-boot/drivers/mtd/nand/raw/ |
A D | octeontx_bch_regs.h | 12 u64 u[4]; 15 u64 size:12; 22 u64 ptr:49; 24 u64 nc:1; 25 u64 fw:1; 29 u64 ptr:49; 31 u64 nc:1; 35 u64 ptr:49; 61 u64 u; 75 u64 u; [all …]
|
/u-boot/fs/btrfs/ |
A D | volumes.h | 19 u64 total_devs; 22 u64 generation; 25 u64 devid; 43 u64 type; 79 u64 type; 135 static inline u64 calc_stripe_length(u64 type, u64 length, int num_stripes) in calc_stripe_length() 164 u64 logical, u64 *length, u64 *type, 168 u64 logical, u64 *length, 172 u64 *size, u64 type); 174 u64 *logical, u64 *size) in btrfs_next_bg_metadata() [all …]
|
A D | extent-io.h | 69 u64 cache_size; 74 u64 start; 75 u64 end; 78 u64 xprivate; 83 u64 start; 101 u64 *start_ret, u64 *end_ret, int bits); 102 int test_range_bit(struct extent_io_tree *tree, u64 start, u64 end, 104 int set_extent_dirty(struct extent_io_tree *tree, u64 start, u64 end); 105 int clear_extent_dirty(struct extent_io_tree *tree, u64 start, u64 end); 127 int set_state_private(struct extent_io_tree *tree, u64 start, u64 xprivate); [all …]
|
A D | extent-cache.h | 20 u64 objectid; 21 u64 start; 22 u64 size; 37 struct cache_extent *search_cache_extent(struct cache_tree *tree, u64 start); 45 u64 start, u64 size); 52 int add_cache_extent(struct cache_tree *tree, u64 start, u64 size); 84 u64 objectid, u64 start); 92 u64 objectid, u64 start, u64 size); 102 int add_merge_cache_extent(struct cache_tree *tree, u64 start, u64 size);
|
/u-boot/include/linux/ |
A D | math64.h | 37 static inline u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder) in div64_u64_rem() 46 static inline u64 div64_u64(u64 dividend, u64 divisor) in div64_u64() 77 extern u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder); 81 extern u64 div64_u64(u64 dividend, u64 divisor); 98 static inline u64 div_u64(u64 dividend, u32 divisor) in div_u64() 157 static inline u64 mul_u64_u64_shr(u64 a, u64 mul, unsigned int shift) in mul_u64_u64_shr() 169 u64 ret; in mul_u64_u32_shr() 183 static inline u64 mul_u64_u64_shr(u64 a, u64 b, unsigned int shift) in mul_u64_u64_shr() 186 u64 ll; in mul_u64_u64_shr() 195 u64 c; in mul_u64_u64_shr() [all …]
|
/u-boot/arch/x86/lib/ |
A D | div64.c | 12 u64 longw; 19 u64 __ashldi3(u64 num, unsigned int shift) in __ashldi3() 37 u64 __lshrdi3(u64 num, unsigned int shift) in __lshrdi3() 55 #define MAX_32BIT_UINT ((((u64)1) << 32) - 1) 57 static u64 _64bit_divide(u64 dividend, u64 divider, u64 *rem_p) in _64bit_divide() 59 u64 result = 0; in _64bit_divide() 83 u64 locald = divider; in _64bit_divide() 84 u64 limit = __lshrdi3(dividend, 1); in _64bit_divide() 101 u64 __udivdi3(u64 num, u64 den) in __udivdi3() 106 u64 __umoddi3(u64 num, u64 den) in __umoddi3() [all …]
|
/u-boot/arch/mips/mach-octeon/ |
A D | cvmx-bootmem.c | 267 static u64 cvmx_bootmem_phy_get_size(u64 addr) in cvmx_bootmem_phy_get_size() 272 static u64 cvmx_bootmem_phy_get_next(u64 addr) in cvmx_bootmem_phy_get_next() 391 u64 cvmx_bootmem_phy_alloc_range(u64 size, u64 alignment, in cvmx_bootmem_phy_alloc_range() 392 u64 min_addr, u64 max_addr) in cvmx_bootmem_phy_alloc_range() 406 u64 min_addr, u64 max_addr) in cvmx_bootmem_alloc_range() 427 void *cvmx_bootmem_alloc_node(u64 node, u64 size, u64 alignment) in cvmx_bootmem_alloc_node() 434 void *cvmx_bootmem_alloc(u64 size, u64 alignment) in cvmx_bootmem_alloc() 440 u64 max_addr, u64 align, in cvmx_bootmem_alloc_named_range_once() 482 u64 max_addr, u64 align, in cvmx_bootmem_alloc_named_range_flags() 497 u64 max_addr, u64 align, in cvmx_bootmem_alloc_named_range() [all …]
|
/u-boot/arch/arm/cpu/armv8/ |
A D | cache_v8.c | 42 u64 get_tcr(int el, u64 *pips, u64 *pva_bits) in get_tcr() 46 u64 tcr; in get_tcr() 108 static u64 *find_pte(u64 addr, int level) in find_pte() 111 u64 *pte; in find_pte() 112 u64 idx; in find_pte() 149 u64 *new_table = (u64*)gd->arch.tlb_fillptr; in create_table() 150 u64 pt_len = MAX_PTE_ENTRIES * sizeof(u64); in create_table() 167 static void set_pte_table(u64 *pte, u64 *table) in set_pte_table() 341 u64 one_pt = MAX_PTE_ENTRIES * sizeof(u64); in get_page_table_size() 516 static bool is_aligned(u64 addr, u64 size, u64 align) in is_aligned() [all …]
|