/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/modules/ |
H A D | bsd-comp.c | 106 u_char unit; member in struct:bsd_db 151 int unit, int hdrlen, int debug)); 153 int unit, int hdrlen, int mru, int debug)); 423 bsd_init(db, options, opt_len, unit, hdrlen, mru, debug, decomp) 426 int opt_len, unit, hdrlen, mru, debug, decomp; 448 db->unit = unit; 460 bsd_comp_init(state, options, opt_len, unit, hdrlen, debug) 463 int opt_len, unit, hdrlen, debug; 466 unit, hdrle [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/video/ |
H A D | macmodes.c | 260 int unit; local 263 for (unit = 0; unit < MAX_NR_CONSOLES; unit++) 264 if (fb_display[unit].conp && 265 (GET_FB_IDX(console_fb_info->node) == con2fb_map[unit])) 266 console_fb_info->fbops->fb_set_var(&var, unit,
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/ide/ |
H A D | cs5530.c | 123 outl(cs5530_pio_timings[format][pio], basereg+(drive->select.b.unit<<3)); 136 int unit = drive->select.b.unit; local 137 ide_drive_t *mate = &hwif->drives[unit^1]; 146 outb(inb(hwif->dma_base+2)&~(unit?0x40:0x20), hwif->dma_base+2); /* clear DMA_capable bit */ 215 if (unit == 0) { /* are we configuring drive0? */ 225 outb(inb(hwif->dma_base+2)|(unit?0x40:0x20), hwif->dma_base+2); /* set DMA_capable bit */
|
H A D | cmd64x.c | 405 u8 unit = (drive->select.b.unit & 0x01); local 413 mode_pci &= ~((unit) ? 0x30 : 0x03); 443 u8 unit = (drive->select.b.unit & 0x01); local 453 regD &= ~(unit ? 0x40 : 0x20); 454 regU &= ~(unit ? 0xCA : 0x35); 461 case XFER_UDMA_5: regU |= (unit ? 0x0A : 0x05); break; 462 case XFER_UDMA_4: regU |= (unit ? 0x4A : 0x15); break; 463 case XFER_UDMA_3: regU |= (unit 509 u8 unit = (drive->select.b.unit & 0x01); local [all...] |
H A D | aec62xx.c | 266 byte unit = (drive->select.b.unit & 0x01); local 284 tmp1 = ((0x00 << (4*unit)) | (ultra & ~(7 << (4*unit)))); 286 tmp2 = ((ultra_conf << (4*unit)) | (tmp1 & ~(7 << (4*unit)))); 313 byte unit = (drive->select.b.unit & 0x01); local 344 outb(inb(dma_base+2) & ~(1<<(5+unit)), dma_base+2); 358 byte unit local [all...] |
H A D | cy82c693.c | 203 printk (KERN_INFO "%s (ch=%d, dev=%d): DMA mode is %d (single=%d)\n", drive->name, HWIF(drive)->channel, drive->select.b.unit, (data&0x3), ((data>>2)&1)); 212 printk (KERN_INFO "%s (ch=%d, dev=%d): set DMA mode to %d (single=%d)\n", drive->name, HWIF(drive)->channel, drive->select.b.unit, mode, single); 291 if (drive->select.b.unit == 0) { 321 printk (KERN_INFO "%s (ch=%d, dev=%d): PIO timing is (addr=0x%X, ior=0x%X, iow=0x%X, 8bit=0x%X)\n", drive->name, hwif->channel, drive->select.b.unit, addrCtrl, pclk.time_16r, pclk.time_16w, pclk.time_8); 334 if (drive->select.b.unit == 0) { 374 printk (KERN_INFO "%s (ch=%d, dev=%d): set PIO timing to (addr=0x%X, ior=0x%X, iow=0x%X, 8bit=0x%X)\n", drive->name, hwif->channel, drive->select.b.unit, addrCtrl, pclk.time_16r, pclk.time_16w, pclk.time_8);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/block/ |
H A D | rd.c | 360 int unit = DEVICE_NR(inode->i_rdev); local 363 if (unit == INITRD_MINOR) { 371 if (unit >= NUM_RAMDISKS) 377 if (rd_bdev[unit] == NULL) { 378 rd_bdev[unit] = bdget(kdev_t_to_nr(inode->i_rdev)); 379 rd_bdev[unit]->bd_openers++; 380 rd_bdev[unit]->bd_inode->i_mapping->a_ops = &ramdisk_aops;
|
H A D | ida_ioctl.h | 52 * Normally, the ioctl determines the logical unit for this command by 54 * a command to a different/nonexistant unit (such as during config), you 55 * can override the normal behavior by setting the unit valid bit. (Normally, 64 __u8 unit; member in struct:__anon1115
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/isdn/ |
H A D | isdn_bsdcomp.c | 125 unsigned char unit; /* ppp unit number */ member in struct:bsd_db 391 static int bsd_init (void *state, struct isdn_ppp_comp_data *data, int unit, int debug) argument 398 printk(KERN_ERR "isdn_bsd_init: [%d] ERR, state %lx data %lx\n",unit,(long)state,(long)data); 422 db->unit = unit; 705 db->unit, seq, db->seqno - 1); 753 printk(KERN_DEBUG "bsd_decomp%d: bad CLEAR\n", db->unit); 764 db->unit, incode, oldcode); 783 printk(KERN_DEBUG "bsd_decomp%d: ran out of mru\n", db->unit); [all...] |
/asus-wl-520gu-7.0.1.45/src/router/infosvr/ |
H A D | wlutils.c | 29 int ret, unit; local 39 unit = 0; 40 ret=wl_ioctl(WIF, WLC_SET_AP, &unit, sizeof(unit)); 41 ret=wl_ioctl(WIF, WLC_SCAN, &unit, sizeof(unit)); 50 int unit, ret, i, j; local 133 int unit, ret, i; local 247 int unit, ret, i; local
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/message/i2o/ |
H A D | i2o_lan.c | 71 static int unit = -1; /* device unit number */ variable 249 u8 unit = (u8)(msg[2]>>16); // InitiatorContext local 250 struct net_device *dev = i2o_landevs[unit]; 288 u8 unit = (u8)(msg[2]>>16); // InitiatorContext local 289 struct net_device *dev = i2o_landevs[unit]; 402 u8 unit = (u8)(msg[2]>>16); // InitiatorContext local 403 struct net_device *dev = i2o_landevs[unit]; 590 __raw_writel(priv->unit << 16 | lan_receive_context, msg+2); 641 msg[2] = priv->unit << 1 [all...] |
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/ |
H A D | ftape.h | 62 #define FTAPE_SEL(unit) ((unit) & FTAPE_SEL_MASK)
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/ |
H A D | ftape.h | 62 #define FTAPE_SEL(unit) ((unit) & FTAPE_SEL_MASK)
|
/asus-wl-520gu-7.0.1.45/src/router/ppp/pppd/ |
H A D | sys-sunos4.c | 135 /* Assign a new PPA and get its unit number. */ 158 fatal("Couldn't create ppp interface unit: %m"); 543 output(unit, p, len) 544 int unit; 689 ppp_send_config(unit, mtu, asyncmap, pcomp, accomp) 690 int unit, mtu; 725 ppp_set_xaccm(unit, accm) 726 int unit; 740 ppp_recv_config(unit, mru, asyncmap, pcomp, accomp) 741 int unit, mr [all...] |
H A D | pppd.h | 189 extern int ifunit; /* Interface unit number */ 271 extern int req_unit; /* interface unit number to use */ 316 void (*init) __P((int unit)); 318 void (*input) __P((int unit, u_char *pkt, int len)); 320 void (*protrej) __P((int unit)); 322 void (*lowerup) __P((int unit)); 324 void (*lowerdown) __P((int unit)); 326 void (*open) __P((int unit)); 328 void (*close) __P((int unit, char *reason)); 334 void (*datainput) __P((int unit, u_cha [all...] |
H A D | fsm.h | 44 int unit; /* Interface unit number */ member in struct:fsm 144 extern int peer_mru[]; /* currently negotiated peer MRU (per unit) */
|
/asus-wl-520gu-7.0.1.45/src/tools/upnp/igd/ |
H A D | wanipc.c | 292 int unit; local 295 for (unit = 0; unit < MAX_NVPARSE; unit ++) { 296 snprintf(tmp, sizeof(tmp), "wan%d_primary", unit); 300 if (unit == MAX_NVPARSE) 301 unit = 0; 303 snprintf(prefix, len, "wan%d_%s", unit, var);
|
/asus-wl-520gu-7.0.1.45/src/router/shared/ |
H A D | broadcom.c | 71 #define wan_prefix(unit, prefix) snprintf(prefix, sizeof(prefix), "wan%d_", unit) 404 int unit; local 409 if ((unit = atoi(nvram_safe_get("wan_unit"))) < 0) 410 unit = 0; 412 snprintf(tmp, sizeof(tmp), "/var/run/udhcpc%d.pid", unit); 426 int unit; local 431 if ((unit = atoi(nvram_safe_get("wan_unit"))) < 0) 432 unit = 0; 434 snprintf(tmp, sizeof(tmp), "/var/run/udhcpc%d.pid", unit); 456 int unit; local 516 int unit; local 564 int unit; local 769 char vif[64],*unit=NULL; local 1726 int unit; local 1774 int unit=-1,subunit=-1, ret = 0; local 1994 wan_name(int unit, char *prefix, char *name, int len) argument 2008 int unit, ret = 0; local 2064 int unit = -1; local 2386 int index,unit; local 2451 char *subunit=NULL,unit[]="0000"; local 4199 int unit, i; local 4893 int unit=-1,subunit=-1; local 5282 int unit; local 5381 int unit = 0; local 5459 int unit = 0; local 5764 int unit=-1,subunit=-1; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/ |
H A D | ppp_mppe_mppc_comp.c | 58 int unit; member in struct:ppp_mppe_state 271 mppe_init(void *arg, unsigned char *options, int opt_len, int unit, argument 334 state->unit = unit; 356 mppe_comp_init(void *arg, unsigned char *options, int opt_len, int unit, argument 359 return mppe_init(arg, options, opt_len, unit, hdrlen, 0, debug, 1); 364 mppe_decomp_init(void *arg, unsigned char *options, int opt_len, int unit, argument 367 return mppe_init(arg, options, opt_len, unit, hdrlen, mru, debug, 0); 377 __FUNCTION__, state->unit); 561 __FUNCTION__, state->unit, of [all...] |
/asus-wl-520gu-7.0.1.45/src/router/ppp/pppoecd/ |
H A D | pppd.h | 187 extern int ifunit; /* Interface unit number */ 269 extern int req_unit; /* interface unit number to use */ 315 void (*init) __P((int unit)); 317 void (*input) __P((int unit, u_char *pkt, int len)); 319 void (*protrej) __P((int unit)); 321 void (*lowerup) __P((int unit)); 323 void (*lowerdown) __P((int unit)); 325 void (*open) __P((int unit)); 327 void (*close) __P((int unit, char *reason)); 333 void (*datainput) __P((int unit, u_cha [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/block/paride/ |
H A D | bpck6.c | 140 PPCSTRUCT(pi)->ppc_id=pi->unit; 178 printk(KERN_DEBUG "PROBE UNIT %x on port:%x\n",pi->unit,pi->port); 182 PPCSTRUCT(pi)->ppc_id=pi->unit; 223 pi->unit,pi->mode,mode_string[pi->mode],pi->delay);
|
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-ppc64/ |
H A D | ide.h | 60 unsigned unit : 1; /* drive select number, 0 or 1 */ member in struct:__anon10566::__anon10567
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-ppc64/ |
H A D | ide.h | 60 unsigned unit : 1; /* drive select number, 0 or 1 */ member in struct:__anon6150::__anon6151
|
/asus-wl-520gu-7.0.1.45/src/router/ppp/pppdump/ |
H A D | ppp-comp.h | 58 int unit, int hdrlen, int mru, int debug));
|
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/ |
H A D | fsm.h | 67 int unit; /* Interface unit number */ member in struct:fsm 167 extern int peer_mru[]; /* currently negotiated peer MRU (per unit) */
|