Home
last modified time | relevance | path

Searched refs:lower (Results 1 – 25 of 88) sorted by relevance

1234

/drivers/thermal/
Dgov_step_wise.c57 ((cur_state + 1) < instance->lower ? in get_target_state()
58 instance->lower : (cur_state + 1)); in get_target_state()
71 if (next_target < instance->lower) in get_target_state()
72 next_target = instance->lower; in get_target_state()
80 if (cur_state <= instance->lower) { in get_target_state()
92 if (cur_state == instance->lower) { in get_target_state()
96 next_target = instance->lower; in get_target_state()
Dthermal_core.c625 unsigned long upper, unsigned long lower, in thermal_zone_bind_cooling_device() argument
650 lower = lower == THERMAL_NO_LIMIT ? 0 : lower; in thermal_zone_bind_cooling_device()
653 if (lower > upper || upper > cdev->max_state) in thermal_zone_bind_cooling_device()
663 dev->lower = lower; in thermal_zone_bind_cooling_device()
815 unsigned long upper, lower; in __bind() local
818 lower = THERMAL_NO_LIMIT; in __bind()
820 lower = limits[i * 2]; in __bind()
824 upper, lower, in __bind()
/drivers/power/supply/
Dbq27xxx_battery_hdq.c45 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/net/ethernet/mellanox/mlx5/core/en/rep/
Dbridge.c47 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/video/fbdev/
Darcfb.c302 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()
Dmacmodes.c113 "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,
Di740fb.c401 u32 yres, lower, vslen, upper, ytotal; in i740fb_decode_var() local
484 lower = var->lower_margin; in i740fb_decode_var()
499 ytotal = yres + lower + vslen + upper; in i740fb_decode_var()
532 par->crtc[VGA_CRTC_V_BLANK_START] = yres + lower - 1; in i740fb_decode_var()
533 par->crtc[VGA_CRTC_V_SYNC_START] = yres + lower - 1; in i740fb_decode_var()
534 if ((yres + lower - 1) & 0x100) in i740fb_decode_var()
536 if ((yres + lower - 1) & 0x200) { in i740fb_decode_var()
543 ((yres + lower - 1 + vslen) & 0x0F) & ~0x10; in i740fb_decode_var()
545 par->crtc[VGA_CRTC_V_BLANK_END] = (yres + lower - 1 + vslen) & 0xFF; in i740fb_decode_var()
635 par->ext_vert_sync_start = (yres + lower) >> 8; in i740fb_decode_var()
[all …]
Dvga16fb.c336 u32 yres, lower, vslen, upper, ytotal; in vga16fb_check_var() local
417 lower = var->lower_margin; in vga16fb_check_var()
433 var->lower_margin = lower; in vga16fb_check_var()
441 lower <<= 1; in vga16fb_check_var()
445 ytotal = yres + lower + vslen + upper; in vga16fb_check_var()
449 lower >>= 1; in vga16fb_check_var()
485 pos += lower; in vga16fb_check_var()
/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_ppm.h224 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/vsp1/
Dvsp1_hgt.c138 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/
Dramgf100.c501 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/clocksource/
Darm_global_timer.c70 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()
Dtimer-atmel-tcb.c56 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/
DKconfig.powerpc18 lower speed, but also at lower core voltage.
/drivers/net/ethernet/freescale/enetc/
Denetc_cbdr.c149 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/crypto/qat/qat_common/
Dadf_gen4_hw_data.c104 u32 *lower) in adf_gen4_unpack_ssm_wdtimer() argument
106 *lower = lower_32_bits(value); in adf_gen4_unpack_ssm_wdtimer()
/drivers/net/ethernet/intel/e1000e/
Dhw.h251 } lower; member
281 } lower; member
306 } lower; member
356 } lower; member
/drivers/net/ethernet/netronome/nfp/
Dnfp_net_repr.c282 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 netdev->gso_max_size = lower->gso_max_size; in nfp_repr_transfer_features()
290 netdev->gso_max_segs = lower->gso_max_segs; in nfp_repr_transfer_features()
Dnfp_net_repr.h96 nfp_repr_transfer_features(struct net_device *netdev, struct net_device *lower);
/drivers/block/drbd/
DKconfig27 the local 'lower level block device' and, across the network, to the
29 simply writes the data to its lower level block device.
/drivers/gpu/drm/i915/
Dintel_uncore.h357 u32 upper, lower, old_upper, loop = 0; in intel_uncore_read64_2x32() local
361 lower = intel_uncore_read(uncore, lower_reg); in intel_uncore_read64_2x32()
364 return (u64)upper << 32 | lower; in intel_uncore_read64_2x32()
/drivers/net/ethernet/intel/igc/
Digc_base.h70 } lower; member
/drivers/net/ethernet/mscc/
Docelot_net.c1323 struct net_device *lower; in ocelot_netdevice_lag_changeupper() local
1327 netdev_for_each_lower_dev(dev, lower, iter) { in ocelot_netdevice_lag_changeupper()
1328 struct ocelot_port_private *priv = netdev_priv(lower); in ocelot_netdevice_lag_changeupper()
1334 err = ocelot_netdevice_changeupper(lower, dev, info); in ocelot_netdevice_lag_changeupper()
1360 struct net_device *lower; in ocelot_netdevice_lag_prechangeupper() local
1364 netdev_for_each_lower_dev(dev, lower, iter) { in ocelot_netdevice_lag_prechangeupper()
1365 struct ocelot_port_private *priv = netdev_priv(lower); in ocelot_netdevice_lag_prechangeupper()
1371 err = ocelot_netdevice_prechangeupper(dev, lower, info); in ocelot_netdevice_lag_prechangeupper()
/drivers/net/fddi/skfp/
Dsmt.c100 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()
/drivers/net/
Dmacsec.c491 tx_sa->next_pn_halves.lower++; in tx_sa_update_pn()
665 macsec_fill_sectag(hh, secy, pn.lower, sci_present); in macsec_encrypt()
699 macsec_fill_iv(iv, secy->sci, pn.lower); in macsec_encrypt()
752 if (rx_sa->next_pn_halves.lower >= secy->replay_window) in macsec_post_decrypt()
753 lowest_pn = rx_sa->next_pn_halves.lower - secy->replay_window; in macsec_post_decrypt()
813 if (pn + 1 > rx_sa->next_pn_halves.lower) { in macsec_post_decrypt()
814 rx_sa->next_pn_halves.lower = pn + 1; in macsec_post_decrypt()
816 !pn_same_half(pn, rx_sa->next_pn_halves.lower)) { in macsec_post_decrypt()
818 rx_sa->next_pn_halves.lower = pn + 1; in macsec_post_decrypt()
932 recovered_pn.lower = hdr_pn; in macsec_decrypt()
[all …]

1234