/drivers/net/wireless/cw1200/ |
H A D | sta.h | 68 int bad); 70 int init, int good, int bad) 73 __cw1200_cqm_bssloss_sm(priv, init, good, bad); 69 cw1200_cqm_bssloss_sm(struct cw1200_common *priv, int init, int good, int bad) argument
|
H A D | sta.c | 152 int init, int good, int bad) 159 pr_debug("[STA] CQM BSSLOSS_SM: state: %d init %d good %d bad: %d txlock: %d uj: %d\n", 161 init, good, bad, 182 } else if (bad) { 151 __cw1200_cqm_bssloss_sm(struct cw1200_common *priv, int init, int good, int bad) argument
|
/drivers/mtd/tests/ |
H A D | mtd_test.c | 40 pr_info("block %d is bad\n", ebnum); 48 int i, bad = 0; local 53 pr_info("scanning for bad eraseblocks\n"); 57 bad += 1; 60 pr_info("scanned %d eraseblocks, %d are bad\n", i, bad);
|
/drivers/ide/ |
H A D | ide-iops.c | 97 * of the "bad" bits, and if all is okay it returns 0. All other 105 int __ide_wait_stat(ide_drive_t *drive, u8 good, u8 bad, argument 150 if (OK_STAT(stat, good, bad)) { 165 u8 bad, unsigned long timeout) 176 err = __ide_wait_stat(drive, good, bad, timeout, &stat); 337 printk(KERN_ERR "%s: %s: bad status\n", drive->name, __func__); 164 ide_wait_stat(ide_startstop_t *startstop, ide_drive_t *drive, u8 good, u8 bad, unsigned long timeout) argument
|
/drivers/input/joystick/ |
H A D | tmdc.c | 243 unsigned char r, bad = 0; local 249 bad = 1; 255 bad = 1; 260 tmdc->bads += bad;
|
H A D | adi.c | 130 int bad; member in struct:adi_port 282 port->bad -= adi_read(port);
|
/drivers/net/ethernet/8390/ |
H A D | ne.c | 21 sanity checks and bad clone support optional. 25 Paul Gortmaker : Allow users with bad cards to avoid full probe. 66 /* 0xbad = bad sig or no reset ack */ 73 static int bad[MAX_NE_CARDS]; variable 79 module_param_array(bad, int, NULL, 0); 83 MODULE_PARM_DESC(bad, "Accept card(s) with bad signatures"); 130 /* A list of bad clones that we none-the-less recognize. */ 447 /* Ack! Well, there might be a *bad* NE*000 clone there. 826 dev->mem_end = bad[this_de [all...] |
/drivers/net/ethernet/seeq/ |
H A D | ether3.c | 228 int bad = -1; local 246 if (max_errors > 0 && bad != buffer[i]) { 251 bad = i; 254 if (bad != -1) { 255 if (bad != i - 1) 258 bad = -1; 262 if (bad != -1) 616 printk("%s: bad next pointer @%04X: ", dev->name, priv(dev)->rx_head);
|
/drivers/pcmcia/ |
H A D | rsrc_nonstatic.c | 190 unsigned int i, j, bad; local 221 bad = any = 0; 227 if (!bad) 228 bad = any = i; 238 if (!bad) 239 bad = any = i; 241 if (bad) { 242 sub_interval(&s_data->io_db, bad, i-bad); 243 printk(" %#x-%#x", bad, 414 u_long i, j, bad, fail, step; local [all...] |
/drivers/infiniband/hw/mlx5/ |
H A D | mr.c | 739 struct ib_send_wr wr, *bad; local 783 err = ib_post_send(umrc->qp, &wr, &bad); 942 struct ib_send_wr wr, *bad; local 951 err = ib_post_send(umrc->qp, &wr, &bad);
|
/drivers/net/ethernet/aeroflex/ |
H A D | greth.c | 747 int bad, count; local 765 bad = 0; 771 bad = 1; 775 bad = 1; 779 bad = 1; 782 if (unlikely(bad)) { 862 int bad, count = 0; local 875 bad = 0; 885 bad = 1; 889 bad [all...] |
/drivers/net/ethernet/i825xx/ |
H A D | ether1.c | 259 int bad = -1; local 272 if (max_errors >= 0 && bad != buffer[i]) { 273 if (bad != -1) 279 bad = buffer[i]; 283 if (bad != -1) { 288 bad = -1; 293 if (bad != -1)
|
/drivers/mtd/nand/ |
H A D | nand_base.c | 315 * nand_block_bad - [DEFAULT] Read bad block marker from the chip 320 * Check, if the block is bad. 326 u16 bad; local 346 bad = cpu_to_le16(chip->read_word(mtd)); 348 bad >>= 8; 350 bad &= 0xFF; 354 bad = chip->read_byte(mtd); 358 res = bad != 0xFF; 360 res = hweight8(bad) < chip->badblockbits; 375 * nand_default_block_markbad - [DEFAULT] mark a block bad vi [all...] |
/drivers/net/ethernet/octeon/ |
H A D | octeon_mgmt.c | 326 u64 drop, bad; local 330 bad = cvmx_read_csr(p->agl + AGL_GMX_RX_STATS_PKTS_BAD); 332 if (drop || bad) { 335 netdev->stats.rx_errors += bad;
|
/drivers/scsi/ |
H A D | osst.c | 1144 bad = 0, 1168 printk(OSST_DEB_MSG "%s:D: Repositioning tape to bad frame %d\n", 1188 else if (position > STp->eod_frame_ppos || ++bad == 10) { 1190 bad = 0; 1797 printk(OSST_DEB_MSG "%s:D: Detected physical bad frame at %u, advised to skip %d\n", name, frame, skip); 1142 bad = 0, local
|
H A D | scsi_debug.c | 4479 int bad = 0; local 4501 bad = 1; 4502 if (bad)
|
/drivers/block/ |
H A D | floppy.c | 855 pr_info("bad fdc value\n"); 1381 } else if (ST2 & ST2_BC) { /* cylinder marked as bad */ 1382 pr_cont("bad cylinder"); 1400 char bad; local 1413 bad = 1; 1418 bad = 2; 1424 bad = 0; 1431 return bad; 2282 * can be recognized by a bad head number (>= 2) */ 2671 * are other bad sector [all...] |
/drivers/md/ |
H A D | raid5.c | 803 /* We have already checked bad blocks for reads. Now 811 int bad = is_badblock(rdev, sh->sector, STRIPE_SECTORS, local 813 if (!bad) 816 if (bad < 0) { 822 * bad block log - better give it 834 /* Acknowledged bad block - skip the write */ 2848 * bad block here. 2849 * For recover/replace we need to record a bad block on all 3590 * if it is recovered enough and has no bad blocks. 4294 /* too big in some way, or has a known bad bloc [all...] |
/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_ioc.c | 1453 BFA_FLASH_BAD = -3, /*!< flash bad */ 1493 u32 bad:1; member in struct:bfa_flash_dev_status_reg::__anon2846 1497 u32 bad:1;
|
/drivers/scsi/bfa/ |
H A D | bfa_ioc.c | 6686 BFA_FLASH_BAD = -3, /*!< flash bad */ 6730 u32 bad:1; member in struct:bfa_flash_dev_status_reg_u::__anon5253 6734 u32 bad:1;
|