Home
last modified time | relevance | path

Searched refs:offset (Results 201 – 225 of 4136) sorted by relevance

12345678910>>...166

/freebsd/contrib/ntp/parseutil/
H A Dtestdcf.c136 char offset; /* start bit */ member
166 char offset; /* start bit of parity field */ member
188 first = rawdcfcode[idx].offset; in ext_bf()
190 for (i = rawdcfcode[idx+1].offset - 1; i >= first; i--) in ext_bf()
207 last = partab[idx+1].offset; in pcheck()
209 for (i = partab[idx].offset; i < last; i++) in pcheck()
333 int offset = 15; in main() local
343 offset = 0; in main()
349 offset = 0; in main()
453 printf("%c %.*s ", pat[i % (sizeof(pat)-1)], 59 - offset, &buf[offset]); in main()
[all …]
/freebsd/sys/dev/pci/controller/
H A Dpci_n1sdp.c264 bus_size_t offset; in n1sdp_pcie_read_config() local
280 data = bus_space_read_4(t, h, offset & ~3); in n1sdp_pcie_read_config()
284 data >>= (offset & 3) * 8; in n1sdp_pcie_read_config()
288 data >>= (offset & 3) * 8; in n1sdp_pcie_read_config()
310 bus_size_t offset; in n1sdp_pcie_write_config() local
326 data = bus_space_read_4(t, h, offset & ~3); in n1sdp_pcie_write_config()
330 data &= ~(0xff << ((offset & 3) * 8)); in n1sdp_pcie_write_config()
331 data |= (val & 0xff) << ((offset & 3) * 8); in n1sdp_pcie_write_config()
334 data &= ~(0xffff << ((offset & 3) * 8)); in n1sdp_pcie_write_config()
335 data |= (val & 0xffff) << ((offset & 3) * 8); in n1sdp_pcie_write_config()
[all …]
/freebsd/contrib/ofed/librdmacm/examples/
H A Driostream.c149 int offset, ret; in send_msg() local
156 for (offset = 0; offset < size; ) { in send_msg()
163 ret = rsend(rs, buf + offset, size - offset, flags); in send_msg()
165 offset += ret; in send_msg()
178 int offset, ret; in send_xfer() local
185 for (offset = 0; offset < size; ) { in send_xfer()
192 ret = riowrite(rs, buf + offset, size - offset, offset, flags); in send_xfer()
194 offset += ret; in send_xfer()
214 for (offset = 0; offset < size; ) { in recv_msg()
221 ret = rrecv(rs, buf + offset, size - offset, flags); in recv_msg()
[all …]
/freebsd/sys/fs/ext2fs/
H A Dext2_csum.c136 offset += sizeof(dummy_crc); in ext2_extattr_blk_csum()
138 fs->e2fs_bsize - offset); in ext2_extattr_blk_csum()
287 if (offset) in ext2_get_dx_count()
288 *offset = count_offset; in ext2_get_dx_count()
576 unsigned int offset, csum_size; in ext2_ei_csum() local
590 offset += csum_size; in ext2_ei_csum()
592 E2FS_REV0_INODE_SIZE - offset); in ext2_ei_csum()
604 offset += csum_size; in ext2_ei_csum()
608 EXT2_INODE_SIZE(fs) - offset); in ext2_ei_csum()
675 size_t offset; in ext2_gd_csum() local
[all …]
/freebsd/sys/dev/ipmi/
H A Dipmi_isa.c115 info->offset = 1; in ipmi_hint_identify()
120 info->offset = 1; in ipmi_hint_identify()
125 info->offset = 1; in ipmi_hint_identify()
154 info->offset = 1; in ipmi_hint_identify()
157 info->offset = 2; in ipmi_hint_identify()
160 info->offset = 4; in ipmi_hint_identify()
207 (uintmax_t)info.address, info.offset, in ipmi_isa_attach()
215 sc->ipmi_io_spacing = info.offset; in ipmi_isa_attach()
216 if (info.offset == 1) { in ipmi_isa_attach()
229 &sc->ipmi_io_rid, info.address + i * info.offset, in ipmi_isa_attach()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DCompactUnwindInfo.cpp290 offset_t offset = 0; in ScanIndex() local
304 m_unwindinfo_data.GetU32(&offset); in ScanIndex()
306 m_unwindinfo_data.GetU32(&offset); in ScanIndex()
308 m_unwindinfo_data.GetU32(&offset); in ScanIndex()
344 offset = indexSectionOffset; in ScanIndex()
431 offset = first_entry + ((mid + 1) * 8); in BinarySearchRegularSecondPage()
468 offset = first_entry + ((mid + 1) * 4); in BinarySearchCompressedSecondPage()
544 offset_t offset = second_page_offset; in GetCompactUnwindInfoForFunction() local
591 offset += 4 * personality_index; in GetCompactUnwindInfoForFunction()
675 offset += 4 * personality_index; in GetCompactUnwindInfoForFunction()
[all …]
/freebsd/sys/dev/usb/
H A Dusb_busdma.c99 offset += pc->page_offset_buf; in usbd_get_page()
106 page += (offset / USB_PAGE_SIZE); in usbd_get_page()
108 offset %= USB_PAGE_SIZE; in usbd_get_page()
146 usbd_get_page(pc, offset, &buf_res); in usb_pc_buffer_is_aligned()
155 offset += buf_res.length; in usb_pc_buffer_is_aligned()
178 offset += buf_res.length; in usbd_copy_in()
209 offset += buf_res.length; in usbd_copy_in_user()
288 usbd_get_page(cache, offset, &res); in usbd_copy_out()
295 offset += res.length; in usbd_copy_out()
326 offset += res.length; in usbd_copy_out_user()
[all …]
/freebsd/sys/dev/hptrr/
H A Dhptrr_os_bsd.c55 HPT_U8 os_pci_readb (void *osext, HPT_U8 offset) in os_pci_readb() argument
57 return pci_read_config(((PHBA)osext)->pcidev, offset, 1); in os_pci_readb()
60 HPT_U16 os_pci_readw (void *osext, HPT_U8 offset) in os_pci_readw() argument
62 return pci_read_config(((PHBA)osext)->pcidev, offset, 2); in os_pci_readw()
65 HPT_U32 os_pci_readl (void *osext, HPT_U8 offset) in os_pci_readl() argument
67 return pci_read_config(((PHBA)osext)->pcidev, offset, 4); in os_pci_readl()
70 void os_pci_writeb (void *osext, HPT_U8 offset, HPT_U8 value) in os_pci_writeb() argument
72 pci_write_config(((PHBA)osext)->pcidev, offset, value, 1); in os_pci_writeb()
75 void os_pci_writew (void *osext, HPT_U8 offset, HPT_U16 value) in os_pci_writew() argument
77 pci_write_config(((PHBA)osext)->pcidev, offset, value, 2); in os_pci_writew()
[all …]
/freebsd/sys/contrib/libfdt/
H A Dlibfdt_internal.h65 int fdt_check_node_offset_(const void *fdt, int offset);
66 int fdt_check_prop_offset_(const void *fdt, int offset);
70 static inline const void *fdt_offset_ptr_(const void *fdt, int offset) in fdt_offset_ptr_() argument
72 return (const char *)fdt + fdt_off_dt_struct(fdt) + offset; in fdt_offset_ptr_()
75 static inline void *fdt_offset_ptr_w_(void *fdt, int offset) in fdt_offset_ptr_w_() argument
77 return (void *)(uintptr_t)fdt_offset_ptr_(fdt, offset); in fdt_offset_ptr_w_()
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_init_ops.h97 #define STORE_RT_REG(hwfn, offset, val) \ argument
98 ecore_init_store_rt_reg(hwfn, offset, val)
100 #define OVERWRITE_RT_REG(hwfn, offset, val) \ argument
101 ecore_init_store_rt_reg(hwfn, offset, val)
118 #define STORE_RT_REG_AGG(hwfn, offset, val) \ argument
119 ecore_init_store_rt_agg(hwfn, offset, (u32*)&val, sizeof(val))
/freebsd/sys/dev/e1000/
H A De1000_nvm.c460 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in e1000_read_nvm_spi()
520 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in e1000_read_nvm_microwire()
573 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in e1000_read_nvm_eerd()
621 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in e1000_write_nvm_spi()
704 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in e1000_write_nvm_microwire()
780 u16 offset; in e1000_read_pba_string_generic() local
838 for (offset = 0; offset < 10; offset++) { in e1000_read_pba_string_generic()
839 if (pba_num[offset] < 0xA) in e1000_read_pba_string_generic()
840 pba_num[offset] += '0'; in e1000_read_pba_string_generic()
868 for (offset = 0; offset < length; offset++) { in e1000_read_pba_string_generic()
[all …]
/freebsd/lib/libprocstat/
H A Dcore.c173 off_t offset, eoffset; in procstat_core_get() local
187 offset = core->pc_phdr.p_offset; in procstat_core_get()
191 while (offset < eoffset) { in procstat_core_get()
192 if (!core_offset(core, offset)) in procstat_core_get()
197 offset += sizeof(nhdr) + in procstat_core_get()
304 off_t offset; in core_read_mem() local
327 if (!core_offset(core, offset)) in core_read_mem()
428 off_t offset, eoffset; in procstat_core_note_count() local
438 offset = core->pc_phdr.p_offset; in procstat_core_note_count()
442 if (!core_offset(core, offset)) in procstat_core_note_count()
[all …]
/freebsd/sys/contrib/zstd/zlibWrapper/
H A Dgzlib.c371 z_off64_t offset;
395 offset -= state.state->x.pos;
397 offset += state.state->skip;
417 if (offset < 0) {
434 offset -= n;
438 if (offset) {
440 state.state->skip = offset;
448 z_off_t offset;
488 z_off64_t offset; local
500 if (offset == -1)
[all …]
/freebsd/tools/test/stress2/misc/
H A Dumountf2.sh446 offset, size);
449 c = good_buf[offset];
459 badoff = offset;
461 offset++;
513 doread(unsigned offset, unsigned size)
518 offset -= offset % readbdy;
525 if (size + offset > file_size) {
532 log4(OP_READ, offset, size, 0);
541 (offset + size > monitorstart &&
544 offset, offset + size - 1, size);
[all …]
/freebsd/contrib/mandoc/
H A Droff_term.c72 p->tcol->offset = p->tcol->rmargin; in roff_term_pre_br()
166 p->tcol->offset -= pouse; in roff_term_pre_po()
184 po < -(int)p->tcol->offset ? -(int)p->tcol->offset : po; in roff_term_pre_po()
185 p->tcol->offset += pouse; in roff_term_pre_po()
246 if (p->tcol->offset + len <= maxoff) in roff_term_pre_ti()
248 else if (p->tcol->offset < maxoff) in roff_term_pre_ti()
249 p->ti = maxoff - p->tcol->offset; in roff_term_pre_ti()
254 if ((size_t)len < p->tcol->offset) in roff_term_pre_ti()
257 p->ti = -p->tcol->offset; in roff_term_pre_ti()
262 p->ti = len - p->tcol->offset; in roff_term_pre_ti()
[all …]
/freebsd/contrib/nvi/vi/
H A Dv_scroll.c322 recno_t offset; in v_pagedown() local
345 offset = (F_ISSET(vp, VC_C1SET) ? vp->count : 1) * (IS_SPLIT(sp) ? in v_pagedown()
347 offset = offset <= 2 ? 1 : offset - 2; in v_pagedown()
348 if (vs_sm_scroll(sp, &vp->m_stop, offset, CNTRL_F)) in v_pagedown()
368 recno_t offset; in v_pageup() local
396 offset = (F_ISSET(vp, VC_C1SET) ? vp->count : 1) * (IS_SPLIT(sp) ? in v_pageup()
398 offset = offset <= 2 ? 1 : offset - 2; in v_pageup()
399 if (vs_sm_scroll(sp, &vp->m_stop, offset, CNTRL_B)) in v_pageup()
/freebsd/sys/dev/ice/
H A Dice_dcb.c295 u8 offset = 0; in ice_parse_ieee_ets_common_tlv() local
313 offset++; in ice_parse_ieee_ets_common_tlv()
437 offset++; in ice_parse_ieee_app_tlv()
457 offset += 3; in ice_parse_ieee_app_tlv()
538 offset++; in ice_parse_cee_pgcfg_tlv()
1326 offset++; in ice_add_ieee_ets_common_tlv()
1344 offset++; in ice_add_ieee_ets_common_tlv()
1482 offset++; in ice_add_ieee_app_pri_tlv()
1498 offset += 3; in ice_add_ieee_app_pri_tlv()
1603 offset = 5; in ice_add_dscp_tc_bw_tlv()
[all …]
/freebsd/crypto/openssl/crypto/bio/
H A Dbss_bio.c172 peer_b->offset += chunk; in bio_read()
175 peer_b->offset = 0; in bio_read()
180 peer_b->offset = 0; in bio_read()
258 peer_b->offset += num; in bio_nread()
261 peer_b->offset = 0; in bio_nread()
263 peer_b->offset = 0; in bio_nread()
530 b->offset = 0; in bio_ctrl()
628 b1->offset = 0; in bio_make_pair()
638 b2->offset = 0; in bio_make_pair()
671 peer_b->offset = 0; in bio_destroy_pair()
[all …]
/freebsd/sys/arm/mv/clk/
H A Dperiph.h53 #define RD4(_clk, offset, val) \ argument
93 .clk_def.full_dd.gate.offset = CLK_DIS, \
127 .clk_def.full_d.gate.offset = CLK_DIS, \
142 .clk_def.cpu.tbg_mux.offset = TBG_SEL, \
147 .clk_def.cpu.div.offset = _div1_reg, \
155 .clk_def.cpu.clk_mux.offset = CLK_SEL, \
169 .clk_def.gate.gate.offset = CLK_DIS, \
190 .clk_def.mdd.div1.offset = _div1_reg, \
198 .clk_def.mdd.div2.offset = _div2_reg, \
263 .clk_def.fixed.mux.offset = TBG_SEL, \
[all …]
/freebsd/sys/dev/clk/allwinner/
H A Dccu_a13.c158 .offset = 0x00,
179 .offset = 0x08,
198 .offset = 0x20,
215 .offset = 0x20,
228 .offset = 0x20,
240 .offset = 0x28,
259 .offset = 0x54,
278 .offset = 0x50,
290 .offset = 0x54,
322 .offset = 0x54,
[all …]
H A Daw_clk_nkmp.c45 uint32_t offset; member
84 READ4(clk, sc->offset, &val); in aw_clk_nkmp_init()
106 READ4(clk, sc->offset, &val); in aw_clk_nkmp_set_gate()
111 WRITE4(clk, sc->offset, val); in aw_clk_nkmp_set_gate()
129 READ4(clk, sc->offset, &val); in aw_clk_nkmp_set_mux()
132 WRITE4(clk, sc->offset, val); in aw_clk_nkmp_set_mux()
197 READ4(clk, sc->offset, &val); in aw_clk_nkmp_set_freq_scale()
205 WRITE4(clk, sc->offset, val); in aw_clk_nkmp_set_freq_scale()
220 WRITE4(clk, sc->offset, val); in aw_clk_nkmp_set_freq_scale()
331 READ4(clk, sc->offset, &val); in aw_clk_nkmp_recalc()
[all …]
/freebsd/sys/arm/allwinner/
H A Daw_sid.c71 bus_size_t offset; member
81 .offset = 0x0,
93 .offset = 0x00,
102 .offset = 0x34,
114 .offset = 0x00,
123 .offset = 0x34,
135 .offset = 0x00,
144 .offset = 0x34,
156 .offset = 0x00,
165 .offset = 0x34,
[all …]
/freebsd/sys/contrib/device-tree/Bindings/leds/
H A Dregister-bit-led.txt17 - offset : register offset to the register controlling this LED
37 offset = <0x08>;
45 offset = <0x08>;
53 offset = <0x08>;
61 offset = <0x08>;
68 offset = <0x08>;
75 offset = <0x08>;
82 offset = <0x08>;
89 offset = <0x08>;
/freebsd/sys/dev/sound/pci/
H A Dcsavar.h61 int csa_readcodec(csa_res *resp, u_long offset, u_int32_t *data);
62 int csa_writecodec(csa_res *resp, u_long offset, u_int32_t data);
64 u_int32_t csa_readio(csa_res *resp, u_long offset);
65 void csa_writeio(csa_res *resp, u_long offset, u_int32_t data);
66 u_int32_t csa_readmem(csa_res *resp, u_long offset);
67 void csa_writemem(csa_res *resp, u_long offset, u_int32_t data);
/freebsd/usr.sbin/mpsutil/
H A Dmps_debug.c62 int numframes, error, offset; in debug_dumpreqs() local
97 if ((offset = find_sgl(buf)) != -1) in debug_dumpreqs()
98 print_sgl(buf, offset, numframes); in debug_dumpreqs()
112 int offset = 0; in find_sgl() local
119 offset = scsi->SGLOffset0; in find_sgl()
122 offset = -1; in find_sgl()
125 return (offset); in find_sgl()
131 print_sgl(char *buf, int offset, int numframes) in print_sgl() argument
139 sge = (MPI2_SGE_SIMPLE64 *)&frame[offset * 4]; in print_sgl()

12345678910>>...166