Searched refs:unit (Results 101 - 125 of 226) sorted by relevance

12345678910

/drivers/infiniband/hw/qib/
H A Dqib.h204 /* so file ops can get at unit */
597 u32 ibmtu; /* The MTU programmed for this unit */
857 * per unit status, see also portdata statusp
858 * mapped readonly into user processes so they can get unit and
963 int unit; /* unit # of this chip */ member in struct:qib_devdata
1068 extern struct qib_devdata *qib_lookup(int unit);
1379 const char *qib_get_unit_name(int unit);
1436 qib_get_unit_name((dd)->unit), ##__VA_ARGS__); \
1442 qib_get_unit_name((dd)->unit), (d
[all...]
H A Dqib_init.c246 * apps, following statusp. This is per-unit, not per port.
657 static inline struct qib_devdata *__qib_lookup(int unit) argument
659 return idr_find(&qib_unit_table, unit);
662 struct qib_devdata *qib_lookup(int unit) argument
668 dd = __qib_lookup(unit);
675 * Stop the timers during unit shutdown, or after an error late
916 idr_remove(&qib_unit_table, dd->unit);
924 * Allocate our primary per-unit data structure. Must be done via verbs
929 * Use the idr mechanism to get a unit number for this unit
[all...]
/drivers/staging/comedi/drivers/
H A Dserial2002.c483 int unit, sign, min; local
484 unit =
494 switch (unit) {
523 int unit, sign, max; local
524 unit =
534 switch (unit) {
/drivers/infiniband/hw/ipath/
H A Dipath_driver.c51 const char *ipath_get_unit_name(int unit) argument
54 snprintf(iname, sizeof iname, "infinipath%u", unit);
215 ": Could not allocate unit ID: error %d\n", -ret);
233 static inline struct ipath_devdata *__ipath_lookup(int unit) argument
235 return idr_find(&unit_table, unit);
238 struct ipath_devdata *ipath_lookup(int unit) argument
244 dd = __ipath_lookup(unit);
411 ipath_cdbg(VERBOSE, "initializing unit #%u\n", dd->ipath_unit);
427 ipath_dev_err(dd, "enable unit %d failed: error %d\n",
467 dev_info(&pdev->dev, "pci_request_regions unit
2559 ipath_reset_device(int unit) argument
[all...]
/drivers/gpu/drm/savage/
H A Dsavage_state.c81 static int savage_verify_texaddr(drm_savage_private_t * dev_priv, int unit, argument
85 DRM_ERROR("bad texAddr%d %08x (reserved bits)\n", unit, addr);
94 unit, addr);
100 unit, addr);
109 unit, addr);
/drivers/block/
H A Dfloppy.c299 /* reverse mapping from unit and fdc to drive */
300 #define REVDRIVE(fdc, unit) ((unit) + ((fdc) << 2))
773 static inline int is_selected(int dor, int unit) argument
775 return ((dor & (0x10 << unit)) && (dor & 3) == unit);
786 unsigned char unit; local
797 unit = olddor & 0x3;
798 if (is_selected(olddor, unit) && !is_selected(newdor, unit)) {
4142 int i, unit, drive; local
[all...]
H A Dcpqarray.c927 c->hdr.unit = (drv_info_t *)(creq->rq_disk->private_data) - h->drv;
1010 cmd->ctlr, cmd->hdr.unit);
1015 cmd->ctlr, cmd->hdr.unit);
1020 cmd->ctlr, cmd->hdr.unit, cmd->req.hdr.cmd,
1246 c->hdr.unit = (io->unit & UNITVALID) ? (io->unit & ~UNITVALID) : dsk;
1427 c->hdr.unit = log_unit;
/drivers/ide/
H A Dtx4939ide.c204 u8 unit = drive->dn; local
209 dma_stat |= (1 << (5 + unit));
211 dma_stat &= ~(1 << (5 + unit));
H A Dpmac.c152 * Clock unit is 15ns (66Mhz)
186 * Can do pio & mdma modes, clock unit is 30ns (33Mhz)
412 * Apply the timings of the proper unit (master/slave) to the shared
413 * timing register when selecting that unit. This version is for
430 * Apply the timings of the proper unit (master/slave) to the shared
431 * timing register when selecting that unit. This version is for
788 u8 unit = drive->dn & 1; local
791 timings = &pmif->timings[unit];
792 timings2 = &pmif->timings[unit+2];
1552 u8 unit local
[all...]
/drivers/net/appletalk/
H A Dcops.c212 struct net_device * __init cops_probe(int unit) argument
223 if (unit >= 0) {
224 sprintf(dev->name, "lt%d", unit);
/drivers/net/ethernet/8390/
H A Dmac8390.c400 struct net_device * __init mac8390_probe(int unit) argument
419 if (unit >= 0)
420 sprintf(dev->name, "eth%d", unit);
H A De2100.c142 struct net_device * __init e2100_probe(int unit) argument
150 sprintf(dev->name, "eth%d", unit);
H A Dhp-plus.c140 struct net_device * __init hp_plus_probe(int unit) argument
148 sprintf(dev->name, "eth%d", unit);
H A Dhp.c102 struct net_device * __init hp_probe(int unit) argument
110 sprintf(dev->name, "eth%d", unit);
/drivers/net/ethernet/dlink/
H A Dde620.c784 struct net_device * __init de620_probe(int unit) argument
805 if (unit >= 0) {
806 sprintf(dev->name, "eth%d", unit);
/drivers/net/ethernet/racal/
H A Dni5010.c117 struct net_device * __init ni5010_probe(int unit) argument
126 if (unit >= 0) {
127 sprintf(dev->name, "eth%d", unit);
/drivers/net/ethernet/seeq/
H A Dseeq8005.c104 struct net_device * __init seeq8005_probe(int unit) argument
113 if (unit >= 0) {
114 sprintf(dev->name, "eth%d", unit);
/drivers/net/ethernet/3com/
H A D3c515.c366 static struct net_device *corkscrew_scan(int unit);
429 struct net_device *tc515_probe(int unit) argument
431 struct net_device *dev = corkscrew_scan(unit);
484 static struct net_device *corkscrew_scan(int unit) argument
499 if (unit >= 0) {
500 sprintf(dev->name, "eth%d", unit);
/drivers/firewire/
H A Dnet.c1460 struct fw_unit *unit, struct fw_device *device)
1468 dev_set_drvdata(&unit->device, peer);
1495 struct fw_unit *unit = fw_unit(_dev); local
1496 struct fw_device *device = fw_parent_device(unit);
1552 ret = fwnet_add_peer(dev, unit, device);
1625 static void fwnet_update(struct fw_unit *unit) argument
1627 struct fw_device *device = fw_parent_device(unit);
1628 struct fwnet_peer *peer = dev_get_drvdata(&unit->device);
1459 fwnet_add_peer(struct fwnet_device *dev, struct fw_unit *unit, struct fw_device *device) argument
/drivers/media/dvb/firewire/
H A Dfiredtv-fw.c326 static void node_update(struct fw_unit *unit) argument
328 struct firedtv *fdtv = dev_get_drvdata(&unit->device);
/drivers/net/wireless/brcm80211/brcmsmac/
H A Dpub.h375 uint unit; /* device instance number */ member in struct:brcms_pub
534 brcms_c_attach(struct brcms_info *wl, struct bcma_device *core, uint unit,
H A Dstf.c164 wlc->pub->unit, Nsts, core_mask);
197 BCMMSG(wlc->wiphy, "wl%d: val %x\n", wlc->pub->unit, val);
/drivers/video/console/
H A Dfbcon.c189 int unit);
691 int unit, int oldidx)
717 con2fb_map[unit] = oldidx;
725 struct fb_info *newinfo, int unit,
733 con2fb_map[unit] = oldidx;
770 int unit, int show_logo)
788 fbcon_set_disp(info, &info->var, unit);
805 * @unit: virtual console number to map
809 * Maps a virtual console @unit to a frame buffer device
812 static int set_con2fb_map(int unit, in argument
690 con2fb_acquire_newinfo(struct vc_data *vc, struct fb_info *info, int unit, int oldidx) argument
724 con2fb_release_oldinfo(struct vc_data *vc, struct fb_info *oldinfo, struct fb_info *newinfo, int unit, int oldidx, int found) argument
769 con2fb_init_display(struct vc_data *vc, struct fb_info *info, int unit, int show_logo) argument
1317 fbcon_set_disp(struct fb_info *info, struct fb_var_screeninfo *var, int unit) argument
[all...]
/drivers/message/i2o/
H A Di2o_block.c1035 static int unit = 0; local
1077 gd->first_minor = unit << 4;
1078 sprintf(gd->disk_name, "i2o/hd%c", 'a' + unit);
1115 unit++;
/drivers/mtd/maps/
H A Dpcmciamtd.c593 char unit = ' '; local
599 unit = 'K';
602 unit = 'M';
604 snprintf(dev->mtd_name, sizeof(dev->mtd_name), "%d%ciB %s", size, unit, "PCMCIA Memory card");

Completed in 733 milliseconds

12345678910