taglinefilesource code
unit151drivers/block/ali14xx.cdriveNum = (HWIF(drive)->index << 1) + drive->select.b.unit;
unit655drivers/block/cmd640.cdrive_number = drive->select.b.unit;
unit688drivers/block/cmd640.cdrive_number = drive->select.b.unit;
unit93drivers/block/dtc2278.cHWIF(drive)->drives[!drive->select.b.unit].io_32bit = 1;
unit214drivers/block/floppy.c#define REVDRIVE(fdc, unit) ((unit) + ((fdc) << 2))
unit697drivers/block/floppy.cstatic inline int is_selected(int dor, int unit)
unit699drivers/block/floppy.creturn ((dor  & (0x10 << unit)) && (dor &3) == unit);
unit704drivers/block/floppy.cregister unsigned char drive, unit, newdor,olddor;
unit712drivers/block/floppy.cunit = olddor & 0x3;
unit713drivers/block/floppy.cif (is_selected(olddor, unit) && !is_selected(newdor,unit)){
unit714drivers/block/floppy.cdrive = REVDRIVE(fdc,unit);
unit725drivers/block/floppy.cunit = newdor & 0x3;
unit726drivers/block/floppy.cif (!is_selected(olddor, unit) && is_selected(newdor,unit)){
unit727drivers/block/floppy.cdrive = REVDRIVE(fdc,unit);
unit3834drivers/block/floppy.cint i,unit,drive;
unit3888drivers/block/floppy.cfor (unit=0; unit<4; unit++)
unit3889drivers/block/floppy.cFDCS->track[unit] = 0;
unit67drivers/block/genhd.cchar unit = (minor >> hd->minor_shift) + 'a';
unit77drivers/block/genhd.cunit += 2;
unit79drivers/block/genhd.cunit += 2;
unit81drivers/block/genhd.cunit += 2;
unit88drivers/block/genhd.csprintf(buf, "%s%c%d", maj, unit, part);
unit90drivers/block/genhd.csprintf(buf, "%s%c", maj, unit);
unit132drivers/block/ht6560b.cbyte select = ht6560b_selects[HWIF(drive)->index][drive->select.b.unit];
unit133drivers/block/ht6560b.cbyte timing = ht6560b_timings[HWIF(drive)->index][drive->select.b.unit];
unit196drivers/block/ht6560b.cunsigned int hwif, unit;
unit206drivers/block/ht6560b.cunit = drive->select.b.unit;
unit208drivers/block/ht6560b.cht6560b_timings[hwif][unit] = pio_to_timings[pio];
unit210drivers/block/ht6560b.cht6560b_selects[hwif][unit] |= 0x20;
unit212drivers/block/ht6560b.cht6560b_selects[hwif][unit] &= ~0x20;
unit1837drivers/block/ide-cd.cHWIF(drive)->gd->sizes[drive->select.b.unit << PARTN_BITS]
unit2668drivers/block/ide-cd.cblksize_size[HWIF(drive)->major][drive->select.b.unit << PARTN_BITS] = CD_FRAMESIZE;
unit306drivers/block/ide.cunsigned int h, unit;
unit342drivers/block/ide.cfor (unit = 0; unit < MAX_DRIVES; ++unit) {
unit343drivers/block/ide.cide_drive_t *drive = &hwif->drives[unit];
unit345drivers/block/ide.cdrive->select.all    = (unit<<4)|0xa0;
unit354drivers/block/ide.cdrive->name[2]      = 'a' + (h * MAX_DRIVES) + unit;
unit499drivers/block/ide.cunsigned int unit;
unit502drivers/block/ide.cfor (unit = 0; unit < gd->nr_real; ++unit) {
unit503drivers/block/ide.cide_drive_t *drive = &hwif->drives[unit];
unit528drivers/block/ide.cunsigned int unit, units, minors;
unit544drivers/block/ide.cfor (unit = 0; unit < minors; ++unit)
unit547drivers/block/ide.cfor (unit = 0; unit < units; ++unit)
unit548drivers/block/ide.chwif->drives[unit].part = &gd->part[unit << PARTN_BITS];
unit662drivers/block/ide.cunsigned int unit;
unit691drivers/block/ide.cfor (unit = 0; unit < MAX_DRIVES; ++unit) {
unit692drivers/block/ide.cide_drive_t *rdrive = &hwif->drives[unit];
unit1304drivers/block/ide.cunsigned int minor, unit;
unit1313drivers/block/ide.cunit = minor >> PARTN_BITS;
unit1314drivers/block/ide.cif (MAJOR(rq->rq_dev) != hwif->major || unit >= MAX_DRIVES) {
unit1319drivers/block/ide.cdrive = &hwif->drives[unit];
unit1540drivers/block/ide.cunsigned int unit;
unit1548drivers/block/ide.cfor (unit = 0; unit < MAX_DRIVES; ++unit) {
unit1549drivers/block/ide.cide_drive_t *drive = &hwif->drives[unit];
unit1607drivers/block/ide.cunsigned unit = DEVICE_NR(i_rdev);
unit1608drivers/block/ide.cif (unit < MAX_DRIVES) {
unit1609drivers/block/ide.cide_drive_t *drive = &hwif->drives[unit];
unit1612drivers/block/ide.c} else if (major == IDE0_MAJOR && unit < 4) {
unit1613drivers/block/ide.cprintk("ide: probable bad entry for /dev/hd%c\n", 'a'+unit);
unit1680drivers/block/ide.crq->rq_dev = MKDEV(major,(drive->select.b.unit)<<PARTN_BITS);
unit1801drivers/block/ide.cminor = drive->select.b.unit << PARTN_BITS;
unit1824drivers/block/ide.cresetup_one_dev(HWIF(drive)->gd, drive->select.b.unit);
unit1963drivers/block/ide.cHWIF(drive)->drives[!drive->select.b.unit].io_32bit = arg;
unit2376drivers/block/ide.cif (drive->select.b.unit != 0) {
unit2424drivers/block/ide.cunsigned int unit;
unit2428drivers/block/ide.cfor (unit = 0; unit < MAX_DRIVES; ++unit) {
unit2429drivers/block/ide.cide_drive_t *drive = &hwif->drives[unit];
unit2447drivers/block/ide.cfor (unit = 0; unit < MAX_DRIVES; ++unit) {
unit2448drivers/block/ide.cide_drive_t *drive = &hwif->drives[unit];
unit2581drivers/block/ide.cunsigned int hw, unit;
unit2594drivers/block/ide.cunit = s[2] - 'a';
unit2595drivers/block/ide.chw   = unit / MAX_DRIVES;
unit2596drivers/block/ide.cunit = unit % MAX_DRIVES;
unit2598drivers/block/ide.cdrive = &hwif->drives[unit];
unit2855drivers/block/ide.cint unit;
unit2860drivers/block/ide.cfor (unit = 0; unit < MAX_DRIVES; ++unit) {
unit2861drivers/block/ide.cide_drive_t *drive = &hwif->drives[unit];
unit2862drivers/block/ide.cif ((cmos_disks & (0xf0 >> (unit*4))) && !drive->present) {
unit292drivers/block/ide.hunsigned unit    : 1;  /* drive select number, 0 or 1 */
unit335drivers/block/triton.cstatic void print_triton_drive_flags (unsigned int unit, byte flags)
unit337drivers/block/triton.cprintk("         %s ", unit ? "slave :" : "master:");
unit374drivers/char/ftape/fdc-io.cint unit = FTAPE_UNIT;
unit375drivers/char/ftape/fdc-io.cint data = unit | FDC_RESET_NOT | FDC_DMA_MODE;
unit379drivers/char/ftape/fdc-io.cdata |= FDC_MOTOR_0 << unit;
unit380drivers/char/ftape/fdc-io.cTRACEx1(4, "turning motor %d on", unit);
unit382drivers/char/ftape/fdc-io.cTRACEx1(4, "turning motor %d off", unit);
unit490drivers/char/ftape/fdc-io.cint unit = FTAPE_UNIT;
unit491drivers/char/ftape/fdc-io.cbyte fdc_ctl = unit | FDC_DMA_MODE;
unit498drivers/char/ftape/fdc-io.cfdc_ctl |= FDC_MOTOR_0 << unit;
unit523drivers/char/ftape/fdc-io.cif (i == unit) {
unit115drivers/isdn/isdn_ppp.cint unit = 0;
unit146drivers/isdn/isdn_ppp.cunit = isdn_ppp_if_get_unit(&name); /* get unit number from interface name .. ugly! */
unit147drivers/isdn/isdn_ppp.cippp_table[lp->ppp_minor].unit = unit;
unit192drivers/isdn/isdn_ppp.cippp_table[minor].unit = -1;  /* set, when we have our interface */
unit299drivers/isdn/isdn_ppp.c(int) minor, (int) ippp_table[minor].unit, (int) val);
unit306drivers/isdn/isdn_ppp.cif ((r = set_arg((void *) arg, ippp_table[minor].unit)))
unit897drivers/isdn/isdn_ppp.cstatic int isdn_ppp_bundle(int minor, int unit)
unit904drivers/isdn/isdn_ppp.csprintf(ifn, "ippp%d", unit);
unit926drivers/isdn/isdn_ppp.cippp_table[nlp->ppp_minor].unit = ippp_table[lp->ppp_minor].unit;
unit1182drivers/isdn/isdn_ppp.cint len, i, unit = 0, deci;
unit1187drivers/isdn/isdn_ppp.cunit += (name[len - 1 - i] - '0') * deci;
unit1192drivers/isdn/isdn_ppp.cunit = -1;
unit1195drivers/isdn/isdn_ppp.creturn unit;
unit166drivers/net/bsd_comp.cunsigned char  unit;    /* ppp unit number */
unit197drivers/net/bsd_comp.cint opt_len, int unit, int debug, int decomp);
unit199drivers/net/bsd_comp.cint opt_len, int unit, int opthdr, int debug);
unit201drivers/net/bsd_comp.cint opt_len, int unit, int opthdr, int mru,
unit499drivers/net/bsd_comp.cint opt_len, int unit, int debug, int decomp)
unit529drivers/net/bsd_comp.cdb->unit = unit;
unit542drivers/net/bsd_comp.cint opt_len, int unit, int opthdr, int debug)
unit544drivers/net/bsd_comp.creturn bsd_init (state, options, opt_len, unit, debug, 0);
unit548drivers/net/bsd_comp.cint opt_len, int unit, int opthdr, int mru,
unit551drivers/net/bsd_comp.creturn bsd_init (state, options, opt_len, unit, debug, 1);
unit915drivers/net/bsd_comp.cdb->unit, seq, db->seqno - 1);
unit976drivers/net/bsd_comp.cprintk("bsd_decomp%d: bad CLEAR\n", db->unit);
unit991drivers/net/bsd_comp.cdb->unit, incode, oldcode);
unit1016drivers/net/bsd_comp.cprintk("bsd_decomp%d: ran out of mru\n", db->unit);
unit1041drivers/net/bsd_comp.cprintk("bsd_decomp%d: fell off end of chain ", db->unit);
unit1051drivers/net/bsd_comp.cdb->unit, incode, finchar);
unit1069drivers/net/bsd_comp.cdb->unit, codelen, incode, max_ent);
unit1157drivers/net/bsd_comp.cdb->unit, db->seqno - 1);
unit194drivers/sound/dev_table.csndtable_probe (int unit, struct address_info *hw_config)
unit198drivers/sound/dev_table.cDDB (printk ("sndtable_probe(%d)\n", unit));
unit200drivers/sound/dev_table.cif (!unit)
unit207drivers/sound/dev_table.cif (snd_installed_cards[i].card_type == unit)
unit216drivers/sound/dev_table.csnd_installed_cards[sel].card_type = unit;
unit265drivers/sound/dev_table.csndtable_init_card (int unit, struct address_info *hw_config)
unit269drivers/sound/dev_table.cDDB (printk ("sndtable_init_card(%d) entered\n", unit));
unit271drivers/sound/dev_table.cif (!unit)
unit279drivers/sound/dev_table.cif (snd_installed_cards[i].card_type == unit)
unit312drivers/sound/dev_table.cunit, num_sound_cards));
unit523drivers/sound/dev_table.hint sndtable_probe (int unit, struct address_info *hw_config);
unit524drivers/sound/dev_table.hint sndtable_init_card (int unit, struct address_info *hw_config);
unit101drivers/sound/sb16_midi.csb16midiintr (int unit)
unit117drivers/sound/sound_calls.hvoid sb16midiintr (int unit);
unit481include/linux/isdn.hint unit; 
unit74include/linux/ppp-comp.hint opt_len, int unit, int opthdr, int debug);
unit94include/linux/ppp-comp.hint opt_len, int unit, int opthdr, int mru,
unit11include/net/netlink.hextern int netlink_attach(int unit, int (*function)(struct sk_buff *skb));
unit13include/net/netlink.hextern void netlink_detach(int unit);
unit14include/net/netlink.hextern int netlink_post(int unit, struct sk_buff *skb);
unit177net/netlink.cint netlink_attach(int unit, int (*function)(struct sk_buff *skb))
unit179net/netlink.cif(unit>=MAX_LINKS)
unit181net/netlink.cif(active_map&(1<<unit))
unit183net/netlink.cactive_map|=(1<<unit);
unit184net/netlink.cnetlink_handler[unit]=function;
unit188net/netlink.cvoid netlink_detach(int unit)
unit190net/netlink.cactive_map&=~(1<<unit);
unit191net/netlink.cnetlink_handler[unit]=netlink_err;
unit194net/netlink.cint netlink_post(int unit, struct sk_buff *skb)
unit198net/netlink.cif(open_map&(1<<unit))
unit202net/netlink.cif(rdq_size[unit]+skb->len>MAX_QBYTES)
unit206net/netlink.cskb_queue_tail(&skb_queue_rd[unit], skb);
unit207net/netlink.crdq_size[unit]+=skb->len;
unit209net/netlink.cwake_up_interruptible(&read_space_wait[unit]);