Home
last modified time | relevance | path

Searched refs:upper (Results 1 – 25 of 73) sorted by relevance

123

/drivers/video/fbdev/
Darcfb.c247 static void arcfb_lcd_update_page(struct arcfb_par *par, unsigned int upper, in arcfb_lcd_update_page() argument
257 yindex = upper >> 6; in arcfb_lcd_update_page()
260 ks108_set_yaddr(par, chipindex, upper/8); in arcfb_lcd_update_page()
264 (upper * linesize); in arcfb_lcd_update_page()
302 unsigned int distance, upper, lower; in arcfb_lcd_update_vert() local
305 upper = top; in arcfb_lcd_update_vert()
310 arcfb_lcd_update_page(par, upper, left, right, 8); 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
[all …]
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,
Dvga16fb.c317 u32 yres, lower, vslen, upper, ytotal; in vga16fb_check_var() local
400 upper = var->upper_margin; in vga16fb_check_var()
416 var->upper_margin = upper; in vga16fb_check_var()
424 upper <<= 1; in vga16fb_check_var()
426 ytotal = yres + lower + vslen + upper; in vga16fb_check_var()
432 upper >>= 1; in vga16fb_check_var()
474 pos += upper - 1; /* blank_end + 1 <= ytotal + 2 */ in vga16fb_check_var()
/drivers/thermal/
Dstep_wise.c67 next_target = (cur_state + 1) >= instance->upper ? in get_target_state()
68 instance->upper : in get_target_state()
81 next_target = cur_state < instance->upper ? in get_target_state()
82 (cur_state + 1) : instance->upper; in get_target_state()
89 next_target = instance->upper; in get_target_state()
98 if (next_target > instance->upper) in get_target_state()
99 next_target = instance->upper; in get_target_state()
Dthermal_core.c230 unsigned long upper, lower; in __bind() local
232 upper = THERMAL_NO_LIMIT; in __bind()
236 upper = limits[i * 2 + 1]; in __bind()
239 upper, lower); in __bind()
948 unsigned long upper, unsigned long lower) in thermal_zone_bind_cooling_device() argument
976 upper = upper == THERMAL_NO_LIMIT ? max_state : upper; in thermal_zone_bind_cooling_device()
978 if (lower > upper || upper > max_state) in thermal_zone_bind_cooling_device()
988 dev->upper = upper; in thermal_zone_bind_cooling_device()
Dthermal_core.h45 unsigned long upper; /* Highest cooling state for this trip point */ member
Ddb8500_thermal.c67 unsigned long max_state, upper, lower; in db8500_cdev_bind() local
76 upper = lower = i > max_state ? max_state : i; in db8500_cdev_bind()
79 upper, lower); in db8500_cdev_bind()
/drivers/clocksource/
Darm_global_timer.c67 u32 upper, old_upper; in gt_counter_read() local
69 upper = readl_relaxed(gt_base + GT_COUNTER1); in gt_counter_read()
71 old_upper = upper; in gt_counter_read()
73 upper = readl_relaxed(gt_base + GT_COUNTER1); in gt_counter_read()
74 } while (upper != old_upper); in gt_counter_read()
76 counter = upper; in gt_counter_read()
Dtcb_clksrc.c47 u32 lower, upper; in tc_get_cycles() local
51 upper = __raw_readl(tcaddr + ATMEL_TC_REG(1, CV)); in tc_get_cycles()
53 } while (upper != __raw_readl(tcaddr + ATMEL_TC_REG(1, CV))); in tc_get_cycles()
56 return (upper << 16) | lower; in tc_get_cycles()
/drivers/acpi/acpica/
Dutprint.c68 static char *acpi_ut_put_number(char *string, u64 number, u8 base, u8 upper);
143 static char *acpi_ut_put_number(char *string, u64 number, u8 base, u8 upper) in acpi_ut_put_number() argument
150 digits = upper ? acpi_gbl_upper_hex_digits : acpi_gbl_lower_hex_digits; in acpi_ut_put_number()
249 u8 upper; in acpi_ut_format_number() local
265 upper = (type & ACPI_FORMAT_UPPER) ? TRUE : FALSE; in acpi_ut_format_number()
293 pos = acpi_ut_put_number(reversed_string, number, base, upper); in acpi_ut_format_number()
318 upper ? 'X' : 'x'); in acpi_ut_format_number()
/drivers/power/
Dbq27x00_battery.c943 int upper, lower; in bq27000_read_platform() local
949 upper = pdata->read(dev, reg + 1); in bq27000_read_platform()
951 temp = upper; in bq27000_read_platform()
952 if (upper < 0) in bq27000_read_platform()
953 return upper; in bq27000_read_platform()
959 upper = pdata->read(dev, reg + 1); in bq27000_read_platform()
960 } while (temp != upper && --timeout); in bq27000_read_platform()
965 return (upper << 8) | lower; in bq27000_read_platform()
/drivers/net/bonding/
Dbond_alb.c960 struct net_device *upper; in alb_send_learning_packets() local
971 netdev_for_each_all_upper_dev_rcu(bond->dev, upper, iter) { in alb_send_learning_packets()
972 if (is_vlan_dev(upper) && vlan_get_encap_level(upper) == 0) { in alb_send_learning_packets()
975 upper->dev_addr)) { in alb_send_learning_packets()
977 vlan_dev_vlan_proto(upper), in alb_send_learning_packets()
978 vlan_dev_vlan_id(upper)); in alb_send_learning_packets()
980 alb_send_lp_vid(slave, upper->dev_addr, in alb_send_learning_packets()
981 vlan_dev_vlan_proto(upper), in alb_send_learning_packets()
982 vlan_dev_vlan_id(upper)); in alb_send_learning_packets()
989 if (netif_is_macvlan(upper) && !strict_match) { in alb_send_learning_packets()
[all …]
/drivers/media/usb/hackrf/
Dhackrf.c736 unsigned int upper, lower; in hackrf_s_frequency() local
746 upper = dev->f_adc; in hackrf_s_frequency()
748 buf[0] = (upper >> 0) & 0xff; in hackrf_s_frequency()
749 buf[1] = (upper >> 8) & 0xff; in hackrf_s_frequency()
750 buf[2] = (upper >> 16) & 0xff; in hackrf_s_frequency()
751 buf[3] = (upper >> 24) & 0xff; in hackrf_s_frequency()
761 upper = dev->f_rf / 1000000; in hackrf_s_frequency()
763 buf[0] = (upper >> 0) & 0xff; in hackrf_s_frequency()
764 buf[1] = (upper >> 8) & 0xff; in hackrf_s_frequency()
765 buf[2] = (upper >> 16) & 0xff; in hackrf_s_frequency()
[all …]
/drivers/of/
Dof_mdio.c32 unsigned int upper, lower; in of_get_phy_id() local
35 if (sscanf(cp, "ethernet-phy-id%4x.%4x", &upper, &lower) == 2) { in of_get_phy_id()
36 *phy_id = ((upper & 0xFFFF) << 16) | (lower & 0xFFFF); in of_get_phy_id()
/drivers/video/fbdev/matrox/
Dmatroxfb_g450.c330 int upper; in computeRegs() local
346 upper = (outd->v_total - vsyncend) >> 1; /* in field lines */ in computeRegs()
349 r->regs[0x33] = upper - 1; /* upper blanking */ in computeRegs()
350 r->regs[0x82] = upper; /* y sync point */ in computeRegs()
351 r->regs[0x83] = upper >> 8; in computeRegs()
/drivers/net/wireless/ath/ath9k/
Dar9002_phy.c177 int upper, lower, cur_vit_mask; in ar9002_hw_spur_mitigate() local
292 upper = bin + 100; in ar9002_hw_spur_mitigate()
300 if ((cur_bin > lower) && (cur_bin < upper)) { in ar9002_hw_spur_mitigate()
312 upper = bin + 120; in ar9002_hw_spur_mitigate()
316 if ((cur_vit_mask > lower) && (cur_vit_mask < upper)) { in ar9002_hw_spur_mitigate()
/drivers/net/ethernet/intel/e1000e/
Dhw.h222 } upper; member
257 } upper; member
280 } upper; member
330 } upper; member
/drivers/net/fddi/skfp/
Dsmt.c109 static int div_ratio(u_long upper, u_long lower);
286 u_long upper ; in smt_event() local
303 upper = in smt_event()
309 mib->fddiMACFrameErrorRatio = div_ratio(upper,lower) ; in smt_event()
321 upper = in smt_event()
324 upper + in smt_event()
326 mib->fddiMACNotCopiedRatio = div_ratio(upper,lower) ; in smt_event()
453 static int div_ratio(u_long upper, u_long lower) in div_ratio() argument
455 if ((upper<<16L) < upper) in div_ratio()
456 upper = 0xffff0000L ; in div_ratio()
[all …]
/drivers/block/
Dcciss.c348 temp64.val32.upper = chain_sg->Addr.upper; in cciss_unmap_sg_chain_block()
364 chain_sg->Addr.upper = temp64.val32.upper; in cciss_map_sg_chain_block()
1001 c->ErrDesc.Addr.upper = temp64.val32.upper; in cmd_alloc()
1037 c->ErrDesc.Addr.upper = temp64.val32.upper; in cmd_special_alloc()
1058 temp64.val32.upper = c->ErrDesc.Addr.upper; in cmd_special_free()
1524 c->SG[0].Addr.upper = temp64.val32.upper; in cciss_passthru()
1535 temp64.val32.upper = c->SG[0].Addr.upper; in cciss_passthru()
1652 c->SG[i].Addr.upper = temp64.val32.upper; in cciss_bigpassthru()
1662 temp64.val32.upper = c->SG[i].Addr.upper; in cciss_bigpassthru()
1837 temp64.val32.upper = curr_sg[sg_index].Addr.upper; in cciss_softirq_done()
[all …]
/drivers/media/platform/s5p-tv/
Dmixer_vp_layer.c131 unsigned int size, unsigned int upper, unsigned int flags) in do_center() argument
139 return min(lower, upper - size); in do_center()
Dmixer_grp_layer.c137 unsigned int size, unsigned int upper, unsigned int flags) in do_center() argument
145 return min(lower, upper - size); in do_center()
/drivers/scsi/
Dhpsa.c1514 chain_sg->Addr.upper = 0; in hpsa_map_sg_chain_block()
1518 chain_sg->Addr.upper = (u32) ((temp64 >> 32) & 0x0FFFFFFFFULL); in hpsa_map_sg_chain_block()
1533 temp64.val32.upper = chain_sg->Addr.upper; in hpsa_unmap_sg_chain_block()
1736 cp->Header.Tag.upper = c->Tag.upper; in complete_scsi_command()
1941 addr64.val32.upper = c->SG[i].Addr.upper; in hpsa_pci_unmap()
1970 cp->SG[0].Addr.upper = in hpsa_map_one()
3214 curr_sg->Addr.upper = (u32) ((addr64 >> 32) & 0x0FFFFFFFFULL); in hpsa_scatter_gather()
3329 curr_sg->Addr.upper = in hpsa_scsi_ioaccel1_queue_command()
4332 *tagupper = cm1->Tag.upper; in hpsa_get_tag()
4344 *tagupper = c->Header.Tag.upper; in hpsa_get_tag()
[all …]
/drivers/gpu/drm/radeon/
Dradeon_state.c1972 dev_priv->surfaces[surf_index].upper); in radeon_apply_surface_regs()
2009 (new_lower < dev_priv->surfaces[i].upper)) || in alloc_surface()
2034 s->upper = new_upper; in alloc_surface()
2046 (new_lower == dev_priv->surfaces[i].upper + 1)) { in alloc_surface()
2050 s->upper = new_upper; in alloc_surface()
2054 dev_priv->surfaces[i].upper = s->upper; in alloc_surface()
2066 s->upper = new_upper; in alloc_surface()
2071 dev_priv->surfaces[i].upper = s->upper; in alloc_surface()
2097 lower = s->upper; in free_surface()
2100 upper == s->upper) in free_surface()
[all …]
/drivers/infiniband/hw/ipath/
DKconfig8 devices to be used with both kernel upper level protocols such
/drivers/scsi/aic7xxx/
DKconfig.aic79xx21 This is an upper bound value for the number of tagged transactions
31 on some devices. The upper bound is 253. 0 disables tagged queueing.

123