/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_lag.c | 289 struct net_device *lower; in lan966x_lag_netdev_prechangeupper() local 293 netdev_for_each_lower_dev(dev, lower, iter) { in lan966x_lag_netdev_prechangeupper() 294 if (!lan966x_netdevice_check(lower)) in lan966x_lag_netdev_prechangeupper() 297 port = netdev_priv(lower); in lan966x_lag_netdev_prechangeupper() 301 err = lan966x_port_prechangeupper(lower, dev, info); in lan966x_lag_netdev_prechangeupper() 313 struct net_device *lower; in lan966x_lag_netdev_changeupper() local 317 netdev_for_each_lower_dev(dev, lower, iter) { in lan966x_lag_netdev_changeupper() 318 if (!lan966x_netdevice_check(lower)) in lan966x_lag_netdev_changeupper() 321 port = netdev_priv(lower); in lan966x_lag_netdev_changeupper() 325 err = lan966x_port_changeupper(lower, dev, info); in lan966x_lag_netdev_changeupper()
|
/drivers/power/supply/ |
D | bq27xxx_battery_hdq.c | 45 int upper, lower; in bq27xxx_battery_hdq_read() local 59 lower = w1_bq27000_read(sl, reg); in bq27xxx_battery_hdq_read() 60 if (lower < 0) in bq27xxx_battery_hdq_read() 61 return lower; in bq27xxx_battery_hdq_read() 69 return (upper << 8) | lower; in bq27xxx_battery_hdq_read()
|
/drivers/char/hw_random/ |
D | cn10k-rng.c | 68 u64 upper, lower; in cn10k_read_trng() local 77 lower = readq(rng->reg_base + RNM_PF_RANDOM); in cn10k_read_trng() 80 while (!(lower & 0xFFFFFFFF00000000ULL)) in cn10k_read_trng() 81 lower = readq(rng->reg_base + RNM_PF_RANDOM); in cn10k_read_trng() 83 *value = (upper & 0xFFFFFFFF00000000) | (lower & 0xFFFFFFFF); in cn10k_read_trng()
|
/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
D | bridge.c | 47 struct net_device *lower; in mlx5_esw_bridge_lag_rep_get() local 50 netdev_for_each_lower_dev(dev, lower, iter) { in mlx5_esw_bridge_lag_rep_get() 54 if (!mlx5e_eswitch_rep(lower)) in mlx5_esw_bridge_lag_rep_get() 57 priv = netdev_priv(lower); in mlx5_esw_bridge_lag_rep_get() 59 if (mlx5_lag_is_shared_fdb(mdev) && mlx5_esw_bridge_dev_same_esw(lower, esw)) in mlx5_esw_bridge_lag_rep_get() 60 return lower; in mlx5_esw_bridge_lag_rep_get() 173 struct net_device *lower; in mlx5_esw_bridge_changeupper_validate_netdev() local 179 netdev_for_each_lower_dev(dev, lower, iter) { in mlx5_esw_bridge_changeupper_validate_netdev() 183 if (!mlx5e_eswitch_rep(lower)) in mlx5_esw_bridge_changeupper_validate_netdev() 186 priv = netdev_priv(lower); in mlx5_esw_bridge_changeupper_validate_netdev()
|
/drivers/thermal/ |
D | gov_step_wise.c | 56 next_target = clamp((cur_state + 1), instance->lower, instance->upper); in get_target_state() 67 next_target = clamp((cur_state + 1), instance->lower, instance->upper); in get_target_state() 71 if (cur_state <= instance->lower) { in get_target_state() 76 next_target = clamp((cur_state - 1), instance->lower, instance->upper); in get_target_state()
|
D | thermal_core.c | 603 unsigned long upper, unsigned long lower, in thermal_zone_bind_cooling_device() argument 628 lower = lower == THERMAL_NO_LIMIT ? 0 : lower; in thermal_zone_bind_cooling_device() 631 if (lower > upper || upper > cdev->max_state) in thermal_zone_bind_cooling_device() 641 dev->lower = lower; in thermal_zone_bind_cooling_device() 793 unsigned long upper, lower; in __bind() local 796 lower = THERMAL_NO_LIMIT; in __bind() 798 lower = limits[i * 2]; in __bind() 802 upper, lower, in __bind()
|
/drivers/video/fbdev/ |
D | arcfb.c | 302 unsigned int distance, upper, lower; in arcfb_lcd_update_vert() local 306 lower = top + 7; in arcfb_lcd_update_vert() 311 upper = lower + 1; in arcfb_lcd_update_vert() 312 lower = upper + 7; in arcfb_lcd_update_vert() 324 unsigned int distance, upper, lower; in arcfb_lcd_update_horiz() local 328 lower = min(upper + distance - 1, ceil64(upper)); in arcfb_lcd_update_horiz() 331 distance -= ((lower - upper) + 1 ); in arcfb_lcd_update_horiz() 332 arcfb_lcd_update_vert(par, upper, lower, left, right); in arcfb_lcd_update_horiz() 333 upper = lower + 1; in arcfb_lcd_update_horiz() 334 lower = min(upper + distance - 1, ceil64(upper)); in arcfb_lcd_update_horiz()
|
D | macmodes.c | 113 "mac1", 60, 512, 384, pixclock, left, right, upper, lower, hslen, vslen, 117 "mac3", 50, 640, 480, pixclock, left, right, upper, lower, hslen, vslen, 121 "mac4", 60, 640, 480, pixclock, left, right, upper, lower, hslen, vslen, 125 "mac8", 50, 768, 576, pixclock, left, right, upper, lower, hslen, vslen,
|
D | i740fb.c | 402 u32 yres, lower, vslen, upper, ytotal; in i740fb_decode_var() local 485 lower = var->lower_margin; in i740fb_decode_var() 500 ytotal = yres + lower + vslen + upper; in i740fb_decode_var() 533 par->crtc[VGA_CRTC_V_BLANK_START] = yres + lower - 1; in i740fb_decode_var() 534 par->crtc[VGA_CRTC_V_SYNC_START] = yres + lower - 1; in i740fb_decode_var() 535 if ((yres + lower - 1) & 0x100) in i740fb_decode_var() 537 if ((yres + lower - 1) & 0x200) { in i740fb_decode_var() 544 ((yres + lower - 1 + vslen) & 0x0F) & ~0x10; in i740fb_decode_var() 546 par->crtc[VGA_CRTC_V_BLANK_END] = (yres + lower - 1 + vslen) & 0xFF; in i740fb_decode_var() 636 par->ext_vert_sync_start = (yres + lower) >> 8; in i740fb_decode_var() [all …]
|
D | vga16fb.c | 333 u32 yres, lower, vslen, upper, ytotal; in vga16fb_check_var() local 414 lower = var->lower_margin; in vga16fb_check_var() 430 var->lower_margin = lower; in vga16fb_check_var() 438 lower <<= 1; in vga16fb_check_var() 442 ytotal = yres + lower + vslen + upper; in vga16fb_check_var() 446 lower >>= 1; in vga16fb_check_var() 482 pos += lower; in vga16fb_check_var()
|
/drivers/net/ethernet/chelsio/libcxgb/ |
D | libcxgb_ppm.h | 224 u32 lower = sw_tag & tformat->idx_clr_mask; in cxgbi_ppm_make_non_ddp_tag() local 227 *final_tag = upper | tformat->no_ddp_mask | lower; in cxgbi_ppm_make_non_ddp_tag() 237 u32 lower = tag & tformat->idx_clr_mask; in cxgbi_ppm_decode_non_ddp_tag() local 240 return upper | lower; in cxgbi_ppm_decode_non_ddp_tag()
|
/drivers/media/platform/renesas/vsp1/ |
D | vsp1_hgt.c | 138 u8 lower; in hgt_configure_stream() local 159 lower = hgt->hue_areas[i*2 + 0]; in hgt_configure_stream() 162 (lower << VI6_HGT_HUE_AREA_LOWER_SHIFT) | in hgt_configure_stream()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | ramgf100.c | 501 u64 total = 0, lcomm = ~0, lower, ubase, usize; in gf100_ram_ctor() local 518 lower = lcomm * ltcn; in gf100_ram_ctor() 520 usize = total - lower; in gf100_ram_ctor() 522 nvkm_debug(subdev, "Lower: %4lld MiB @ %010llx\n", lower >> 20, 0ULL); in gf100_ram_ctor() 537 if (lower != total) { in gf100_ram_ctor() 541 (lower - rsvd_head) >> NVKM_RAM_MM_SHIFT, 1); in gf100_ram_ctor()
|
/drivers/net/ethernet/freescale/enetc/ |
D | enetc_cbdr.c | 149 u16 lower; in enetc_set_mac_flt_entry() local 162 lower = *(const u16 *)(mac_addr + 4); in enetc_set_mac_flt_entry() 164 cbd.addr[1] = cpu_to_le32(lower); in enetc_set_mac_flt_entry()
|
/drivers/clocksource/ |
D | arm_global_timer.c | 70 u32 lower; in _gt_counter_read() local 76 lower = readl_relaxed(gt_base + GT_COUNTER0); in _gt_counter_read() 82 counter |= lower; in _gt_counter_read()
|
D | timer-atmel-tcb.c | 56 u32 lower, upper; in tc_get_cycles() local 61 lower = readl_relaxed(tcaddr + ATMEL_TC_REG(0, CV)); in tc_get_cycles() 65 return (upper << 16) | lower; in tc_get_cycles()
|
/drivers/cpufreq/ |
D | Kconfig.powerpc | 18 lower speed, but also at lower core voltage.
|
/drivers/net/ethernet/intel/e1000e/ |
D | hw.h | 251 } lower; member 281 } lower; member 306 } lower; member 356 } lower; member
|
/drivers/block/drbd/ |
D | Kconfig | 27 the local 'lower level block device' and, across the network, to the 29 simply writes the data to its lower level block device.
|
/drivers/crypto/qat/qat_common/ |
D | adf_gen4_hw_data.c | 106 u32 *lower) in adf_gen4_unpack_ssm_wdtimer() argument 108 *lower = lower_32_bits(value); in adf_gen4_unpack_ssm_wdtimer()
|
/drivers/gpu/drm/i915/ |
D | intel_uncore.h | 387 u32 upper, lower, old_upper, loop = 0; in intel_uncore_read64_2x32() local 391 lower = intel_uncore_read(uncore, lower_reg); in intel_uncore_read64_2x32() 394 return (u64)upper << 32 | lower; in intel_uncore_read64_2x32()
|
/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_repr.c | 282 nfp_repr_transfer_features(struct net_device *netdev, struct net_device *lower) in nfp_repr_transfer_features() argument 286 if (repr->dst->u.port_info.lower_dev != lower) in nfp_repr_transfer_features() 289 netif_inherit_tso_max(netdev, lower); in nfp_repr_transfer_features()
|
D | nfp_net_repr.h | 96 nfp_repr_transfer_features(struct net_device *netdev, struct net_device *lower);
|
/drivers/net/ethernet/intel/igc/ |
D | igc_base.h | 72 } lower; member
|
/drivers/net/fddi/skfp/ |
D | smt.c | 100 static int div_ratio(u_long upper, u_long lower); 278 u_long lower ; in smt_event() local 297 lower = in smt_event() 300 mib->fddiMACFrameErrorRatio = div_ratio(upper,lower) ; in smt_event() 314 lower = in smt_event() 317 mib->fddiMACNotCopiedRatio = div_ratio(upper,lower) ; in smt_event() 444 static int div_ratio(u_long upper, u_long lower) in div_ratio() argument 450 if (!lower) in div_ratio() 452 return (int)(upper/lower) ; in div_ratio()
|