Home
last modified time | relevance | path

Searched refs:cpr (Results 1 – 20 of 20) sorted by relevance

/linux-2.6.39/drivers/parport/
Dparport_ax88796.c75 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/
Dpxa2xx_sharpsl.c90 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/
Dspitz.c203 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/
Dscoop.h65 void (*power_ctrl)(struct device *scoop, unsigned short cpr, int nr);
/linux-2.6.39/arch/powerpc/boot/dts/
Drainier.dts96 CPR0: cpr {
97 compatible = "ibm,cpr-440grx", "ibm,cpr-440ep";
Dsequoia.dts96 CPR0: cpr {
97 compatible = "ibm,cpr-440epx", "ibm,cpr-440ep";
Dbluestone.dts115 CPR0: cpr {
116 compatible = "ibm,cpr-apm821xx";
Dwarp.dts77 CPR0: cpr {
78 compatible = "ibm,cpr-440ep";
Dsam440ep.dts84 CPR0: cpr {
85 compatible = "ibm,cpr-440ep";
Dbamboo.dts83 CPR0: cpr {
84 compatible = "ibm,cpr-440ep";
Dyosemite.dts81 CPR0: cpr {
82 compatible = "ibm,cpr-440ep";
Darches.dts123 CPR0: cpr {
124 compatible = "ibm,cpr-460gt";
Deiger.dts104 CPR0: cpr {
105 compatible = "ibm,cpr-460sx";
Dredwood.dts100 CPR0: cpr {
101 compatible = "ibm,cpr-460sx";
Dicon.dts103 CPR0: cpr {
104 compatible = "ibm,cpr-440spe";
Dcanyonlands.dts103 CPR0: cpr {
104 compatible = "ibm,cpr-460ex";
Dkatmai.dts107 CPR0: cpr {
108 compatible = "ibm,cpr-440spe";
Dglacier.dts105 CPR0: cpr {
106 compatible = "ibm,cpr-460gt";
/linux-2.6.39/arch/powerpc/platforms/52xx/
Dmpc52xx_pci.c74 u32 cpr; /* PCI + 0x34 */ member
/linux-2.6.39/include/linux/
Dparport.h130 unsigned char cpr; member