/freebsd/sys/powerpc/powerpc/ |
H A D | bus_machdep.c | 65 __ppc_ba(bus_space_handle_t bsh, bus_size_t ofs) in __ppc_ba() 153 bs_gen_subregion(bus_space_handle_t bsh, bus_size_t ofs, in bs_gen_subregion() 187 native_bs_rs_1(bus_space_handle_t bsh, bus_size_t ofs) in native_bs_rs_1() 200 native_bs_rs_2(bus_space_handle_t bsh, bus_size_t ofs) in native_bs_rs_2() 213 native_bs_rs_4(bus_space_handle_t bsh, bus_size_t ofs) in native_bs_rs_4() 226 native_bs_rs_8(bus_space_handle_t bsh, bus_size_t ofs) in native_bs_rs_8() 302 native_bs_ws_1(bus_space_handle_t bsh, bus_size_t ofs, uint8_t val) in native_bs_ws_1() 501 swapped_bs_rs_1(bus_space_handle_t bsh, bus_size_t ofs) in swapped_bs_rs_1() 514 swapped_bs_rs_2(bus_space_handle_t bsh, bus_size_t ofs) in swapped_bs_rs_2() 527 swapped_bs_rs_4(bus_space_handle_t bsh, bus_size_t ofs) in swapped_bs_rs_4() [all …]
|
/freebsd/contrib/smbfs/include/netsmb/ |
H A D | smb_lib.h | 66 #define getbw(buf,ofs) ((u_int16_t)(getb(buf,ofs))) argument 74 #define getwbe(buf,ofs) (ntohs(getwle(buf,ofs))) argument 75 #define getdbe(buf,ofs) (ntohl(getdle(buf,ofs))) argument 77 #define setwle(buf,ofs,val) getwle(buf,ofs)=val argument 78 #define setwbe(buf,ofs,val) getwle(buf,ofs)=htons(val) argument 79 #define setdle(buf,ofs,val) getdle(buf,ofs)=val argument 80 #define setdbe(buf,ofs,val) getdle(buf,ofs)=htonl(val) argument 86 #define getwle(buf,ofs) (bswap16(getwbe(buf,ofs))) argument 87 #define getdle(buf,ofs) (bswap32(getdbe(buf,ofs))) argument 89 #define setwbe(buf,ofs,val) getwbe(buf,ofs)=val argument [all …]
|
/freebsd/sys/dev/bwi/ |
H A D | bwimac.h | 73 #define MOBJ_WRITE_2(mac, objid, ofs, val) \ argument 75 #define MOBJ_WRITE_4(mac, objid, ofs, val) \ argument 77 #define MOBJ_READ_2(mac, objid, ofs) \ argument 79 #define MOBJ_READ_4(mac, objid, ofs) \ argument 82 #define MOBJ_SETBITS_4(mac, objid, ofs, bits) \ argument 85 #define MOBJ_CLRBITS_4(mac, objid, ofs, bits) \ argument 89 #define MOBJ_FILT_SETBITS_2(mac, objid, ofs, filt, bits) \ argument 93 #define TMPLT_WRITE_4(mac, ofs, val) bwi_tmplt_write_4((mac), (ofs), (val)) argument
|
H A D | bwirf.h | 112 #define RF_WRITE(mac, ofs, val) bwi_rf_write((mac), (ofs), (val)) argument 113 #define RF_READ(mac, ofs) bwi_rf_read((mac), (ofs)) argument 115 #define RF_SETBITS(mac, ofs, bits) \ argument 117 #define RF_CLRBITS(mac, ofs, bits) \ argument 119 #define RF_FILT_SETBITS(mac, ofs, filt, bits) \ argument
|
H A D | bwiphy.c | 264 bwi_tbl_write_2(struct bwi_mac *mac, uint16_t ofs, uint16_t data) in bwi_tbl_write_2() 276 bwi_tbl_write_4(struct bwi_mac *mac, uint16_t ofs, uint32_t data) in bwi_tbl_write_4() 291 bwi_nrssi_write(struct bwi_mac *mac, uint16_t ofs, int16_t data) in bwi_nrssi_write() 298 bwi_nrssi_read(struct bwi_mac *mac, uint16_t ofs) in bwi_nrssi_read() 438 uint16_t val, ofs; in bwi_phy_init_11b_rev4() local 515 uint16_t ofs, val; in bwi_phy_init_11b_rev5() local 610 uint16_t val, ofs; in bwi_phy_init_11b_rev6() local 882 uint16_t ofs; in bwi_phy_config_agc() local
|
H A D | bwimac.c | 118 bwi_tmplt_write_4(struct bwi_mac *mac, uint32_t ofs, uint32_t val) in bwi_tmplt_write_4() 165 int ofs; in bwi_memobj_read_2() local 181 int ofs; in bwi_memobj_read_4() local 208 int ofs; in bwi_memobj_write_2() local 225 int ofs; in bwi_memobj_write_4() local 1156 uint16_t iv_ofs, ofs; in bwi_mac_fw_load_iv() local 1417 uint16_t ofs; in bwi_mac_set_ackrates() local
|
/freebsd/sys/contrib/dev/iwlwifi/ |
H A D | iwl-io.h | 42 static inline void iwl_write_prph(struct iwl_trans *trans, u32 ofs, u32 val) in iwl_write_prph() 65 static inline u32 iwl_umac_prph(struct iwl_trans *trans, u32 ofs) in iwl_umac_prph() 70 static inline u32 iwl_read_umac_prph_no_grab(struct iwl_trans *trans, u32 ofs) in iwl_read_umac_prph_no_grab() 76 static inline u32 iwl_read_umac_prph(struct iwl_trans *trans, u32 ofs) in iwl_read_umac_prph() 81 static inline void iwl_write_umac_prph_no_grab(struct iwl_trans *trans, u32 ofs, in iwl_write_umac_prph_no_grab() 88 static inline void iwl_write_umac_prph(struct iwl_trans *trans, u32 ofs, in iwl_write_umac_prph()
|
H A D | iwl-io.c | 17 void iwl_write8(struct iwl_trans *trans, u32 ofs, u8 val) in iwl_write8() 24 void iwl_write32(struct iwl_trans *trans, u32 ofs, u32 val) in iwl_write32() 31 void iwl_write64(struct iwl_trans *trans, u64 ofs, u64 val) in iwl_write64() 39 u32 iwl_read32(struct iwl_trans *trans, u32 ofs) in iwl_read32() 114 u32 iwl_read_prph_no_grab(struct iwl_trans *trans, u32 ofs) in iwl_read_prph_no_grab() 122 void iwl_write_prph_no_grab(struct iwl_trans *trans, u32 ofs, u32 val) in iwl_write_prph_no_grab() 129 void iwl_write_prph64_no_grab(struct iwl_trans *trans, u64 ofs, u64 val) in iwl_write_prph64_no_grab() 137 u32 iwl_read_prph(struct iwl_trans *trans, u32 ofs) in iwl_read_prph() 177 void iwl_set_bits_prph(struct iwl_trans *trans, u32 ofs, u32 mask) in iwl_set_bits_prph() 188 void iwl_set_bits_mask_prph(struct iwl_trans *trans, u32 ofs, in iwl_set_bits_mask_prph() [all …]
|
/freebsd/tools/bus_space/C/ |
H A D | lang.c | 35 bus_read_1(int rid, long ofs) in bus_read_1() 43 bus_read_2(int rid, long ofs) in bus_read_2() 51 bus_read_4(int rid, long ofs) in bus_read_4() 59 bus_write_1(int rid, long ofs, uint8_t val) in bus_write_1() 66 bus_write_2(int rid, long ofs, uint16_t val) in bus_write_2() 73 bus_write_4(int rid, long ofs, uint32_t val) in bus_write_4() 94 bus_subregion(int rid, long ofs, long sz) in bus_subregion() 234 busdma_sync_range(busdma_md_t md, int op, bus_size_t ofs, bus_size_t len) in busdma_sync_range()
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | mt792x_regs.h | 9 #define MT_MCU_WFDMA1(ofs) (MT_MCU_WFDMA1_BASE + (ofs)) argument 18 #define MT_PLE(ofs) (MT_PLE_BASE + (ofs)) argument 261 #define MT_WFDMA0(ofs) (MT_WFDMA0_BASE + (ofs)) argument 362 #define MT_SWDEF(ofs) (MT_SWDEF_BASE + (ofs)) argument 369 #define MT_TOP(ofs) (MT_TOP_BASE + (ofs)) argument 384 #define MT_CBTOP_RGU(ofs) (0x70002000 + (ofs)) argument 393 #define MT_PCIE_MAC(ofs) (MT_PCIE_MAC_BASE + (ofs)) argument 398 #define MT_DMA_SHDL(ofs) (0x7c026000 + (ofs)) argument 423 #define MT_UMAC(ofs) (0x74000000 + (ofs)) argument 452 #define MT_UWFDMA0(ofs) (0x7c024000 + (ofs)) argument [all …]
|
/freebsd/sys/dev/cfi/ |
H A D | cfi_core.c | 65 cfi_read_raw(struct cfi_softc *sc, u_int ofs) in cfi_read_raw() 88 cfi_read(struct cfi_softc *sc, u_int ofs) in cfi_read() 120 cfi_write(struct cfi_softc *sc, u_int ofs, u_int val) in cfi_write() 158 cfi_read_qry(struct cfi_softc *sc, u_int ofs) in cfi_read_qry() 169 cfi_amd_write(struct cfi_softc *sc, u_int ofs, u_int addr, u_int data) in cfi_amd_write() 510 cfi_check_erase(struct cfi_softc *sc, u_int ofs, u_int sz) in cfi_check_erase() 541 cfi_wait_ready(struct cfi_softc *sc, u_int ofs, sbintime_t start, in cfi_wait_ready()
|
H A D | cfi_dev.c | 86 cfi_block_start(struct cfi_softc *sc, u_int ofs) in cfi_block_start() 190 u_int ofs; in cfi_devread() local 226 u_int ofs, top; in cfi_devwrite() local
|
/freebsd/tools/bus_space/ |
H A D | bus.c | 46 off_t ofs; member 130 bs_read(int rid, off_t ofs, void *buf, ssize_t bufsz) in bs_read() 173 bs_subregion(int rid0, long ofs, long sz) in bs_subregion() 228 bs_write(int rid, off_t ofs, void *buf, ssize_t bufsz) in bs_write()
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/ |
H A D | regs.h | 49 #define MT_PLE(ofs) (MT_PLE_BASE + (ofs)) argument 66 #define MT_MDP(ofs) (MT_MDP_BASE + (ofs)) argument 94 #define MT_WF_DMA(_band, ofs) (MT_WF_DMA_BASE(_band) + (ofs)) argument 216 #define MT_WF_UMIB(ofs) (MT_WF_UMIB_BASE + (ofs)) argument 222 #define MT_WTBLON_TOP(ofs) (MT_WTBLON_TOP_BASE + (ofs)) argument 313 #define MT_WFDMA0(ofs) (MT_WFDMA0_BASE + (ofs)) argument 489 #define MT_SWDEF(ofs) (MT_SWDEF_BASE + (ofs)) argument 534 #define MT_TOP(ofs) (MT_TOP_BASE + (ofs)) argument 552 #define MT_PCIE_MAC(ofs) (MT_PCIE_MAC_BASE + (ofs)) argument 556 #define MT_PCIE1_MAC(ofs) (MT_PCIE1_MAC_BASE + (ofs)) argument [all …]
|
/freebsd/tools/bus_space/Python/ |
H A D | lang.c | 36 long ofs; in bus_read_1() local 52 long ofs; in bus_read_2() local 68 long ofs; in bus_read_4() local 84 long ofs; in bus_write_1() local 100 long ofs; in bus_write_2() local 116 long ofs; in bus_write_4() local 162 long ofs, sz; in bus_subregion() local 400 u_long ofs, len; in busdma_sync_range() local
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/ |
H A D | regs.h | 130 #define MT_MCU_WFDMA0(ofs) (MT_MCU_WFDMA0_BASE + (ofs)) argument 146 #define MT_PLE(ofs) (MT_PLE_BASE + (ofs)) argument 167 #define MT_PSE(ofs) (MT_PSE_BASE + (ofs)) argument 171 #define MT_MDP(ofs) (MT_MDP_BASE + (ofs)) argument 574 #define MT_WFDMA0(ofs) (MT_WFDMA0_BASE + (ofs)) argument 606 #define MT_WFDMA1(ofs) (MT_WFDMA1_BASE + (ofs)) argument 1030 #define MT_SWDEF(ofs) (MT_SWDEF_BASE + (ofs)) argument 1088 #define MT_TOP(ofs) (MT_TOP_BASE + (ofs)) argument 1121 #define MT_SEMA(ofs) (MT_SEMA_BASE + (ofs)) argument 1152 #define MT_SLP(ofs) (MT_SLP_BASE + (ofs)) argument [all …]
|
/freebsd/usr.bin/mkcsmapper/ |
H A D | yacc.y | 218 put8(void *ptr, size_t ofs, u_int32_t val) in put8() 225 put16(void *ptr, size_t ofs, u_int32_t val) in put16() 233 put32(void *ptr, size_t ofs, u_int32_t val) in put32() 301 size_t i, len, ofs; in create_rowcol_info() local 337 size_t ofs; in create_rowcol_ext_ilseq_info() local 582 size_t i, ofs; in store() local
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/ |
H A D | regs.h | 36 #define MT_HW_INFO(ofs) (MT_HW_INFO_BASE + (ofs)) argument 52 #define MT_MCU(ofs) (MT_MCU_BASE + (ofs)) argument 65 #define MT_MCU_CIRQ(ofs) (MT_MCU_CIRQ_BASE + (ofs)) argument 88 #define MT_HIF2(ofs) (MT_HIF2_BASE + (ofs)) argument 195 #define MT_WF_PHY(ofs) (MT_WF_PHY_BASE + (ofs)) argument 251 #define MT_WF_CFG(ofs) (MT_WF_CFG_BASE + (ofs)) argument 260 #define MT_WF_AGG(ofs) (MT_WF_AGG_BASE + (ofs)) argument 291 #define MT_WF_ARB(ofs) (MT_WF_ARB_BASE + (ofs)) argument 387 #define MT_WF_DMA(ofs) (MT_WF_DMA_BASE + (ofs)) argument 405 #define MT_WF_PF(ofs) (MT_WF_PF_BASE + (ofs)) argument [all …]
|
/freebsd/usr.bin/mkimg/ |
H A D | image.c | 64 off_t ofs; /* Offset in backing file. */ member 110 off_t ofs; in image_swap_alloc() local 249 image_chunk_append(lba_t blk, size_t sz, off_t ofs, int fd) in image_chunk_append() 280 image_chunk_copyin(lba_t blk, void *buf, size_t sz, off_t ofs, int fd) in image_chunk_copyin() 305 image_file_map(int fd, off_t ofs, size_t sz, off_t *iofp) in image_file_map() 524 off_t ofs; in image_copyout_done() local 604 size_t ofs, sz; in image_copyout_region() local
|
/freebsd/lib/libkvm/ |
H A D | kvm_i386.c | 71 _kvm_pa2off(kvm_t *kd, uint64_t pa, off_t *ofs) in _kvm_pa2off() 223 off_t ofs; in _i386_vatop() local 313 off_t ofs; in _i386_vatop_pae() local
|
H A D | kvm_powerpc.c | 147 powerpc_va2off(kvm_t *kd, kvaddr_t va, off_t *ofs) in powerpc_va2off() 203 _powerpc_kvatop(kvm_t *kd, kvaddr_t va, off_t *ofs) in _powerpc_kvatop()
|
H A D | kvm_powerpc64.c | 150 powerpc64_va2off(kvm_t *kd, kvaddr_t va, off_t *ofs) in powerpc64_va2off() 216 _powerpc64_kvatop(kvm_t *kd, kvaddr_t va, off_t *ofs) in _powerpc64_kvatop()
|
H A D | kvm_amd64.c | 66 _kvm_pa2off(kvm_t *kd, uint64_t pa, off_t *ofs) in _kvm_pa2off() 181 off_t ofs; in _amd64_vatop() local
|
/freebsd/lib/libmd/ |
H A D | mdXhl.c | 50 MDXFdChunk(int fd, char *buf, off_t ofs, off_t len) in MDXFdChunk() 97 MDXFileChunk(const char *filename, char *buf, off_t ofs, off_t len) in MDXFileChunk()
|
/freebsd/lib/libc/iconv/ |
H A D | citrus_region.h | 65 _citrus_region_check(const struct _citrus_region *r, size_t ofs, size_t sz) in _citrus_region_check() 105 const struct _citrus_region *r, size_t ofs, size_t sz) in _citrus_region_get_subregion()
|