Searched defs:limit (Results 1 - 25 of 156) sorted by relevance

1234567

/drivers/net/wireless/iwlwifi/
H A Diwl-debug.c108 u32 level, bool limit, const char *function,
120 (!limit || net_ratelimit()))
107 __iwl_dbg(struct device *dev, u32 level, bool limit, const char *function, const char *fmt, ...) argument
/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac1000_dma.c37 int limit; local
42 limit = 10;
43 while (limit--) {
48 if (limit < 0)
H A Ddwmac100_dma.c39 int limit; local
44 limit = 10;
45 while (limit--) {
50 if (limit < 0)
/drivers/video/backlight/
H A Dgeneric_bl.c56 * Called when the battery is low to limit the backlight intensity.
57 * If limit==0 clear any limit, otherwise limit the intensity
59 void genericbl_limit_intensity(int limit) argument
64 if (limit)
H A Dpcf50633-backlight.c38 * Update the brightness limit for the pc50633 backlight. The actual brightness
39 * will not go above the limit. This is useful to limit power drain for example
43 * @limit: The brightness limit. Valid values are 0-63
45 int pcf50633_bl_set_brightness_limit(struct pcf50633 *pcf, unsigned int limit) argument
52 pcf_bl->brightness_limit = limit & 0x3f;
/drivers/mmc/card/
H A Dqueue.c165 u64 limit = BLK_BOUNCE_HIGH; local
171 limit = *mmc_dev(host)->dma_mask;
247 blk_queue_bounce_limit(mq->queue, limit);
/drivers/parisc/
H A Dgsc.c96 int gsc_find_local_irq(unsigned int irq, int *global_irqs, int limit) argument
100 for (local_irq = 0; local_irq < limit; local_irq++) {
/drivers/staging/speakup/
H A Dselection.c42 static unsigned short limit(const unsigned short v, const unsigned short u) function
54 xs = limit(xs, vc->vc_cols - 1);
55 ys = limit(ys, vc->vc_rows - 1);
56 xe = limit(xe, vc->vc_cols - 1);
57 ye = limit(ye, vc->vc_rows - 1);
/drivers/usb/host/
H A Dxhci-ext-caps.h137 * This uses an arbitrary limit of XHCI_MAX_EXT_CAPS extended capabilities
143 int limit = XHCI_MAX_EXT_CAPS; local
145 while (ext_offset && limit > 0) {
150 limit--;
152 if (limit > 0)
H A Disp1760-if.c181 u8 latency, limit; local
246 pci_read_config_byte(dev, PCI_MAX_LAT, &limit);
247 if (limit && limit < latency)
248 pci_write_config_byte(dev, PCI_LATENCY_TIMER, limit);
/drivers/acpi/
H A Dprocessor_perflib.c56 * value is adjusted so that it is within the platform limit.
58 * Also, when a new platform limit value is detected, the CPUfreq
211 int acpi_processor_get_bios_limit(int cpu, unsigned int *limit) argument
218 *limit = pr->performance->states[pr->performance_platform_limit].
/drivers/cpufreq/
H A De_powersaver.c222 unsigned int limit; local
329 /* Check for ACPI processor speed limit */
331 if (!acpi_processor_get_bios_limit(policy->cpu, &limit)) {
332 printk(KERN_INFO "eps: ACPI limit %u.%uGHz\n",
333 limit/1000000,
334 (limit%1000000)/10000);
337 if (limit && max_multiplier * fsb > limit) {
377 centaur->bios_limit = limit;
472 MODULE_PARM_DESC(ignore_acpi_limit, "Don't check ACPI's processor speed limit");
[all...]
/drivers/gpu/drm/
H A Ddrm_stub.c106 int base = 0, limit = 63; local
110 limit = base + 127;
113 limit = base + 255;
131 if (new_id >= limit) {
/drivers/isdn/hardware/eicon/
H A Dos_4bri.c72 dword length, dword limit);
911 const byte *data, dword length, dword limit)
916 if (((address + length) >= limit) || !mem) {
909 diva_4bri_write_sdram_block(PISDN_ADAPTER IoAdapter, dword address, const byte *data, dword length, dword limit) argument
H A Dos_pri.c410 const byte *data, dword length, dword limit)
415 if (((address + length) >= limit) || !mem) {
408 diva_pri_write_sdram_block(PISDN_ADAPTER IoAdapter, dword address, const byte *data, dword length, dword limit) argument
/drivers/isdn/mISDN/
H A Dl1oip.h60 int limit; /* limit number of bchannels */ member in struct:l1oip
/drivers/media/common/tuners/
H A Dtda18271-maps.c959 u16 limit; member in struct:tda18271_cid_target_map
963 { .rfmax = 46000, .target = 0x04, .limit = 1800 },
964 { .rfmax = 52200, .target = 0x0a, .limit = 1500 },
965 { .rfmax = 70100, .target = 0x01, .limit = 4000 },
966 { .rfmax = 136800, .target = 0x18, .limit = 4000 },
967 { .rfmax = 156700, .target = 0x18, .limit = 4000 },
968 { .rfmax = 186250, .target = 0x0a, .limit = 4000 },
969 { .rfmax = 230000, .target = 0x0a, .limit = 4000 },
970 { .rfmax = 345000, .target = 0x18, .limit = 4000 },
971 { .rfmax = 426000, .target = 0x0e, .limit
[all...]
/drivers/net/ethernet/ibm/emac/
H A Dphy.c57 int limit = 10000; local
66 while (--limit) {
72 if ((val & BMCR_ISOLATE) && limit > 0)
75 return limit <= 0;
81 int limit = 10000; local
90 while (--limit) {
96 if ((val & BMCR_ISOLATE) && limit > 0)
99 if (limit > 0 && phy->mode == PHY_MODE_SGMII) {
106 return limit <= 0;
/drivers/net/fddi/skfp/
H A Dsmtdef.c77 static int set_min_max(int maxflag, u_long mib, u_long limit, u_long *oper);
339 * if limit is lower than mib
340 * use limit
345 static int set_min_max(int maxflag, u_long mib, u_long limit, u_long *oper) argument
349 if ((limit > mib) ^ maxflag)
350 *oper = limit ;
/drivers/net/hyperv/
H A Dnetvsc_drv.c312 int limit = ETH_DATA_LEN; local
318 limit = NETVSC_MTU;
320 if (mtu < 68 || mtu > limit)
/drivers/net/wireless/ath/ath9k/
H A Dcalib.c50 struct ath_nf_limits *limit; local
53 limit = &ah->nf_2g;
55 limit = &ah->nf_5g;
57 return limit;
85 struct ath_nf_limits *limit; local
92 limit = ath9k_hw_get_nf_limits(ah, ah->curchan);
115 if (h[i].privNF > limit->max) {
120 i, h[i].privNF, limit->max,
126 * Normally we limit the average noise floor by the
129 * we bypass this limit her
332 struct ath_nf_limits *limit; local
[all...]
/drivers/net/wireless/p54/
H A Dp54pci.c142 u32 limit, idx, i; local
145 limit = idx;
146 limit -= index;
147 limit = ring_limit - limit;
150 while (limit-- > 1) {
/drivers/s390/crypto/
H A Dzcrypt_cex2a.c156 int mod_len, short_len, long_len, long_offset, limit; local
166 * For CEX3A the limit is 256 bytes.
169 limit = 256;
171 limit = 128;
173 if (long_len > limit) {
178 long_offset = long_len - limit;
179 long_len = limit;
/drivers/sbus/char/
H A Dbbc_i2c.c126 int limit = 32; local
131 while (limit-- > 0) {
/drivers/tty/vt/
H A Dselection.c122 static inline unsigned short limit(const unsigned short v, const unsigned short u) function
179 xs = limit(xs, vc->vc_cols - 1);
180 ys = limit(ys, vc->vc_rows - 1);
181 xe = limit(xe, vc->vc_cols - 1);
182 ye = limit(ye, vc->vc_rows - 1);

Completed in 786 milliseconds

1234567