/drivers/misc/sgi-gru/ |
D | grukservices.c | 100 static int gru_get_cpu_resources(int dsr_bytes, void **cb, void **dsr) in gru_get_cpu_resources() argument 110 *dsr = bs->kernel_dsr + lcpu * GRU_NUM_KERNEL_DSR_BYTES; in gru_get_cpu_resources() 114 static void gru_free_cpu_resources(void *cb, void *dsr) in gru_free_cpu_resources() argument 464 void *dsr; in gru_send_message_gpa() local 471 if (gru_get_cpu_resources(bytes, &cb, &dsr)) in gru_send_message_gpa() 473 memcpy(dsr, mesg, bytes); in gru_send_message_gpa() 474 mhdr = dsr; in gru_send_message_gpa() 487 ret = send_message_failure(cb, mq, dsr, clines); in gru_send_message_gpa() 489 gru_free_cpu_resources(cb, dsr); in gru_send_message_gpa() 572 void *dsr; in gru_copy_gpa() local [all …]
|
D | grumain.c | 637 int ctxnum, ctxnum0, flag = 0, cbr, dsr; in gru_steal_context() local 640 dsr = gts->ts_dsr_au_count; in gru_steal_context() 653 if (check_gru_resources(gru, cbr, dsr, GRU_NUM_CCH)) in gru_steal_context() 693 gru->gs_gid, ctxnum, ngts, cbr, dsr, hweight64(gru->gs_cbr_map), in gru_steal_context()
|
D | grutables.h | 470 #define DSR_BYTES(dsr) ((dsr) * GRU_DSR_AU_BYTES) argument
|
/drivers/parport/ |
D | parport_ip32.c | 169 void __iomem *dsr; member 417 unsigned int dsr = readb(priv->regs.dsr); in parport_ip32_dump_state() local 418 printk(KERN_DEBUG PPIP32 " dsr=0x%02x", dsr); in parport_ip32_dump_state() 419 if (!(dsr & DSR_nBUSY)) in parport_ip32_dump_state() 421 if (dsr & DSR_nACK) in parport_ip32_dump_state() 423 if (dsr & DSR_PERROR) in parport_ip32_dump_state() 425 if (dsr & DSR_SELECT) in parport_ip32_dump_state() 427 if (dsr & DSR_nFAULT) in parport_ip32_dump_state() 429 if (!(dsr & DSR_nPRINT)) in parport_ip32_dump_state() 431 if (dsr & DSR_TIMEOUT) in parport_ip32_dump_state() [all …]
|
/drivers/mtd/lpddr/ |
D | qinfo_probe.c | 79 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()
|
D | lpddr_cmds.c | 123 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()
|
/drivers/mfd/ |
D | tc6393xb.c | 393 u8 dsr; in __tc6393xb_gpio_set() local 395 dsr = tmio_ioread8(tc6393xb->scr + SCR_GPO_DSR(offset / 8)); in __tc6393xb_gpio_set() 397 dsr |= TC_GPIO_BIT(offset); in __tc6393xb_gpio_set() 399 dsr &= ~TC_GPIO_BIT(offset); in __tc6393xb_gpio_set() 401 tmio_iowrite8(dsr, tc6393xb->scr + SCR_GPO_DSR(offset / 8)); in __tc6393xb_gpio_set()
|
/drivers/usb/serial/ |
D | keyspan_usa28msg.h | 151 dsr, // (not used in all products) member
|
D | mos7720.c | 1426 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in mos7720_ioctl() 1430 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || in mos7720_ioctl() 1443 icount.dsr = cnow.dsr; in mos7720_ioctl()
|
D | keyspan_usa26msg.h | 212 dsr, // USA17: reports DSR pin member
|
D | keyspan_usa49msg.h | 243 dsr, // reports DSR pin member
|
D | keyspan_usa90msg.h | 158 dsr, // reports DSR pin member
|
D | mos7840.c | 387 icount->dsr++; in mos7840_handle_new_msr() 2378 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in mos7840_ioctl() 2382 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || in mos7840_ioctl() 2396 icount.dsr = cnow.dsr; in mos7840_ioctl()
|
D | io_edgeport.c | 1735 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in edge_ioctl() 1739 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || in edge_ioctl() 1753 icount.dsr = cnow.dsr; in edge_ioctl() 2137 icount->dsr++; in handle_new_msr()
|
D | ti_usb_3410_5052.c | 844 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in ti_ioctl() 848 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || in ti_ioctl() 1476 icount->dsr++; in ti_handle_new_msr()
|
/drivers/char/ |
D | amiserial.c | 388 icount->dsr++; in check_modem_status() 1319 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in rs_ioctl() 1323 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || in rs_ioctl() 1343 icount.dsr = cnow.dsr; in rs_ioctl() 2015 state->icount.cts = state->icount.dsr = in rs_init()
|
D | epca.h | 95 unsigned char dsr; member
|
D | nozomi.c | 1005 dc->port[port].tty_icount.dsr++; in receive_flow_control() 1016 dc->port[port].tty_icount.rng, dc->port[port].tty_icount.dsr); in receive_flow_control() 1774 ((flags & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) || in ntty_cflags_changed() 1789 icount.dsr = cnow.dsr; in ntty_ioctl_tiocgicount()
|
D | mxser.c | 279 int dsr; member 810 port->icount.dsr++; in mxser_check_modem_status() 1569 ms.dsr = 1; in mxser_ioctl_special() 1607 port->icount.dsr++; in mxser_ioctl_special() 1677 ((arg & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) || in mxser_cflags_changed() 1784 icnt.dsr = cnow.dsr; in mxser_ioctl()
|
D | esp.c | 570 info->icount.dsr++; in check_modem_status() 1811 cnow.dsr == cprev.dsr && in rs_ioctl() 1818 (cnow.dsr != cprev.dsr)) || in rs_ioctl() 1840 put_user(cnow.dsr, &p_cuser->dsr) || in rs_ioctl()
|
/drivers/serial/ |
D | 68360serial.c | 139 __u32 cts, dsr, rng, dcd, tx, rx; 557 icount->dsr++; in check_modem_status() 1464 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in rs_360_ioctl() 1468 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || in rs_360_ioctl() 1501 put_user(cnow.dsr, &p_cuser->dsr); in rs_360_ioctl() 2527 state->icount.cts = state->icount.dsr = in rs_360_init()
|
D | sunsab.c | 54 int dsr; /* Current DSR state */ member 295 if ((readb(&up->regs->r.pvr) & up->pvr_dsr_bit) ^ up->dsr) { in check_status() 296 up->dsr = (readb(&up->regs->r.pvr) & up->pvr_dsr_bit) ? 0 : 1; in check_status() 297 up->port.icount.dsr++; in check_status()
|
/drivers/media/video/ |
D | tvaudio.c | 880 int dsr,nsr,mode; in tda9874a_getmode() local 885 if(-1 == (dsr = chip_read2(chip,TDA9874A_DSR))) in tda9874a_getmode() 893 chip->shadow.bytes[MAXREGS-2] = dsr; in tda9874a_getmode() 910 if(dsr & 0x02) /* DSR.IDSTE=1 */ in tda9874a_getmode() 912 if(dsr & 0x04) /* DSR.IDDUA=1 */ in tda9874a_getmode() 917 dsr, nsr, necr, mode); in tda9874a_getmode()
|
/drivers/mmc/card/ |
D | sdio_uart.c | 63 __u32 dsr; member 486 port->icount.dsr++; in sdio_uart_check_modem_status() 966 if (port->icount.dsr) in sdio_uart_read_proc() 968 port->icount.dsr); in sdio_uart_read_proc()
|
/drivers/net/wan/ |
D | wanxl.c | 120 const char *cable, *pm, *dte = "", *dsr = "", *dcd = ""; in wanxl_cable_intr() local 142 dsr = (value & STATUS_CABLE_DSR) ? ", DSR ON" : in wanxl_cable_intr() 150 port->dev->name, pm, dte, cable, dsr, dcd); in wanxl_cable_intr()
|