Searched refs:unit (Results 26 - 50 of 293) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ata/
H A Dpata_it821x.c159 int unit = adev->devno; local
168 pci_write_config_byte(pdev, 0x56 + 4 * channel + unit, conf);
189 u8 unit = adev->devno; local
232 if (pair && itdev->udma[1-unit] != UDMA_OFF) {
233 it821x_program_udma(ap, pair, itdev->udma[1-unit]);
234 it821x_program(ap, pair, itdev->pio[1-unit]);
240 if (itdev->udma[unit] != UDMA_OFF) {
241 it821x_program_udma(ap, adev, itdev->udma[unit]);
242 it821x_program(ap, adev, itdev->pio[unit]);
262 int unit local
295 int unit = adev->devno; local
350 int unit = adev->devno; local
373 int unit = adev->devno; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/pppd/
H A Dauth.c543 link_required(unit)
544 int unit;
551 void start_link(unit)
552 int unit;
613 link_terminated(unit)
614 int unit;
635 * can happen that another pppd gets the same unit and then
646 * the ppp unit back to the loopback. Set the
686 link_down(unit)
687 int unit;
707 upper_layers_down(int unit) argument
[all...]
H A Dipcp.c558 ipcp_init(unit)
559 int unit;
561 fsm *f = &ipcp_fsm[unit];
562 ipcp_options *wo = &ipcp_wantoptions[unit];
563 ipcp_options *ao = &ipcp_allowoptions[unit];
565 f->unit = unit;
568 fsm_init(&ipcp_fsm[unit]);
602 ipcp_open(unit)
603 int unit;
[all...]
H A Dlcp.c342 lcp_init(unit)
343 int unit;
345 fsm *f = &lcp_fsm[unit];
346 lcp_options *wo = &lcp_wantoptions[unit];
347 lcp_options *ao = &lcp_allowoptions[unit];
349 f->unit = unit;
382 lcp_open(unit)
383 int unit;
385 fsm *f = &lcp_fsm[unit];
2316 int unit; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/acorn/block/
H A Dfd1772.c206 /* current info on each unit */
218 } unit[FD_MAX_UNITS]; variable in typeref:struct:archy_floppy_struct
416 FDC1772_WRITE(FDC1772REG_TRACK, unit[drive].track);
506 if (++drive > 1 || !unit[drive].connected)
517 if (stat != unit[drive].wpstat) {
519 unit[drive].wpstat = stat;
600 unit[SelectedDrive].track = -1;
622 DPRINT(("do_fd_action unit[drive].track=%d\n", unit[drive].track));
652 /*unit[driv
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-alpha/
H A Dconsole.h51 extern long callback_puts(long unit, const char *s, long length);
52 extern long callback_getc(long unit);
56 extern long callback_close(long unit);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/shared/
H A Dnvparse.h94 * bool get_wds_wsec(int unit, int which, char *mac, char *role,
97 extern bool get_wds_wsec(int unit, int which, char *mac, char *role,
99 extern bool set_wds_wsec(int unit, int which, char *mac, char *role,
101 extern bool del_wds_wsec(int unit, int which);
H A Dshutils.c434 * Parse the unit and subunit from an interface string such as wlXX or wlXX.YY
437 * @param unit pointer to return the unit number, may pass NULL
440 * If ifname ends in digits.digits, then unit and subuint are set
442 * in just digits, unit is set to the value, and subunit is set
443 * to -1. On error both unit and subunit are -1. NULL may be passed
444 * for unit and/or subuint to ignore the value.
447 get_ifname_unit(const char* ifname, int *unit, int *subunit) argument
456 if (unit)
457 *unit
673 int unit = -1; local
732 int unit = -1; local
894 int unit = -1; local
941 int unit; local
[all...]
H A Dwl_bsd.c48 int unit; local
57 if (get_ifname_unit(nv_name, &unit, NULL) != 0)
59 snprintf(bwl_name, IFNAMSIZ, "bwl%d", unit);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/rio/
H A Drioroute.c109 ** Is this unit telling us it's current link topology?
119 ** Topology array for the unit.
189 rio_dprintk(RIO_DEBUG_ROUTE, "I have a link from %s %s to unit %d:%d - I don't like it.\n", MyType, MyName, NewUnit, NewLink);
211 rio_dprintk(RIO_DEBUG_ROUTE, "%s %s (%c) is connected to an unconfigured unit.\n", MyType, MyName, 'A' + ThisLink);
328 rio_dprintk(RIO_DEBUG_ROUTE, "Found unit 0x%x at slots %d+%d\n", RtaUniq, ThisUnit, ThisUnit2);
330 rio_dprintk(RIO_DEBUG_ROUTE, "Found unit 0x%x at slot %d\n", RtaUniq, ThisUnit);
415 ** If either of the modules on this unit is read-only or write-only
445 ** Lets check to see if we actually booted this unit - if not,
454 ** if the unit wasn't in the table, and the table wasn't full, then
455 ** we reset the unit, becaus
499 RIOFixPhbs(struct rio_info *p, struct Host *HostP, unsigned int unit) argument
616 unsigned int link, unit; local
829 RIOFreeDisconnected(struct rio_info *p, struct Host *HostP, int unit) argument
893 int unit, tempID; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/firewire/
H A Dfw-device.c76 struct fw_unit *unit = fw_unit(dev); local
85 if (match_unit_directory(unit->directory, &driver->id_table[i]))
92 static int get_modalias(struct fw_unit *unit, char *buffer, size_t buffer_size) argument
94 struct fw_device *device = fw_device(unit->device.parent);
115 fw_csr_iterator_init(&ci, unit->directory);
136 struct fw_unit *unit = fw_unit(dev); local
141 get_modalias(unit, modalias, sizeof(modalias));
322 struct fw_unit *unit = fw_unit(dev); local
325 length = get_modalias(unit, buf, PAGE_SIZE);
336 struct fw_unit *unit local
505 struct fw_unit *unit = fw_unit(dev); local
523 struct fw_unit *unit; local
707 struct fw_unit *unit = fw_unit(dev); local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/
H A Dide-probe.c446 if (drive->select.b.unit != 0) {
492 if (drive->select.b.unit != 0) {
723 unsigned int unit; local
733 for (unit = 0; unit < MAX_DRIVES; ++unit) {
734 ide_drive_t *drive = &hwif->drives[unit];
784 for (unit = 0; unit < MAX_DRIVES; ++unit) {
885 u16 unit = 0; local
1179 int unit = *part >> PARTN_BITS; local
1233 unsigned int unit = (drive->select.all >> 4) & 1; local
1293 unsigned int unit; local
1400 int unit; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/pppdump/
H A Ddeflate.c58 int unit; member in struct:deflate_state
73 int unit, int hdrlen, int mru, int debug));
181 z_decomp_init(arg, options, opt_len, unit, hdrlen, mru, debug)
184 int opt_len, unit, hdrlen, mru, debug;
196 state->unit = unit;
256 state->unit, seq, state->seqno);
277 state->unit, r, (state->strm.msg? state->strm.msg: ""));
290 state->unit, olen, state->mru + PPP_HDRLEN);
338 state->unit,
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/pci/
H A Dcs5535.c81 int unit = drive->select.b.unit; local
91 piob = ide_get_best_pio_mode(&(drive->hwif->drives[!unit]),
98 wrmsr(unit ? ATAC_CH0D1_PIO : ATAC_CH0D0_PIO, reg, 0);
101 rdmsr(unit ? ATAC_CH0D0_PIO : ATAC_CH0D1_PIO, reg, dummy);
107 wrmsr(unit ? ATAC_CH0D0_PIO : ATAC_CH0D1_PIO, reg, 0);
111 rdmsr(unit ? ATAC_CH0D1_DMA : ATAC_CH0D0_DMA, reg, dummy);
112 wrmsr(unit ? ATAC_CH0D1_DMA : ATAC_CH0D0_DMA,
115 rdmsr(unit ? ATAC_CH0D1_DMA : ATAC_CH0D0_DMA, reg, dummy);
126 wrmsr(unit
[all...]
H A Dtriflex.c50 u8 unit = (drive->select.b.unit & 0x01); local
89 triflex_timings &= ~(0xFFFF << (16 * unit));
90 triflex_timings |= (timing << (16 * unit));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/s390/scsi/
H A Dzfcp_ccw.c102 struct zfcp_unit *unit, *u; local
112 list_for_each_entry_safe(unit, u, &port->unit_list_head, list) {
113 list_move(&unit->list, &port->unit_remove_lh);
115 &unit->status);
124 list_for_each_entry_safe(unit, u, &port->unit_remove_lh, list) {
125 zfcp_unit_dequeue(unit);
H A Dzfcp_aux.c209 struct zfcp_unit *unit; local
223 unit = zfcp_unit_enqueue(port, zfcp_data.init_fcp_lun);
224 if (!unit)
230 zfcp_unit_put(unit);
711 * zfcp_get_unit_by_lun - find unit in unit list of port by FCP LUN
712 * @port: pointer to port to search for unit
714 * Traverse list of all units of a port and return pointer to a unit
720 struct zfcp_unit *unit; local
723 list_for_each_entry(unit,
818 struct zfcp_unit *unit, *tmp_unit; local
893 zfcp_unit_dequeue(struct zfcp_unit *unit) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/rc/
H A Dudhcpc.c43 int unit; local
45 if ((unit = wan_ifunit(wan_ifname)) < 0)
49 snprintf(tmp, sizeof(tmp), "/tmp/udhcpc%d.expires", unit);
91 int unit; local
93 if ((unit = wan_ifunit(wan_ifname)) < 0)
96 snprintf(prefix, sizeof(prefix), "wan%d_", unit);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/telephony/
H A Dphonedev.c14 * phone_register_device now works with unit!=PHONE_UNIT_ANY
89 int phone_register_device(struct phone_device *p, int unit) argument
98 if (unit != PHONE_UNIT_ANY) {
99 base = unit;
100 end = unit + 1; /* enter the loop at least one time */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/block/paride/
H A Dpt.c43 devices, this is the unit selector for the
137 #define DU (*drives[unit])
487 pt_atapi(tape, tr_cmd, 0, NULL, DBMSG("test unit ready"));
600 int unit; local
605 for (unit = 0; unit < PT_UNITS; unit++) {
606 struct pt_unit *tape = &pt[unit];
614 snprintf(tape->name, PT_NAMELEN, "%s%d", name, unit);
649 int unit local
945 int unit; local
990 int unit; local
[all...]
H A Dpcd.c32 devices, this is the unit selector for the
89 1.01 GRG 1998.01.24 Added test unit ready support
195 int present; /* does this unit exist ? */
279 int unit; local
282 for (unit = 0, cd = pcd; unit < PCD_UNITS; unit++, cd++) {
291 cd->drive = (*drives[unit])[D_SLV];
292 if ((*drives[unit])[D_PRT])
296 snprintf(cd->name, sizeof(cd->info.name), "%s%d", name, unit);
641 int unit, r; local
671 int k, unit; local
912 int unit; local
954 int unit; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/
H A Dpsi240i.c431 case SCSIOP_TEST_UNIT_READY: // test unit ready CDB
549 int unit; local
601 unit = chipDevice[z].channel & 0x0F;
602 HOSTDATA(pshost)->device[unit].device = ChipSetup.setupDevice[unit].device;
603 HOSTDATA(pshost)->device[unit].byte6 = (UCHAR)(((unit & 1) << 4) | 0xE0);
604 HOSTDATA(pshost)->device[unit].spigot = (UCHAR)(1 << (unit >> 1));
605 HOSTDATA(pshost)->device[unit]
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/ipath/
H A Dipath_fs.c405 char unit[10]; local
408 snprintf(unit, sizeof unit, "%02d", dd->ipath_unit);
409 ret = create_file(unit, S_IFDIR|S_IRUGO|S_IXUGO, sb->s_root, &dir,
413 printk(KERN_ERR "create_file(%s) failed: %d\n", unit, ret);
421 "failed: %d\n", unit, ret);
429 "failed: %d\n", unit, ret);
437 "failed: %d\n", unit, ret);
445 "failed: %d\n", unit, ret);
491 char unit[1 local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dppp_deflate.c51 int unit; member in struct:ppp_deflate_state
66 int unit, int hdrlen, int debug);
69 int unit, int hdrlen, int mru, int debug);
153 * @unit: PPP unit number for diagnostic messages
163 int unit, int hdrlen, int debug)
176 state->unit = unit;
371 * @unit: PPP unit numbe
162 z_comp_init(void *arg, unsigned char *options, int opt_len, int unit, int hdrlen, int debug) argument
381 z_decomp_init(void *arg, unsigned char *options, int opt_len, int unit, int hdrlen, int mru, int debug) argument
[all...]
H A Dppp_mppe.c108 /* the unit has to change to bits */
114 int unit; member in struct:ppp_mppe_state
275 mppe_init(void *arg, unsigned char *options, int optlen, int unit, int debug, argument
292 unit);
307 debugstr, unit, (state->keylen == 16) ? 128 : 40,
316 debugstr, unit, mkey, skey);
333 state->unit = unit;
340 mppe_comp_init(void *arg, unsigned char *options, int optlen, int unit, argument
344 return mppe_init(arg, options, optlen, unit, debu
456 mppe_decomp_init(void *arg, unsigned char *options, int optlen, int unit, int hdrlen, int mru, int debug) argument
[all...]

Completed in 235 milliseconds

1234567891011>>