Home
last modified time | relevance | path

Searched refs:bip (Results 1 – 4 of 4) sorted by relevance

/drivers/staging/cxt1e1/
Dsbeproc.c61 struct sbe_brd_info *bip; in sbecom_proc_get_sbe_info() local
63 if (!(bip = OS_kmalloc (sizeof (struct sbe_brd_info)))) in sbecom_proc_get_sbe_info()
88 sbecom_get_brdinfo (ci, bip, bsn); in sbecom_proc_get_sbe_info()
94 (char *) &bip->first_iname, (char *) &bip->first_iname, in sbecom_proc_get_sbe_info()
95 (char *) &bip->last_iname, (char *) &bip->last_iname); in sbecom_proc_get_sbe_info()
98 switch (bip->brd_id) in sbecom_proc_get_sbe_info()
140 len += sprintf (buffer + len, " [%08X]\n", bip->brd_id); in sbecom_proc_get_sbe_info()
142 len += sprintf (buffer + len, "Board Number: %d\n", bip->brdno); in sbecom_proc_get_sbe_info()
144 len += sprintf (buffer + len, "Board SN: %06X\n", bip->brd_sn); in sbecom_proc_get_sbe_info()
146 bip->brd_mac_addr); in sbecom_proc_get_sbe_info()
[all …]
Dpmcc4_drv.c1479 sbecom_get_brdinfo (ci_t * ci, struct sbe_brd_info * bip, u_int8_t *bsn) in sbecom_get_brdinfo() argument
1485 bip->brdno = ci->brdno; /* our board number */ in sbecom_get_brdinfo()
1486 bip->brd_id = ci->brd_id; in sbecom_get_brdinfo()
1487 bip->brd_hdw_id = ci->hdw_bid; in sbecom_get_brdinfo()
1488 bip->brd_chan_cnt = MUSYCC_NCHANS * ci->max_port; /* number of channels in sbecom_get_brdinfo()
1490 bip->brd_port_cnt = ci->max_port; /* number of ports being used */ in sbecom_get_brdinfo()
1491 bip->brd_pci_speed = BINFO_PCI_SPEED_unk; /* PCI speed not yet in sbecom_get_brdinfo()
1502 strncpy (bip->first_iname, np, CHNM_STRLEN - 1); in sbecom_get_brdinfo()
1504 strcpy (bip->first_iname, "<NULL>"); in sbecom_get_brdinfo()
1513 strncpy (bip->last_iname, np, CHNM_STRLEN - 1); in sbecom_get_brdinfo()
[all …]
Dlinux.c840 struct sbe_brd_info bip; in c4_ioctl() member
/drivers/md/
Draid5.c2293 struct bio **bip; in add_stripe_bio() local
2304 bip = &sh->dev[dd_idx].towrite; in add_stripe_bio()
2305 if (*bip == NULL && sh->dev[dd_idx].written == NULL) in add_stripe_bio()
2308 bip = &sh->dev[dd_idx].toread; in add_stripe_bio()
2309 while (*bip && (*bip)->bi_sector < bi->bi_sector) { in add_stripe_bio()
2310 if ((*bip)->bi_sector + ((*bip)->bi_size >> 9) > bi->bi_sector) in add_stripe_bio()
2312 bip = & (*bip)->bi_next; in add_stripe_bio()
2314 if (*bip && (*bip)->bi_sector < bi->bi_sector + ((bi->bi_size)>>9)) in add_stripe_bio()
2317 BUG_ON(*bip && bi->bi_next && (*bip) != bi->bi_next); in add_stripe_bio()
2318 if (*bip) in add_stripe_bio()
[all …]