Home
last modified time | relevance | path

Searched refs:high (Results 1 – 25 of 176) sorted by relevance

12345678

/drivers/net/ethernet/sfc/
Dbitfield.h122 #define EFX_EXTRACT_NATIVE(native_element, min, max, low, high) \ argument
123 ((low) > (max) || (high) < (min) ? 0 : \
132 #define EFX_EXTRACT64(element, min, max, low, high) \ argument
133 EFX_EXTRACT_NATIVE(le64_to_cpu(element), min, max, low, high)
139 #define EFX_EXTRACT32(element, min, max, low, high) \ argument
140 EFX_EXTRACT_NATIVE(le32_to_cpu(element), min, max, low, high)
142 #define EFX_EXTRACT_OWORD64(oword, low, high) \ argument
143 ((EFX_EXTRACT64((oword).u64[0], 0, 63, low, high) | \
144 EFX_EXTRACT64((oword).u64[1], 64, 127, low, high)) & \
145 EFX_MASK64((high) + 1 - (low)))
[all …]
/drivers/rtc/
Drtc-max8925.c116 unsigned char high, low; in data_calc() local
121 high = (tm->tm_year + 1900) / 1000; in data_calc()
123 low = low - high * 10; in data_calc()
124 buf[RTC_YEAR2] = (high << 4) + low; in data_calc()
125 high = (tm->tm_year + 1900) / 10; in data_calc()
127 low = low - high * 10; in data_calc()
128 high = high - (high / 10) * 10; in data_calc()
129 buf[RTC_YEAR1] = (high << 4) + low; in data_calc()
130 high = tm->tm_mon / 10; in data_calc()
132 low = low - high * 10; in data_calc()
[all …]
Drtc-max8907.c83 u8 high, low; in tm_to_regs() local
85 high = (tm->tm_year + 1900) / 100; in tm_to_regs()
87 regs[RTC_YEAR2] = bin2bcd(high); in tm_to_regs()
/drivers/net/wireless/iwlegacy/
D3945-rs.c547 u8 high = RATE_INVALID; in il3945_get_adjacent_rate() local
570 high = i; in il3945_get_adjacent_rate()
575 return (high << 8) | low; in il3945_get_adjacent_rate()
591 high = idx; in il3945_get_adjacent_rate()
592 while (high != RATE_INVALID) { in il3945_get_adjacent_rate()
594 high = il3945_rates[high].next_rs_tgg; in il3945_get_adjacent_rate()
596 high = il3945_rates[high].next_rs; in il3945_get_adjacent_rate()
597 if (high == RATE_INVALID) in il3945_get_adjacent_rate()
599 if (rate_mask & (1 << high)) in il3945_get_adjacent_rate()
601 D_RATE("Skipping masked higher rate: %d\n", high); in il3945_get_adjacent_rate()
[all …]
D4965-rs.c676 u8 high = RATE_INVALID; in il4965_rs_get_adjacent_rate() local
698 high = i; in il4965_rs_get_adjacent_rate()
703 return (high << 8) | low; in il4965_rs_get_adjacent_rate()
716 high = idx; in il4965_rs_get_adjacent_rate()
717 while (high != RATE_INVALID) { in il4965_rs_get_adjacent_rate()
718 high = il_rates[high].next_rs; in il4965_rs_get_adjacent_rate()
719 if (high == RATE_INVALID) in il4965_rs_get_adjacent_rate()
721 if (rate_mask & (1 << high)) in il4965_rs_get_adjacent_rate()
723 D_RATE("Skipping masked higher rate: %d\n", high); in il4965_rs_get_adjacent_rate()
726 return (high << 8) | low; in il4965_rs_get_adjacent_rate()
[all …]
/drivers/staging/android/ion/
Dion_page_pool.c72 static struct page *ion_page_pool_remove(struct ion_page_pool *pool, bool high) in ion_page_pool_remove() argument
77 if (high) { in ion_page_pool_remove()
128 static int ion_page_pool_total(struct ion_page_pool *pool, bool high) in ion_page_pool_total() argument
132 total += high ? (pool->high_count + pool->low_count) * in ion_page_pool_total()
142 bool high; in ion_page_pool_shrink() local
144 high = !!(gfp_mask & __GFP_HIGHMEM); in ion_page_pool_shrink()
152 } else if (high && pool->high_count) { in ion_page_pool_shrink()
162 return ion_page_pool_total(pool, high); in ion_page_pool_shrink()
/drivers/clk/
Dclk-axi-clkgen.c135 unsigned int *high, unsigned int *edge, unsigned int *nocount) in axi_clkgen_calc_clk_params() argument
142 *high = divider / 2; in axi_clkgen_calc_clk_params()
144 *low = divider - *high; in axi_clkgen_calc_clk_params()
170 unsigned int high; in axi_clkgen_set_rate() local
189 axi_clkgen_calc_clk_params(dout, &low, &high, &edge, &nocount); in axi_clkgen_set_rate()
191 (high << 6) | low); in axi_clkgen_set_rate()
195 axi_clkgen_calc_clk_params(d, &low, &high, &edge, &nocount); in axi_clkgen_set_rate()
197 (edge << 13) | (nocount << 12) | (high << 6) | low); in axi_clkgen_set_rate()
199 axi_clkgen_calc_clk_params(m, &low, &high, &edge, &nocount); in axi_clkgen_set_rate()
201 (high << 6) | low); in axi_clkgen_set_rate()
/drivers/net/irda/
Dvia-ircc.h288 __u16 low, high; in SetMaxRxPacketSize() local
291 high = (size & 0x1f00) >> 8; in SetMaxRxPacketSize()
293 WriteReg(iobase, I_CF_H_2, high); in SetMaxRxPacketSize()
422 __u32 low, high; in SetSendByte() local
426 high = (count & 0x0f00) >> 8; in SetSendByte()
428 WriteReg(iobase, TX_C_H, high); in SetSendByte()
442 __u8 low, high; in CkRxRecv() local
446 high = ReadReg(iobase, RX_C_H); in CkRxRecv()
447 wTmp1 = high; in CkRxRecv()
451 high = ReadReg(iobase, RX_C_H); in CkRxRecv()
[all …]
/drivers/staging/csr/
Dcsr_time.c17 u32 CsrTimeGet(u32 *high) in CsrTimeGet() argument
26 if (high != NULL) in CsrTimeGet()
27 *high = (u32) ((time >> 32) & 0xFFFFFFFF); in CsrTimeGet()
/drivers/block/paride/
DKconfig8 comment "Parallel IDE high-level drivers"
15 This option enables the high-level driver for IDE-type disk devices
29 This option enables the high-level driver for ATAPI CD-ROM devices
45 This option enables the high-level driver for ATAPI disk devices
59 This option enables the high-level driver for ATAPI tape devices
72 This option enables a special high-level driver for generic ATAPI
105 have a high-level driver for the type of device that you want to
123 called bpck. You must also have a high-level driver for the type
142 called bpck6. You must also have a high-level driver for the type
154 a high-level driver for the type of device that you want to support.
[all …]
/drivers/cpufreq/
Dspeedstep-smi.c100 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()
284 unsigned int *low, *high; in speedstep_cpu_init() local
298 high = &speedstep_freqs[SPEEDSTEP_HIGH].frequency; in speedstep_cpu_init()
300 result = speedstep_smi_get_freqs(low, high); in speedstep_cpu_init()
307 low, high, in speedstep_cpu_init()
/drivers/net/wireless/b43legacy/
Dphy.c1295 value |= ((u8)(pair->high)) << 8; in b43legacy_lo_write()
1300 pair->high < -8 || pair->high > 8) { in b43legacy_lo_write()
1304 pair->low, pair->high); in b43legacy_lo_write()
1382 { .high = 1, .low = 1, }, in b43legacy_phy_lo_g_state()
1383 { .high = 1, .low = 0, }, in b43legacy_phy_lo_g_state()
1384 { .high = 1, .low = -1, }, in b43legacy_phy_lo_g_state()
1385 { .high = 0, .low = -1, }, in b43legacy_phy_lo_g_state()
1386 { .high = -1, .low = -1, }, in b43legacy_phy_lo_g_state()
1387 { .high = -1, .low = 0, }, in b43legacy_phy_lo_g_state()
1388 { .high = -1, .low = 1, }, in b43legacy_phy_lo_g_state()
[all …]
/drivers/ide/
Dide-lib.c38 u32 high, low; in ide_get_lba_addr() local
43 high = (tf->lbah << 16) | (tf->lbam << 8) | tf->lbal; in ide_get_lba_addr()
45 high = tf->device & 0xf; in ide_get_lba_addr()
47 return ((u64)high << 24) | low; in ide_get_lba_addr()
/drivers/net/ethernet/stmicro/stmmac/
Ddwmac_lib.c245 unsigned int high, unsigned int low) in stmmac_set_mac_addr() argument
254 writel(data | GMAC_HI_REG_AE, ioaddr + high); in stmmac_set_mac_addr()
273 unsigned int high, unsigned int low) in stmmac_get_mac_addr() argument
278 hi_addr = readl(ioaddr + high); in stmmac_get_mac_addr()
/drivers/md/bcache/
Dbcache.h215 uint64_t high; member
969 KEY_FIELD(KEY_PTRS, high, 60, 3)
970 KEY_FIELD(HEADER_SIZE, high, 58, 2)
971 KEY_FIELD(KEY_CSUM, high, 56, 2)
972 KEY_FIELD(KEY_PINNED, high, 55, 1)
973 KEY_FIELD(KEY_DIRTY, high, 36, 1)
975 KEY_FIELD(KEY_SIZE, high, 20, 16)
976 KEY_FIELD(KEY_INODE, high, 0, 20)
1044 .high = (1ULL << 63) | ((uint64_t) (len) << 20) | (dev), \
/drivers/video/console/
DKconfig150 This is the "high resolution" font for the VGA frame buffer (the one
164 This is the "high resolution" font for the VGA frame buffer (the one
174 Small console font with Macintosh-style high-half glyphs. Some Mac
190 Small console font with PC-style control-character and high-half
198 Small console font with PC-style control characters and high-half
209 This is the high resolution console font for Sun machines. Say Y.
215 This is the high resolution console font for Sun machines with very
223 This is a high resolution console font for machines with very
/drivers/gpio/
Dgpio-lpc32xx.c196 unsigned pin, int high) in __set_gpio_level_p012() argument
198 if (high) in __set_gpio_level_p012()
207 unsigned pin, int high) in __set_gpio_level_p3() argument
211 if (high) in __set_gpio_level_p3()
218 unsigned pin, int high) in __set_gpo_level_p3() argument
220 if (high) in __set_gpo_level_p3()
/drivers/net/ethernet/ti/
Dcpts.c48 return (event->high >> EVENT_TYPE_SHIFT) & EVENT_TYPE_MASK; in event_type()
51 static int cpts_fifo_pop(struct cpts *cpts, u32 *high, u32 *low) in cpts_fifo_pop() argument
56 *high = cpts_read32(cpts, event_high); in cpts_fifo_pop()
82 event->high = hi; in cpts_fifo_read()
320 mtype = (event->high >> MESSAGE_TYPE_SHIFT) & MESSAGE_TYPE_MASK; in cpts_find_ts()
321 seqid = (event->high >> SEQUENCE_ID_SHIFT) & SEQUENCE_ID_MASK; in cpts_find_ts()
/drivers/net/wireless/iwlwifi/mvm/
Drs.c719 u8 high = IWL_RATE_INVALID; in rs_get_adjacent_rate() local
741 high = i; in rs_get_adjacent_rate()
746 return (high << 8) | low; in rs_get_adjacent_rate()
759 high = index; in rs_get_adjacent_rate()
760 while (high != IWL_RATE_INVALID) { in rs_get_adjacent_rate()
761 high = iwl_rates[high].next_rs; in rs_get_adjacent_rate()
762 if (high == IWL_RATE_INVALID) in rs_get_adjacent_rate()
764 if (rate_mask & (1 << high)) in rs_get_adjacent_rate()
766 IWL_DEBUG_RATE(mvm, "Skipping masked higher rate: %d\n", high); in rs_get_adjacent_rate()
769 return (high << 8) | low; in rs_get_adjacent_rate()
[all …]
/drivers/target/sbp/
Dsbp_target.h87 __be32 high; member
198 return (u64)(be32_to_cpu(ptr->high) & 0x0000ffff) << 32 | in sbp2_pointer_to_addr()
204 ptr->high = cpu_to_be32(addr >> 32); in addr_to_sbp2_pointer()
/drivers/net/wireless/iwlwifi/dvm/
Drs.c747 u8 high = IWL_RATE_INVALID; in rs_get_adjacent_rate() local
769 high = i; in rs_get_adjacent_rate()
774 return (high << 8) | low; in rs_get_adjacent_rate()
787 high = index; in rs_get_adjacent_rate()
788 while (high != IWL_RATE_INVALID) { in rs_get_adjacent_rate()
789 high = iwl_rates[high].next_rs; in rs_get_adjacent_rate()
790 if (high == IWL_RATE_INVALID) in rs_get_adjacent_rate()
792 if (rate_mask & (1 << high)) in rs_get_adjacent_rate()
794 IWL_DEBUG_RATE(priv, "Skipping masked higher rate: %d\n", high); in rs_get_adjacent_rate()
797 return (high << 8) | low; in rs_get_adjacent_rate()
[all …]
/drivers/scsi/isci/
Dport_config.c90 if (address_one.high > address_two.high) { in sci_sas_address_compare()
92 } else if (address_one.high < address_two.high) { in sci_sas_address_compare()
253 sas_address.high = 0; in sci_mpc_agent_validate_phy_configuration()
/drivers/hwmon/
Dntc_thermistor.c340 int low, high; in get_temp_mc() local
343 lookup_comp(data, ohm, &low, &high); in get_temp_mc()
344 if (low == high) { in get_temp_mc()
349 ((data->comp[high].temp_c - data->comp[low].temp_c) * in get_temp_mc()
351 ((int)data->comp[high].ohm - (int)data->comp[low].ohm); in get_temp_mc()
/drivers/net/dsa/
Dmv88e6xxx.c482 u32 high; in mv88e6xxx_get_ethtool_stats() local
486 mv88e6xxx_stats_read(ds, s->reg + 1, &high); in mv88e6xxx_get_ethtool_stats()
488 high = 0; in mv88e6xxx_get_ethtool_stats()
490 data[i] = (((u64)high) << 32) | low; in mv88e6xxx_get_ethtool_stats()
/drivers/watchdog/
Dibmasr.c143 unsigned char low, high; in asr_get_base_address() local
157 high = inb(0x2f); in asr_get_base_address()
163 asr_base = (high << 16) | low; in asr_get_base_address()

12345678