/freebsd-11-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-core.c | 67 * Adds a wired TLB entry, and returns the index of the entry added. 75 * @return Success: TLB index used (0-31 Octeon, 0-63 Octeon+, or 0-127 80 uint32_t index; local 82 CVMX_MF_TLB_WIRED(index); 83 if (index >= (unsigned int)cvmx_core_get_tlb_entries()) 91 CVMX_MT_TLB_INDEX(index); 92 CVMX_MT_TLB_WIRED(index + 1); 96 return(index); 102 * Adds a fixed (wired) TLB mapping. Returns TLB index used or -1 on error. 110 * @return Success: TLB index use [all...] |
H A D | cvmx-helper-loop.c | 112 int num_ports, index; local 121 for (index = 0; index < num_ports; index++) { 123 cvmx_helper_get_pknd(interface, index) : 124 cvmx_helper_get_ipd_port(interface, index));
|
H A D | cvmx-ixf18201.c | 216 int index; /* For indexing the two 'ports' on ixf */ local 269 for (index = 0; index < 2;index++ ) 271 offset = 0x500 * index; 296 for (index = 0; index < 2;index++ ) 298 offset = 0x500 * index; 343 for (index [all...] |
/freebsd-11-stable/sys/dev/isci/scil/ |
H A D | sci_base_library.h | 119 * It will ensure that we successfully allocate an available controller index 128 U16 index; \ 132 sci_pool_get((library)->parent.controller_id_pool, index); \ 134 & (library)->controllers[index]; \ 142 * It calculates the index to the controller instance in the array by 152 U16 index = (U16) \ 156 if ( (index < SCI_MAX_CONTROLLERS) \ 159 sci_pool_put((library)->parent.controller_id_pool, index); \
|
H A D | sci_pool.h | 79 #define SCI_POOL_INCREMENT(this_pool, index) \ 80 (((index) + 1) == (this_pool).size ? 0 : (index) + 1) 177 U32 index; \ 180 for (index = 0; index < element_count; index++) \
|
H A D | sci_util.h | 89 U8 index; \ 91 for (index = 0; index < sizeof(mask)*8; index++) \ 93 if( mask & (1<<index) ) \
|
/freebsd-11-stable/share/doc/usd/13.viref/ |
H A D | Makefile | 7 CLEANFILES= vi.ref-patched index 13 sed -e 's:^\.so index.so$$:&.\\*[.T]:' ${.ALLSRC} > ${.TARGET} 18 EXTRA+= index.so.${_dev} 19 CLEANFILES+= index.so.${_dev} vi.ref-${_dev} 21 vi.ref-${_dev}: index.so.${_dev} 22 sed -e 's:^\.so index\.so\.\\\*\[\.T\]$$:${_dev}:' vi.ref-patched > ${.TARGET} 24 # Build index.so as a side-effect of building the paper. 25 index.so.${_dev}: vi.ref-patched ${EXTRA:Nindex.so.${_dev}} 26 sed -e 's:^\.so index\.so\.\\\*\[\.T\]$$::' vi.ref-patched | \ 31 -e 's/ /__SPACE/g' < index | \ [all...] |
/freebsd-11-stable/contrib/gcclibs/libgomp/ |
H A D | ordered.c | 43 unsigned index; local 49 index = ws->ordered_cur + ws->ordered_num_used; 50 if (index >= team->nthreads) 51 index -= team->nthreads; 52 ws->ordered_team_ids[index] = thr->ts.team_id; 109 unsigned index, next_id; local 132 index = ws->ordered_cur + ws->ordered_num_used; 133 if (index >= team->nthreads) 134 index -= team->nthreads; 135 ws->ordered_team_ids[index] [all...] |
/freebsd-11-stable/sys/arm/allwinner/ |
H A D | a10_dmac.c | 113 unsigned int index; local 143 for (index = 0; index < NDMA_CHANNELS; index++) { 144 sc->sc_ndma_channels[index].ch_sc = sc; 145 sc->sc_ndma_channels[index].ch_index = index; 146 sc->sc_ndma_channels[index].ch_type = CH_NDMA; 147 sc->sc_ndma_channels[index].ch_callback = NULL; 148 sc->sc_ndma_channels[index] 180 uint8_t index; local 339 uint8_t ch_count, index; local [all...] |
/freebsd-11-stable/sys/kern/ |
H A D | subr_pctrie.c | 124 pctrie_slot(uint64_t index, uint16_t level) argument 127 return ((index >> (level * PCTRIE_WIDTH)) & PCTRIE_MASK); 132 pctrie_trimkey(uint64_t index, uint16_t level) argument 136 ret = index; 188 pctrie_addval(struct pctrie_node *node, uint64_t index, uint16_t clev, argument 193 slot = pctrie_slot(index, clev); 281 uint64_t index, newind; local 288 index = *val; 303 if (*m == index) 305 __func__, (uintmax_t)index); 351 pctrie_lookup(struct pctrie *ptree, uint64_t index) argument 377 pctrie_lookup_ge(struct pctrie *ptree, uint64_t index) argument 488 pctrie_lookup_le(struct pctrie *ptree, uint64_t index) argument 602 pctrie_remove(struct pctrie *ptree, uint64_t index, pctrie_free_t freefn) argument [all...] |
/freebsd-11-stable/sys/compat/linuxkpi/common/src/ |
H A D | linux_radix.c | 70 radix_tree_lookup(struct radix_tree_root *root, unsigned long index) argument 79 if (index > radix_max(root)) 82 node = node->slots[radix_pos(index, height--)]; 84 item = node->slots[radix_pos(index, 0)]; 95 unsigned long index = iter->index; local 103 if (height == -1 || index > radix_max(root)) 108 int pos = radix_pos(index, height); 116 index += step; 117 index 130 radix_tree_delete(struct radix_tree_root *root, unsigned long index) argument 184 radix_tree_insert(struct radix_tree_root *root, unsigned long index, void *item) argument 283 radix_tree_store(struct radix_tree_root *root, unsigned long index, void **ppitem) argument [all...] |
/freebsd-11-stable/sys/arm/allwinner/clk/ |
H A D | aw_gate.c | 51 #define GATE_OFFSET(index) ((index / 32) * 4) 52 #define GATE_SHIFT(index) (index % 32) 108 const char *pclkname, const char *clkname, int index) 114 def.clkdef.id = index; 118 def.offset = paddr + GATE_OFFSET(index); 119 def.shift = GATE_SHIFT(index); 134 int index, nout, error; local 154 for (index 107 aw_gate_create(device_t dev, bus_addr_t paddr, struct clkdom *clkdom, const char *pclkname, const char *clkname, int index) argument [all...] |
/freebsd-11-stable/sys/dev/hptrr/ |
H A D | hptrr_os_bsd.c | 87 int index, 94 hba->pcibar[index].rid = 0x10 + index * 4; 96 if (pci_read_config(hba->pcidev, hba->pcibar[index].rid, 4) & 1) 97 hba->pcibar[index].type = SYS_RES_IOPORT; 99 hba->pcibar[index].type = SYS_RES_MEMORY; 101 hba->pcibar[index].res = bus_alloc_resource_any(hba->pcidev, 102 hba->pcibar[index].type, &hba->pcibar[index].rid, RF_ACTIVE); 104 hba->pcibar[index] 85 os_map_pci_bar( void *osext, int index, HPT_U32 offset, HPT_U32 length ) argument 111 int index; local [all...] |
/freebsd-11-stable/sys/dev/fb/ |
H A D | splash_bmp.c | 238 u_char *index; /* running pointer to the data while drawing */ member in struct:__anon10063 347 if (*info->index) { 348 for (count = 0; count < *info->index; count++, x++) { 350 bmp_SetPix(info, x, y, *(info->index+1) & 0x0f); 352 bmp_SetPix(info, x, y, (*(info->index+1) >>4) & 0x0f); 355 info->index += 2; 361 switch (*(info->index+1)) { 363 info->index += 2; 366 info->index = NULL; 369 x += *(info->index [all...] |
/freebsd-11-stable/contrib/bsnmp/snmp_mibII/ |
H A D | mibII_tcp.c | 43 struct asn_oid index; member in struct:tcp_index 64 return (asn_compare_oid(&t1->index, &t2->index)); 160 oid->index.len = 10; 162 oid->index.subs[0] = (inaddr >> 24) & 0xff; 163 oid->index.subs[1] = (inaddr >> 16) & 0xff; 164 oid->index.subs[2] = (inaddr >> 8) & 0xff; 165 oid->index.subs[3] = (inaddr >> 0) & 0xff; 166 oid->index.subs[4] = ntohs(tp->xt_inp.inp_lport); 168 oid->index [all...] |
/freebsd-11-stable/sys/dev/mthca/ |
H A D | mthca_mcg.c | 54 * If GID is found in MGM or MGM is empty, *index = *hash, *prev = -1 57 * if GID is found in AMGM, *index = index in AMGM, *prev = index of 60 * If no AMGM exists for given gid, *index = -1, *prev = index of last 65 u16 *hash, int *prev, int *index) 88 *index = *hash; 92 err = mthca_READ_MGM(dev, *index, mgm_mailbox); 99 if (*index ! 63 find_mgm(struct mthca_dev *dev, u8 *gid, struct mthca_mailbox *mgm_mailbox, u16 *hash, int *prev, int *index) argument 126 int index, prev; local 220 int prev, index; local [all...] |
/freebsd-11-stable/sys/dev/sfxge/ |
H A D | sfxge_ev.c | 53 unsigned int index; local 60 index = evq->index; 61 rxq = sc->rxq[index]; 73 KASSERT(txq->evq_index == index, 74 ("txq->evq_index != index")); 94 rxq = evq->sc->rxq[evq->index]; 97 KASSERT(evq->index == rxq->index, ("evq->index ! 208 unsigned int index; local 242 unsigned int index; local 268 unsigned int index; local 428 sfxge_ev_timer(void *arg, uint32_t index) argument 437 sfxge_ev_wake_up(void *arg, uint32_t index) argument 516 unsigned int index; local 597 unsigned int index; local 726 sfxge_ev_qstop(struct sfxge_softc *sc, unsigned int index) argument 752 sfxge_ev_qstart(struct sfxge_softc *sc, unsigned int index) argument 825 int index; local 846 int index; local 878 sfxge_ev_qfini(struct sfxge_softc *sc, unsigned int index) argument 898 sfxge_ev_qinit(struct sfxge_softc *sc, unsigned int index) argument 967 int index; local 990 int index; local [all...] |
/freebsd-11-stable/sys/dev/isci/ |
H A D | isci_oem_parameters.c | 141 int index; local 147 for (index = 0; index < oem_data->header.num_elements; index++) 149 memcpy(&isci->controllers[index].oem_parameters.sds1, 150 &oem_data->controller_element[index], 154 index); 157 uint8_t val = ((uint8_t *)&oem_data->controller_element[index])[i]; 161 isci->controllers[index].oem_parameters_version = oem_data->header.version;
|
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libcmdutils/common/ |
H A D | nicenum.c | 45 int index = 0; local 70 while (index < INDEX_MAX) { 81 index++; 84 u = " KMGTPE"[index]; 86 if (index == 0) {
|
/freebsd-11-stable/sys/dev/smartpqi/ |
H A D | smartpqi_tag.c | 157 int index = 0; local 176 for (index = 1; index < stack->num_elements ; index++) { 177 softs->rcb[index].tag = INVALID_ELEM; 178 pqisrc_put_tag(stack, index); 208 void pqisrc_put_tag(lockless_stack_t *stack, uint32_t index) argument 213 DBG_INFO("push tag :%d\n",index); 215 if ( index >= stack->num_elements ) { 217 DBG_ERR("Pushed Invalid index\ [all...] |
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
H A D | PdbSymUid.h | 13 // a compile unit, we use 2 bytes to represent the index, which allows fast 40 // 0-based index of module in PDB 48 // 0-based index of module in PDB 72 PdbTypeSymId(llvm::codeview::TypeIndex index, bool is_ipi = false) argument 73 : index(index), is_ipi(is_ipi) {} 75 // The index of the of the type in the TPI or IPI stream. 76 llvm::codeview::TypeIndex index; member in struct:lldb_private::npdb::PdbTypeSymId 85 llvm::codeview::TypeIndex index; member in struct:lldb_private::npdb::PdbFieldListMemberId
|
/freebsd-11-stable/contrib/gcc/ |
H A D | cfganal.c | 201 if (dest != EXIT_BLOCK_PTR && ! TEST_BIT (visited, dest->index)) 204 SET_BIT (visited, dest->index); 206 pre[dest->index] = prenum++; 214 post[dest->index] = postnum++; 219 && pre[src->index] >= pre[dest->index] 220 && post[dest->index] == 0) 224 post[src->index] = postnum++; 329 Enough data is kept such that given an index number, the 331 given a pred and a succ, its index numbe 418 int pred, succ, index; local [all...] |
/freebsd-11-stable/contrib/binutils/bfd/ |
H A D | hash.c | 426 unsigned int index; local 440 index = hash % table->size; 441 for (hashp = table->table[index]; 471 hashp->next = table->table[index]; 472 table->table[index] = hashp; 499 int index; local 505 index = chain->hash % newsize; 506 chain_end->next = newtable[index]; 507 newtable[index] = chain; 523 unsigned int index; local 597 size_t index; local 625 bfd_size_type index; member in struct:strtab_hash_entry [all...] |
/freebsd-11-stable/sys/dev/hpt27xx/ |
H A D | hpt27xx_os_bsd.c | 110 int index, 118 hba->pcibar[index].rid = 0x10 + index * 4; 119 base = pci_read_config(hba->pcidev, hba->pcibar[index].rid, 4); 122 hba->pcibar[index].type = SYS_RES_IOPORT; 123 hba->pcibar[index].res = bus_alloc_resource_any(hba->pcidev, 124 hba->pcibar[index].type, &hba->pcibar[index].rid, RF_ACTIVE); 125 hba->pcibar[index].base = (void *)(unsigned long)(base & ~0x1); 127 hba->pcibar[index] 108 os_map_pci_bar( void *osext, int index, HPT_U32 offset, HPT_U32 length ) argument 139 int index; local [all...] |
/freebsd-11-stable/sys/dev/hptnr/ |
H A D | hptnr_os_bsd.c | 96 int index, 104 hba->pcibar[index].rid = 0x10 + index * 4; 105 base = pci_read_config(hba->pcidev, hba->pcibar[index].rid, 4); 108 hba->pcibar[index].type = SYS_RES_IOPORT; 109 hba->pcibar[index].res = bus_alloc_resource_any(hba->pcidev, 110 hba->pcibar[index].type, &hba->pcibar[index].rid, RF_ACTIVE); 111 hba->pcibar[index].base = (void *)(unsigned long)(base & ~0x1); 113 hba->pcibar[index] 94 os_map_pci_bar( void *osext, int index, HPT_U32 offset, HPT_U32 length ) argument 125 int index; local [all...] |