/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/ide/ |
H A D | hd.c | 621 struct hd_geometry *loc = (struct hd_geometry *) arg; local 633 if (!loc) return -EINVAL; 638 return copy_to_user(loc, &g, sizeof g) ? -EFAULT : 0;
|
H A D | ide.c | 2811 struct hd_geometry *loc = (struct hd_geometry *) arg; local 2813 if (!loc || (drive->media != ide_disk && drive->media != ide_floppy)) return -EINVAL; 2814 if (put_user(drive->bios_head, (byte *) &loc->heads)) return -EFAULT; 2815 if (put_user(drive->bios_sect, (byte *) &loc->sectors)) return -EFAULT; 2816 if (put_user(bios_cyl, (unsigned short *) &loc->cylinders)) return -EFAULT; 2818 (unsigned long *) &loc->start)) return -EFAULT; 2824 struct hd_big_geometry *loc = (struct hd_big_geometry *) arg; local 2825 if (!loc || (drive->media != ide_disk && drive->media != ide_floppy)) return -EINVAL; 2826 if (put_user(drive->bios_head, (byte *) &loc->heads)) return -EFAULT; 2827 if (put_user(drive->bios_sect, (byte *) &loc 2836 struct hd_big_geometry *loc = (struct hd_big_geometry *) arg; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc64/kernel/ |
H A D | rtasd.c | 658 char *loc = buf+8+40+4; local 659 int len = strlen(loc); 661 printk(RTAS_ERR "Location Code: %s\n", loc); 662 printk_log_debug(loc+len+1);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/udf/ |
H A D | balloc.c | 94 lb_addr loc; local 96 loc.logicalBlockNum = bitmap->s_extPosition; 97 loc.partitionReferenceNum = UDF_SB_PARTITION(sb); 99 bh = udf_tread(sb, udf_get_lb_pblock(sb, loc, block));
|
H A D | inode.c | 988 lb_addr loc; local 991 loc = lelb_to_cpu(ie->indirectICB.extLocation); 994 (nbh = udf_read_ptagged(inode->i_sb, loc, 0, &ident))) 999 memcpy(&UDF_I_LOCATION(inode), &loc, sizeof(lb_addr)); local
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/block/ |
H A D | amiflop.c | 1489 struct hd_geometry loc; local 1490 loc.heads = unit[drive].type->heads; 1491 loc.sectors = unit[drive].dtype->sects * unit[drive].type->sect_mult; 1492 loc.cylinders = unit[drive].type->tracks; 1493 loc.start = 0; 1494 if (copy_to_user((void *)param, (void *)&loc,
|
H A D | floppy.c | 3471 struct hd_geometry loc; local 3473 loc.heads = g->head; 3474 loc.sectors = g->sect; 3475 loc.cylinders = g->track; 3476 loc.start = 0; 3477 return _COPYOUT(loc);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/pcmcia/ |
H A D | axnet_cs.c | 106 static int mdio_read(ioaddr_t addr, int phy_id, int loc); 107 static void mdio_write(ioaddr_t addr, int phy_id, int loc, int value); 641 static int mdio_read(ioaddr_t addr, int phy_id, int loc) argument 643 u_int cmd = (0xf6<<10)|(phy_id<<5)|loc; 660 static void mdio_write(ioaddr_t addr, int phy_id, int loc, int value) argument 662 u_int cmd = (0x05<<28)|(phy_id<<23)|(loc<<18)|(1<<17)|value;
|
H A D | smc91c92_cs.c | 303 static int smc_mdio_read(struct net_device *dev, int phy_id, int loc); 304 static void smc_mdio_write(struct net_device *dev, int phy_id, int loc, int value); 1218 static int smc_mdio_read(struct net_device *dev, int phy_id, int loc) argument 1221 u_int cmd = (0x06<<10)|(phy_id<<5)|loc; 1238 static void smc_mdio_write(struct net_device *dev, int phy_id, int loc, int value) argument 1241 u_int cmd = (0x05<<28)|(phy_id<<23)|(loc<<18)|(1<<17)|value;
|
H A D | pcnet_cs.c | 920 static int mdio_read(ioaddr_t addr, int phy_id, int loc) argument 922 u_int cmd = (0x06<<10)|(phy_id<<5)|loc; 939 static void mdio_write(ioaddr_t addr, int phy_id, int loc, int value) argument 941 u_int cmd = (0x05<<28)|(phy_id<<23)|(loc<<18)|(1<<17)|value;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sound/ |
H A D | gus_wave.c | 1029 unsigned long loc; local 1081 loc = i << 10; 1083 for (n = loc - 1, failed = 0; n <= loc; n++) 1085 gus_poke(loc, 0xaa); 1086 if (gus_peek(loc) != 0xaa) 1088 gus_poke(loc, 0x55); 1089 if (gus_peek(loc) != 0x55)
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/decnet/ |
H A D | dn_nsp_out.c | 560 int ddl, unsigned char *dd, __u16 rem, __u16 loc) 579 *(__u16 *)msg = loc; 558 dn_nsp_do_disc(struct sock *sk, unsigned char msgflg, unsigned short reason, int gfp, struct dst_entry *dst, int ddl, unsigned char *dd, __u16 rem, __u16 loc) argument
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/usb/ |
H A D | pegasus.c | 306 static int mdio_read(struct net_device *dev, int phy_id, int loc) argument 311 read_mii_word(pegasus, phy_id, loc, (u16 *) & res); 336 static void mdio_write(struct net_device *dev, int phy_id, int loc, int val) argument 340 write_mii_word(pegasus, phy_id, loc, val);
|
H A D | usbnet.c | 569 static int ax8817x_mdio_read(struct net_device *netdev, int phy_id, int loc) 576 ax8817x_read_cmd(dev, AX_CMD_READ_MII_REG, phy_id, (__u16)loc, 2, (u16 *)&res); 582 static void ax8817x_mdio_write(struct net_device *netdev, int phy_id, int loc, int val) 589 ax8817x_write_cmd(dev, AX_CMD_WRITE_MII_REG, phy_id, (__u16)loc, 2, (u16 *)&res); 567 ax8817x_mdio_read(struct net_device *netdev, int phy_id, int loc) argument 580 ax8817x_mdio_write(struct net_device *netdev, int phy_id, int loc, int val) argument
|
/asus-wl-520gu-7.0.1.45/src/router/vsftpd/ |
H A D | postlogin.c | 1963 struct str_locate_result loc = str_locate_char(&p_sess->ftp_arg_str, ' '); local 1965 if (tunable_mdtm_write && retval != 0 && loc.found && 1968 if (loc.index == 8 || loc.index == 14 || 1969 (loc.index > 15 && str_get_char_at(&p_sess->ftp_arg_str, 14) == '.'))
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/isdn/hisax/ |
H A D | l3dss1.c | 903 pc->para.loc = 0; 910 pc->para.loc = *p++; 915 if (l && !(pc->para.loc & 0x80)) { 2317 pc->para.loc = 0; 2342 pc->para.loc = 0; 2382 pc->para.loc = 0; 2392 pc->para.loc = 0; 2420 pc->para.loc = 0; /* local */ 2432 pc->para.loc = 0; /* local */ 2743 pc->para.loc [all...] |
H A D | l3ni1.c | 852 pc->para.loc = 0; 859 pc->para.loc = *p++; 864 if (l && !(pc->para.loc & 0x80)) { 2172 pc->para.loc = 0; 2197 pc->para.loc = 0; 2237 pc->para.loc = 0; 2247 pc->para.loc = 0; 2275 pc->para.loc = 0; /* local */ 2287 pc->para.loc = 0; /* local */ 2599 pc->para.loc [all...] |
H A D | hisax.h | 299 u_char loc; member in struct:Param
|
H A D | callc.c | 204 sprintf(ic.parm.num, "E%02X%02X", chanp->proc->para.loc & 0x7f, 207 sprintf(ic.parm.num, "%02X%02X", chanp->proc->para.loc & 0x7f,
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/wan/ |
H A D | cycx_x25.c | 832 loc[24], local 843 loc[0] = rem[0] = '\0'; 846 nibble_to_byte(d, loc, sizeloc, 0); 852 lcn, loc, rem);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/ |
H A D | epic100.c | 357 static void mdio_write(struct net_device *dev, int phy_id, int loc, int val); 654 static void mdio_write(struct net_device *dev, int phy_id, int loc, int value) 660 outl((phy_id << 9) | (loc << 4) | MII_WRITEOP, ioaddr + MIICtrl); 652 mdio_write(struct net_device *dev, int phy_id, int loc, int value) argument
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/isdn/isdnloop/ |
H A D | isdnloop.c | 547 * loc = location: 0 = local, 1 = remote. 553 isdnloop_unicause(isdnloop_card * card, int loc, int cau) argument 559 sprintf(buf, "E%02X%02X", (loc) ? 4 : 2, ctable_eu[cau]);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/md/ |
H A D | md.c | 2570 struct hd_geometry *loc = (struct hd_geometry *) arg; local 2757 if (!loc) { 2761 err = md_put_user (2, (char *) &loc->heads); 2764 err = md_put_user (4, (char *) &loc->sectors); 2768 (short *) &loc->cylinders); 2772 (long *) &loc->start);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/arm/mm/ |
H A D | proc-sa110.S | 140 * cpu_sa110_reset(loc) 146 * loc: location to jump to for soft reset 194 ldr r1, =UNCACHEABLE_ADDR @ load from uncacheable loc
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/isdn/act2000/ |
H A D | capi.c | 969 printk(KERN_DEBUG " ncpi.loc = 0x%04x\n", ncpi->loc);
|