/freebsd-10.2-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-pcsx-defs.h | 55 static inline uint64_t CVMX_PCSX_ANX_ADV_REG(unsigned long offset, unsigned long block_id) argument 59 if (((offset <= 1)) && ((block_id == 0))) 60 return CVMX_ADD_IO_SEG(0x00011800B0001010ull) + (((offset) & 1) + ((block_id) & 0) * 0x20000ull) * 1024; 64 if (((offset <= 3)) && ((block_id == 0))) 65 return CVMX_ADD_IO_SEG(0x00011800B0001010ull) + (((offset) & 3) + ((block_id) & 0) * 0x20000ull) * 1024; 70 if (((offset <= 3)) && ((block_id <= 1))) 71 return CVMX_ADD_IO_SEG(0x00011800B0001010ull) + (((offset) & 3) + ((block_id) & 1) * 0x20000ull) * 1024; 74 if (((offset <= 3)) && ((block_id <= 4))) 75 return CVMX_ADD_IO_SEG(0x00011800B0001010ull) + (((offset) & 3) + ((block_id) & 7) * 0x4000ull) * 1024; 78 cvmx_warn("CVMX_PCSX_ANX_ADV_REG (%lu, %lu) not supported on this chip\n", offset, block_i 81 CVMX_PCSX_ANX_EXT_ST_REG(unsigned long offset, unsigned long block_id) argument 107 CVMX_PCSX_ANX_LP_ABIL_REG(unsigned long offset, unsigned long block_id) argument 133 CVMX_PCSX_ANX_RESULTS_REG(unsigned long offset, unsigned long block_id) argument 159 CVMX_PCSX_INTX_EN_REG(unsigned long offset, unsigned long block_id) argument 185 CVMX_PCSX_INTX_REG(unsigned long offset, unsigned long block_id) argument 211 CVMX_PCSX_LINKX_TIMER_COUNT_REG(unsigned long offset, unsigned long block_id) argument 237 CVMX_PCSX_LOG_ANLX_REG(unsigned long offset, unsigned long block_id) argument 263 CVMX_PCSX_MISCX_CTL_REG(unsigned long offset, unsigned long block_id) argument 289 CVMX_PCSX_MRX_CONTROL_REG(unsigned long offset, unsigned long block_id) argument 315 CVMX_PCSX_MRX_STATUS_REG(unsigned long offset, unsigned long block_id) argument 341 CVMX_PCSX_RXX_STATES_REG(unsigned long offset, unsigned long block_id) argument 367 CVMX_PCSX_RXX_SYNC_REG(unsigned long offset, unsigned long block_id) argument 393 CVMX_PCSX_SGMX_AN_ADV_REG(unsigned long offset, unsigned long block_id) argument 419 CVMX_PCSX_SGMX_LP_ADV_REG(unsigned long offset, unsigned long block_id) argument 445 CVMX_PCSX_TXX_STATES_REG(unsigned long offset, unsigned long block_id) argument 471 CVMX_PCSX_TX_RXX_POLARITY_REG(unsigned long offset, unsigned long block_id) argument [all...] |
H A D | cvmx-smix-defs.h | 55 static inline uint64_t CVMX_SMIX_CLK(unsigned long offset) argument 63 if ((offset == 0)) 64 return CVMX_ADD_IO_SEG(0x0001180000001818ull) + ((offset) & 0) * 256; 72 if ((offset <= 1)) 73 return CVMX_ADD_IO_SEG(0x0001180000001818ull) + ((offset) & 1) * 256; 76 if ((offset <= 3)) 77 return CVMX_ADD_IO_SEG(0x0001180000003818ull) + ((offset) & 3) * 128; 80 cvmx_warn("CVMX_SMIX_CLK (offset = %lu) not supported on this chip\n", offset); 81 return CVMX_ADD_IO_SEG(0x0001180000001818ull) + ((offset) 83 CVMX_SMIX_CMD(unsigned long offset) argument 111 CVMX_SMIX_EN(unsigned long offset) argument 139 CVMX_SMIX_RD_DAT(unsigned long offset) argument 167 CVMX_SMIX_WR_DAT(unsigned long offset) argument [all...] |
H A D | cvmx-ilk-defs.h | 155 static inline uint64_t CVMX_ILK_RXX_CFG0(unsigned long offset) argument 158 (OCTEON_IS_MODEL(OCTEON_CN68XX) && ((offset <= 1))))) 159 cvmx_warn("CVMX_ILK_RXX_CFG0(%lu) is invalid on this chip\n", offset); 160 return CVMX_ADD_IO_SEG(0x0001180014020000ull) + ((offset) & 1) * 16384; 163 #define CVMX_ILK_RXX_CFG0(offset) (CVMX_ADD_IO_SEG(0x0001180014020000ull) + ((offset) & 1) * 16384) 166 static inline uint64_t CVMX_ILK_RXX_CFG1(unsigned long offset) argument 169 (OCTEON_IS_MODEL(OCTEON_CN68XX) && ((offset <= 1))))) 170 cvmx_warn("CVMX_ILK_RXX_CFG1(%lu) is invalid on this chip\n", offset); 171 return CVMX_ADD_IO_SEG(0x0001180014020008ull) + ((offset) 177 CVMX_ILK_RXX_FLOW_CTL0(unsigned long offset) argument 188 CVMX_ILK_RXX_FLOW_CTL1(unsigned long offset) argument 199 CVMX_ILK_RXX_IDX_CAL(unsigned long offset) argument 210 CVMX_ILK_RXX_IDX_STAT0(unsigned long offset) argument 221 CVMX_ILK_RXX_IDX_STAT1(unsigned long offset) argument 232 CVMX_ILK_RXX_INT(unsigned long offset) argument 243 CVMX_ILK_RXX_INT_EN(unsigned long offset) argument 254 CVMX_ILK_RXX_JABBER(unsigned long offset) argument 265 CVMX_ILK_RXX_MEM_CAL0(unsigned long offset) argument 276 CVMX_ILK_RXX_MEM_CAL1(unsigned long offset) argument 287 CVMX_ILK_RXX_MEM_STAT0(unsigned long offset) argument 298 CVMX_ILK_RXX_MEM_STAT1(unsigned long offset) argument 309 CVMX_ILK_RXX_RID(unsigned long offset) argument 320 CVMX_ILK_RXX_STAT0(unsigned long offset) argument 331 CVMX_ILK_RXX_STAT1(unsigned long offset) argument 342 CVMX_ILK_RXX_STAT2(unsigned long offset) argument 353 CVMX_ILK_RXX_STAT3(unsigned long offset) argument 364 CVMX_ILK_RXX_STAT4(unsigned long offset) argument 375 CVMX_ILK_RXX_STAT5(unsigned long offset) argument 386 CVMX_ILK_RXX_STAT6(unsigned long offset) argument 397 CVMX_ILK_RXX_STAT7(unsigned long offset) argument 408 CVMX_ILK_RXX_STAT8(unsigned long offset) argument 419 CVMX_ILK_RXX_STAT9(unsigned long offset) argument 430 CVMX_ILK_RX_LNEX_CFG(unsigned long offset) argument 441 CVMX_ILK_RX_LNEX_INT(unsigned long offset) argument 452 CVMX_ILK_RX_LNEX_INT_EN(unsigned long offset) argument 463 CVMX_ILK_RX_LNEX_STAT0(unsigned long offset) argument 474 CVMX_ILK_RX_LNEX_STAT1(unsigned long offset) argument 485 CVMX_ILK_RX_LNEX_STAT2(unsigned long offset) argument 496 CVMX_ILK_RX_LNEX_STAT3(unsigned long offset) argument 507 CVMX_ILK_RX_LNEX_STAT4(unsigned long offset) argument 518 CVMX_ILK_RX_LNEX_STAT5(unsigned long offset) argument 529 CVMX_ILK_RX_LNEX_STAT6(unsigned long offset) argument 540 CVMX_ILK_RX_LNEX_STAT7(unsigned long offset) argument 551 CVMX_ILK_RX_LNEX_STAT8(unsigned long offset) argument 562 CVMX_ILK_RX_LNEX_STAT9(unsigned long offset) argument 584 CVMX_ILK_TXX_CFG0(unsigned long offset) argument 595 CVMX_ILK_TXX_CFG1(unsigned long offset) argument 606 CVMX_ILK_TXX_DBG(unsigned long offset) argument 617 CVMX_ILK_TXX_FLOW_CTL0(unsigned long offset) argument 628 CVMX_ILK_TXX_FLOW_CTL1(unsigned long offset) argument 639 CVMX_ILK_TXX_IDX_CAL(unsigned long offset) argument 650 CVMX_ILK_TXX_IDX_PMAP(unsigned long offset) argument 661 CVMX_ILK_TXX_IDX_STAT0(unsigned long offset) argument 672 CVMX_ILK_TXX_IDX_STAT1(unsigned long offset) argument 683 CVMX_ILK_TXX_INT(unsigned long offset) argument 694 CVMX_ILK_TXX_INT_EN(unsigned long offset) argument 705 CVMX_ILK_TXX_MEM_CAL0(unsigned long offset) argument 716 CVMX_ILK_TXX_MEM_CAL1(unsigned long offset) argument 727 CVMX_ILK_TXX_MEM_PMAP(unsigned long offset) argument 738 CVMX_ILK_TXX_MEM_STAT0(unsigned long offset) argument 749 CVMX_ILK_TXX_MEM_STAT1(unsigned long offset) argument 760 CVMX_ILK_TXX_PIPE(unsigned long offset) argument 771 CVMX_ILK_TXX_RMATCH(unsigned long offset) argument [all...] |
H A D | cvmx-gmxx-defs.h | 112 static inline uint64_t CVMX_GMXX_BPID_MAPX(unsigned long offset, unsigned long block_id) argument 115 (OCTEON_IS_MODEL(OCTEON_CN68XX) && (((offset <= 15)) && ((block_id <= 4)))))) 116 cvmx_warn("CVMX_GMXX_BPID_MAPX(%lu,%lu) is invalid on this chip\n", offset, block_id); 117 return CVMX_ADD_IO_SEG(0x0001180008000680ull) + (((offset) & 15) + ((block_id) & 7) * 0x200000ull) * 8; 120 #define CVMX_GMXX_BPID_MAPX(offset, block_id) (CVMX_ADD_IO_SEG(0x0001180008000680ull) + (((offset) & 15) + ((block_id) & 7) * 0x200000ull) * 8) 268 static inline uint64_t CVMX_GMXX_PRTX_CBFC_CTL(unsigned long offset, unsigned long block_id) argument 274 if (((offset == 0)) && ((block_id == 0))) 280 if (((offset == 0)) && ((block_id <= 1))) 284 if (((offset 291 CVMX_GMXX_PRTX_CFG(unsigned long offset, unsigned long block_id) argument 339 CVMX_GMXX_RXX_ADR_CAM0(unsigned long offset, unsigned long block_id) argument 373 CVMX_GMXX_RXX_ADR_CAM1(unsigned long offset, unsigned long block_id) argument 407 CVMX_GMXX_RXX_ADR_CAM2(unsigned long offset, unsigned long block_id) argument 441 CVMX_GMXX_RXX_ADR_CAM3(unsigned long offset, unsigned long block_id) argument 475 CVMX_GMXX_RXX_ADR_CAM4(unsigned long offset, unsigned long block_id) argument 509 CVMX_GMXX_RXX_ADR_CAM5(unsigned long offset, unsigned long block_id) argument 543 CVMX_GMXX_RXX_ADR_CAM_ALL_EN(unsigned long offset, unsigned long block_id) argument 563 CVMX_GMXX_RXX_ADR_CAM_EN(unsigned long offset, unsigned long block_id) argument 600 CVMX_GMXX_RXX_ADR_CTL(unsigned long offset, unsigned long block_id) argument 637 CVMX_GMXX_RXX_DECISION(unsigned long offset, unsigned long block_id) argument 674 CVMX_GMXX_RXX_FRM_CHK(unsigned long offset, unsigned long block_id) argument 711 CVMX_GMXX_RXX_FRM_CTL(unsigned long offset, unsigned long block_id) argument 749 CVMX_GMXX_RXX_FRM_MAX(unsigned long offset, unsigned long block_id) argument 763 CVMX_GMXX_RXX_FRM_MIN(unsigned long offset, unsigned long block_id) argument 776 CVMX_GMXX_RXX_IFG(unsigned long offset, unsigned long block_id) argument 813 CVMX_GMXX_RXX_INT_EN(unsigned long offset, unsigned long block_id) argument 850 CVMX_GMXX_RXX_INT_REG(unsigned long offset, unsigned long block_id) argument 887 CVMX_GMXX_RXX_JABBER(unsigned long offset, unsigned long block_id) argument 924 CVMX_GMXX_RXX_PAUSE_DROP_TIME(unsigned long offset, unsigned long block_id) argument 959 CVMX_GMXX_RXX_RX_INBND(unsigned long offset, unsigned long block_id) argument 973 CVMX_GMXX_RXX_STATS_CTL(unsigned long offset, unsigned long block_id) argument 1010 CVMX_GMXX_RXX_STATS_OCTS(unsigned long offset, unsigned long block_id) argument 1047 CVMX_GMXX_RXX_STATS_OCTS_CTL(unsigned long offset, unsigned long block_id) argument 1084 CVMX_GMXX_RXX_STATS_OCTS_DMAC(unsigned long offset, unsigned long block_id) argument 1121 CVMX_GMXX_RXX_STATS_OCTS_DRP(unsigned long offset, unsigned long block_id) argument 1158 CVMX_GMXX_RXX_STATS_PKTS(unsigned long offset, unsigned long block_id) argument 1195 CVMX_GMXX_RXX_STATS_PKTS_BAD(unsigned long offset, unsigned long block_id) argument 1232 CVMX_GMXX_RXX_STATS_PKTS_CTL(unsigned long offset, unsigned long block_id) argument 1269 CVMX_GMXX_RXX_STATS_PKTS_DMAC(unsigned long offset, unsigned long block_id) argument 1306 CVMX_GMXX_RXX_STATS_PKTS_DRP(unsigned long offset, unsigned long block_id) argument 1343 CVMX_GMXX_RXX_UDD_SKP(unsigned long offset, unsigned long block_id) argument 1380 CVMX_GMXX_RX_BP_DROPX(unsigned long offset, unsigned long block_id) argument 1417 CVMX_GMXX_RX_BP_OFFX(unsigned long offset, unsigned long block_id) argument 1454 CVMX_GMXX_RX_BP_ONX(unsigned long offset, unsigned long block_id) argument 1527 CVMX_GMXX_RX_PASS_MAPX(unsigned long offset, unsigned long block_id) argument 1653 CVMX_GMXX_SMACX(unsigned long offset, unsigned long block_id) argument 1757 CVMX_GMXX_TXX_APPEND(unsigned long offset, unsigned long block_id) argument 1794 CVMX_GMXX_TXX_BURST(unsigned long offset, unsigned long block_id) argument 1831 CVMX_GMXX_TXX_CBFC_XOFF(unsigned long offset, unsigned long block_id) argument 1854 CVMX_GMXX_TXX_CBFC_XON(unsigned long offset, unsigned long block_id) argument 1878 CVMX_GMXX_TXX_CLK(unsigned long offset, unsigned long block_id) argument 1892 CVMX_GMXX_TXX_CTL(unsigned long offset, unsigned long block_id) argument 1929 CVMX_GMXX_TXX_MIN_PKT(unsigned long offset, unsigned long block_id) argument 1966 CVMX_GMXX_TXX_PAUSE_PKT_INTERVAL(unsigned long offset, unsigned long block_id) argument 2003 CVMX_GMXX_TXX_PAUSE_PKT_TIME(unsigned long offset, unsigned long block_id) argument 2040 CVMX_GMXX_TXX_PAUSE_TOGO(unsigned long offset, unsigned long block_id) argument 2077 CVMX_GMXX_TXX_PAUSE_ZERO(unsigned long offset, unsigned long block_id) argument 2115 CVMX_GMXX_TXX_PIPE(unsigned long offset, unsigned long block_id) argument 2125 CVMX_GMXX_TXX_SGMII_CTL(unsigned long offset, unsigned long block_id) argument 2151 CVMX_GMXX_TXX_SLOT(unsigned long offset, unsigned long block_id) argument 2188 CVMX_GMXX_TXX_SOFT_PAUSE(unsigned long offset, unsigned long block_id) argument 2225 CVMX_GMXX_TXX_STAT0(unsigned long offset, unsigned long block_id) argument 2262 CVMX_GMXX_TXX_STAT1(unsigned long offset, unsigned long block_id) argument 2299 CVMX_GMXX_TXX_STAT2(unsigned long offset, unsigned long block_id) argument 2336 CVMX_GMXX_TXX_STAT3(unsigned long offset, unsigned long block_id) argument 2373 CVMX_GMXX_TXX_STAT4(unsigned long offset, unsigned long block_id) argument 2410 CVMX_GMXX_TXX_STAT5(unsigned long offset, unsigned long block_id) argument 2447 CVMX_GMXX_TXX_STAT6(unsigned long offset, unsigned long block_id) argument 2484 CVMX_GMXX_TXX_STAT7(unsigned long offset, unsigned long block_id) argument 2521 CVMX_GMXX_TXX_STAT8(unsigned long offset, unsigned long block_id) argument 2558 CVMX_GMXX_TXX_STAT9(unsigned long offset, unsigned long block_id) argument 2595 CVMX_GMXX_TXX_STATS_CTL(unsigned long offset, unsigned long block_id) argument 2632 CVMX_GMXX_TXX_THRESH(unsigned long offset, unsigned long block_id) argument 2698 CVMX_GMXX_TX_CLK_MSKX(unsigned long offset, unsigned long block_id) argument 3100 CVMX_GMXX_TX_SPI_ROUNDX(unsigned long offset, unsigned long block_id) argument [all...] |
H A D | cvmx-led-defs.h | 144 static inline uint64_t CVMX_LED_PRT_STATUSX(unsigned long offset) argument 147 (OCTEON_IS_MODEL(OCTEON_CN38XX) && ((offset <= 7))) || 148 (OCTEON_IS_MODEL(OCTEON_CN56XX) && ((offset <= 7))) || 149 (OCTEON_IS_MODEL(OCTEON_CN58XX) && ((offset <= 7))))) 150 cvmx_warn("CVMX_LED_PRT_STATUSX(%lu) is invalid on this chip\n", offset); 151 return CVMX_ADD_IO_SEG(0x0001180000001A80ull) + ((offset) & 7) * 8; 154 #define CVMX_LED_PRT_STATUSX(offset) (CVMX_ADD_IO_SEG(0x0001180000001A80ull) + ((offset) & 7) * 8) 157 static inline uint64_t CVMX_LED_UDD_CNTX(unsigned long offset) argument 160 (OCTEON_IS_MODEL(OCTEON_CN38XX) && ((offset < 170 CVMX_LED_UDD_DATX(unsigned long offset) argument 183 CVMX_LED_UDD_DAT_CLRX(unsigned long offset) argument 196 CVMX_LED_UDD_DAT_SETX(unsigned long offset) argument [all...] |
/freebsd-10.2-release/contrib/llvm/tools/lldb/include/lldb/Core/ |
H A D | DataEncoder.h | 149 /// Get the shared data offset. 151 /// Get the offset of the first byte of data in the shared data (if 156 /// the offset in bytes into that shared data, zero otherwise. 195 /// Encode unsigned integer values into the data at \a offset. 197 /// @param[in] offset 198 /// The offset within the contained data at which to put the 205 /// The next offset in the bytes of this data if the data 209 PutU8 (uint32_t offset, uint8_t value); 212 PutU16 (uint32_t offset, uint16_t value); 215 PutU32 (uint32_t offset, uint32_ 427 ValidOffsetForDataOfSize(uint32_t offset, uint32_t length) const argument [all...] |
/freebsd-10.2-release/tools/tools/find-sb/ |
H A D | find-sb.c | 39 intmax_t offset; local 41 offset = 0; 47 offset = strtoimax(optarg, &ch, 10); 48 if (*ch != '\0' || offset < 0) 50 offset -= offset % DEV_BSIZE; 67 if (offset != 0) { 68 end = lseek(fd, offset, SEEK_SET); 93 offset = end - len; 96 intmax_t fsbegin = offset [all...] |
/freebsd-10.2-release/contrib/bmake/ |
H A D | setenv.c | 51 * Sets offset to be the offset of the name/value combination in the 58 __findenv(name, offset) 60 int *offset; 70 *offset = P - environ; 89 int l_value, offset; local 95 if ((C = __findenv(name, &offset))) { /* find if already exists */ 123 offset = cnt; 126 if (!(environ[offset] = /* name + `=' + value */ 129 for (C = environ[offset]; (* 146 int offset; local [all...] |
/freebsd-10.2-release/sys/mips/nlm/ |
H A D | bus_space_rmi.c | 61 bus_size_t offset, bus_size_t size, 67 bus_size_t offset); 72 bus_size_t offset); 77 bus_size_t offset); 82 bus_size_t offset, u_int8_t *addr, 88 bus_size_t offset, u_int16_t *addr, 94 bus_size_t offset, u_int32_t *addr, 100 bus_size_t offset, u_int8_t *addr, 106 bus_size_t offset, u_int16_t *addr, 112 bus_size_t offset, u_int32_ 387 rmi_bus_space_subregion(void *t __unused, bus_space_handle_t bsh, bus_size_t offset, bus_size_t size __unused, bus_space_handle_t *nbshp) argument 401 rmi_bus_space_read_1(void *tag, bus_space_handle_t handle, bus_size_t offset) argument 408 rmi_bus_space_read_2(void *tag, bus_space_handle_t handle, bus_size_t offset) argument 415 rmi_bus_space_read_4(void *tag, bus_space_handle_t handle, bus_size_t offset) argument 427 rmi_bus_space_read_multi_1(void *tag, bus_space_handle_t handle, bus_size_t offset, u_int8_t *addr, size_t count) argument 434 rmi_bus_space_read_multi_2(void *tag, bus_space_handle_t handle, bus_size_t offset, u_int16_t *addr, size_t count) argument 441 rmi_bus_space_read_multi_4(void *tag, bus_space_handle_t handle, bus_size_t offset, u_int32_t *addr, size_t count) argument 453 rmi_bus_space_write_1(void *tag, bus_space_handle_t handle, bus_size_t offset, u_int8_t value) argument 460 rmi_bus_space_write_2(void *tag, bus_space_handle_t handle, bus_size_t offset, u_int16_t value) argument 467 rmi_bus_space_write_4(void *tag, bus_space_handle_t handle, bus_size_t offset, u_int32_t value) argument 481 rmi_bus_space_write_multi_1(void *tag, bus_space_handle_t handle, bus_size_t offset, const u_int8_t *addr, size_t count) argument 488 rmi_bus_space_write_multi_2(void *tag, bus_space_handle_t handle, bus_size_t offset, const u_int16_t *addr, size_t count) argument 495 rmi_bus_space_write_multi_4(void *tag, bus_space_handle_t handle, bus_size_t offset, const u_int32_t *addr, size_t count) argument 507 rmi_bus_space_set_region_2(void *t, bus_space_handle_t bsh, bus_size_t offset, u_int16_t value, size_t count) argument 517 rmi_bus_space_set_region_4(void *t, bus_space_handle_t bsh, bus_size_t offset, u_int32_t value, size_t count) argument 545 rmi_bus_space_read_stream_1(void *t, bus_space_handle_t handle, bus_size_t offset) argument 554 rmi_bus_space_read_stream_2(void *t, bus_space_handle_t handle, bus_size_t offset) argument 562 rmi_bus_space_read_stream_4(void *t, bus_space_handle_t handle, bus_size_t offset) argument 570 rmi_bus_space_read_multi_stream_1(void *tag, bus_space_handle_t handle, bus_size_t offset, u_int8_t *addr, size_t count) argument 577 rmi_bus_space_read_multi_stream_2(void *tag, bus_space_handle_t handle, bus_size_t offset, u_int16_t *addr, size_t count) argument 584 rmi_bus_space_read_multi_stream_4(void *tag, bus_space_handle_t handle, bus_size_t offset, u_int32_t *addr, size_t count) argument 597 rmi_bus_space_read_region_1(void *t, bus_space_handle_t bsh, bus_size_t offset, u_int8_t *addr, size_t count) argument 604 rmi_bus_space_read_region_2(void *t, bus_space_handle_t bsh, bus_size_t offset, u_int16_t *addr, size_t count) argument 611 rmi_bus_space_read_region_4(void *t, bus_space_handle_t bsh, bus_size_t offset, u_int32_t *addr, size_t count) argument 623 rmi_bus_space_write_stream_1(void *t, bus_space_handle_t handle, bus_size_t offset, u_int8_t value) argument 631 rmi_bus_space_write_stream_2(void *t, bus_space_handle_t handle, bus_size_t offset, u_int16_t value) argument 639 rmi_bus_space_write_stream_4(void *t, bus_space_handle_t handle, bus_size_t offset, u_int32_t value) argument 647 rmi_bus_space_write_multi_stream_1(void *tag, bus_space_handle_t handle, bus_size_t offset, const u_int8_t *addr, size_t count) argument 654 rmi_bus_space_write_multi_stream_2(void *tag, bus_space_handle_t handle, bus_size_t offset, const u_int16_t *addr, size_t count) argument 661 rmi_bus_space_write_multi_stream_4(void *tag, bus_space_handle_t handle, bus_size_t offset, const u_int32_t *addr, size_t count) argument 668 rmi_bus_space_write_region_2(void *t, bus_space_handle_t bsh, bus_size_t offset, const u_int16_t *addr, size_t count) argument 678 rmi_bus_space_write_region_4(void *t, bus_space_handle_t bsh, bus_size_t offset, const u_int32_t *addr, size_t count) argument 696 rmi_uart_bus_space_read_1(void *tag, bus_space_handle_t handle, bus_size_t offset) argument 703 rmi_uart_bus_space_write_1(void *tag, bus_space_handle_t handle, bus_size_t offset, u_int8_t value) argument [all...] |
/freebsd-10.2-release/sys/dev/isci/scil/ |
H A D | sati_mode_sense.h | 84 U32 offset 99 U32 offset 106 U32 offset 113 U32 offset 120 U32 offset 127 U32 offset 134 U32 offset 141 U32 offset
|
H A D | sati_mode_sense.c | 345 * @param[in] offset This parameter specifies the offset into the data 354 U32 offset 368 sati_set_data_byte(sequence, scsi_io, offset, (U8)((lba_low>>24) & 0xFF)); 369 sati_set_data_byte(sequence, scsi_io, offset+1, (U8)((lba_low>>16) & 0xFF)); 370 sati_set_data_byte(sequence, scsi_io, offset+2, (U8)((lba_low>>8) & 0xFF)); 371 sati_set_data_byte(sequence, scsi_io, offset+3, (U8)(lba_low & 0xFF)); 374 sati_set_data_byte(sequence, scsi_io, offset+4, 0); 377 sati_set_data_byte(sequence,scsi_io, offset+5, (U8)((sector_size>>16) & 0xFF)); 378 sati_set_data_byte(sequence,scsi_io, offset [all...] |
/freebsd-10.2-release/sys/mips/malta/ |
H A D | gt_pci_bus_space.c | 228 bus_size_t offset) 231 return (rd16(handle + offset)); 236 bus_size_t offset) 239 return (rd32(handle + offset)); 244 bus_size_t offset, uint16_t *addr, size_t count) 246 bus_addr_t baddr = bsh + offset; 254 bus_size_t offset, uint32_t *addr, size_t count) 256 bus_addr_t baddr = bsh + offset; 264 * described by tag/handle and starting at `offset' and copy into 269 bus_size_t offset, uint16_ 227 gt_pci_bs_r_2(void *t, bus_space_handle_t handle, bus_size_t offset) argument 235 gt_pci_bs_r_4(void *t, bus_space_handle_t handle, bus_size_t offset) argument 243 gt_pci_bs_rm_2(void *t, bus_space_handle_t bsh, bus_size_t offset, uint16_t *addr, size_t count) argument 253 gt_pci_bs_rm_4(void *t, bus_space_handle_t bsh, bus_size_t offset, uint32_t *addr, size_t count) argument 268 gt_pci_bs_rr_2(void *t, bus_space_handle_t bsh, bus_size_t offset, uint16_t *addr, size_t count) argument 280 gt_pci_bs_rr_4(void *t, bus_space_handle_t bsh, bus_size_t offset, uint32_t *addr, size_t count) argument 296 gt_pci_bs_w_2(void *t, bus_space_handle_t bsh, bus_size_t offset, uint16_t value) argument 304 gt_pci_bs_w_4(void *t, bus_space_handle_t bsh, bus_size_t offset, uint32_t value) argument 316 gt_pci_bs_wm_2(void *t, bus_space_handle_t bsh, bus_size_t offset, const uint16_t *addr, size_t count) argument 326 gt_pci_bs_wm_4(void *t, bus_space_handle_t bsh, bus_size_t offset, const uint32_t *addr, size_t count) argument 340 gt_pci_bs_wr_2(void *t, bus_space_handle_t bsh, bus_size_t offset, const uint16_t *addr, size_t count) argument 352 gt_pci_bs_wr_4(void *t, bus_space_handle_t bsh, bus_size_t offset, const uint32_t *addr, size_t count) argument 368 gt_pci_bs_sm_2(void *t, bus_space_handle_t bsh, bus_size_t offset, uint16_t value, size_t count) argument 378 gt_pci_bs_sm_4(void *t, bus_space_handle_t bsh, bus_size_t offset, uint32_t value, size_t count) argument 392 gt_pci_bs_sr_2(void *t, bus_space_handle_t bsh, bus_size_t offset, uint16_t value, size_t count) argument 402 gt_pci_bs_sr_4(void *t, bus_space_handle_t bsh, bus_size_t offset, uint32_t value, size_t count) argument [all...] |
/freebsd-10.2-release/usr.sbin/bhyve/ |
H A D | uart_emul.h | 42 uint8_t uart_read(struct uart_softc *sc, int offset); 43 void uart_write(struct uart_softc *sc, int offset, uint8_t value);
|
H A D | pci_emul.h | 59 struct pci_devinst *pi, int offset, 62 struct pci_devinst *pi, int offset, 68 uint64_t offset, int size, uint64_t value); 71 uint64_t offset, int size); 166 uint32_t table_info; /* bar index and offset within it */ 167 uint32_t pba_info; /* bar index and offset within it */ 208 void msicap_cfgwrite(struct pci_devinst *pi, int capoff, int offset, 210 void msixcap_cfgwrite(struct pci_devinst *pi, int capoff, int offset, 232 int pci_emul_msix_twrite(struct pci_devinst *pi, uint64_t offset, int size, 234 uint64_t pci_emul_msix_tread(struct pci_devinst *pi, uint64_t offset, in 242 pci_set_cfgdata8(struct pci_devinst *pi, int offset, uint8_t val) argument 249 pci_set_cfgdata16(struct pci_devinst *pi, int offset, uint16_t val) argument 256 pci_set_cfgdata32(struct pci_devinst *pi, int offset, uint32_t val) argument 263 pci_get_cfgdata8(struct pci_devinst *pi, int offset) argument 270 pci_get_cfgdata16(struct pci_devinst *pi, int offset) argument 277 pci_get_cfgdata32(struct pci_devinst *pi, int offset) argument [all...] |
/freebsd-10.2-release/sys/mips/rmi/ |
H A D | xlr_pcmcia.c | 104 ch->r_io[ATA_DATA].offset = XLR_PCMCIA_DATA_REG; 105 ch->r_io[ATA_FEATURE].offset = XLR_PCMCIA_ERROR_REG; 106 ch->r_io[ATA_COUNT].offset = XLR_PCMCIA_SECT_CNT_REG; 107 ch->r_io[ATA_SECTOR].offset = XLR_PCMCIA_SECT_NUM_REG; 108 ch->r_io[ATA_CYL_LSB].offset = XLR_PCMCIA_CYLINDER_LOW_REG; 109 ch->r_io[ATA_CYL_MSB].offset = XLR_PCMCIA_CYLINDER_HIGH_REG; 110 ch->r_io[ATA_DRIVE].offset = XLR_PCMCIA_SECT_DRIVE_HEAD_REG; 111 ch->r_io[ATA_COMMAND].offset = XLR_PCMCIA_CMD_STATUS_REG; 112 ch->r_io[ATA_ERROR].offset = XLR_PCMCIA_ERROR_REG; 113 ch->r_io[ATA_IREASON].offset [all...] |
/freebsd-10.2-release/sys/kern/ |
H A D | kern_syscalls.c | 107 syscall_register(int *offset, struct sysent *new_sysent, argument 112 if (*offset == NO_SYSCALL) { 118 *offset = i; 119 } else if (*offset < 0 || *offset >= SYS_MAXSYSCALL) 121 else if (sysent[*offset].sy_call != (sy_call_t *)lkmnosys && 122 sysent[*offset].sy_call != (sy_call_t *)lkmressys) 125 KASSERT(sysent[*offset].sy_thrcnt == SY_THR_ABSENT, 127 *old_sysent = sysent[*offset]; 129 sysent[*offset] 135 syscall_deregister(int *offset, struct sysent *old_sysent) argument [all...] |
H A D | subr_stack.c | 49 long *offset); 50 static int stack_symbol_ddb(vm_offset_t pc, const char **name, long *offset); 97 long offset; local 103 &offset); 105 namebuf, offset); 113 long offset; local 121 &offset) == 0) 122 printf("%s+%#lx", namebuf, offset); 133 long offset; local 138 stack_symbol_ddb(st->pcs[i], &name, &offset); 149 long offset; local 173 long offset; local 190 long offset; local 209 long offset; local 247 stack_symbol(vm_offset_t pc, char *namebuf, u_int buflen, long *offset) argument 260 stack_symbol_ddb(vm_offset_t pc, const char **name, long *offset) argument [all...] |
/freebsd-10.2-release/sys/dev/drm2/radeon/ |
H A D | evergreen_hdmi.c | 48 uint32_t offset = dig->afmt->offset; local 50 WREG32(HDMI_ACR_32_0 + offset, HDMI_ACR_CTS_32(acr.cts_32khz)); 51 WREG32(HDMI_ACR_32_1 + offset, acr.n_32khz); 53 WREG32(HDMI_ACR_44_0 + offset, HDMI_ACR_CTS_44(acr.cts_44_1khz)); 54 WREG32(HDMI_ACR_44_1 + offset, acr.n_44_1khz); 56 WREG32(HDMI_ACR_48_0 + offset, HDMI_ACR_CTS_48(acr.cts_48khz)); 57 WREG32(HDMI_ACR_48_1 + offset, acr.n_48khz); 103 uint32_t offset = dig->afmt->offset; local 161 uint32_t offset; local [all...] |
/freebsd-10.2-release/usr.sbin/kgzip/ |
H A D | xio.c | 50 size_t nbyte, off_t offset) 58 if (xread(idi, buf, n, offset) != n) 62 offset = -1; 88 xread(const struct iodesc * id, void *buf, size_t nbyte, off_t offset) argument 92 if (offset != -1 && lseek(id->fd, offset, SEEK_SET) != offset) 117 xseek(const struct iodesc *id, off_t offset) argument 119 if (lseek(id->fd, offset, SEEK_SET) != offset) 49 xcopy(const struct iodesc * idi, const struct iodesc * ido, size_t nbyte, off_t offset) argument [all...] |
/freebsd-10.2-release/contrib/gdb/gdb/ |
H A D | amd64fbsd-nat.c | 56 /* At reg_offset[REGNUM] you'll find the offset to the gregset_t 159 int offset; 180 /* Override the default value for the offset of the program counter 182 offset = offsetof (struct sigcontext, sc_rip); 184 if (SC_RIP_OFFSET != offset) 189 offset, SC_RIP_OFFSET); 192 SC_RIP_OFFSET = offset; 195 offset = offsetof (struct sigcontext, sc_rsp); 197 if (SC_RSP_OFFSET != offset) 202 offset, SC_RSP_OFFSE 155 int offset; local [all...] |
/freebsd-10.2-release/contrib/apr/file_io/unix/ |
H A D | seek.c | 52 APR_DECLARE(apr_status_t) apr_file_seek(apr_file_t *thefile, apr_seek_where_t where, apr_off_t *offset) 66 rc = setptr(thefile, *offset); 70 rc = setptr(thefile, thefile->filePtr - thefile->dataRead + thefile->bufpos + *offset); 76 rc = setptr(thefile, finfo.size + *offset); 80 *offset = thefile->filePtr - thefile->dataRead + thefile->bufpos; 87 rv = lseek(thefile->filedes, *offset, where); 89 *offset = -1; 93 *offset = rv; 99 apr_status_t apr_file_trunc(apr_file_t *fp, apr_off_t offset) argument 106 if (offset < le [all...] |
/freebsd-10.2-release/contrib/dialog/ |
H A D | columns.c | 52 next_col(char *source, unsigned offset) argument 55 char *result = source + offset; 56 if (offset) 71 unsigned offset = 0; local 75 offset = (unsigned) (mark + next - source); 76 widths[result - 1] = offset - offsets[result - 1] - (unsigned) mark; 78 offsets[result] = offset; 80 } while ((next = next_col(source, offset)) != 0); 82 offset = (unsigned) strlen(source); 83 widths[result - 1] = offset 141 unsigned offset = 0; local [all...] |
/freebsd-10.2-release/sys/mips/cavium/ |
H A D | octopci_bus_space.c | 227 bus_size_t offset, bus_size_t size __unused, 231 *bshp = handle + offset; 237 bus_size_t offset) 240 return (rd8(handle + offset)); 245 bus_size_t offset) 248 return (rd16(handle + offset)); 253 bus_size_t offset) 256 return (rd32(handle + offset)); 262 bus_size_t offset, uint8_t *addr, size_t count) 266 *addr++ = rd8(bsh + offset); 226 octopci_bs_subregion(void *t __unused, bus_space_handle_t handle, bus_size_t offset, bus_size_t size __unused, bus_space_handle_t *bshp) argument 236 octopci_bs_r_1(void *t, bus_space_handle_t handle, bus_size_t offset) argument 244 octopci_bs_r_2(void *t, bus_space_handle_t handle, bus_size_t offset) argument 252 octopci_bs_r_4(void *t, bus_space_handle_t handle, bus_size_t offset) argument 261 octopci_bs_rm_1(void *t, bus_space_handle_t bsh, bus_size_t offset, uint8_t *addr, size_t count) argument 270 octopci_bs_rm_2(void *t, bus_space_handle_t bsh, bus_size_t offset, uint16_t *addr, size_t count) argument 280 octopci_bs_rm_4(void *t, bus_space_handle_t bsh, bus_size_t offset, uint32_t *addr, size_t count) argument 296 octopci_bs_rr_1(void *t, bus_space_handle_t bsh, bus_size_t offset, uint8_t *addr, size_t count) argument 308 octopci_bs_rr_2(void *t, bus_space_handle_t bsh, bus_size_t offset, uint16_t *addr, size_t count) argument 320 octopci_bs_rr_4(void *t, bus_space_handle_t bsh, bus_size_t offset, uint32_t *addr, size_t count) argument 336 octopci_bs_w_1(void *t, bus_space_handle_t bsh, bus_size_t offset, uint8_t value) argument 344 octopci_bs_w_2(void *t, bus_space_handle_t bsh, bus_size_t offset, uint16_t value) argument 352 octopci_bs_w_4(void *t, bus_space_handle_t bsh, bus_size_t offset, uint32_t value) argument 364 octopci_bs_wm_1(void *t, bus_space_handle_t bsh, bus_size_t offset, const uint8_t *addr, size_t count) argument 374 octopci_bs_wm_2(void *t, bus_space_handle_t bsh, bus_size_t offset, const uint16_t *addr, size_t count) argument 384 octopci_bs_wm_4(void *t, bus_space_handle_t bsh, bus_size_t offset, const uint32_t *addr, size_t count) argument 398 octopci_bs_wr_1(void *t, bus_space_handle_t bsh, bus_size_t offset, const uint8_t *addr, size_t count) argument 410 octopci_bs_wr_2(void *t, bus_space_handle_t bsh, bus_size_t offset, const uint16_t *addr, size_t count) argument 422 octopci_bs_wr_4(void *t, bus_space_handle_t bsh, bus_size_t offset, const uint32_t *addr, size_t count) argument 438 octopci_bs_sm_1(void *t, bus_space_handle_t bsh, bus_size_t offset, uint8_t value, size_t count) argument 448 octopci_bs_sm_2(void *t, bus_space_handle_t bsh, bus_size_t offset, uint16_t value, size_t count) argument 458 octopci_bs_sm_4(void *t, bus_space_handle_t bsh, bus_size_t offset, uint32_t value, size_t count) argument 472 octopci_bs_sr_1(void *t, bus_space_handle_t bsh, bus_size_t offset, uint8_t value, size_t count) argument 482 octopci_bs_sr_2(void *t, bus_space_handle_t bsh, bus_size_t offset, uint16_t value, size_t count) argument 492 octopci_bs_sr_4(void *t, bus_space_handle_t bsh, bus_size_t offset, uint32_t value, size_t count) argument [all...] |
/freebsd-10.2-release/contrib/llvm/tools/lldb/source/Symbol/ |
H A D | DWARFCallFrameInfo.cpp | 146 lldb::offset_t offset = cie_offset; local 149 const uint32_t length = m_cfi_data.GetU32(&offset); 150 const dw_offset_t cie_id = m_cfi_data.GetU32(&offset); 155 // cie.offset = cie_offset; 159 cie_sp->version = m_cfi_data.GetU8(&offset); 163 cie_sp->augmentation[i] = m_cfi_data.GetU8(&offset); 179 cie_sp->code_align = (uint32_t)m_cfi_data.GetULEB128(&offset); 180 cie_sp->data_align = (int32_t)m_cfi_data.GetSLEB128(&offset); 181 cie_sp->return_addr_reg_num = m_cfi_data.GetU8(&offset); 187 const size_t aug_data_len = (size_t)m_cfi_data.GetULEB128(&offset); 334 lldb::offset_t offset = 0; local 381 lldb::offset_t offset = dwarf_offset; local [all...] |
/freebsd-10.2-release/contrib/llvm/lib/Support/ |
H A D | DataExtractor.cpp | 20 uint32_t offset = *offset_ptr; local 21 if (de->isValidOffsetForDataOfSize(offset, sizeof(val))) { 22 std::memcpy(&val, &Data[offset], sizeof(val)); 26 // Advance the offset 35 uint32_t offset = *offset_ptr; local 37 if (count > 0 && de->isValidOffsetForDataOfSize(offset, sizeof(*dst)*count)) { 39 ++value_ptr, offset += sizeof(*dst)) 41 // Advance the offset 42 *offset_ptr = offset; 122 uint32_t offset local 137 uint32_t offset = *offset_ptr; local 158 uint32_t offset = *offset_ptr; local [all...] |