Home
last modified time | relevance | path

Searched refs:segments (Results 1 – 25 of 231) sorted by relevance

12345678910

/openbmc/qemu/hw/display/
H A Djazz_led.c45 uint8_t segments; member
56 val = s->segments; in jazz_led_read()
70 s->segments = new_val; in jazz_led_write()
196 (s->segments & 0x04) ? color_segment : 0); in jazz_led_update_display()
198 (s->segments & 0x08) ? color_segment : 0); in jazz_led_update_display()
202 (s->segments & 0x20) ? color_segment : 0); in jazz_led_update_display()
204 (s->segments & 0x40) ? color_segment : 0); in jazz_led_update_display()
209 if (!(s->segments & 0x01)) { in jazz_led_update_display()
238 snprintf(buf, 3, "%02hhx", s->segments); in jazz_led_text_update()
261 VMSTATE_UINT8(segments, LedState),
[all …]
/openbmc/sdbusplus/tools/sdbusplus/
H A Dpath.py30 segments = self.value.split("/")
32 segments = segments[1:]
33 for s in segments:
43 self.segments = [
/openbmc/linux/kernel/
H A Dkexec.c24 struct kexec_segment *segments, in kimage_alloc_init() argument
45 memcpy(image->segment, segments, nr_segments * sizeof(*segments)); in kimage_alloc_init()
88 struct kexec_segment *segments, unsigned long flags) in do_kexec_load() argument
125 ret = kimage_alloc_init(&image, entry, nr_segments, segments, flags); in do_kexec_load()
236 struct kexec_segment __user *, segments, unsigned long, flags) in SYSCALL_DEFINE4()
250 ksegments = memdup_array_user(segments, nr_segments, sizeof(ksegments[0])); in SYSCALL_DEFINE4()
263 struct compat_kexec_segment __user *, segments, in COMPAT_SYSCALL_DEFINE4() argument
286 result = copy_from_user(&in, &segments[i], sizeof(in)); in COMPAT_SYSCALL_DEFINE4()
/openbmc/phosphor-mrw-tools/
H A DInventory.pm159 my @segments = split('/', $item->{TARGET});
161 for my $s (@segments) {
197 my @segments = split('/', $item->{TARGET});
199 for my $s (@segments) {
263 my @segments = split('/', $item->{TARGET});
266 for my $s (@segments) {
317 my @segments = split('/', $item->{TARGET});
320 for my $s (@segments) {
372 my @segments = split('/', $item->{OBMC_NAME});
373 for my $segment (@segments) {
H A Dinventory.pl160 my @segments = split('/', $item->{orig_name});
162 for my $s (@segments) {
206 my @segments = split('/', $item->{orig_name});
208 for my $s (@segments) {
255 my @segments = split('/', $item->{name});
257 for my $s (@segments) {
377 my @segments = split('/', $item->{name});
379 for $segment (@segments) {
H A Dgen_path_callouts.pl279 my %segments;
408 push @{$segments{$busType}}, { %segment };
412 return %segments;
486 my ($segments, $callouts) = @_;
489 buildBMCSingleSegmentCallouts($segments, $callouts);
492 buildMultiSegmentCallouts($segments, $callouts);
498 my ($segments, $callouts) = @_;
500 for my $busType (keys %$segments)
502 for my $segment (@{$$segments{$busType}})
545 my ($segments, $callouts) = @_;
[all …]
/openbmc/bmcweb/redfish-core/include/
H A Dredfish_aggregator.hpp69 boost::urls::segments_ref segments = parsedUrl->segments(); in searchCollectionsArray() local
70 if (!segments.is_absolute()) in searchCollectionsArray()
77 if (segments.size() < 2) in searchCollectionsArray()
81 if (segments.front() != "redfish") in searchCollectionsArray()
85 segments.erase(segments.begin()); in searchCollectionsArray()
86 if (segments.front() != "v1") in searchCollectionsArray()
90 segments.erase(segments.begin()); in searchCollectionsArray()
93 if (!segments.empty() && segments.back().empty()) in searchCollectionsArray()
95 segments.pop_back(); in searchCollectionsArray()
100 if (segments.empty()) in searchCollectionsArray()
[all …]
/openbmc/linux/rust/macros/
H A Dpaste.rs7 let mut segments = Vec::new(); in concat() localVariable
12 Some(TokenTree::Literal(lit)) => segments.push((lit.to_string(), lit.span())), in concat()
18 segments.push((value, ident.span())); in concat()
25 let (mut value, sp) = segments.pop().expect("expected identifier before modifier"); in concat()
39 segments.push((value, sp)); in concat()
45 let pasted: String = segments.into_iter().map(|x| x.0).collect(); in concat()
/openbmc/linux/include/uapi/linux/
H A Drpl.h42 } segments; member
45 #define rpl_segaddr segments.addr
46 #define rpl_segdata segments.data
/openbmc/linux/arch/arm/mm/
H A Dproc-arm940.S110 mov r1, #(CACHE_DSEGMENTS - 1) << 4 @ 4 segments
116 bcs 1b @ segments 3 to 0
160 mov r1, #(CACHE_DSEGMENTS - 1) << 4 @ 4 segments
166 bcs 1b @ segments 7 to 0
182 mov r1, #(CACHE_DSEGMENTS - 1) << 4 @ 4 segments
188 bcs 1b @ segments 7 to 0
205 mov r1, #(CACHE_DSEGMENTS - 1) << 4 @ 4 segments
211 bcs 1b @ segments 7 to 0
227 mov r1, #(CACHE_DSEGMENTS - 1) << 4 @ 4 segments
238 bcs 1b @ segments 7 to 0
/openbmc/linux/Documentation/powerpc/
H A Dpci_iov_resource_on_powernv.rst108 more segments.
120 has 256 segments; however, there is no table for mapping a segment
135 trick, to match to those giant segments.
153 PEs" that are used for the remaining M64 segments.
196 BARs span several segments.
212 another M64 window to assign 32MB segments.
216 effectively reserve the entire 256 segments (256 * VF BAR size) and
218 segments/PEs inside that M64 window.
279 responds to segments [total_VFs, 255].
308 segments to cover a VF BAR, and a VF will be in several PEs. This is
[all …]
/openbmc/linux/drivers/net/ethernet/sfc/
H A Def100_tx.c383 unsigned int segments; in __ef100_enqueue_skb() local
392 segments = skb_is_gso(skb) ? skb_shinfo(skb)->gso_segs : 0; in __ef100_enqueue_skb()
393 if (segments == 1) in __ef100_enqueue_skb()
394 segments = 0; /* Don't use TSO/GSO for a single segment. */ in __ef100_enqueue_skb()
395 if (segments && !ef100_tx_can_tso(tx_queue, skb)) { in __ef100_enqueue_skb()
448 rc = efx_tx_map_data(tx_queue, skb, segments); in __ef100_enqueue_skb()
451 ef100_tx_make_descriptors(tx_queue, skb, segments, efv); in __ef100_enqueue_skb()
489 if (segments) { in __ef100_enqueue_skb()
491 tx_queue->tso_packets += segments; in __ef100_enqueue_skb()
492 tx_queue->tx_packets += segments; in __ef100_enqueue_skb()
H A Dtx.c327 unsigned int segments; in __efx_enqueue_skb() local
332 segments = skb_is_gso(skb) ? skb_shinfo(skb)->gso_segs : 0; in __efx_enqueue_skb()
333 if (segments == 1) in __efx_enqueue_skb()
334 segments = 0; /* Don't use TSO for a single segment. */ in __efx_enqueue_skb()
340 if (segments) { in __efx_enqueue_skb()
379 if (!data_mapped && (efx_tx_map_data(tx_queue, skb, segments))) in __efx_enqueue_skb()
390 if (segments) { in __efx_enqueue_skb()
392 tx_queue->tso_packets += segments; in __efx_enqueue_skb()
393 tx_queue->tx_packets += segments; in __efx_enqueue_skb()
/openbmc/linux/drivers/net/ethernet/sfc/siena/
H A Dtx.c145 unsigned int segments; in __efx_siena_enqueue_skb() local
150 segments = skb_is_gso(skb) ? skb_shinfo(skb)->gso_segs : 0; in __efx_siena_enqueue_skb()
151 if (segments == 1) in __efx_siena_enqueue_skb()
152 segments = 0; /* Don't use TSO for a single segment. */ in __efx_siena_enqueue_skb()
158 if (segments) { in __efx_siena_enqueue_skb()
173 if (!data_mapped && (efx_siena_tx_map_data(tx_queue, skb, segments))) in __efx_siena_enqueue_skb()
/openbmc/linux/block/
H A Dblk-integrity.c30 unsigned int segments = 0; in blk_rq_count_integrity_sg() local
46 segments++; in blk_rq_count_integrity_sg()
54 return segments; in blk_rq_count_integrity_sg()
73 unsigned int segments = 0; in blk_rq_map_integrity_sg() local
96 segments++; in blk_rq_map_integrity_sg()
106 return segments; in blk_rq_map_integrity_sg()
/openbmc/qemu/scripts/
H A Ddump-guest-memory.py71 self.segments = []
137 self.segments[0].p_filesz += ctypes.sizeof(note)
138 self.segments[0].p_memsz += ctypes.sizeof(note)
156 self.segments[0].p_filesz += ctypes.sizeof(note)
157 self.segments[0].p_memsz += ctypes.sizeof(note)
168 self.segments.append(phdr)
184 len(self.segments) * ctypes.sizeof(self.segments[0])
186 for phdr in self.segments:
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-fs-nilfs2183 What: /sys/fs/nilfs2/<device>/segments/segments_number
187 Show number of segments on a volume.
189 What: /sys/fs/nilfs2/<device>/segments/blocks_per_segment
195 What: /sys/fs/nilfs2/<device>/segments/clean_segments
199 Show count of clean segments.
201 What: /sys/fs/nilfs2/<device>/segments/dirty_segments
205 Show count of dirty segments.
207 What: /sys/fs/nilfs2/<device>/segments/README
211 Describe attributes of /sys/fs/nilfs2/<device>/segments
H A Dsysfs-driver-jz4780-efuse6 split into segments. The driver supports read only.
7 The segments are:
/openbmc/bmcweb/http/
H A Dutility.hpp324 url.segments().push_back(arg); in appendUrlPieces()
387 std::initializer_list<UrlSegment> segments) in readUrlSegments() argument
389 const boost::urls::segments_view& urlSegments = url.segments(); in readUrlSegments()
399 for (const auto& segment : segments) in readUrlSegments()
440 const boost::urls::segments_view& urlSegments = urlView.segments(); in replaceUrlSegment()
455 url.segments().push_back(newSegment); in replaceUrlSegment()
459 url.segments().push_back(*it); in replaceUrlSegment()
/openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/
H A D0006-kexec-syscall.h-work-around-missing-syscall-wrapper.patch28 struct kexec_segment *segments, unsigned long flags)
30 return (long) syscall(__NR_kexec_load, entry, nr_segments, segments, flags);
34 + struct kexec_segment *segments, unsigned long flags);
/openbmc/openbmc/poky/meta/recipes-devtools/patchelf/patchelf/
H A D0002-align-startOffset-with-p_align-instead-of-pagesize-f.patch7 According to the ELF specification, the alignment of loadable process segments
14 that newly added LOAD segments satisfy (p_vaddr mod p_align) == (p_offset mod
35 + The ELF specification requires that loadable process segments satisfy
/openbmc/qemu/hw/ssi/
H A Daspeed_smc.c306 if ((asc->segments == aspeed_2500_spi1_segments || in aspeed_smc_flash_set_segment()
307 asc->segments == aspeed_2500_spi2_segments) && in aspeed_smc_flash_set_segment()
309 seg.addr + seg.size != asc->segments[cs].addr + in aspeed_smc_flash_set_segment()
310 asc->segments[cs].size) { in aspeed_smc_flash_set_segment()
313 seg.size = asc->segments[cs].addr + asc->segments[cs].size - in aspeed_smc_flash_set_segment()
1253 offset += asc->segments[i].size; in aspeed_smc_realize()
1385 asc->segments = aspeed_2400_smc_segments; in aspeed_2400_smc_class_init()
1431 asc->segments = aspeed_2400_fmc_segments; in aspeed_2400_fmc_class_init()
1517 asc->segments = aspeed_2500_fmc_segments; in aspeed_2500_fmc_class_init()
1676 asc->segments = aspeed_2600_fmc_segments; in aspeed_2600_fmc_class_init()
[all …]
/openbmc/linux/drivers/dma/xilinx/
H A Dxilinx_dma.c371 struct list_head segments; member
647 seg = list_first_entry(&desc->segments, in xilinx_dma_get_metadata_ptr()
839 INIT_LIST_HEAD(&desc->segments); in xilinx_dma_alloc_tx_descriptor()
868 &desc->segments, node) { in xilinx_dma_free_tx_descriptor()
874 &desc->segments, node) { in xilinx_dma_free_tx_descriptor()
880 &desc->segments, node) { in xilinx_dma_free_tx_descriptor()
990 list_for_each(entry, &desc->segments) { in xilinx_dma_get_residue()
1722 seg = list_last_entry(&desc->segments, in xilinx_dma_complete_descriptor()
1961 list_last_entry(&tail_desc->segments, in append_desc_queue()
2099 segment = list_first_entry(&desc->segments, in xilinx_vdma_dma_prep_interleaved()
[all …]
/openbmc/linux/drivers/char/agp/
H A Dfrontend.c112 seg = *(client->segments); in agp_find_seg_in_client()
129 if (client->segments != NULL) { in agp_remove_seg_from_client()
130 if (*(client->segments) != NULL) { in agp_remove_seg_from_client()
131 DBG("Freeing %p from client %p", *(client->segments), client); in agp_remove_seg_from_client()
132 kfree(*(client->segments)); in agp_remove_seg_from_client()
134 DBG("Freeing %p from client %p", client->segments, client); in agp_remove_seg_from_client()
135 kfree(client->segments); in agp_remove_seg_from_client()
136 client->segments = NULL; in agp_remove_seg_from_client()
145 prev_seg = client->segments; in agp_add_seg_to_client()
152 client->segments = seg; in agp_add_seg_to_client()
/openbmc/u-boot/board/alliedtelesis/x530/
H A Dx530.c106 static int led_7seg_init(unsigned int segments) in led_7seg_init() argument
125 ret = dm_gpio_set_value(&desc[i], !(segments & BIT(i))); in led_7seg_init()

12345678910