/linux-master/drivers/iio/adc/ |
H A D | envelope-detector.c | 64 int low; member in struct:envelope 136 * env->level ends up as env->low when the termination 141 env->level = (env->high + env->low + !env->invert) / 2; 143 if (env->high == env->low + 1) { 176 /* Adjust low/high depending on the latch content... */ 178 env->low = env->level; 196 * When invert is active, start with high=max+1 and low=0 197 * since we will end up with the low value when the 199 * start with high=max and low=-1 when invert is not active 207 env->low [all...] |
/linux-master/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | smu7_thermal.c | 312 * smu7_thermal_set_temperature_range - Set the requested temperature range for high and low alert signals 316 * @high_temp: Temperature to be programmed for low alert signals 322 int low = SMU7_THERMAL_MINIMUM_ALERT_TEMP * local 327 if (low < low_temp) 328 low = low_temp; 332 if (low > high) 340 (low / PP_TEMPERATURE_UNITS_PER_CENTIGRADES)); 456 /* We should restrict performance levels to low before we halt the SMC.
|
/linux-master/drivers/power/supply/ |
H A D | power_supply_core.c | 989 int i, high, low; local 995 /* The library function will deal with high == low */ 997 high = low = i; 999 high = low = i - 1; 1001 high = (low = i) - 1; 1003 return fixp_linear_interpolate(table[low].temp, 1004 table[low].resistance, 1029 int i, high, low; local 1060 /* The library function will deal with high == low */ 1065 low 1100 int i, high, low; local 1167 int low, high; local [all...] |
/linux-master/drivers/thermal/ |
H A D | rockchip_thermal.c | 35 * 0: low active, 1: high active 551 int high, low, mid; local 556 low = 0; 558 mid = (high + low) / 2; 561 if (temp < table->id[low].temp || temp > table->id[high].temp) 564 while (low <= high) { 570 low = mid + 1; 571 mid = (low + high) / 2; 603 unsigned int low = 1; local 605 unsigned int mid = (low 1379 rockchip_thermal_set_trips(struct thermal_zone_device *tz, int low, int high) argument [all...] |
/linux-master/drivers/gpu/drm/radeon/ |
H A D | btc_dpm.c | 1768 if (state->low.mclk != ulv_pl->mclk) 1771 if (state->low.vddci != ulv_pl->vddci) 2104 if (ps->low.mclk > max_limits->mclk) 2105 ps->low.mclk = max_limits->mclk; 2106 if (ps->low.sclk > max_limits->sclk) 2107 ps->low.sclk = max_limits->sclk; 2108 if (ps->low.vddc > max_limits->vddc) 2109 ps->low.vddc = max_limits->vddc; 2110 if (ps->low.vddci > max_limits->vddci) 2111 ps->low 2777 btc_dpm_get_sclk(struct radeon_device *rdev, bool low) argument 2788 btc_dpm_get_mclk(struct radeon_device *rdev, bool low) argument [all...] |
H A D | rv730_dpm.c | 340 cpu_to_be32(initial_state->low.mclk); 354 cpu_to_be32(initial_state->low.sclk); 359 rv770_get_seq_value(rdev, &initial_state->low); 362 initial_state->low.vddc, 377 if (initial_state->low.flags & ATOM_PPLIB_R600_FLAGS_PCIEGEN2) 403 (POWERMODE1(rv770_calculate_memory_refresh_rate(rdev, state->low.sclk)) | 433 state->low.sclk, 434 state->low.mclk); 464 DRM_DEBUG("Could not force DPM to low\n");
|
/linux-master/drivers/clocksource/ |
H A D | timer-microchip-pit64b.c | 102 u32 low, high; local 111 low = readl_relaxed(base + MCHP_PIT64B_TLSBR); 116 return (((u64)high << 32) | low); 122 u32 low, high; local 124 low = cycles & MCHP_PIT64B_LSBMASK; 130 writel_relaxed(low, timer->base + MCHP_PIT64B_LSB_PR);
|
/linux-master/net/ipv6/ |
H A D | esp6_offload.c | 145 esph->seq_no = htonl(XFRM_SKB_CB(skb)->seq.output.low); 339 seq = xo->seq.low; 350 xo->seq.low++; 352 xo->seq.low += skb_shinfo(skb)->gso_segs; 355 if (xo->seq.low < seq) 358 esp.seqno = cpu_to_be64(xo->seq.low + ((u64)xo->seq.hi << 32));
|
/linux-master/tools/lib/perf/ |
H A D | mmap.c | 297 unsigned int low, high; local 299 asm volatile("rdpmc" : "=a" (low), "=d" (high) : "c" (counter)); 301 return low | ((u64)high) << 32; 306 unsigned int low, high; local 308 asm volatile("rdtsc" : "=a" (low), "=d" (high)); 310 return low | ((u64)high) << 32;
|
/linux-master/sound/soc/amd/ps/ |
H A D | ps-pdm-dma.c | 160 u32 low, high, val; local 170 /* Load the low address of page int ACP SRAM through SRBM */ 171 low = lower_32_bits(addr); 174 writel(low, rtd->acp63_base + ACP_SCRATCH_REG_0 + val); 240 u32 high, low; local 245 low = readl(rtd->acp63_base + ACP_WOV_RX_LINEARPOSITIONCNTR_LOW); 246 byte_count = (byte_count << 32) | low;
|
/linux-master/arch/x86/xen/ |
H A D | enlighten_pv.c | 1044 static void set_seg(unsigned int which, unsigned int low, unsigned int high, argument 1047 u64 base = ((u64)high << 32) | low; 1063 static void xen_do_write_msr(unsigned int msr, unsigned int low, argument 1068 set_seg(SEGBASE_FS, low, high, err); 1072 set_seg(SEGBASE_GS_USER, low, high, err); 1076 set_seg(SEGBASE_GS_KERNEL, low, high, err); 1092 if (!pmu_msr_write(msr, low, high, err)) { 1094 *err = native_write_msr_safe(msr, low, high); 1096 native_write_msr(msr, low, high); 1106 static int xen_write_msr_safe(unsigned int msr, unsigned int low, argument 1123 xen_write_msr(unsigned int msr, unsigned low, unsigned high) argument [all...] |
/linux-master/arch/sparc/kernel/ |
H A D | systbls.h | 54 u32 low); 57 u32 low);
|
H A D | sys_sparc32.c | 54 COMPAT_SYSCALL_DEFINE3(truncate64, const char __user *, path, u32, high, u32, low) 56 return ksys_truncate(path, ((u64)high << 32) | low); 59 COMPAT_SYSCALL_DEFINE3(ftruncate64, unsigned int, fd, u32, high, u32, low) 61 return ksys_ftruncate(fd, ((u64)high << 32) | low);
|
/linux-master/include/uapi/linux/ |
H A D | rio_mport_cdev.h | 104 __u16 low; member in struct:rio_doorbell_filter 116 __u32 low; member in struct:rio_pw_filter
|
/linux-master/drivers/net/wireless/intel/iwlegacy/ |
H A D | 4965-rs.c | 661 u8 low = RATE_INVALID; local 673 low = i; 687 return (high << 8) | low; 690 low = idx; 691 while (low != RATE_INVALID) { 692 low = il_rates[low].prev_rs; 693 if (low == RATE_INVALID) 695 if (rate_mask & (1 << low)) 697 D_RATE("Skipping masked lower rate: %d\n", low); 718 s32 low; local 1077 s32 new_rate, high, low, start_hi; local 1733 int low = RATE_INVALID; local [all...] |
/linux-master/mm/ |
H A D | page_counter.c | 34 protected = min(usage, READ_ONCE(c->low)); 231 WRITE_ONCE(counter->low, nr_pages);
|
H A D | usercopy.c | 105 /* Returns true if any portion of [ptr,ptr+n) over laps with [low,high). */ 107 unsigned long low, unsigned long high) 113 if (check_low >= high || check_high <= low) 106 overlaps(const unsigned long ptr, unsigned long n, unsigned long low, unsigned long high) argument
|
/linux-master/include/linux/ |
H A D | fs_parser.h | 86 int low, int high, int special); 91 int low, int high, int special) 105 * Helpers will remain stable; low-level implementation may change. 90 validate_constant_table(const struct constant_table *tbl, size_t tbl_size, int low, int high, int special) argument
|
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | time-sync.c | 53 static u64 iwl_mvm_get_64_bit(__le32 high, __le32 low) argument 55 return ((u64)le32_to_cpu(high) << 32) | le32_to_cpu(low);
|
/linux-master/drivers/i2c/busses/ |
H A D | i2c-ibm_iic.c | 103 unsigned int low; member in struct:ibm_iic_timings 111 .low = 4700, 119 .low = 1300, 273 ndelay(t->low / 2); 276 ndelay(t->low / 2); 286 ndelay(t->low / 2); 288 ndelay(t->low / 2); 297 ndelay(t->low);
|
/linux-master/drivers/mfd/ |
H A D | si476x-prop.c | 16 u16 low, high; member in struct:si476x_property_range 39 if (element <= range[i].high && element >= range[i].low)
|
/linux-master/drivers/pcmcia/ |
H A D | cs_internal.h | 55 unsigned long align, int low, 145 int low,
|
/linux-master/drivers/scsi/isci/ |
H A D | sas.h | 215 u32 low; member in struct:sci_sas_address
|
/linux-master/drivers/gpu/drm/amd/pm/powerplay/inc/ |
H A D | smu_ucode_xfer_cz.h | 110 uint32_t low; member in struct:__anon608
|
/linux-master/drivers/pinctrl/aspeed/ |
H A D | pinmux-aspeed.h | 18 * change from a high to low priority signal), or even in the same register. 38 * C5 is a multi-signal pin (high and low priority signals). Here we touch 54 * For example, pin B19 has a low-priority signal that's enabled by two 57 * addition to B19. Both of the low priority functions as well as the high 123 * Further, the high and low priority signals listed in the table above share 204 * * VPIDE is high priority, NDCD1 is low priority, and GPIOL1 is the least 704 * @low: Macro name for the low signal functions 717 #define PIN_DECL_2(pin, other, high, low) \ 721 SIG_EXPR_LIST_PTR(pin, low), \ [all...] |