Searched refs:unit (Results 51 - 75 of 348) sorted by relevance

1234567891011>>

/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/pppd/
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.c339 lcp_init(unit)
340 int unit;
342 fsm *f = &lcp_fsm[unit];
343 lcp_options *wo = &lcp_wantoptions[unit];
344 lcp_options *ao = &lcp_allowoptions[unit];
346 f->unit = unit;
382 lcp_open(unit)
383 int unit;
385 fsm *f = &lcp_fsm[unit];
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/acorn/block/
H A Dfd1772.c203 /* current info on each unit */
215 } unit[FD_MAX_UNITS]; variable in typeref:struct:archy_floppy_struct
424 FDC1772_WRITE(FDC1772REG_TRACK, unit[drive].track);
514 if (++drive > 1 || !unit[drive].connected)
525 if (stat != unit[drive].wpstat) {
527 unit[drive].wpstat = stat;
599 unit[SelectedDrive].track = -1;
620 DPRINT(("do_fd_action unit[drive].track=%d\n", unit[drive].track));
649 /*unit[driv
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/rio/
H A Drioroute.c121 ** Is this unit telling us it's current link topology?
132 ** Topology array for the unit.
222 rio_dprintk (RIO_DEBUG_ROUTE, "I have a link from %s %s to unit %d:%d - I don't like it.\n",
251 rio_dprintk (RIO_DEBUG_ROUTE, "%s %s (%c) is connected to an unconfigured unit.\n",
417 rio_dprintk (RIO_DEBUG_ROUTE, "Found unit 0x%x at slots %d+%d\n",
421 rio_dprintk (RIO_DEBUG_ROUTE, "Found unit 0x%x at slot %d\n",
522 ** If either of the modules on this unit is read-only or write-only
557 ** Lets check to see if we actually booted this unit - if not,
567 ** if the unit wasn't in the table, and the table wasn't full, then
568 ** we reset the unit, becaus
755 uint link, unit; local
996 RIOFreeDisconnected(struct rio_info *p, struct Host *HostP, int unit) argument
1065 int unit,tempID; local
[all...]
/asus-wl-520gu-7.0.1.45/src/et/sys/
H A Det_linux.c149 int unit = et_found; local
152 ET_TRACE(("et%d: et_probe: bus %d slot %d func %d irq %d\n", unit,
165 ET_ERROR(("et%d: et_probe: out of memory, malloced %d bytes\n", unit,
173 ET_ERROR(("et%d: et_probe: init_etherdev() failed\n", unit));
181 ET_ERROR(("et%d: et_probe: out of memory, malloced %d bytes\n", unit,
197 ET_ERROR(("et%d: ioremap() failed\n", unit));
206 if ((et->etc = etc_attach((void*)et, pdev->vendor, pdev->device, unit, osh, et->regsva)) ==
208 ET_ERROR(("et%d: etc_attach() failed\n", unit));
224 ET_ERROR(("et%d: request_irq() failed\n", unit));
247 ET_ERROR(("et%d: register_netdev() failed\n", unit));
[all...]
H A Detc.c56 etc_attach(void *et, uint vendor, uint device, uint unit, void *osh, void *regsva) argument
60 ET_TRACE(("et%d: etc_attach: vendor 0x%x device 0x%x\n", unit, vendor, device));
68 ET_ERROR(("et%d: etc_attach: out of memory, malloced %d bytes\n", unit,
75 etc->unit = unit;
88 ET_ERROR(("et%d: chipattach error\n", unit));
117 ET_TRACE(("et%d: etc_reset\n", etc->unit));
136 ET_TRACE(("et%d: etc_init\n", etc->unit));
237 ET_TRACE(("et%d: etc_ioctl: cmd 0x%x\n", etc->unit, cmd));
392 etc->unit, et
[all...]
/asus-wl-520gu-7.0.1.45/src/router/ppp/pppd/
H A Dlcp.c313 lcp_init(unit)
314 int unit;
316 fsm *f = &lcp_fsm[unit];
317 lcp_options *wo = &lcp_wantoptions[unit];
318 lcp_options *ao = &lcp_allowoptions[unit];
320 f->unit = unit;
356 lcp_open(unit)
357 int unit;
359 fsm *f = &lcp_fsm[unit];
[all...]
H A Dmultilink.c37 static int owns_unit __P((TDB_DATA pid, int unit));
87 int unit, pppd_pid; local
151 unit = -1;
161 parse_num(rec.dptr, "IFNAME=ppp", &unit);
165 || !owns_unit(pid, unit))
166 unit = -1;
172 if (unit >= 0) {
173 /* attach to existing unit */
174 if (bundle_attach(unit)) {
216 * Check whether the pppd identified by `key' still owns ppp unit `uni
[all...]
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/
H A Dlcp.c339 lcp_init(unit)
340 int unit;
342 fsm *f = &lcp_fsm[unit];
343 lcp_options *wo = &lcp_wantoptions[unit];
344 lcp_options *ao = &lcp_allowoptions[unit];
346 f->unit = unit;
382 lcp_open(unit)
383 int unit;
385 fsm *f = &lcp_fsm[unit];
[all...]
/asus-wl-520gu-7.0.1.45/src/router/cdma/
H A Dnetwork.c234 int unit; local
238 wl_ioctl(name, WLC_GET_INSTANCE, &unit, sizeof(unit));
239 snprintf(wl_name, sizeof(wl_name), "wl%d_mode", unit);
242 snprintf(wl_guest, sizeof(wl_guest), "wl%d_guest", unit);
243 snprintf(wl_vifs, sizeof(wl_vifs), "wl%d_vifs", unit);
318 int unit; local
320 wl_ioctl(lan_ifname, WLC_GET_INSTANCE, &unit, sizeof(unit));
321 snprintf(prefix, sizeof(prefix), "wl%d_", unit);
332 int unit; local
578 int unit; local
633 int unit; local
1413 int unit; local
1499 int unit; local
1544 int unit; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/video/
H A Dfbcon.c213 static __inline__ void ywrap_up(int unit, struct vc_data *conp,
215 static __inline__ void ywrap_down(int unit, struct vc_data *conp,
217 static __inline__ void ypan_up(int unit, struct vc_data *conp,
219 static __inline__ void ypan_down(int unit, struct vc_data *conp,
305 int unit, err; local
312 for (unit = 0; unit < MAX_NR_CONSOLES; unit++)
313 if (fb_display[unit].conp && con2fb_map[unit]
329 set_con2fb_map(int unit, int newidx) argument
483 int unit = conp->vc_num; local
514 int unit = conp->vc_num; local
810 int unit = conp->vc_num; local
844 int unit = conp->vc_num; local
869 int unit = conp->vc_num; local
892 int unit = conp->vc_num; local
962 ywrap_up(int unit, struct vc_data *conp, struct display *p, int count) argument
979 ywrap_down(int unit, struct vc_data *conp, struct display *p, int count) argument
996 ypan_up(int unit, struct vc_data *conp, struct display *p, int count) argument
1018 ypan_down(int unit, struct vc_data *conp, struct display *p, int count) argument
1300 int unit = conp->vc_num; local
1448 int unit = conp->vc_num; local
1507 int unit = conp->vc_num; local
1618 fbcon_get_font(int unit, struct console_font_op *op) argument
1675 fbcon_do_set_font(int unit, struct console_font_op *op, u8 *data, int userfont) argument
1793 fbcon_copy_font(int unit, struct console_font_op *op) argument
1810 fbcon_set_font(int unit, struct console_font_op *op) argument
1897 fbcon_set_def_font(int unit, struct console_font_op *op) argument
1919 int unit = conp->vc_num; local
1945 int unit = conp->vc_num; local
2042 int unit, offset, limit, scrollback_old; local
[all...]
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/arch/mips/board/bcm947xx/src/
H A Dbcm947xx_devs.c303 unsigned int unit; local
329 for (unit = 0; unit < SB_MAXCORES; unit++) {
331 if ((regs = sb_setcore(sbh, SB_ENET, unit)))
332 cfe_add_device(&bcmet, BCM47XX_ENET_ID, unit, regs);
335 if ((regs = sb_setcore(sbh, SB_D11, unit)))
336 cfe_add_device(&bcmwl, BCM4306_D11G_ID, unit, regs);
339 if((regs = sb_setcore(sbh, SB_GIGETH, unit)))
340 cfe_add_device(&bcm5700drv, BCM47XX_GIGETH_ID, unit, reg
[all...]
/asus-wl-520gu-7.0.1.45/src/router/ppp/pppdump/
H A Ddeflate.c48 int unit; member in struct:deflate_state
63 int unit, int hdrlen, int mru, int debug));
171 z_decomp_init(arg, options, opt_len, unit, hdrlen, mru, debug)
174 int opt_len, unit, hdrlen, mru, debug;
186 state->unit = unit;
246 state->unit, seq, state->seqno);
267 state->unit, r, (state->strm.msg? state->strm.msg: ""));
280 state->unit, olen, state->mru + PPP_HDRLEN);
328 state->unit,
[all...]
/asus-wl-520gu-7.0.1.45/src/router/pppd/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...]
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/pppdump/
H A Ddeflate.c56 int unit; member in struct:deflate_state
71 int unit, int hdrlen, int mru, int debug));
179 z_decomp_init(arg, options, opt_len, unit, hdrlen, mru, debug)
182 int opt_len, unit, hdrlen, mru, debug;
194 state->unit = unit;
254 state->unit, seq, state->seqno);
275 state->unit, r, (state->strm.msg? state->strm.msg: ""));
288 state->unit, olen, state->mru + PPP_HDRLEN);
336 state->unit,
[all...]
/asus-wl-520gu-7.0.1.45/src/router/shared.asus/
H A Dbroadcom.c53 #define wan_prefix(unit, prefix) snprintf(prefix, sizeof(prefix), "wan%d_", unit)
363 int unit; local
368 if ((unit = atoi(nvram_safe_get("wan_unit"))) < 0)
369 unit = 0;
371 snprintf(tmp, sizeof(tmp), "/var/run/udhcpc%d.pid", unit);
385 int unit; local
390 if ((unit = atoi(nvram_safe_get("wan_unit"))) < 0)
391 unit = 0;
393 snprintf(tmp, sizeof(tmp), "/var/run/udhcpc%d.pid", unit);
415 int unit; local
475 int unit; local
523 int unit; local
634 int unit; local
676 int unit; local
708 int unit; local
774 int unit; local
798 int unit; local
945 int unit, i, status = 0; local
1012 int unit, i, status = 0; local
1079 int unit; local
1595 int unit; local
1642 int unit, ret = 0; local
1678 int unit, ret = 0; local
1708 int unit; local
1735 int unit; local
1749 int unit; local
1768 int unit; local
1793 int unit; local
1813 wan_name(int unit, char *prefix, char *name, int len) argument
1827 int unit, ret = 0; local
3038 int unit, i; local
3569 int unit; local
3667 int unit = 0; local
3718 int unit = 0; local
3769 int unit = 0; local
3820 int unit = 0; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/
H A Dppp_deflate.c50 int unit; member in struct:ppp_deflate_state
65 int unit, int hdrlen, int debug));
68 int unit, int hdrlen, int mru, int debug));
140 z_comp_init(arg, options, opt_len, unit, hdrlen, debug)
143 int opt_len, unit, hdrlen, debug;
156 state->unit = unit;
324 z_decomp_init(arg, options, opt_len, unit, hdrlen, mru, debug)
327 int opt_len, unit, hdrlen, mru, debug;
340 state->unit
[all...]
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/arch/mips/cpu/sb1250/src/
H A Dsb1250_memcpy.S66 #define FIRST(unit) ((unit)*NBYTES)
67 #define REST(unit) (FIRST(unit)+NBYTES-1)
68 #define DEST(unit) FIRST(unit)
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/telephony/
H A Dphonedev.c14 * phone_register_device now works with unit!=PHONE_UNIT_ANY
93 int phone_register_device(struct phone_device *p, int unit) argument
102 if (unit != PHONE_UNIT_ANY) {
103 base = unit;
104 end = unit + 1; /* enter the loop at least one time */
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/dev/
H A Ddev_ide_pci.c234 * probe_b - unit number
254 int unit; local
285 for (unit = 0; unit < 2; unit++) {
292 if (IDE_PROBE_GET_TYPE(probe_b,unit) == IDE_DEVTYPE_NOPROBE) {
311 softc->idecommon_unit = unit;
329 if (IDE_PROBE_GET_TYPE(probe_b,unit) == IDE_DEVTYPE_AUTO) {
338 idecommon_init(softc,IDE_PROBE_GET_TYPE(probe_b,unit));
342 xsprintf(descr,"%s unit
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/scsi/
H A Dpsi240i.c423 case SCSIOP_TEST_UNIT_READY: // test unit ready CDB
566 int unit; local
627 unit = chipDevice[z].channel & 0x0F;
628 HOSTDATA(pshost)->device[unit].device = ChipSetup.setupDevice[unit].device;
629 HOSTDATA(pshost)->device[unit].byte6 = (UCHAR)(((unit & 1) << 4) | 0xE0);
630 HOSTDATA(pshost)->device[unit].spigot = (UCHAR)(1 << (unit >> 1));
631 HOSTDATA(pshost)->device[unit]
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/ide/
H A Dide-probe.c170 ide_drive_t *mate = &HWIF(drive)->drives[1^drive->select.b.unit];
331 if (drive->select.b.unit != 0) {
361 if (drive->select.b.unit != 0) {
501 unsigned int unit; local
520 for (unit = 0; unit < MAX_DRIVES; ++unit) {
521 ide_drive_t *drive = &hwif->drives[unit];
539 for (unit = 0; unit < MAX_DRIVE
770 unsigned int unit, units, minors; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/httpd/
H A Dbroadcom.c51 #define wan_prefix(unit, prefix) snprintf(prefix, sizeof(prefix), "wan%d_", unit)
411 int unit; local
416 if ((unit = atoi(nvram_safe_get("wan_unit"))) < 0)
417 unit = 0;
420 snprintf(tmp, sizeof(tmp), "/var/run/udhcpc%d.pid", unit);
428 snprintf(tmp, sizeof(tmp), "wan_connect,%d", unit);
439 int unit; local
444 if ((unit = atoi(nvram_safe_get("wan_unit"))) < 0)
445 unit
468 int unit, errf = -1; local
506 int unit; local
566 int unit; local
600 int unit; local
638 int unit, val = 0; local
693 int unit; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/rc/
H A Dnetwork.c341 int unit; local
345 wl_ioctl(name, WLC_GET_INSTANCE, &unit, sizeof(unit));
346 snprintf(wl_name, sizeof(wl_name), "wl%d_mode", unit);
349 snprintf(wl_guest, sizeof(wl_guest), "wl%d_guest", unit);
350 snprintf(wl_vifs, sizeof(wl_vifs), "wl%d_vifs", unit);
425 int unit; local
427 wl_ioctl(lan_ifname, WLC_GET_INSTANCE, &unit, sizeof(unit));
428 snprintf(prefix, sizeof(prefix), "wl%d_", unit);
439 int unit; local
686 int unit; local
741 int unit; local
1544 int unit; local
1630 int unit; local
1677 int unit; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/rc.orig/
H A Dnetwork.c342 int unit; local
346 wl_ioctl(name, WLC_GET_INSTANCE, &unit, sizeof(unit));
347 snprintf(wl_name, sizeof(wl_name), "wl%d_mode", unit);
350 snprintf(wl_guest, sizeof(wl_guest), "wl%d_guest", unit);
351 snprintf(wl_vifs, sizeof(wl_vifs), "wl%d_vifs", unit);
426 int unit; local
428 wl_ioctl(lan_ifname, WLC_GET_INSTANCE, &unit, sizeof(unit));
429 snprintf(prefix, sizeof(prefix), "wl%d_", unit);
440 int unit; local
687 int unit; local
742 int unit; local
1533 int unit; local
1619 int unit; local
1666 int unit; local
[all...]

Completed in 322 milliseconds

1234567891011>>