/openbmc/qemu/hw/display/ |
H A D | jazz_led.c | 45 uint8_t segments; member 56 val = s->segments; in jazz_led_read() 70 s->segments = new_val; in jazz_led_write() 194 (s->segments & 0x02) ? color_segment : 0); in jazz_led_update_display() 196 (s->segments & 0x04) ? color_segment : 0); in jazz_led_update_display() 198 (s->segments & 0x08) ? color_segment : 0); in jazz_led_update_display() 200 (s->segments & 0x10) ? 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() 206 (s->segments & 0x80) ? color_segment : 0); in jazz_led_update_display() [all …]
|
/openbmc/linux/kernel/ |
H A D | kexec.c | 24 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 D | Inventory.pm | 159 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 D | inventory.pl | 160 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 D | gen_path_callouts.pl | 279 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/sdbusplus/tools/sdbusplus/ |
H A D | path.py | 30 segments = self.value.split("/") 32 segments = segments[1:] 33 for s in segments: 43 self.segments = [
|
/openbmc/bmcweb/redfish-core/include/ |
H A D | redfish_aggregator.hpp | 103 boost::urls::segments_ref segments = parsedUrl->segments(); in searchCollectionsArray() local 104 if (!segments.is_absolute()) in searchCollectionsArray() 111 if (segments.size() < 2) in searchCollectionsArray() 115 if (segments.front() != "redfish") in searchCollectionsArray() 119 segments.erase(segments.begin()); in searchCollectionsArray() 120 if (segments.front() != "v1") in searchCollectionsArray() 124 segments.erase(segments.begin()); in searchCollectionsArray() 127 if (!segments.empty() && segments.back().empty()) in searchCollectionsArray() 129 segments.pop_back(); in searchCollectionsArray() 134 if (segments.empty()) in searchCollectionsArray() [all …]
|
/openbmc/linux/rust/macros/ |
H A D | paste.rs | 7 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/arch/arm/mm/ |
H A D | proc-arm940.S | 110 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 D | pci_iov_resource_on_powernv.rst | 95 * It is divided into 256 segments of equal size. A table in the chip 108 more segments. 120 has 256 segments; however, there is no table for mapping a segment 135 trick, to match to those giant segments. 144 - We cannot "group" segments in HW, so if a device ends up using more 153 PEs" that are used for the remaining M64 segments. 189 equally-sized segments. The finest granularity possible is a 256MB 190 window with 1MB segments. VF BARs that are 1MB or larger could be 196 BARs span several segments. 202 like the M32 window, but the segments can't be individually mapped to [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | rpl.h | 42 } segments; member 45 #define rpl_segaddr segments.addr 46 #define rpl_segdata segments.data
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | ef100_tx.c | 383 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 D | tx.c | 327 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/bmcweb/http/ |
H A D | utility.hpp | 331 url.segments().push_back(arg); in appendUrlPieces() 382 std::initializer_list<UrlSegment> segments) in readUrlSegments() argument 384 const boost::urls::segments_view& urlSegments = url.segments(); in readUrlSegments() 394 for (const auto& segment : segments) in readUrlSegments() 435 const boost::urls::segments_view& urlSegments = urlView.segments(); in replaceUrlSegment() 450 url.segments().push_back(newSegment); in replaceUrlSegment() 454 url.segments().push_back(*it); in replaceUrlSegment()
|
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A D | tx.c | 145 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()
|
H A D | tx_common.c | 435 struct sk_buff *segments, *next; in efx_siena_tx_tso_fallback() local 437 segments = skb_gso_segment(skb, 0); in efx_siena_tx_tso_fallback() 438 if (IS_ERR(segments)) in efx_siena_tx_tso_fallback() 439 return PTR_ERR(segments); in efx_siena_tx_tso_fallback() 443 skb_list_walk_safe(segments, skb, next) { in efx_siena_tx_tso_fallback()
|
/openbmc/qemu/scripts/ |
H A D | dump-guest-memory.py | 71 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/block/ |
H A D | blk-integrity.c | 30 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/linux/Documentation/ABI/testing/ |
H A D | sysfs-fs-nilfs2 | 183 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 D | sysfs-driver-jz4780-efuse | 6 split into segments. The driver supports read only. 7 The segments are:
|
/openbmc/qemu/hw/ssi/ |
H A D | aspeed_smc.c | 308 if ((asc->segments == aspeed_2500_spi1_segments || in aspeed_smc_flash_set_segment() 309 asc->segments == aspeed_2500_spi2_segments) && in aspeed_smc_flash_set_segment() 311 seg.addr + seg.size != asc->segments[cs].addr + in aspeed_smc_flash_set_segment() 312 asc->segments[cs].size) { in aspeed_smc_flash_set_segment() 315 seg.size = asc->segments[cs].addr + asc->segments[cs].size - in aspeed_smc_flash_set_segment() 752 asc->segment_to_reg(s, &asc->segments[i])); in aspeed_smc_reset() 1335 offset += asc->segments[i].size; in aspeed_smc_realize() 1409 s, name, s->asc->segments[s->cs].size); in aspeed_smc_flash_realize() 1475 asc->segments = aspeed_2400_smc_segments; in aspeed_2400_smc_class_init() 1521 asc->segments = aspeed_2400_fmc_segments; in aspeed_2400_fmc_class_init() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/ |
H A D | 0006-kexec-syscall.h-work-around-missing-syscall-wrapper.patch | 28 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 D | 0002-align-startOffset-with-p_align-instead-of-pagesize-f.patch | 7 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/linux/drivers/dma/xilinx/ |
H A D | xilinx_dma.c | 371 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() 862 list_for_each_entry_safe(segment, next, &desc->segments, node) { in xilinx_dma_free_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() 1426 list_for_each_entry(segment, &desc->segments, node) { in xilinx_vdma_start_transfer() 1481 tail_segment = list_last_entry(&tail_desc->segments, in xilinx_cdma_start_transfer() [all …]
|
/openbmc/linux/drivers/char/agp/ |
H A D | frontend.c | 112 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()
|