Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 25 of 3331) sorted by relevance

12345678910>>...134

/openbsd/sys/arch/sh/dev/
H A Dshpcic.c638 offset += 1; in shpcic_io_read_region_1()
648 offset += 2; in shpcic_io_read_region_2()
658 offset += 4; in shpcic_io_read_region_4()
668 offset += 1; in shpcic_mem_read_region_1()
678 offset += 2; in shpcic_mem_read_region_2()
688 offset += 4; in shpcic_mem_read_region_4()
704 offset += 2; in shpcic_io_read_raw_region_2()
716 offset += 4; in shpcic_io_read_raw_region_4()
728 offset += 2; in shpcic_mem_read_raw_region_2()
740 offset += 4; in shpcic_mem_read_raw_region_4()
[all …]
H A Dshpcicvar.h96 bus_size_t offset, uint8_t *addr, bus_size_t count);
144 bus_size_t offset, uint8_t data);
146 bus_size_t offset, uint16_t data);
148 bus_size_t offset, uint32_t data);
150 bus_size_t offset, uint8_t data);
152 bus_size_t offset, uint16_t data);
154 bus_size_t offset, uint32_t data);
206 bus_size_t offset, uint8_t val, bus_size_t count);
212 bus_size_t offset, uint8_t val, bus_size_t count);
220 bus_size_t offset, uint8_t val, bus_size_t count);
[all …]
/openbsd/gnu/llvm/lldb/source/Utility/
H A DDataEncoder.cpp51 if (ValidOffset(offset)) { in PutU8()
53 return offset + 1; in PutU8()
98 return PutU8(offset, value); in PutUnsigned()
100 return PutU16(offset, value); in PutUnsigned()
102 return PutU32(offset, value); in PutUnsigned()
104 return PutU64(offset, value); in PutUnsigned()
114 return offset; in PutData()
118 return offset + src_len; in PutData()
140 PutU16(offset, value); in AppendU16()
146 PutU32(offset, value); in AppendU32()
[all …]
/openbsd/gnu/usr.bin/perl/dist/Tie-File/t/
H A D42_offset.t37 is ($o->offset(0), 0, 'first is ok');
38 is ($o->offset(1), 8, 'and second ok');
42 is ($o->offset(0), 0, 'first is ok');
43 is ($o->offset(1), 8, 'and second ok');
44 is ($o->offset(2), 14, 'and third ok');
48 is ($o->offset(0), 0, 'first is ok');
49 is ($o->offset(1), 8, 'and second ok');
50 is ($o->offset(2), 14, 'and third ok');
55 is ($o->offset(0), 0, 'first is ok');
56 is ($o->offset(1), 8, 'and second ok');
[all …]
/openbsd/gnu/llvm/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.cpp28 const lldb::offset_t saved_offset = *offset; in GetMaxU64()
29 *value = data.GetMaxU64(offset, byte_size); in GetMaxU64()
30 return *offset != saved_offset; in GetMaxU64()
36 lldb::offset_t saved_offset = *offset; in GetMaxU64()
40 *offset = saved_offset; in GetMaxU64()
50 const lldb::offset_t saved_offset = *offset; in GetMaxS64()
51 *value = data.GetMaxS64(offset, byte_size); in GetMaxS64()
52 return *offset != saved_offset; in GetMaxS64()
58 lldb::offset_t saved_offset = *offset; in GetMaxS64()
62 *offset = saved_offset; in GetMaxS64()
[all …]
/openbsd/sys/dev/pci/drm/i915/display/
H A Ddvo_ns2501.c195 u8 offset; member
301 [0] = { .offset = 0x0a, .value = 0x81, },
303 [1] = { .offset = 0x12, .value = 0x02, },
304 [2] = { .offset = 0x18, .value = 0x07, },
305 [3] = { .offset = 0x19, .value = 0x00, },
308 [5] = { .offset = 0x1e, .value = 0x02, },
309 [6] = { .offset = 0x1f, .value = 0x40, },
310 [7] = { .offset = 0x20, .value = 0x00, },
311 [8] = { .offset = 0x21, .value = 0x00, },
312 [9] = { .offset = 0x22, .value = 0x00, },
[all …]
/openbsd/sys/dev/pci/drm/amd/display/dmub/src/
H A Ddmub_dcn30.c91 union dmub_addr offset; in dmub_dcn30_backdoor_load() local
100 dmub_dcn30_translate_addr(&cw0->offset, fb_base, fb_offset, &offset); in dmub_dcn30_backdoor_load()
109 dmub_dcn30_translate_addr(&cw1->offset, fb_base, fb_offset, &offset); in dmub_dcn30_backdoor_load()
129 union dmub_addr offset; in dmub_dcn30_setup_windows() local
133 offset = cw2->offset; in dmub_dcn30_setup_windows()
149 offset = cw3->offset; in dmub_dcn30_setup_windows()
158 offset = cw4->offset; in dmub_dcn30_setup_windows()
169 REG_WRITE(DMCUB_REGION4_OFFSET, offset.u.low_part); in dmub_dcn30_setup_windows()
177 offset = cw5->offset; in dmub_dcn30_setup_windows()
186 REG_WRITE(DMCUB_REGION5_OFFSET, offset.u.low_part); in dmub_dcn30_setup_windows()
[all …]
/openbsd/regress/usr.bin/mandoc/mdoc/Bl/
H A Doffset.out_markdown5 **Bl-offset** - various arguments for Bl offset
9 Bl item offset empty
11 Bl item offset left
13 Bl item offset indent
15 Bl item offset indent-two
17 Bl item offset 4n
19 Bl item offset mystring
21 Bl item offset Ds
23 Bl item offset 78n
25 Bl item offset -3n
[all …]
H A Doffset.out_ascii7 Bl item offset empty
9 Bl item offset left
11 Bl item offset indent
13 Bl item offset indent-two
15 Bl item offset 4n
17 Bl item offset mystring
19 Bl item offset Ds
26 Bl item offset -3n
28 tag Bl tag width Ds offset empty
30 tag Bl tag width Ds offset left
[all …]
/openbsd/sys/arch/landisk/dev/
H A Dobio.c338 *nbshp = bsh + offset; in obio_iomem_subregion()
564 return *(volatile uint8_t *)(bsh + offset); in obio_iomem_read_1()
570 return *(volatile uint16_t *)(bsh + offset); in obio_iomem_read_2()
576 return *(volatile uint32_t *)(bsh + offset); in obio_iomem_read_4()
583 volatile uint8_t *p = (void *)(bsh + offset); in obio_iomem_read_multi_1()
642 volatile uint8_t *p = (void *)(bsh + offset); in obio_iomem_read_region_1()
702 *(volatile uint8_t *)(bsh + offset) = value; in obio_iomem_write_1()
709 *(volatile uint16_t *)(bsh + offset) = value; in obio_iomem_write_2()
716 *(volatile uint32_t *)(bsh + offset) = value; in obio_iomem_write_4()
723 volatile uint8_t *p = (void *)(bsh + offset); in obio_iomem_write_multi_1()
[all …]
/openbsd/gnu/llvm/lldb/source/API/
H A DSBData.cpp126 if (offset == old_offset) in GetFloat()
141 if (offset == old_offset) in GetDouble()
156 if (offset == old_offset) in GetLongDouble()
171 if (offset == old_offset) in GetAddress()
186 if (offset == old_offset) in GetUnsignedInt8()
201 if (offset == old_offset) in GetUnsignedInt16()
216 if (offset == old_offset) in GetUnsignedInt32()
231 if (offset == old_offset) in GetUnsignedInt64()
246 if (offset == old_offset) in GetSignedInt8()
261 if (offset == old_offset) in GetSignedInt16()
[all …]
/openbsd/lib/libcrypto/cms/
H A Dcms_asn1.c243 .offset = offsetof(CMS_SignerInfo, version),
250 .offset = offsetof(CMS_SignerInfo, sid),
278 .offset = offsetof(CMS_SignerInfo, signature),
359 .offset = offsetof(CMS_SignedData, version),
387 .offset = offsetof(CMS_SignedData, crls),
421 .offset = offsetof(CMS_OriginatorInfo, crls),
790 .offset = offsetof(CMS_KEKIdentifier, date),
1378 .offset = 0,
1404 .offset = 0,
1427 .offset = 0,
[all …]
/openbsd/sys/arch/luna88k/include/
H A Dbus.h136 *nbshp = bsh + offset; in bus_space_subregion()
235 __bus_space_read_2(tag, handle, offset); in bus_space_read_raw_multi_2()
247 __bus_space_read_4(tag, handle, offset); in bus_space_read_raw_multi_4()
276 offset += 2; in bus_space_read_region_2()
286 offset += 4; in bus_space_read_region_4()
407 offset += 2; in bus_space_write_region_2()
417 offset += 4; in bus_space_write_region_4()
440 bus_space_write_1(tag, handle, offset, value); in bus_space_set_multi_1()
448 bus_space_write_2(tag, handle, offset, value); in bus_space_set_multi_2()
487 offset += 2; in bus_space_set_region_2()
[all …]
/openbsd/usr.sbin/dhcrelay/
H A Dpacket.c117 offset += ETHER_HDR_LEN; in assemble_hw_header()
123 return (offset); in assemble_hw_header()
150 offset += sizeof(ip); in assemble_udp_ip_header()
163 offset += sizeof(udp); in assemble_udp_ip_header()
165 return (offset); in assemble_udp_ip_header()
179 offset += ENC_HDRLEN; in decode_hw_header()
181 if (buflen < offset + ip_len) in decode_hw_header()
191 offset += ip_len; in decode_hw_header()
203 offset += ETHER_HDR_LEN; in decode_hw_header()
212 return (offset); in decode_hw_header()
[all …]
/openbsd/gnu/llvm/lldb/source/Core/
H A DDumpDataExtractor.cpp116 return offset; in DumpAPInt()
164 return offset; in DumpInstructions()
425 return offset; in DumpDataExtractor()
470 return offset; in DumpDataExtractor()
583 return offset; in DumpDataExtractor()
760 offset = in DumpDataExtractor()
768 offset = in DumpDataExtractor()
837 offset = in DumpDataExtractor()
845 offset = in DumpDataExtractor()
853 offset = in DumpDataExtractor()
[all …]
/openbsd/sys/dev/pci/drm/i915/gvt/
H A Dhandlers.c105 if (e->offset == offset) in intel_gvt_find_mmio_info()
124 start = offset; in setup_mmio_info()
885 if (offset < start || offset > end) in calc_index()
1156 #define OFFSET_TO_DP_AUX_PORT(offset) (((offset) & 0xF00) >> 8) argument
1377 if (display->sbi.registers[i].offset == offset) in write_virtual_sbi_register()
1389 display->sbi.registers[i].offset = offset; in write_virtual_sbi_register()
1563 if ((offset == _PS_1A_CTRL || offset == _PS_2A_CTRL || in pf_write()
1564 offset == _PS_1B_CTRL || offset == _PS_2B_CTRL || in pf_write()
1757 offset); in hws_pga_write()
2805 if (offset >= i915_mmio_reg_offset(block->offset) && in find_mmio_block()
[all …]
/openbsd/usr.sbin/vmd/
H A Dpacket.c115 offset += ETHER_HDR_LEN; in assemble_hw_header()
121 return (offset); in assemble_hw_header()
148 offset += sizeof(ip); in assemble_udp_ip_header()
161 offset += sizeof(udp); in assemble_udp_ip_header()
163 return (offset); in assemble_udp_ip_header()
179 offset += ENC_HDRLEN; in decode_hw_header()
181 if (buflen < offset + ip_len) in decode_hw_header()
191 offset += ip_len; in decode_hw_header()
208 offset += ETHER_HDR_LEN; in decode_hw_header()
217 return (offset); in decode_hw_header()
[all …]
/openbsd/gnu/llvm/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDebugMacro.cpp25 header.m_version = debug_macro_data.GetU16(offset); in ParseHeader()
27 uint8_t flags = debug_macro_data.GetU8(offset); in ParseHeader()
39 SkipOperandTable(debug_macro_data, offset); in ParseHeader()
49 debug_macro_data.GetU8(offset); in SkipOperandTable()
55 debug_macro_data.GetU8(offset); in SkipOperandTable()
76 line = debug_macro_data.GetULEB128(offset); in ReadMacroEntries()
77 macro_str = debug_macro_data.GetCStr(offset); in ReadMacroEntries()
87 line = debug_macro_data.GetULEB128(offset); in ReadMacroEntries()
89 str_offset = debug_macro_data.GetU64(offset); in ReadMacroEntries()
101 line = debug_macro_data.GetULEB128(offset); in ReadMacroEntries()
[all …]
/openbsd/gnu/llvm/lldb/source/Plugins/Process/MacOSX-Kernel/
H A DCommunicationKDP.cpp82 lldb::offset_t offset = 1; in SendRequestAndGetReply() local
91 offset = 0; in SendRequestAndGetReply()
251 lldb::offset_t offset = 0; in CheckForPacket() local
301 offset = 2; in CheckForPacket()
381 lldb::offset_t offset = 4; in SendRequestReattach() local
408 lldb::offset_t offset = 8; in SendRequestVersion() local
494 lldb::offset_t offset = 8; in SendRequestHostInfo() local
561 lldb::offset_t offset = 8; in SendRequestReadMemory() local
602 lldb::offset_t offset = 8; in SendRequestWriteMemory() local
631 lldb::offset_t offset = 8; in SendRawRequest() local
[all …]
/openbsd/sys/dev/pci/drm/amd/display/dc/gpio/dce110/
H A Dhw_translate_dce110.c40 uint32_t offset, in offset_to_id() argument
45 switch (offset) { in offset_to_id()
193 info->offset = mmDC_GPIO_DDC1_A; in id_to_offset()
196 info->offset = mmDC_GPIO_DDC2_A; in id_to_offset()
199 info->offset = mmDC_GPIO_DDC3_A; in id_to_offset()
202 info->offset = mmDC_GPIO_DDC4_A; in id_to_offset()
205 info->offset = mmDC_GPIO_DDC5_A; in id_to_offset()
208 info->offset = mmDC_GPIO_DDC6_A; in id_to_offset()
225 info->offset = mmDC_GPIO_DDC1_A; in id_to_offset()
228 info->offset = mmDC_GPIO_DDC2_A; in id_to_offset()
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/f/
H A Dbit.c84 element = offset / CHAR_BIT; in ffebit_count()
85 bitno = offset % CHAR_BIT; in ffebit_count()
153 element = offset / CHAR_BIT; in ffebit_set()
154 bitno = offset % CHAR_BIT; in ffebit_set()
180 if (offset >= b->size) in ffebit_test()
182 assert (offset == b->size); in ffebit_test()
187 element = offset / CHAR_BIT; in ffebit_test()
188 bitno = offset % CHAR_BIT; in ffebit_test()
192 for (i = b->size - offset - 1, ++offset; i != 0; --i, ++offset, ++*length) in ffebit_test()
194 element = offset / CHAR_BIT; in ffebit_test()
[all …]
/openbsd/gnu/llvm/lldb/source/Symbol/
H A DDWARFCallFrameInfo.cpp250 lldb::offset_t offset = cie_offset; in ParseCIE() local
382 if (end_offset > offset) { in ParseCIE()
383 cie_sp->inst_offset = offset; in ParseCIE()
386 while (offset < end_offset) { in ParseCIE()
436 lldb::offset_t offset = 0; in GetFDEIndex() local
480 offset = next_entry; in GetFDEIndex()
520 offset = next_entry; in GetFDEIndex()
601 offset = saved_offset; in FDEToUnwindPlan()
603 offset += aug_data_len; in FDEToUnwindPlan()
638 while (m_cfi_data.ValidOffset(offset) && offset < end_offset) { in FDEToUnwindPlan()
[all …]
/openbsd/sys/dev/pci/drm/amd/display/dc/gpio/dce60/
H A Dhw_translate_dce60.c64 uint32_t offset, in offset_to_id() argument
69 switch (offset) { in offset_to_id()
222 info->offset = mmDC_GPIO_DDC1_A; in id_to_offset()
225 info->offset = mmDC_GPIO_DDC2_A; in id_to_offset()
228 info->offset = mmDC_GPIO_DDC3_A; in id_to_offset()
231 info->offset = mmDC_GPIO_DDC4_A; in id_to_offset()
234 info->offset = mmDC_GPIO_DDC5_A; in id_to_offset()
237 info->offset = mmDC_GPIO_DDC6_A; in id_to_offset()
254 info->offset = mmDC_GPIO_DDC1_A; in id_to_offset()
312 info->offset = mmDC_GPIO_HPD_A; in id_to_offset()
[all …]
/openbsd/sys/dev/pci/drm/amd/display/dc/gpio/dce80/
H A Dhw_translate_dce80.c64 uint32_t offset, in offset_to_id() argument
69 switch (offset) { in offset_to_id()
222 info->offset = mmDC_GPIO_DDC1_A; in id_to_offset()
225 info->offset = mmDC_GPIO_DDC2_A; in id_to_offset()
228 info->offset = mmDC_GPIO_DDC3_A; in id_to_offset()
231 info->offset = mmDC_GPIO_DDC4_A; in id_to_offset()
234 info->offset = mmDC_GPIO_DDC5_A; in id_to_offset()
237 info->offset = mmDC_GPIO_DDC6_A; in id_to_offset()
254 info->offset = mmDC_GPIO_DDC1_A; in id_to_offset()
312 info->offset = mmDC_GPIO_HPD_A; in id_to_offset()
[all …]
/openbsd/sys/dev/pci/drm/radeon/
H A Dr600_hdmi.c187 WREG32_P(acr_ctl + offset, in r600_hdmi_update_acr()
193 WREG32_P(HDMI0_ACR_32_0 + offset, in r600_hdmi_update_acr()
223 WREG32(HDMI0_AVI_INFO0 + offset, in r600_set_avi_packet()
225 WREG32(HDMI0_AVI_INFO1 + offset, in r600_set_avi_packet()
227 WREG32(HDMI0_AVI_INFO2 + offset, in r600_set_avi_packet()
229 WREG32(HDMI0_AVI_INFO3 + offset, in r600_set_avi_packet()
251 uint32_t offset = dig->afmt->offset; in r600_hdmi_update_audio_infoframe() local
269 uint32_t offset = dig->afmt->offset; in r600_hdmi_is_audio_buffer_filled() local
302 uint32_t offset = dig->afmt->offset; in r600_hdmi_audio_workaround() local
421 uint32_t offset; in r600_hdmi_update_audio_settings() local
[all …]

12345678910>>...134