Searched refs:limit (Results 151 - 175 of 193) sorted by relevance

12345678

/drivers/net/wireless/bcmdhd/
H A Ddhd.h478 uint32 limit; /* Expiration time (usec) */ member in struct:__anon3187
/drivers/net/wireless/rt2x00/
H A Drt2500pci.c862 rt2x00_set_field32(&reg, TXCSR2_NUM_TXD, rt2x00dev->tx[1].limit);
863 rt2x00_set_field32(&reg, TXCSR2_NUM_ATIM, rt2x00dev->atim->limit);
864 rt2x00_set_field32(&reg, TXCSR2_NUM_PRIO, rt2x00dev->tx[0].limit);
893 rt2x00_set_field32(&reg, RXCSR1_NUM_RXD, rt2x00dev->rx->limit);
H A Drt61pci.c1121 * r17 does not yet exceed upper limit, continue and base
1429 rt2x00dev->tx[0].limit);
1431 rt2x00dev->tx[1].limit);
1433 rt2x00dev->tx[2].limit);
1435 rt2x00dev->tx[3].limit);
1468 rt2x00_set_field32(&reg, RX_RING_CSR_RING_SIZE, rt2x00dev->rx->limit);
2193 if (unlikely(index >= queue->limit))
/drivers/pci/
H A Dquirks.c1999 unsigned long base, limit; local
2010 limit = (io_limit_lo & (PCI_IO_RANGE_MASK | 0x0c)) << 8;
2012 if (base <= limit) {
2014 res->end = limit + 0x3ff;
2126 * therefore the solution is to limit the read/write length.
/drivers/usb/gadget/
H A Df_mass_storage.c1344 int len, limit; local
1369 limit = 255;
1373 limit = 65535; /* Should really be FSG_BUFLEN */
1408 if (!valid_page || len > limit) {
H A Dfile_storage.c1746 int len, limit; local
1769 limit = 255;
1773 limit = 65535; // Should really be mod_data.buflen
1804 if (!valid_page || len > limit) {
/drivers/gpu/drm/nouveau/
H A Dnv20_graph.c479 nv_wr32(dev, NV20_PGRAPH_TLIMIT(i), tile->limit);
484 nv_wr32(dev, NV10_PGRAPH_RDI_DATA, tile->limit);
/drivers/iommu/
H A Damd_iommu_init.c262 u64 limit = (start + iommu->exclusion_length) & PAGE_MASK; local
272 entry = limit;
H A Damd_iommu.c1511 unsigned long limit; local
1524 limit = iommu_device_max_index(APERTURE_RANGE_PAGES, offset,
1528 limit, next_bit, pages, 0,
/drivers/net/ethernet/
H A Dkorina.c350 static int korina_rx(struct net_device *dev, int limit) argument
361 for (count = 0; count < limit; count++) {
H A Djme.c1079 jme_process_receive(struct jme_adapter *jme, int limit) argument
1095 while (limit > 0) {
1102 --limit;
1118 limit -= desccnt - 1;
1138 return limit > 0 ? limit : 0;
/drivers/video/console/
H A Dfbcon.c2751 int offset, limit, scrollback_old; local
2811 limit = disp->vrows;
2818 limit -= vc->vc_rows;
2823 offset += limit;
2824 else if (offset >= limit)
2825 offset -= limit;
/drivers/net/ethernet/broadcom/
H A Dtg3.c1145 int limit, err; local
1155 limit = 5000;
1156 while (limit--) {
1167 if (limit < 0)
2155 int limit = 100; local
2157 while (limit--) {
2165 if (limit < 0)
8055 u32 stblk, txrcb, rxrcb, limit; local
8060 limit = NIC_SRAM_SEND_RCB + TG3_BDINFO_SIZE * 16;
8062 limit
8270 int i, err, limit; local
[all...]
/drivers/net/ethernet/dec/tulip/
H A Dde4x5.c1541 s32 imr, omr, sts, limit; local
1556 for (limit=0; limit<8; limit++) {
4982 int i, j, k, n, limit=ARRAY_SIZE(phy_info); local
4995 for (j=0; j<limit; j++) { /* Search PHY table */
5009 if ((j == limit) && (i < DE4X5_MAX_MII)) {
/drivers/ata/
H A Dlibata-core.c142 MODULE_PARM_DESC(ignore_hpa, "Ignore HPA limit (0=keep BIOS limits, 1=ignore limits, using full disk)");
348 * Force link flags and SATA spd limit according to libata.force
350 * (e.g. 1:), the limit applies to all links connected to both
378 /* only honor the first spd limit */
381 ata_link_notice(link, "FORCE: PHY spd limit set to %s\n",
2056 /* if already on stricter limit, no need to push further */
2067 ata_dev_info(dev, "applying link speed limit horkage to %s\n",
2478 * Helper method for drivers which don't use cable type to limit
2679 * sata_down_spd_limit - adjust SATA spd limit downward
2680 * @link: Link to adjust SATA spd limit fo
2755 u32 limit, target, spd; local
[all...]
/drivers/isdn/i4l/
H A Disdn_tty.c2665 int limit = ISDN_MSNLEN - 1; local
2670 (limit--))
2682 int limit = ISDN_MSNLEN - 1; /* MUST match the size of interface var to avoid local
2690 limit--;
2692 if(!limit)
/drivers/net/ethernet/myricom/myri10ge/
H A Dmyri10ge.c481 char *ptr, *limit; local
485 limit = mgp->eeprom_strings + MYRI10GE_EEPROM_STRINGS_SIZE;
487 while (*ptr != '\0' && ptr < limit) {
492 if ((ptr + 2) > limit)
507 while (ptr < limit && *ptr++) ;
3267 * efficient to limit Read-DMA transactions to 2KB, rather than 4KB.
3836 /* if the admin did not specify a limit to how many
/drivers/mmc/card/
H A Dmmc_test.c326 unsigned long limit = nr_free_buffer_pages() >> 4; local
329 if (max_page_cnt > limit)
330 max_page_cnt = limit;
/drivers/mmc/host/
H A Domap_hsmmc.c1061 unsigned long limit = (loops_per_jiffy * local
1073 && (i++ < limit))
1079 (i++ < limit))
/drivers/net/ethernet/via/
H A Dvia-rhine.c496 static int rhine_rx(struct net_device *dev, int limit);
1828 /* Process up to limit frames from receive ring */
1829 static int rhine_rx(struct net_device *dev, int limit) argument
1839 for (count = 0; count < limit; ++count) {
/drivers/video/intelfb/
H A Dintelfbhw.c1031 static __inline__ int check_overflow(u32 value, u32 limit, argument
1034 if (value > limit) {
1035 WRN_MSG("%s value %d exceeds limit %d\n",
1036 description, value, limit);
1771 * Check if the glyph data exceeds the immediate mode limit.
1772 * It would take a large font (1K pixels) to hit this limit.
/drivers/edac/
H A Di7core_edac.c913 #define DECLARE_ADDR_MATCH(param, limit) \
932 if ((rc < 0) || (value >= limit)) \
/drivers/net/ethernet/nvidia/
H A Dforcedeth.c102 #define DEV_NEED_TX_LIMIT 0x0080000 /* device needs to limit tx */
103 #define DEV_NEED_TX_LIMIT2 0x0180000 /* device needs to limit tx, expect for some revs */
487 #define NV_PKTLIMIT_1 ETH_DATA_LEN /* hard limit not known */
488 #define NV_PKTLIMIT_2 9100 /* Actual limit according to NVidia: 9202 */
2461 static int nv_tx_done(struct net_device *dev, int limit) argument
2471 (tx_work < limit)) {
2525 static int nv_tx_done_optimized(struct net_device *dev, int limit) argument
2535 (tx_work < limit)) {
2728 static int nv_rx_process(struct net_device *dev, int limit) argument
2738 (rx_work < limit)) {
2833 nv_rx_process_optimized(struct net_device *dev, int limit) argument
[all...]
/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_main.c626 * If there's room in the queue (limit it to size)
1243 static int stmmac_rx(struct stmmac_priv *priv, int limit) argument
1262 if (count >= limit)
/drivers/scsi/
H A DNCR5380.c215 * LIMIT_TRANSFERSIZE - if defined, limit the pseudo-dma transfers to 512
1935 int limit = 100; local
1939 if (--limit < 0)

Completed in 1434 milliseconds

12345678