/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sound/ |
H A D | forte.c | 222 forte_ac97_wait (struct forte_chip *chip) argument 226 while ( (inw (chip->iobase + FORTE_AC97_CMD) & FORTE_AC97_PORT_BSY) 244 struct forte_chip *chip = codec->private_data; local 246 spin_lock (&chip->ac97_lock); 249 if (forte_ac97_wait (chip)) { 255 outw (reg | (1<<7), chip->iobase + FORTE_AC97_CMD); 257 if (forte_ac97_wait (chip)) { 264 if (inw (chip->iobase + FORTE_AC97_CMD) & FORTE_AC97_DP_INVALID) { 270 ret = inw (chip->iobase + FORTE_AC97_DATA); 273 spin_unlock (&chip 288 struct forte_chip *chip = codec->private_data; local 324 struct forte_chip *chip = forte; local 722 forte_channel_init(struct forte_chip *chip, struct forte_channel *channel) argument 775 forte_channel_free(struct forte_chip *chip, struct forte_channel *channel) argument 801 struct forte_chip *chip; local 1181 struct forte_chip *chip = forte; local 1209 struct forte_chip *chip = file->private_data; local 1249 struct forte_chip *chip; local 1286 struct forte_chip *chip; local 1357 struct forte_chip *chip; local 1463 struct forte_chip *chip; local 1578 struct forte_chip *chip = dev_id; local 1808 forte_chip_init(struct forte_chip *chip) argument 1907 struct forte_chip *chip; local 1985 struct forte_chip *chip = pci_get_drvdata (pci_dev); local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/video/riva/ |
H A D | riva_hw.c | 57 RIVA_HW_INST *chip 60 return ((chip->Rop->FifoFree < chip->FifoEmptyCount) || (chip->PGRAPH[0x000006B0/4] & 0x01)); 64 RIVA_HW_INST *chip 67 return ((chip->Rop->FifoFree < chip->FifoEmptyCount) || (chip->PGRAPH[0x00000700/4] & 0x01)); 71 RIVA_HW_INST *chip 74 return ((chip 76 nv3LockUnlock( RIVA_HW_INST *chip, int LockUnlock ) argument 85 nv4LockUnlock( RIVA_HW_INST *chip, int LockUnlock ) argument 94 nv10LockUnlock( RIVA_HW_INST *chip, int LockUnlock ) argument 104 ShowHideCursor( RIVA_HW_INST *chip, int ShowHide ) argument 1157 CalcStateExt( RIVA_HW_INST *chip, RIVA_HW_STATE *state, int bpp, int width, int hDisplaySize, int hDisplay, int hStart, int hEnd, int hTotal, int height, int vDisplay, int vStart, int vEnd, int vTotal, int dotClock ) argument 1300 LoadStateExt( RIVA_HW_INST *chip, RIVA_HW_STATE *state ) argument 1574 UnloadStateExt( RIVA_HW_INST *chip, RIVA_HW_STATE *state ) argument 1641 SetStartAddress( RIVA_HW_INST *chip, unsigned start ) argument 1673 nv3SetSurfaces2D( RIVA_HW_INST *chip, unsigned surf0, unsigned surf1 ) argument 1689 nv4SetSurfaces2D( RIVA_HW_INST *chip, unsigned surf0, unsigned surf1 ) argument 1704 nv10SetSurfaces2D( RIVA_HW_INST *chip, unsigned surf0, unsigned surf1 ) argument 1719 nv3SetSurfaces3D( RIVA_HW_INST *chip, unsigned surf0, unsigned surf1 ) argument 1735 nv4SetSurfaces3D( RIVA_HW_INST *chip, unsigned surf0, unsigned surf1 ) argument 1750 nv10SetSurfaces3D( RIVA_HW_INST *chip, unsigned surf0, unsigned surf1 ) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/arch/mips/cpu/sb1250/include/ |
H A D | sb1250_defs.h | 64 * for chip features only present in certain chip revisions. 66 * SIBYTE_HDR_FEATURES may be defined to be the mask value chip/revision 74 * Generate defines only for that revision of chip. 76 * #if SIBYTE_HDR_FEATURE(chip,pass) 79 * that particular chip type are enabled in SIBYTE_HDR_FEATURES. 83 * Note that there is no implied ordering between chip types. 85 * Note also that 'chip' and 'pass' must textually exactly 90 * #if SIBYTE_HDR_FEATURE_UP_TO(chip,pass) 93 * and earlier revisions of the named chip typ [all...] |
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-mips/sibyte/ |
H A D | sb1250_defs.h | 48 * for chip features only present in certain chip revisions. 50 * SIBYTE_HDR_FEATURES may be defined to be the mask value chip/revision 58 * Generate defines only for that revision of chip. 60 * #if SIBYTE_HDR_FEATURE(chip,pass) 63 * that particular chip type are enabled in SIBYTE_HDR_FEATURES. 67 * Note that there is no implied ordering between chip types. 69 * Note also that 'chip' and 'pass' must textually exactly 74 * #if SIBYTE_HDR_FEATURE_UP_TO(chip,pass) 77 * and earlier revisions of the named chip typ [all...] |
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-mips64/sibyte/ |
H A D | sb1250_defs.h | 48 * for chip features only present in certain chip revisions. 50 * SIBYTE_HDR_FEATURES may be defined to be the mask value chip/revision 58 * Generate defines only for that revision of chip. 60 * #if SIBYTE_HDR_FEATURE(chip,pass) 63 * that particular chip type are enabled in SIBYTE_HDR_FEATURES. 67 * Note that there is no implied ordering between chip types. 69 * Note also that 'chip' and 'pass' must textually exactly 74 * #if SIBYTE_HDR_FEATURE_UP_TO(chip,pass) 77 * and earlier revisions of the named chip typ [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-mips/sibyte/ |
H A D | sb1250_defs.h | 48 * for chip features only present in certain chip revisions. 50 * SIBYTE_HDR_FEATURES may be defined to be the mask value chip/revision 58 * Generate defines only for that revision of chip. 60 * #if SIBYTE_HDR_FEATURE(chip,pass) 63 * that particular chip type are enabled in SIBYTE_HDR_FEATURES. 67 * Note that there is no implied ordering between chip types. 69 * Note also that 'chip' and 'pass' must textually exactly 74 * #if SIBYTE_HDR_FEATURE_UP_TO(chip,pass) 77 * and earlier revisions of the named chip typ [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-mips64/sibyte/ |
H A D | sb1250_defs.h | 48 * for chip features only present in certain chip revisions. 50 * SIBYTE_HDR_FEATURES may be defined to be the mask value chip/revision 58 * Generate defines only for that revision of chip. 60 * #if SIBYTE_HDR_FEATURE(chip,pass) 63 * that particular chip type are enabled in SIBYTE_HDR_FEATURES. 67 * Note that there is no implied ordering between chip types. 69 * Note also that 'chip' and 'pass' must textually exactly 74 * #if SIBYTE_HDR_FEATURE_UP_TO(chip,pass) 77 * and earlier revisions of the named chip typ [all...] |
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm/sibyte/ |
H A D | sb1250_defs.h | 48 * for chip features only present in certain chip revisions. 50 * SIBYTE_HDR_FEATURES may be defined to be the mask value chip/revision 58 * Generate defines only for that revision of chip. 60 * #if SIBYTE_HDR_FEATURE(chip,pass) 63 * that particular chip type are enabled in SIBYTE_HDR_FEATURES. 67 * Note that there is no implied ordering between chip types. 69 * Note also that 'chip' and 'pass' must textually exactly 74 * #if SIBYTE_HDR_FEATURE_UP_TO(chip,pass) 77 * and earlier revisions of the named chip typ [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm/sibyte/ |
H A D | sb1250_defs.h | 48 * for chip features only present in certain chip revisions. 50 * SIBYTE_HDR_FEATURES may be defined to be the mask value chip/revision 58 * Generate defines only for that revision of chip. 60 * #if SIBYTE_HDR_FEATURE(chip,pass) 63 * that particular chip type are enabled in SIBYTE_HDR_FEATURES. 67 * Note that there is no implied ordering between chip types. 69 * Note also that 'chip' and 'pass' must textually exactly 74 * #if SIBYTE_HDR_FEATURE_UP_TO(chip,pass) 77 * and earlier revisions of the named chip typ [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/media/video/ |
H A D | tvaudio.c | 68 /* chip description */ 70 char *name; /* chip name */ 92 /* functions to convert the values (v4l -> chip) */ 110 /* current state of the chip */ 168 static int chip_write(struct CHIPSTATE *chip, int subaddr, int val) argument 173 dprintk("%s: chip_write: 0x%x\n", chip->c.name, val); 174 chip->shadow.bytes[1] = val; 176 if (1 != i2c_master_send(&chip->c,buffer,1)) { 178 chip->c.name, val); 182 dprintk("%s: chip_write: reg%d=0x%x\n", chip 195 chip_write_masked(struct CHIPSTATE *chip, int subaddr, int val, int mask) argument 207 chip_read(struct CHIPSTATE *chip) argument 220 chip_read2(struct CHIPSTATE *chip, int subaddr) argument 240 chip_cmd(struct CHIPSTATE *chip, char *name, audiocmd *cmd) argument 273 struct CHIPSTATE *chip = (struct CHIPSTATE*)data; local 279 struct CHIPSTATE *chip = data; local 322 generic_checkmode(struct CHIPSTATE *chip) argument 366 tda9840_getmode(struct CHIPSTATE *chip) argument 382 tda9840_setmode(struct CHIPSTATE *chip, int mode) argument 512 tda985x_getmode(struct CHIPSTATE *chip) argument 523 tda985x_setmode(struct CHIPSTATE *chip, int mode) argument 663 tda9873_getmode(struct CHIPSTATE *chip) argument 678 tda9873_setmode(struct CHIPSTATE *chip, int mode) argument 714 tda9873_checkit(struct CHIPSTATE *chip) argument 817 tda9874a_setup(struct CHIPSTATE *chip) argument 854 tda9874a_getmode(struct CHIPSTATE *chip) argument 897 tda9874a_setmode(struct CHIPSTATE *chip, int mode) argument 978 tda9874a_checkit(struct CHIPSTATE *chip) argument 997 tda9874a_initialize(struct CHIPSTATE *chip) argument 1086 tda8425_setmode(struct CHIPSTATE *chip, int mode) argument 1324 struct CHIPSTATE *chip; local 1415 struct CHIPSTATE *chip = client->data; local 1441 struct CHIPSTATE *chip = client->data; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/mtd/chips/ |
H A D | cfi_cmdset_0001.c | 117 * It's a real CFI chip, not one for which the probe 265 static inline int do_read_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len, u_char *buf) argument 274 adr += chip->start; 284 spin_lock_bh(chip->mutex); 286 /* Check that the chip's ready to talk to us. 289 switch (chip->state) { 301 chip->oldstate = FL_ERASING; 302 chip->state = FL_ERASE_SUSPENDING; 314 chip->state = FL_ERASING; 315 spin_unlock_bh(chip 434 do_write_oneword(struct map_info *map, struct flchip *chip, unsigned long adr, __u32 datum) argument 680 do_write_buffer(struct map_info *map, struct flchip *chip, unsigned long adr, const u_char *buf, int len) argument 928 do_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) argument 1178 struct flchip *chip; local 1233 do_lock_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) argument 1382 do_unlock_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) argument 1583 struct flchip *chip; local 1639 struct flchip *chip; local [all...] |
H A D | cfi_cmdset_0701.c | 197 static inline int do_read_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len, u_char *buf) argument 203 cfi_spin_lock(chip->mutex); 205 if (chip->state != FL_READY){ 206 printk("Waiting for chip to read, status = %d\n", chip->state); 208 add_wait_queue(&chip->wq, &wait); 210 cfi_spin_unlock(chip->mutex); 213 remove_wait_queue(&chip->wq, &wait); 219 adr += chip->start; 221 chip 272 do_write_oneword(struct map_info *map, struct flchip *chip, unsigned long adr, __u32 datum, int fast) argument 457 do_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) argument 692 struct flchip *chip; local 752 struct flchip *chip; local 806 struct flchip *chip; local [all...] |
H A D | cfi_cmdset_0002.c | 117 /* X16 chip(s) in X8 mode */ 241 static inline int do_read_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len, u_char *buf) argument 247 cfi_spin_lock(chip->mutex); 249 if (chip->state != FL_READY){ 251 add_wait_queue(&chip->wq, &wait); 253 cfi_spin_unlock(chip->mutex); 256 remove_wait_queue(&chip->wq, &wait); 262 adr += chip->start; 264 chip->state = FL_READY; 268 wake_up(&chip 315 do_write_oneword(struct map_info *map, struct flchip *chip, unsigned long adr, __u32 datum, int fast) argument 531 do_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) argument 766 struct flchip *chip; local 826 struct flchip *chip; local 880 struct flchip *chip; local [all...] |
H A D | jedec.c | 35 size of the chip and the total length */ 99 printk("did recognize jedec chip\n"); 148 // Locate the chip in the jedec table 252 them up and then add them to the chip list */ 268 // Finally, just make sure all the chip sizes are the same 273 printk("mtd: Found JEDEC flash chip, but do not have a table entry for %x:%x\n",Mfg[0],Mfg[1]); 284 printk("mtd: Found JEDEC flash chip, but do not have a table entry for %x:%x\n",Mfg[0],Mfg[1]); 339 /* Lookup the chip information from the JEDEC ID table. */ 372 // Reset the chip 432 // Reset the chip 571 struct jedec_flash_chip *chip = priv->chips + I; local 620 struct jedec_flash_chip *chip = priv->chips + I; local 777 struct jedec_flash_chip *chip = priv->chips; local 851 struct jedec_flash_chip *chip = priv->chips + I; local [all...] |
H A D | amd_flash.c | 258 /* Pass the whole chip through sector by sector and check for each 306 * matching table entry (-1 if not found or alias for already found chip). 344 /* Is this an alias for an already found chip? 345 * In that case that chip should be in 779 static inline int read_one_chip(struct map_info *map, struct flchip *chip, argument 786 spin_lock_bh(chip->mutex); 788 if (chip->state != FL_READY){ 789 printk(KERN_INFO "%s: waiting for chip to read, state = %d\n", 790 map->name, chip->state); 792 add_wait_queue(&chip 876 write_one_word(struct map_info *map, struct flchip *chip, unsigned long adr, __u32 datum) argument 1076 erase_one_block(struct map_info *map, struct flchip *chip, unsigned long adr, u_long size) argument 1313 struct flchip *chip; local [all...] |
H A D | sharp.c | 2 * MTD chip driver for pre-CFI Sharp flash chips 79 static int sharp_write_oneword(struct map_info *map, struct flchip *chip, 81 static int sharp_erase_oneblock(struct map_info *map, struct flchip *chip, 84 static void sharp_unlock_oneblock(struct map_info *map, struct flchip *chip, 90 struct flchip *chip; member in struct:sharp_info 204 /* This function returns with the chip->mutex lock held. */ 205 static int sharp_wait(struct map_info *map, struct flchip *chip) argument 213 spin_lock_bh(chip->mutex); 215 switch(chip->state){ 218 chip 255 sharp_release(struct flchip *chip) argument 338 sharp_write_oneword(struct map_info *map, struct flchip *chip, unsigned long adr, __u32 datum) argument 423 sharp_do_wait_for_ready(struct map_info *map, struct flchip *chip, unsigned long adr) argument 465 sharp_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) argument 507 sharp_unlock_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/wan/8253x/ |
H A D | 8253xint.c | 70 struct sab_chip *chip=NULL; local 75 for(chip = bptr->board_chipbase; chip != NULL; chip = chip->next_by_board) 77 port= chip->c_portbase; 82 * we do check all the ports for this chip 85 /* A 2 ports chip */ 89 continue; /* no interrupt on this chip */ 142 /* Get to next port on chip */ 188 struct sab_chip *chip=NULL; local 313 SAB_CHIP *chip; local [all...] |
H A D | 8253xini.c | 76 SAB_PORT *AuraPortRoot = NULL; /* ports grouped by board and by chip, chip0, chip1, etc */ 271 cptr->c_chipno = (offset ? 1 : 0); /* first or second chip on board */ 281 printk(KERN_ALERT "auraXX20n: chip %d on board %p is revision %d.\n", 304 DEBUGPRINT((KERN_ALERT "Writing 0x44 to 0x%p + 0x%x for chip %d\n", 328 "auraXX20n: Failed to create ESCC2 port structure on chip %p on board %p.\n", 337 pptr->chip=cptr; 478 with this chip 484 printk(KERN_ALERT "auraXX20n: chip %d on board %p is revision %d.\n", 569 "auraXX20n: Failed to create ESCC2 port structure on chip %p on board %p.\n", 578 pptr->chip 958 SAB_CHIP *chip; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sbus/char/ |
H A D | aurora.c | 38 * ports. The total badwidth of one chip (ports 0-7 or 8-15) is equal 39 * to OSC_FREQ div 16. In case of my board, each chip can take 6 188 /* Reset and setup CD180 chip */ 189 static int aurora_init_CD180(struct Aurora_board * bp, int chip) argument 196 board_No(bp), chip); 199 sbus_writeb(0, &bp->r[chip]->r[CD180_CAR]); 200 sbus_writeb(0, &bp->r[chip]->r[CD180_GSVR]); 203 aurora_wait_CCR(bp->r[chip]); 205 /* Reset CD180 chip */ 206 sbus_writeb(CCR_HARDRESET, &bp->r[chip] 447 aurora_get_port(struct Aurora_board const * bp, int chip, unsigned char const *what) argument 465 aurora_receive_exc(struct Aurora_board const * bp, int chip) argument 528 aurora_receive(struct Aurora_board const * bp, int chip) argument 561 aurora_transmit(struct Aurora_board const * bp, int chip) argument 648 aurora_check_modem(struct Aurora_board const * bp, int chip) argument 709 unsigned char ack,chip/*,chip_id*/; local 924 unsigned char mcor1 = 0, mcor2 = 0,chip; local 1145 unsigned char chip; local 1227 unsigned char chip; local 1395 unsigned char chip; local 1510 unsigned char chip; local 1623 unsigned char chip; local 1707 unsigned char status,chip; local 1747 unsigned char chip; local 1796 unsigned char chip; local 1963 unsigned char chip; local 1995 unsigned char chip; local 2030 unsigned char chip; local 2060 unsigned char chip; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/mtd/devices/ |
H A D | doc2000.c | 85 /* DOC_WaitReady: Wait for RDY line to be asserted by the flash chip */ 94 /* Out-of-line routine to wait for chip response */ 132 /* DoC_Command: Send a flash command to the flash chip through the CDSN Slow IO register to 144 /* Assert the CLE (Command Latch Enable) line to the flash chip */ 158 /* Wait for the chip to respond - Software requirement 11.4.1 (extended for any command) */ 162 /* DoC_Address: Set the current address for the flash chip through the CDSN Slow IO register to 177 /* Assert the ALE (Address Latch Enable) line to the flash chip */ 189 * 25-31 is sent only if the chip support it. 223 /* Wait for the chip to respond - Software requirement 11.4.1 */ 280 /* DoC_SelectChip: Select a given flash chip withi 282 DoC_SelectChip(struct DiskOnChip *doc, int chip) argument 319 DoC_IdentChip(struct DiskOnChip *doc, int floor, int chip) argument 414 int floor, chip; local [all...] |
H A D | doc2001.c | 62 /* DOC_WaitReady: Wait for RDY line to be asserted by the flash chip */ 70 /* Out-of-line routine to wait for chip response */ 100 /* DoC_Command: Send a flash command to the flash chip through the CDSN IO register 107 /* Assert the CLE (Command Latch Enable) line to the flash chip */ 120 /* DoC_Address: Set the current address for the flash chip through the CDSN IO register 127 /* Assert the ALE (Address Latch Enable) line to the flash chip */ 161 /* DoC_SelectChip: Select a given flash chip within the current floor */ 162 static int DoC_SelectChip(unsigned long docptr, int chip) argument 164 /* Select the individual flash chip requested */ 165 WriteDOC(chip, docpt 183 DoC_IdentChip(struct DiskOnChip *doc, int floor, int chip) argument 237 int floor, chip; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/m68k/hp300/ |
H A D | reboot.S | 15 .chip 68030
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/scsi/ |
H A D | bvme6000.c | 26 extern int ncr53c7xx_init(Scsi_Host_Template *tpnt, int board, int chip,
|
H A D | mvme16x.c | 24 extern int ncr53c7xx_init(Scsi_Host_Template *tpnt, int board, int chip, 37 printk ("SCSI detection disabled, SCSI chip not present\n");
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/message/fusion/ |
H A D | mptbase.c | 6 * For use with PCI chip/adapter(s): 25 * chip family. Pam has been instrumental in the development of 352 if ((pa = CHIPREG_READ32(&ioc->chip->ReplyFifo)) == 0xFFFFFFFF) 478 CHIPREG_WRITE32(&ioc->chip->ReplyFifo, pa); 909 CHIPREG_WRITE32(&iocp->chip->RequestFifo, mf_dma_addr); 1052 CHIPREG_WRITE32(&iocp->chip->IntStatus, 0); 1054 CHIPREG_WRITE32(&iocp->chip->Doorbell, 1064 if (!(CHIPREG_READ32(&iocp->chip->Doorbell) & MPI_DOORBELL_ACTIVE)) 1070 CHIPREG_WRITE32(&iocp->chip->IntStatus, 0); 1085 CHIPREG_WRITE32(&iocp->chip [all...] |