/drivers/net/ethernet/intel/i40e/ |
D | i40e_ptp.c | 68 high, enumerator 83 {off, off, off, high, high, high, high}, 84 {off, in_A, off, high, high, high, low}, 85 {off, out_A, off, high, low, high, high}, 86 {off, in_B, off, high, high, high, low}, 87 {off, out_B, off, high, low, high, high}, 88 {in_A, off, off, high, high, high, low}, 89 {in_A, in_B, off, high, high, high, low}, 90 {in_A, out_B, off, high, low, high, high}, 91 {out_A, off, off, high, low, high, high}, [all …]
|
/drivers/net/ethernet/sfc/falcon/ |
D | bitfield.h | 123 #define EF4_EXTRACT_NATIVE(native_element, min, max, low, high) \ argument 124 ((low) > (max) || (high) < (min) ? 0 : \ 133 #define EF4_EXTRACT64(element, min, max, low, high) \ argument 134 EF4_EXTRACT_NATIVE(le64_to_cpu(element), min, max, low, high) 140 #define EF4_EXTRACT32(element, min, max, low, high) \ argument 141 EF4_EXTRACT_NATIVE(le32_to_cpu(element), min, max, low, high) 143 #define EF4_EXTRACT_OWORD64(oword, low, high) \ argument 144 ((EF4_EXTRACT64((oword).u64[0], 0, 63, low, high) | \ 145 EF4_EXTRACT64((oword).u64[1], 64, 127, low, high)) & \ 146 EF4_MASK64((high) + 1 - (low))) [all …]
|
/drivers/net/ethernet/sfc/ |
D | bitfield.h | 123 #define EFX_EXTRACT_NATIVE(native_element, min, max, low, high) \ argument 124 ((low) > (max) || (high) < (min) ? 0 : \ 133 #define EFX_EXTRACT64(element, min, max, low, high) \ argument 134 EFX_EXTRACT_NATIVE(le64_to_cpu(element), min, max, low, high) 140 #define EFX_EXTRACT32(element, min, max, low, high) \ argument 141 EFX_EXTRACT_NATIVE(le32_to_cpu(element), min, max, low, high) 143 #define EFX_EXTRACT_OWORD64(oword, low, high) \ argument 144 ((EFX_EXTRACT64((oword).u64[0], 0, 63, low, high) | \ 145 EFX_EXTRACT64((oword).u64[1], 64, 127, low, high)) & \ 146 EFX_MASK64((high) + 1 - (low))) [all …]
|
/drivers/rtc/ |
D | rtc-max8925.c | 113 unsigned char high, low; in data_calc() local 118 high = (tm->tm_year + 1900) / 1000; in data_calc() 120 low = low - high * 10; in data_calc() 121 buf[RTC_YEAR2] = (high << 4) + low; in data_calc() 122 high = (tm->tm_year + 1900) / 10; in data_calc() 124 low = low - high * 10; in data_calc() 125 high = high - (high / 10) * 10; in data_calc() 126 buf[RTC_YEAR1] = (high << 4) + low; in data_calc() 127 high = tm->tm_mon / 10; in data_calc() 129 low = low - high * 10; in data_calc() [all …]
|
/drivers/net/wireless/intel/iwlegacy/ |
D | 3945-rs.c | 527 u8 high = RATE_INVALID; in il3945_get_adjacent_rate() local 550 high = i; in il3945_get_adjacent_rate() 555 return (high << 8) | low; in il3945_get_adjacent_rate() 571 high = idx; in il3945_get_adjacent_rate() 572 while (high != RATE_INVALID) { in il3945_get_adjacent_rate() 574 high = il3945_rates[high].next_rs_tgg; in il3945_get_adjacent_rate() 576 high = il3945_rates[high].next_rs; in il3945_get_adjacent_rate() 577 if (high == RATE_INVALID) in il3945_get_adjacent_rate() 579 if (rate_mask & (1 << high)) in il3945_get_adjacent_rate() 581 D_RATE("Skipping masked higher rate: %d\n", high); in il3945_get_adjacent_rate() [all …]
|
/drivers/pwm/ |
D | pwm-keembay.c | 96 unsigned long long high, low; in keembay_pwm_get_state() local 112 high = FIELD_GET(KMB_PWM_HIGH_MASK, highlow) * NSEC_PER_SEC; in keembay_pwm_get_state() 113 state->duty_cycle = DIV_ROUND_UP_ULL(high, clk_rate); in keembay_pwm_get_state() 114 state->period = DIV_ROUND_UP_ULL(high + low, clk_rate); in keembay_pwm_get_state() 126 u16 high, low; in keembay_pwm_apply() local 158 high = div; in keembay_pwm_apply() 161 div = div - high; in keembay_pwm_apply() 167 pwm_count = FIELD_PREP(KMB_PWM_HIGH_MASK, high) | in keembay_pwm_apply()
|
/drivers/thermal/ |
D | thermal_helpers.c | 132 int high = INT_MAX; in thermal_zone_set_trips() local 152 if (trip_temp > tz->temperature && trip_temp < high) in thermal_zone_set_trips() 153 high = trip_temp; in thermal_zone_set_trips() 157 if (tz->prev_low_trip == low && tz->prev_high_trip == high) in thermal_zone_set_trips() 161 tz->prev_high_trip = high; in thermal_zone_set_trips() 164 "new temperature boundaries: %d < x < %d\n", low, high); in thermal_zone_set_trips() 170 ret = tz->ops->set_trips(tz, low, high); in thermal_zone_set_trips()
|
D | rockchip_thermal.c | 529 int high, low, mid; in rk_tsadcv2_temp_to_code() local 535 high = (table->length - 1) - 1; /* ignore the last check for table */ in rk_tsadcv2_temp_to_code() 536 mid = (high + low) / 2; in rk_tsadcv2_temp_to_code() 539 if (temp < table->id[low].temp || temp > table->id[high].temp) in rk_tsadcv2_temp_to_code() 542 while (low <= high) { in rk_tsadcv2_temp_to_code() 546 high = mid - 1; in rk_tsadcv2_temp_to_code() 549 mid = (low + high) / 2; in rk_tsadcv2_temp_to_code() 582 unsigned int high = table->length - 1; in rk_tsadcv2_code_to_temp() local 583 unsigned int mid = (low + high) / 2; in rk_tsadcv2_code_to_temp() 592 if (code <= table->id[high].code) in rk_tsadcv2_code_to_temp() [all …]
|
/drivers/gpu/drm/radeon/ |
D | btc_dpm.c | 2114 if (ps->high.mclk > max_limits->mclk) in btc_apply_state_adjust_rules() 2115 ps->high.mclk = max_limits->mclk; in btc_apply_state_adjust_rules() 2116 if (ps->high.sclk > max_limits->sclk) in btc_apply_state_adjust_rules() 2117 ps->high.sclk = max_limits->sclk; in btc_apply_state_adjust_rules() 2118 if (ps->high.vddc > max_limits->vddc) in btc_apply_state_adjust_rules() 2119 ps->high.vddc = max_limits->vddc; in btc_apply_state_adjust_rules() 2120 if (ps->high.vddci > max_limits->vddci) in btc_apply_state_adjust_rules() 2121 ps->high.vddci = max_limits->vddci; in btc_apply_state_adjust_rules() 2146 mclk = ps->high.mclk; in btc_apply_state_adjust_rules() 2148 vddci = ps->high.vddci; in btc_apply_state_adjust_rules() [all …]
|
/drivers/md/bcache/ |
D | bcache_ondisk.h | 24 __u64 high; member 45 KEY_FIELD(KEY_PTRS, high, 60, 3) 46 KEY_FIELD(HEADER_SIZE, high, 58, 2) 47 KEY_FIELD(KEY_CSUM, high, 56, 2) 48 KEY_FIELD(KEY_PINNED, high, 55, 1) 49 KEY_FIELD(KEY_DIRTY, high, 36, 1) 51 KEY_FIELD(KEY_SIZE, high, 20, KEY_SIZE_BITS) 52 KEY_FIELD(KEY_INODE, high, 0, 20) 73 .high = (1ULL << 63) | ((__u64) (size) << 20) | (inode), \
|
/drivers/thermal/broadcom/ |
D | brcmstb_thermal.c | 238 int low, high, intr; in brcmstb_tmon_irq_thread() local 241 high = avs_tmon_get_trip_temp(priv, TMON_TRIP_TYPE_HIGH); in brcmstb_tmon_irq_thread() 245 low, intr, high); in brcmstb_tmon_irq_thread() 248 if (intr >= high) in brcmstb_tmon_irq_thread() 263 static int brcmstb_set_trips(void *data, int low, int high) in brcmstb_set_trips() argument 267 dev_dbg(priv->dev, "set trips %d <--> %d\n", low, high); in brcmstb_set_trips() 281 if (high == INT_MAX) { in brcmstb_set_trips() 284 avs_tmon_set_trip_temp(priv, TMON_TRIP_TYPE_HIGH, high); in brcmstb_set_trips()
|
/drivers/cpufreq/ |
D | speedstep-smi.c | 100 static int speedstep_smi_get_freqs(unsigned int *low, unsigned int *high) in speedstep_smi_get_freqs() argument 137 *high = high_mhz * 1000; in speedstep_smi_get_freqs() 232 unsigned int *low, *high; in speedstep_cpu_init() local 246 high = &speedstep_freqs[SPEEDSTEP_HIGH].frequency; in speedstep_cpu_init() 248 result = speedstep_smi_get_freqs(low, high); in speedstep_cpu_init() 255 low, high, in speedstep_cpu_init()
|
/drivers/irqchip/ |
D | irq-lpc32xx.c | 75 bool high, edge; in lpc32xx_irq_set_type() local 80 high = true; in lpc32xx_irq_set_type() 84 high = false; in lpc32xx_irq_set_type() 88 high = true; in lpc32xx_irq_set_type() 92 high = false; in lpc32xx_irq_set_type() 102 if (high) in lpc32xx_irq_set_type()
|
/drivers/dma-buf/heaps/ |
D | page_pool.c | 117 static int dmabuf_page_pool_total(struct dmabuf_page_pool *pool, bool high) in dmabuf_page_pool_total() argument 121 if (high) in dmabuf_page_pool_total() 182 bool high; in dmabuf_page_pool_do_shrink() local 185 high = true; in dmabuf_page_pool_do_shrink() 187 high = !!(gfp_mask & __GFP_HIGHMEM); in dmabuf_page_pool_do_shrink() 190 return dmabuf_page_pool_total(pool, high); in dmabuf_page_pool_do_shrink()
|
/drivers/block/paride/ |
D | Kconfig | 9 comment "Parallel IDE high-level drivers" 16 This option enables the high-level driver for IDE-type disk devices 31 This option enables the high-level driver for ATAPI CD-ROM devices 47 This option enables the high-level driver for ATAPI disk devices 61 This option enables the high-level driver for ATAPI tape devices 74 This option enables a special high-level driver for generic ATAPI 107 have a high-level driver for the type of device that you want to 125 called bpck. You must also have a high-level driver for the type 144 called bpck6. You must also have a high-level driver for the type 156 a high-level driver for the type of device that you want to support. [all …]
|
/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | vega12_thermal.c | 177 int high = VEGA12_THERMAL_MAXIMUM_ALERT_TEMP; in vega12_thermal_set_temperature_range() local 183 if (high > pptable_information->us_software_shutdown_temp) in vega12_thermal_set_temperature_range() 184 high = pptable_information->us_software_shutdown_temp; in vega12_thermal_set_temperature_range() 186 if (low > high) in vega12_thermal_set_temperature_range() 193 val = REG_SET_FIELD(val, THM_THERMAL_INT_CTRL, DIG_THERM_INTH, high); in vega12_thermal_set_temperature_range()
|
D | smu7_thermal.c | 324 int high = SMU7_THERMAL_MAXIMUM_ALERT_TEMP * in smu7_thermal_set_temperature_range() local 329 if (high > high_temp) in smu7_thermal_set_temperature_range() 330 high = high_temp; in smu7_thermal_set_temperature_range() 332 if (low > high) in smu7_thermal_set_temperature_range() 337 (high / PP_TEMPERATURE_UNITS_PER_CENTIGRADES)); in smu7_thermal_set_temperature_range() 343 (high / PP_TEMPERATURE_UNITS_PER_CENTIGRADES)); in smu7_thermal_set_temperature_range()
|
D | vega20_thermal.c | 248 int high = VEGA20_THERMAL_MAXIMUM_ALERT_TEMP; in vega20_thermal_set_temperature_range() local 254 if (high > pptable_information->us_software_shutdown_temp) in vega20_thermal_set_temperature_range() 255 high = pptable_information->us_software_shutdown_temp; in vega20_thermal_set_temperature_range() 257 if (low > high) in vega20_thermal_set_temperature_range() 264 val = CGS_REG_SET_FIELD(val, THM_THERMAL_INT_CTRL, DIG_THERM_INTH, high); in vega20_thermal_set_temperature_range()
|
/drivers/net/wireless/broadcom/b43legacy/ |
D | phy.c | 1270 value |= ((u8)(pair->high)) << 8; in b43legacy_lo_write() 1275 pair->high < -8 || pair->high > 8) { in b43legacy_lo_write() 1279 pair->low, pair->high); in b43legacy_lo_write() 1357 { .high = 1, .low = 1, }, in b43legacy_phy_lo_g_state() 1358 { .high = 1, .low = 0, }, in b43legacy_phy_lo_g_state() 1359 { .high = 1, .low = -1, }, in b43legacy_phy_lo_g_state() 1360 { .high = 0, .low = -1, }, in b43legacy_phy_lo_g_state() 1361 { .high = -1, .low = -1, }, in b43legacy_phy_lo_g_state() 1362 { .high = -1, .low = 0, }, in b43legacy_phy_lo_g_state() 1363 { .high = -1, .low = 1, }, in b43legacy_phy_lo_g_state() [all …]
|
/drivers/media/test-drivers/vivid/ |
D | vivid-radio-rx.c | 151 unsigned low, high; in vivid_radio_rx_s_hw_freq_seek() local 181 high = a->rangehigh; in vivid_radio_rx_s_hw_freq_seek() 190 high = vivid_radio_bands[band].rangehigh; in vivid_radio_rx_s_hw_freq_seek() 193 freq = clamp(dev->radio_rx_freq, low, high); in vivid_radio_rx_s_hw_freq_seek() 197 if (freq > high) { in vivid_radio_rx_s_hw_freq_seek() 209 freq = spacing * ((high + spacing - 1) / spacing) - spacing; in vivid_radio_rx_s_hw_freq_seek()
|
/drivers/clk/ |
D | clk-axi-clkgen.c | 183 unsigned int high; member 205 params->high = divider / 2; in axi_clkgen_calc_clk_params() 207 params->low = divider - params->high; in axi_clkgen_calc_clk_params() 212 params->high = divider / 2; in axi_clkgen_calc_clk_params() 214 params->low = params->high; in axi_clkgen_calc_clk_params() 217 params->high--; in axi_clkgen_calc_clk_params() 325 (params->high << 6) | params->low, 0xefff); in axi_clkgen_set_div() 370 (params.high << 6) | params.low, 0x3fff); in axi_clkgen_set_rate()
|
/drivers/gpio/ |
D | gpio-mt7621.c | 113 u32 rise, fall, high, low; in mediatek_gpio_irq_unmask() local 118 high = mtk_gpio_r32(rg, GPIO_REG_HLVL); in mediatek_gpio_irq_unmask() 122 mtk_gpio_w32(rg, GPIO_REG_HLVL, high | (BIT(pin) & rg->hlevel)); in mediatek_gpio_irq_unmask() 134 u32 rise, fall, high, low; in mediatek_gpio_irq_mask() local 139 high = mtk_gpio_r32(rg, GPIO_REG_HLVL); in mediatek_gpio_irq_mask() 143 mtk_gpio_w32(rg, GPIO_REG_HLVL, high & ~BIT(pin)); in mediatek_gpio_irq_mask()
|
/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_main.c | 1020 addr[0] = mac_key->high.bits.mac_0; in hns_dsaf_tcam_addr_get() 1021 addr[1] = mac_key->high.bits.mac_1; in hns_dsaf_tcam_addr_get() 1022 addr[2] = mac_key->high.bits.mac_2; in hns_dsaf_tcam_addr_get() 1023 addr[3] = mac_key->high.bits.mac_3; in hns_dsaf_tcam_addr_get() 1518 (soft_mac_entry->tcam_key.high.val == mac_key->high.val) && in hns_dsaf_find_soft_mac_entry() 1594 mac_key->high.bits.mac_0 = addr[0]; in hns_dsaf_set_mac_key() 1595 mac_key->high.bits.mac_1 = addr[1]; in hns_dsaf_set_mac_key() 1596 mac_key->high.bits.mac_2 = addr[2]; in hns_dsaf_set_mac_key() 1597 mac_key->high.bits.mac_3 = addr[3]; in hns_dsaf_set_mac_key() 1647 mac_key.high.val, mac_key.low.val); in hns_dsaf_set_mac_uc_entry() [all …]
|
/drivers/iio/adc/ |
D | envelope-detector.c | 63 int high; member 142 env->level = (env->high + env->low + !env->invert) / 2; in envelope_detector_setup_compare() 144 if (env->high == env->low + 1) { in envelope_detector_setup_compare() 181 env->high = env->level; in envelope_detector_timeout() 207 env->high = env->dac_max + env->invert; in envelope_detector_read_raw()
|
/drivers/clocksource/ |
D | timer-microchip-pit64b.c | 100 u32 low, high; in mchp_pit64b_cnt_read() local 110 high = readl_relaxed(base + MCHP_PIT64B_TMSBR); in mchp_pit64b_cnt_read() 114 return (((u64)high << 32) | low); in mchp_pit64b_cnt_read() 120 u32 low, high; in mchp_pit64b_reset() local 123 high = cycles >> 32; in mchp_pit64b_reset() 127 writel_relaxed(high, timer->base + MCHP_PIT64B_MSB_PR); in mchp_pit64b_reset()
|