/linux-2.6.39/drivers/parport/ |
D | parport_ax88796.c | 75 unsigned int cpr = readb(dd->spp_cpr); in parport_ax88796_read_control() local 78 if (!(cpr & AX_CPR_STRB)) in parport_ax88796_read_control() 81 if (!(cpr & AX_CPR_ATFD)) in parport_ax88796_read_control() 84 if (cpr & AX_CPR_nINIT) in parport_ax88796_read_control() 87 if (!(cpr & AX_CPR_SLCTIN)) in parport_ax88796_read_control() 97 unsigned int cpr = readb(dd->spp_cpr); in parport_ax88796_write_control() local 99 cpr &= AX_CPR_nDOE; in parport_ax88796_write_control() 102 cpr |= AX_CPR_STRB; in parport_ax88796_write_control() 105 cpr |= AX_CPR_ATFD; in parport_ax88796_write_control() 108 cpr |= AX_CPR_nINIT; in parport_ax88796_write_control() [all …]
|
/linux-2.6.39/drivers/pcmcia/ |
D | pxa2xx_sharpsl.c | 90 unsigned short cpr, csr; in sharpsl_pcmcia_socket_state() local 93 cpr = read_scoop_reg(SCOOP_DEV[skt->nr].dev, SCOOP_CPR); in sharpsl_pcmcia_socket_state() 109 else if (cpr & 0x0003) { in sharpsl_pcmcia_socket_state() 131 if ((cpr & 0x0080) && ((cpr & 0x8040) != 0x8040)) { in sharpsl_pcmcia_socket_state() 132 printk(KERN_ERR "sharpsl_pcmcia_socket_state(): CPR=%04X, Low voltage!\n", cpr); in sharpsl_pcmcia_socket_state() 143 unsigned short cpr, ncpr, ccr, nccr, mcr, nmcr, imr, nimr; in sharpsl_pcmcia_configure_socket() local 162 ncpr = (cpr = read_scoop_reg(scoop, SCOOP_CPR)) & ~0x0083; in sharpsl_pcmcia_configure_socket() 194 if (cpr != ncpr) { in sharpsl_pcmcia_configure_socket()
|
/linux-2.6.39/arch/arm/mach-pxa/ |
D | spitz.c | 203 unsigned short cpr; in spitz_card_pwr_ctrl() local 213 cpr = read_scoop_reg(&spitz_scoop_1_device.dev, SCOOP_CPR); in spitz_card_pwr_ctrl() 216 cpr |= new_cpr; in spitz_card_pwr_ctrl() 218 cpr &= ~enable; in spitz_card_pwr_ctrl() 220 write_scoop_reg(&spitz_scoop_1_device.dev, SCOOP_CPR, cpr); in spitz_card_pwr_ctrl() 224 if (!(cpr & 0x7)) { in spitz_card_pwr_ctrl() 239 static void spitz_pcmcia_pwr(struct device *scoop, uint16_t cpr, int nr) in spitz_pcmcia_pwr() argument 244 cpr & (SCOOP_CPR_CF_3V | SCOOP_CPR_CF_XV), cpr); in spitz_pcmcia_pwr() 246 write_scoop_reg(scoop, SCOOP_CPR, cpr); in spitz_pcmcia_pwr()
|
/linux-2.6.39/arch/arm/include/asm/hardware/ |
D | scoop.h | 65 void (*power_ctrl)(struct device *scoop, unsigned short cpr, int nr);
|
/linux-2.6.39/arch/powerpc/boot/dts/ |
D | rainier.dts | 96 CPR0: cpr { 97 compatible = "ibm,cpr-440grx", "ibm,cpr-440ep";
|
D | sequoia.dts | 96 CPR0: cpr { 97 compatible = "ibm,cpr-440epx", "ibm,cpr-440ep";
|
D | bluestone.dts | 115 CPR0: cpr { 116 compatible = "ibm,cpr-apm821xx";
|
D | warp.dts | 77 CPR0: cpr { 78 compatible = "ibm,cpr-440ep";
|
D | sam440ep.dts | 84 CPR0: cpr { 85 compatible = "ibm,cpr-440ep";
|
D | bamboo.dts | 83 CPR0: cpr { 84 compatible = "ibm,cpr-440ep";
|
D | yosemite.dts | 81 CPR0: cpr { 82 compatible = "ibm,cpr-440ep";
|
D | arches.dts | 123 CPR0: cpr { 124 compatible = "ibm,cpr-460gt";
|
D | eiger.dts | 104 CPR0: cpr { 105 compatible = "ibm,cpr-460sx";
|
D | redwood.dts | 100 CPR0: cpr { 101 compatible = "ibm,cpr-460sx";
|
D | icon.dts | 103 CPR0: cpr { 104 compatible = "ibm,cpr-440spe";
|
D | canyonlands.dts | 103 CPR0: cpr { 104 compatible = "ibm,cpr-460ex";
|
D | katmai.dts | 107 CPR0: cpr { 108 compatible = "ibm,cpr-440spe";
|
D | glacier.dts | 105 CPR0: cpr { 106 compatible = "ibm,cpr-460gt";
|
/linux-2.6.39/arch/powerpc/platforms/52xx/ |
D | mpc52xx_pci.c | 74 u32 cpr; /* PCI + 0x34 */ member
|
/linux-2.6.39/include/linux/ |
D | parport.h | 130 unsigned char cpr; member
|