Home
last modified time | relevance | path

Searched refs:dsr (Results 1 – 25 of 77) sorted by relevance

1234

/linux-2.6.39/include/linux/mtd/
Dpfow.h127 static inline void print_drs_error(unsigned dsr) in print_drs_error() argument
129 int prog_status = (dsr & DSR_RPS) >> 8; in print_drs_error()
131 if (!(dsr & DSR_AVAILABLE)) in print_drs_error()
142 if (!(dsr & DSR_READY_STATUS)) in print_drs_error()
144 if (dsr & DSR_ESS) in print_drs_error()
146 if (dsr & DSR_ERASE_STATUS) in print_drs_error()
148 if (dsr & DSR_PROGRAM_STATUS) in print_drs_error()
150 if (dsr & DSR_VPPS) in print_drs_error()
153 if (dsr & DSR_PSS) in print_drs_error()
155 if (dsr & DSR_DPS) in print_drs_error()
/linux-2.6.39/drivers/misc/sgi-gru/
Dgrukservices.c261 static int gru_get_cpu_resources(int dsr_bytes, void **cb, void **dsr) in gru_get_cpu_resources() argument
271 *dsr = bs->kernel_dsr + lcpu * GRU_NUM_KERNEL_DSR_BYTES; in gru_get_cpu_resources()
278 static void gru_free_cpu_resources(void *cb, void *dsr) in gru_free_cpu_resources() argument
365 void gru_lock_async_resource(unsigned long han, void **cb, void **dsr) in gru_lock_async_resource() argument
375 if (dsr) in gru_lock_async_resource()
376 *dsr = bs->kernel_dsr + ncpus * GRU_NUM_KERNEL_DSR_BYTES; in gru_lock_async_resource()
801 void *dsr; in gru_send_message_gpa() local
808 if (gru_get_cpu_resources(bytes, &cb, &dsr)) in gru_send_message_gpa()
810 memcpy(dsr, mesg, bytes); in gru_send_message_gpa()
811 mhdr = dsr; in gru_send_message_gpa()
[all …]
Dgrukservices.h204 extern void gru_lock_async_resource(unsigned long han, void **cb, void **dsr);
Dgrutables.h503 #define DSR_BYTES(dsr) ((dsr) * GRU_DSR_AU_BYTES) argument
/linux-2.6.39/drivers/rtc/
Drtc-imxdi.c86 u32 dsr; member
162 imxdi->dsr = 0; in di_write_wait()
169 imxdi->dsr & (DSR_WCF | DSR_WEF), msecs_to_jiffies(1)); in di_write_wait()
180 if (imxdi->dsr & DSR_WEF) { in di_write_wait()
307 u32 dsr, dier; in dryice_norm_irq() local
321 dsr = __raw_readl(imxdi->ioaddr + DSR); in dryice_norm_irq()
322 if ((dsr & (DSR_WCF | DSR_WEF))) { in dryice_norm_irq()
327 imxdi->dsr |= dsr; in dryice_norm_irq()
337 dsr = __raw_readl(imxdi->ioaddr + DSR); in dryice_norm_irq()
338 if (dsr & DSR_CAF) { in dryice_norm_irq()
/linux-2.6.39/include/linux/
Dparport_pc.h86 unsigned char dsr = inb (STATUS (p)); in dump_parport_state() local
113 if (!(dsr & 0x80)) printk ("BUSY"); in dump_parport_state()
114 if (dsr & 0x40) printk (",N-ACK"); in dump_parport_state()
115 if (dsr & 0x20) printk (",PERROR"); in dump_parport_state()
116 if (dsr & 0x10) printk (",SELECT"); in dump_parport_state()
117 if (dsr & 0x08) printk (",N-FAULT"); in dump_parport_state()
Dserial.h23 __u32 cts, dsr, rng, dcd, tx, rx; member
194 int cts, dsr, rng, dcd; member
/linux-2.6.39/drivers/usb/serial/
Dssu100.c392 (priv->icount.dsr != prev.dsr) || in wait_modem_info()
404 (prev.dsr == cur.dsr) && in wait_modem_info()
410 (arg & TIOCM_DSR && (prev.dsr != cur.dsr)) || in wait_modem_info()
426 icount->dsr = cnow.dsr; in ssu100_get_icount()
565 priv->icount.dsr++; in ssu100_update_msr()
Dark3116.c421 icount->dsr = cnow.dsr; in ark3116_get_icount()
468 (prev.dsr == priv->icount.dsr) && in ark3116_ioctl()
475 (prev.dsr != priv->icount.dsr)) || in ark3116_ioctl()
582 priv->icount.dsr++; in ark3116_update_msr()
Dmct_u232.c404 icount->dsr++; in mct_u232_msr_to_icount()
908 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in mct_u232_ioctl()
912 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || in mct_u232_ioctl()
935 icount->dsr = ic->dsr; in mct_u232_get_icount()
Dkeyspan_usa28msg.h151 dsr, // (not used in all products) member
Dkeyspan_usa26msg.h212 dsr, // USA17: reports DSR pin member
Dkeyspan_usa49msg.h243 dsr, // reports DSR pin member
Dkeyspan_usa90msg.h158 dsr, // reports DSR pin member
/linux-2.6.39/drivers/parport/
Dparport_ip32.c170 void __iomem *dsr; member
418 unsigned int dsr = readb(priv->regs.dsr); in parport_ip32_dump_state() local
419 printk(KERN_DEBUG PPIP32 " dsr=0x%02x", dsr); in parport_ip32_dump_state()
420 if (!(dsr & DSR_nBUSY)) in parport_ip32_dump_state()
422 if (dsr & DSR_nACK) in parport_ip32_dump_state()
424 if (dsr & DSR_PERROR) in parport_ip32_dump_state()
426 if (dsr & DSR_SELECT) in parport_ip32_dump_state()
428 if (dsr & DSR_nFAULT) in parport_ip32_dump_state()
430 if (!(dsr & DSR_nPRINT)) in parport_ip32_dump_state()
432 if (dsr & DSR_TIMEOUT) in parport_ip32_dump_state()
[all …]
/linux-2.6.39/drivers/mtd/lpddr/
Dqinfo_probe.c79 unsigned int dsr, val; in lpddr_info_query() local
95 dsr = CMDVAL(map_read(map, map->pfow_base + PFOW_DSR)); in lpddr_info_query()
96 if (dsr & DSR_READY_STATUS) in lpddr_info_query()
Dlpddr_cmds.c123 unsigned int dsr; in wait_for_ready() local
135 dsr = CMDVAL(map_read(map, map->pfow_base + PFOW_DSR)); in wait_for_ready()
136 if (dsr & DSR_READY_STATUS) in wait_for_ready()
180 if (dsr & DSR_ERR) { in wait_for_ready()
184 map->name, dsr); in wait_for_ready()
185 print_drs_error(dsr); in wait_for_ready()
/linux-2.6.39/arch/powerpc/sysdev/
Dfsl_rio.c163 u32 dsr; /* 0xD_3464 - Inbound doorbell status register */ member
956 int dsr; in fsl_rio_dbell_handler() local
960 dsr = in_be32(&priv->msg_regs->dsr); in fsl_rio_dbell_handler()
962 if (dsr & DOORBELL_DSR_TE) { in fsl_rio_dbell_handler()
964 out_be32(&priv->msg_regs->dsr, DOORBELL_DSR_TE); in fsl_rio_dbell_handler()
968 if (dsr & DOORBELL_DSR_QFI) { in fsl_rio_dbell_handler()
970 out_be32(&priv->msg_regs->dsr, DOORBELL_DSR_QFI); in fsl_rio_dbell_handler()
974 if (dsr & DOORBELL_DSR_DIQI) { in fsl_rio_dbell_handler()
1001 out_be32(&priv->msg_regs->dsr, DOORBELL_DSR_DIQI); in fsl_rio_dbell_handler()
1046 out_be32(&priv->msg_regs->dsr, 0x00000091); in fsl_rio_doorbell_init()
/linux-2.6.39/arch/sh/include/asm/
Dptrace_32.h70 unsigned long dsr; member
/linux-2.6.39/drivers/mfd/
Dtc6393xb.c436 u8 dsr; in __tc6393xb_gpio_set() local
438 dsr = tmio_ioread8(tc6393xb->scr + SCR_GPO_DSR(offset / 8)); in __tc6393xb_gpio_set()
440 dsr |= TC_GPIO_BIT(offset); in __tc6393xb_gpio_set()
442 dsr &= ~TC_GPIO_BIT(offset); in __tc6393xb_gpio_set()
444 tmio_iowrite8(dsr, tc6393xb->scr + SCR_GPO_DSR(offset / 8)); in __tc6393xb_gpio_set()
/linux-2.6.39/drivers/staging/tty/
Depca.h95 unsigned char dsr; member
/linux-2.6.39/sound/soc/fsl/
Dfsl_dma.h32 __be32 dsr; /* Destination stride register */ member
/linux-2.6.39/drivers/tty/
Damiserial.c390 icount->dsr++; in check_modem_status()
1282 icount->dsr = cnow.dsr; in rs_get_icount()
1350 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in rs_ioctl()
1354 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || in rs_ioctl()
2011 state->icount.cts = state->icount.dsr = in amiga_serial_probe()
/linux-2.6.39/net/irda/ircomm/
Dircomm_tty_ioctl.c407 put_user(cnow.dsr, &p_cuser->dsr) || in ircomm_tty_ioctl()
/linux-2.6.39/drivers/tty/serial/
D68360serial.c139 __u32 cts, dsr, rng, dcd, tx, rx;
557 icount->dsr++; in check_modem_status()
1401 icount->dsr = cnow.dsr; in rs_360_get_icount()
1488 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in rs_360_ioctl()
1492 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || in rs_360_ioctl()
2527 state->icount.cts = state->icount.dsr = in rs_360_init()

1234