/linux/arch/mips/include/asm/ |
H A D | maar.h | 41 phys_addr_t upper, unsigned attrs) in write_maar_pair() argument 45 BUG_ON(((upper & 0xffff) != 0xffff) in write_maar_pair() 46 || ((upper & ~0xffffull) & ~(MIPS_MAAR_ADDR << 4))); in write_maar_pair() 57 write_c0_maar(((upper >> 4) & MIPS_MAAR_ADDR) | attrs); in write_maar_pair() 60 upper >>= MIPS_MAARX_ADDR_SHIFT; in write_maar_pair() 61 writex_c0_maar(((upper >> 4) & MIPS_MAARX_ADDR) | MIPS_MAARX_VH); in write_maar_pair() 101 phys_addr_t upper; member 122 write_maar_pair(i, cfg[i].lower, cfg[i].upper, cfg[i].attrs); in maar_config()
|
/linux/drivers/power/supply/ |
H A D | bq27xxx_battery_hdq.c | 45 int upper, lower; in bq27xxx_battery_hdq_read() local 53 upper = w1_bq27000_read(sl, reg + 1); in bq27xxx_battery_hdq_read() 55 temp = upper; in bq27xxx_battery_hdq_read() 56 if (upper < 0) in bq27xxx_battery_hdq_read() 57 return upper; in bq27xxx_battery_hdq_read() 63 upper = w1_bq27000_read(sl, reg + 1); in bq27xxx_battery_hdq_read() 64 } while (temp != upper && --timeout); in bq27xxx_battery_hdq_read() 69 return (upper << 8) | lower; in bq27xxx_battery_hdq_read()
|
/linux/fs/overlayfs/ |
H A D | export.c | 295 struct dentry *upper = upper_alias ?: index; in ovl_obtain_alias() local 303 if (d_is_dir(upper ?: lower)) in ovl_obtain_alias() 310 oip.upperdentry = dget(upper); in ovl_obtain_alias() 319 dput(upper); in ovl_obtain_alias() 323 if (upper) in ovl_obtain_alias() 454 struct dentry *upper = ovl_index_upper(ofs, index, true); in ovl_lookup_real_inode() local 457 if (IS_ERR_OR_NULL(upper)) in ovl_lookup_real_inode() 458 return upper; in ovl_lookup_real_inode() 467 this = ovl_lookup_real(sb, upper, &ofs->layers[0]); in ovl_lookup_real_inode() 468 dput(upper); in ovl_lookup_real_inode() [all …]
|
/linux/drivers/base/regmap/ |
H A D | regcache-maple.c | 43 unsigned long *entry, *upper, *lower; in regcache_maple_write() local 68 upper = mas_find(&mas, reg + 1); in regcache_maple_write() 69 if (upper) { in regcache_maple_write() 84 if (upper) in regcache_maple_write() 85 memcpy(&entry[reg - index + 1], upper, upper_sz); in regcache_maple_write() 101 kfree(upper); in regcache_maple_write() 112 unsigned long *entry, *lower, *upper; in regcache_maple_drop() local 119 upper = NULL; in regcache_maple_drop() 149 upper = kmemdup_array(&entry[max - mas.index + 1], in regcache_maple_drop() 150 mas.last - max, sizeof(*upper), in regcache_maple_drop() [all …]
|
/linux/kernel/trace/ |
H A D | pid_list.c | 146 upper_chunk = pid_list->upper[upper1]; in trace_pid_list_is_set() 185 upper_chunk = pid_list->upper[upper1]; in trace_pid_list_set() 192 pid_list->upper[upper1] = upper_chunk; in trace_pid_list_set() 237 upper_chunk = pid_list->upper[upper1]; in trace_pid_list_clear() 253 pid_list->upper[upper1] = NULL; in trace_pid_list_clear() 291 upper_chunk = pid_list->upper[upper1]; in trace_pid_list_next() 336 union upper_chunk *upper = NULL; in pid_list_refill_irq() local 338 union upper_chunk **upper_next = &upper; in pid_list_refill_irq() 377 if (upper) { in pid_list_refill_irq() 379 pid_list->upper_list = upper; in pid_list_refill_irq() [all …]
|
/linux/net/tipc/ |
H A D | subscr.c | 54 tipc_evt_write(evt, found_upper, p->sr.upper); in tipc_sub_send_event() 59 tipc_evt_write(evt, found_upper, s->seq.upper); in tipc_sub_send_event() 77 u32 found_upper = found->upper; in tipc_sub_check_overlap() 81 if (found_upper > subscribed->upper) in tipc_sub_check_overlap() 82 found_upper = subscribed->upper; in tipc_sub_check_overlap() 136 u32 upper = tipc_sub_read(s, seq.upper); in tipc_sub_subscribe() local 142 lower > upper) { in tipc_sub_subscribe() 159 sub->s.seq.upper = upper; in tipc_sub_subscribe()
|
H A D | name_table.c | 64 u32 upper; member 91 #define service_range_upper(sr) ((sr)->upper) 100 ((sr)->lower <= (end) && (sr)->upper >= (start)) in RB_DECLARE_CALLBACKS_MAX() 287 service_range_foreach_match(sr, sc, ua->sr.lower, ua->sr.upper) { in tipc_service_find_range() 289 if (sr->lower == ua->sr.lower && sr->upper == ua->sr.upper) in tipc_service_find_range() 302 u32 upper = p->sr.upper; in tipc_service_create_range() local 308 if (lower == sr->lower && upper == sr->upper) in tipc_service_create_range() 310 if (sr->max < upper) in tipc_service_create_range() 311 sr->max = upper; in tipc_service_create_range() 321 sr->upper = upper; in tipc_service_create_range() [all …]
|
H A D | addr.h | 65 u32 type, u32 lower, u32 upper) in tipc_uaddr() argument 72 ua->sr.upper = upper; in tipc_uaddr() 87 return ua->sr.upper >= ua->sr.lower; in tipc_uaddr_valid()
|
/linux/drivers/video/fbdev/ |
H A D | arcfb.c | 248 static void arcfb_lcd_update_page(struct arcfb_par *par, unsigned int upper, in arcfb_lcd_update_page() argument 258 yindex = upper >> 6; in arcfb_lcd_update_page() 261 ks108_set_yaddr(par, chipindex, upper/8); in arcfb_lcd_update_page() 265 (upper * linesize); in arcfb_lcd_update_page() 303 unsigned int distance, upper, lower; in arcfb_lcd_update_vert() local 306 upper = top; in arcfb_lcd_update_vert() 311 arcfb_lcd_update_page(par, upper, left, right, 8); in arcfb_lcd_update_vert() 312 upper = lower + 1; in arcfb_lcd_update_vert() 313 lower = upper + 7; in arcfb_lcd_update_vert() 325 unsigned int distance, upper, lower; in arcfb_lcd_update_horiz() local [all …]
|
/linux/arch/x86/include/asm/ |
H A D | div64.h | 49 u32 upper; in div_u64_rem() local 51 upper = d.v32[1]; in div_u64_rem() 53 if (upper >= divisor) { in div_u64_rem() 54 d.v32[1] = upper / divisor; in div_u64_rem() 55 upper %= divisor; in div_u64_rem() 58 "rm" (divisor), "0" (d.v32[0]), "1" (upper)); in div_u64_rem()
|
/linux/arch/x86/kernel/ |
H A D | probe_roms.c | 201 unsigned long start, length, upper; in probe_roms() local 207 upper = adapter_rom_resources[0].start; in probe_roms() 208 for (start = video_rom_resource.start; start < upper; start += 2048) { in probe_roms() 230 if (start < upper) in probe_roms() 231 start = upper; in probe_roms() 235 upper = system_rom_resource.start; in probe_roms() 243 upper = extension_rom_resource.start; in probe_roms() 248 for (i = 0; i < ARRAY_SIZE(adapter_rom_resources) && start < upper; start += 2048) { in probe_roms() 260 if (!length || start + length > upper || !romchecksum(rom, length)) in probe_roms()
|
/linux/Documentation/filesystems/ |
H A D | overlayfs.rst | 27 upper filesystem that is providing the object. Similarly st_ino will 86 An overlay filesystem combines two filesystems - an 'upper' filesystem 88 object in the 'upper' filesystem is visible while the object in the 90 merged with the 'upper' object. 92 It would be more correct to refer to an upper and lower 'directory 95 requirement that the root of a filesystem be given for either upper or 101 writable. The lower filesystem can even be another overlayfs. The upper 113 upper and lower filesystems and refers to a non-directory in either, 114 then the lower object is hidden - the name refers only to the upper 117 Where both upper and lower objects are directories, a merged directory [all …]
|
/linux/arch/arm/kernel/ |
H A D | module.c | 95 u32 upper, lower, sign, j1, j2; in apply_relocate() local 289 upper = __mem_to_opcode_thumb16(*(u16 *)loc); in apply_relocate() 305 sign = (upper >> 10) & 1; in apply_relocate() 310 ((upper & 0x03ff) << 12) | in apply_relocate() 338 upper = (u16)((upper & 0xf800) | (sign << 10) | in apply_relocate() 344 *(u16 *)loc = __opcode_to_mem_thumb16(upper); in apply_relocate() 352 upper = __mem_to_opcode_thumb16(*(u16 *)loc); in apply_relocate() 365 offset = ((upper & 0x000f) << 12) | in apply_relocate() 366 ((upper & 0x0400) << 1) | in apply_relocate() 378 upper = (u16)((upper & 0xfbf0) | in apply_relocate() [all …]
|
/linux/fs/btrfs/ |
H A D | backref.c | 3045 INIT_LIST_HEAD(&node->upper); in btrfs_backref_alloc_node() 3115 ASSERT(list_empty(&node->upper)); in btrfs_backref_drop_node() 3135 struct btrfs_backref_node *upper; in btrfs_backref_cleanup_node() local 3142 while (!list_empty(&node->upper)) { in btrfs_backref_cleanup_node() 3143 edge = list_entry(node->upper.next, struct btrfs_backref_edge, in btrfs_backref_cleanup_node() 3145 upper = edge->node[UPPER]; in btrfs_backref_cleanup_node() 3154 if (list_empty(&upper->lower)) { in btrfs_backref_cleanup_node() 3155 list_add_tail(&upper->lower, &cache->leaves); in btrfs_backref_cleanup_node() 3156 upper->lowest = 1; in btrfs_backref_cleanup_node() 3202 struct btrfs_backref_node *upper, in btrfs_backref_link_edge() argument [all …]
|
/linux/arch/microblaze/kernel/ |
H A D | ftrace.c | 169 unsigned int upper = (unsigned int)func; in ftrace_update_ftrace_func() local 174 upper = 0xb0000000 + (upper >> 16); /* imm func_upper */ in ftrace_update_ftrace_func() 178 __func__, (unsigned int)func, (unsigned int)ip, upper, lower); in ftrace_update_ftrace_func() 181 ret = ftrace_modify_code(ip, upper); in ftrace_update_ftrace_func()
|
/linux/drivers/gpu/drm/xe/compat-i915-headers/ |
H A D | intel_uncore.h | 57 u32 upper, lower, old_upper; in intel_uncore_read64_2x32() local 60 upper = xe_mmio_read32(__compat_uncore_to_mmio(uncore), upper_reg); in intel_uncore_read64_2x32() 62 old_upper = upper; in intel_uncore_read64_2x32() 64 upper = xe_mmio_read32(__compat_uncore_to_mmio(uncore), upper_reg); in intel_uncore_read64_2x32() 65 } while (upper != old_upper && loop++ < 2); in intel_uncore_read64_2x32() 67 return (u64)upper << 32 | lower; in intel_uncore_read64_2x32()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
H A D | bridge.c | 139 struct net_device *upper = info->upper_dev, *rep; in mlx5_esw_bridge_port_changeupper() local 145 if (!netif_is_bridge_master(upper)) in mlx5_esw_bridge_port_changeupper() 156 mlx5_esw_bridge_vport_link(upper, vport_num, esw_owner_vhca_id, in mlx5_esw_bridge_port_changeupper() 158 mlx5_esw_bridge_vport_unlink(upper, vport_num, esw_owner_vhca_id, in mlx5_esw_bridge_port_changeupper() 162 mlx5_esw_bridge_vport_peer_link(upper, vport_num, esw_owner_vhca_id, in mlx5_esw_bridge_port_changeupper() 164 mlx5_esw_bridge_vport_peer_unlink(upper, vport_num, esw_owner_vhca_id, in mlx5_esw_bridge_port_changeupper() 175 struct net_device *upper = info->upper_dev; in mlx5_esw_bridge_changeupper_validate_netdev() local 179 if (!netif_is_bridge_master(upper) || !netif_is_lag_master(dev)) in mlx5_esw_bridge_changeupper_validate_netdev() 440 struct net_device *upper, *rep; in mlx5_esw_bridge_switchdev_event() local 448 upper = netdev_master_upper_dev_get_rcu(dev); in mlx5_esw_bridge_switchdev_event() [all …]
|
/linux/arch/mips/mm/ |
H A D | init.c | 294 cfg->upper = ALIGN_DOWN(PFN_PHYS(start_pfn + nr_pages), maar_align) - 1; in maar_res_walk() 324 phys_addr_t lower, upper, attr; in maar_init() local 365 upper = read_c0_maar(); in maar_init() 367 upper |= (phys_addr_t)readx_c0_maar() << MIPS_MAARX_ADDR_SHIFT; in maar_init() 377 attr = lower & upper; in maar_init() 379 upper = ((upper & MIPS_MAAR_ADDR) << 4) | 0xffff; in maar_init() 387 pr_cont("%pa-%pa", &lower, &upper); in maar_init() 397 recorded.cfgs[recorded.used].upper = upper; in maar_init()
|
/linux/drivers/char/hw_random/ |
H A D | cn10k-rng.c | 105 u64 upper, lower; in cn10k_read_trng() local 125 upper = readq(rng->reg_base + RNM_PF_RANDOM); in cn10k_read_trng() 127 while (!(upper & 0x00000000FFFFFFFFULL)) in cn10k_read_trng() 128 upper = readq(rng->reg_base + RNM_PF_RANDOM); in cn10k_read_trng() 132 *value = (upper & 0xFFFFFFFF00000000) | (lower & 0xFFFFFFFF); in cn10k_read_trng()
|
/linux/arch/powerpc/mm/ptdump/ |
H A D | bats.c | 15 static void bat_show_603(struct seq_file *m, int idx, u32 lower, u32 upper, bool is_d) in bat_show_603() argument 17 u32 bepi = upper & 0xfffe0000; in bat_show_603() 18 u32 bl = (upper >> 2) & 0x7ff; in bat_show_603() 19 u32 k = upper & 3; in bat_show_603()
|
/linux/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | ebb.c | 73 u64 count, upper, lower; in ebb_check_count() local 85 upper = ebb_state.stats.ebb_count * (sample_period + fudge); in ebb_check_count() 87 if (count > upper) { in ebb_check_count() 89 pmc, count, upper, count - upper); in ebb_check_count() 94 pmc, count, lower, upper, count - lower, upper - count); in ebb_check_count()
|
/linux/arch/m68k/fpsp040/ |
H A D | binstr.S | 23 | to force the first byte formed to have a 0 in the upper 4 bits. 40 | upper word of d0. If it is the ls digit, write the word 51 | d2: upper 32-bits of fraction for mul by 8 53 | d4: upper 32-bits of fraction for mul by 2 106 addxl %d4,%d2 |add with extend upper 32 bits 109 swap %d6 |with d6 = 0; put 0 in upper word 117 aslw #4,%d7 |first digit in upper 4 bits d7b 131 lslw #4,%d7 |move it to upper 4 bits
|
/linux/drivers/net/ethernet/meta/fbnic/ |
H A D | fbnic_hw_stats.c | 29 u32 prev_upper, upper, lower, diff; in fbnic_stat_rd64() local 33 upper = rd32(fbd, reg + offset); in fbnic_stat_rd64() 35 diff = upper - prev_upper; in fbnic_stat_rd64() 37 return ((u64)upper << 32) | lower; in fbnic_stat_rd64() 50 return ((u64)upper << 32); in fbnic_stat_rd64()
|
/linux/drivers/acpi/acpica/ |
H A D | utprint.c | 34 static char *acpi_ut_put_number(char *string, u64 number, u8 base, u8 upper); 104 static char *acpi_ut_put_number(char *string, u64 number, u8 base, u8 upper) in acpi_ut_put_number() argument 111 digits = upper ? acpi_gbl_upper_hex_digits : acpi_gbl_lower_hex_digits; in acpi_ut_put_number() 210 u8 upper; in acpi_ut_format_number() local 226 upper = (type & ACPI_FORMAT_UPPER) ? TRUE : FALSE; in acpi_ut_format_number() 254 pos = acpi_ut_put_number(reversed_string, number, base, upper); in acpi_ut_format_number() 280 upper ? 'X' : 'x'); in acpi_ut_format_number()
|
/linux/lib/ |
H A D | bitmap.c | 99 unsigned long upper, lower; in __bitmap_shift_right() local 106 upper = 0; in __bitmap_shift_right() 108 upper = src[off + k + 1]; in __bitmap_shift_right() 110 upper &= mask; in __bitmap_shift_right() 111 upper <<= (BITS_PER_LONG - rem); in __bitmap_shift_right() 117 dst[k] = lower | upper; in __bitmap_shift_right() 144 unsigned long upper, lower; in __bitmap_shift_left() local 154 upper = src[k] << rem; in __bitmap_shift_left() 155 dst[k + off] = lower | upper; in __bitmap_shift_left()
|