/drivers/zorro/ |
D | gen-devlist.c | 31 char line[1024], *c, *bra, manuf[8]; in main() local 44 while (fgets(line, sizeof(line)-1, stdin)) { in main() 46 if ((c = strchr(line, '\n'))) in main() 48 if (!line[0] || line[0] == '#') in main() 50 if (line[0] == '\t') { in main() 53 if (strlen(line) > 5 && line[5] == ' ') { in main() 54 c = line + 5; in main() 67 fprintf(devf, "\tPRODUCT(%s,%s,\"", manuf, line+1); in main() 75 } else if (strlen(line) > 4 && line[4] == ' ') { in main() 76 c = line + 4; in main() [all …]
|
/drivers/media/video/ivtv/ |
D | ivtv-vbi.c | 35 data.line = enabled ? 16 : 0; in ivtv_set_vps() 52 data.line = (mode & 1) ? 21 : 0; in ivtv_set_cc() 57 data.line = (mode & 2) ? 21 : 0; in ivtv_set_cc() 80 data.line = enabled ? 23 : 0; in ivtv_set_wss() 105 if (d->id == V4L2_SLICED_CAPTION_525 && d->line == 21) { in ivtv_write_vbi() 115 else if (d->id == V4L2_SLICED_VPS && d->line == 16 && d->field == 0) { in ivtv_write_vbi() 128 else if (d->id == V4L2_SLICED_WSS_625 && d->line == 23 && d->field == 0) { in ivtv_write_vbi() 145 int line = 0; in copy_vbi_data() local 165 l = itv->vbi.sliced_data[i].line - 6; in copy_vbi_data() 173 dst[sd + 12 + line * 43] = in copy_vbi_data() [all …]
|
/drivers/serial/ |
D | crisv10.c | 112 #define DEBUG_LOG(line, string, value) argument 133 void debug_log_func(int line, const char *string, int value) in debug_log_func() argument 502 #define E100_STRUCT_PORT(line, pinname) \ argument 503 ((CONFIG_ETRAX_SER##line##_##pinname##_ON_PA_BIT >= 0)? \ 505 (CONFIG_ETRAX_SER##line##_##pinname##_ON_PB_BIT >= 0)? \ 506 (R_PORT_PB_DATA):&dummy_ser[line])) 508 #define E100_STRUCT_SHADOW(line, pinname) \ argument 509 ((CONFIG_ETRAX_SER##line##_##pinname##_ON_PA_BIT >= 0)? \ 511 (CONFIG_ETRAX_SER##line##_##pinname##_ON_PB_BIT >= 0)? \ 512 (&port_pb_data_shadow):&dummy_ser[line])) [all …]
|
D | sc26xx.c | 100 return readb(p->membase + p->line * 0x20 + reg); in read_sc_port() 105 writeb(val, p->membase + p->line * 0x20 + reg); in write_sc_port() 114 int line = port->line; in sc26xx_enable_irq() local 116 port -= line; in sc26xx_enable_irq() 119 up->imr |= mask << (line * 4); in sc26xx_enable_irq() 126 int line = port->line; in sc26xx_disable_irq() local 128 port -= line; in sc26xx_disable_irq() 131 up->imr &= ~(mask << (line * 4)); in sc26xx_disable_irq() 260 int line = port->line; in sc26xx_set_mctrl() local 262 port -= line; in sc26xx_set_mctrl() [all …]
|
D | sb1250-duart.c | 57 #define SBD_CHANREGS(line) A_BCM1480_DUART_CHANREG((line), 0) argument 58 #define SBD_CTRLREGS(line) A_BCM1480_DUART_CTRLREG((line), 0) argument 59 #define SBD_INT(line) (K_BCM1480_INT_UART_0 + (line)) argument 63 #define R_DUART_IMRREG(line) R_BCM1480_DUART_IMRREG(line) argument 64 #define R_DUART_INCHREG(line) R_BCM1480_DUART_INCHREG(line) argument 65 #define R_DUART_ISRREG(line) R_BCM1480_DUART_ISRREG(line) argument 71 #define SBD_CHANREGS(line) A_DUART_CHANREG((line), 0) argument 72 #define SBD_CTRLREGS(line) A_DUART_CTRLREG(0) argument 73 #define SBD_INT(line) (K_INT_UART_0 + (line)) argument 254 status >>= (uport->line) % 2; in sbd_get_mctrl() [all …]
|
D | 8250_pnp.c | 426 int ret, line, flags = dev_id->driver_data; in serial_pnp_probe() local 459 line = serial8250_register_port(&port); in serial_pnp_probe() 460 if (line < 0) in serial_pnp_probe() 463 pnp_set_drvdata(dev, (void *)((long)line + 1)); in serial_pnp_probe() 469 long line = (long)pnp_get_drvdata(dev); in serial_pnp_remove() local 470 if (line) in serial_pnp_remove() 471 serial8250_unregister_port(line - 1); in serial_pnp_remove() 477 long line = (long)pnp_get_drvdata(dev); in serial_pnp_suspend() local 479 if (!line) in serial_pnp_suspend() 481 serial8250_suspend_port(line - 1); in serial_pnp_suspend() [all …]
|
D | 8250_hp300.c | 30 int line; /* line (tty) number */ member 124 add_preferred_console("ttyS", port.line, "9600n8"); in hp300_setup_serial_console() 147 add_preferred_console("ttyS", port.line, "9600n8"); in hp300_setup_serial_console() 165 int line; in hpdca_init_one() local 184 line = serial8250_register_port(&port); in hpdca_init_one() 186 if (line < 0) { in hpdca_init_one() 194 dio_set_drvdata(d, (void *)line); in hpdca_init_one() 210 int line; in hp300_8250_init() local 265 line = serial8250_register_port(&uport); in hp300_8250_init() 267 if (line < 0) { in hp300_8250_init() [all …]
|
D | 68328serial.c | 173 unsigned short int baud = uart_addr[ss->line].ubaud; in get_baud() 191 m68328_uart *uart = &uart_addr[info->line]; in rs_stop() 222 m68328_uart *uart = &uart_addr[info->line]; in rs_start() 277 m68328_uart *uart = &uart_addr[info->line]; in receive_chars() 338 m68328_uart *uart = &uart_addr[info->line]; in transmit_chars() 382 uart = &uart_addr[info->line]; in rs_interrupt() 435 m68328_uart *uart = &uart_addr[info->line]; in startup() 490 m68328_uart *uart = &uart_addr[info->line]; in shutdown() 565 m68328_uart *uart = &uart_addr[info->line]; in change_speed() 678 printk("ttyS%d console mode %s\n", info->line, info->is_cons ? "on" : "off"); in rs_set_ldisc() [all …]
|
D | dz.c | 129 u16 tmp, mask = 1 << dport->port.line; in dz_stop_tx() 139 u16 tmp, mask = 1 << dport->port.line; in dz_start_tx() 325 if (dport->port.line != DZ_MODEM) in check_modem_status() 375 if (dport->port.line == DZ_MODEM) { in dz_get_mctrl() 391 if (dport->port.line == DZ_MODEM) { in dz_set_mctrl() 487 unsigned short tmp, mask = 1 << dport->port.line; in dz_tx_empty() 503 unsigned short tmp, mask = 1 << dport->port.line; in dz_break_ctl() 579 cflag = dport->port.line; in dz_set_termios() 773 int line; in dz_init_ports() local 784 for (line = 0; line < DZ_NB_PORT; line++) { in dz_init_ports() [all …]
|
D | mpsc.c | 409 pi->port.line, burst_size); in mpsc_sdma_burstsize() 428 pr_debug("mpsc_sdma_init[%d]: burst_size: %d\n", pi->port.line, in mpsc_sdma_init() 440 pr_debug("mpsc_sdma_intr_mask[%d]: mask: 0x%x\n", pi->port.line, mask); in mpsc_sdma_intr_mask() 446 if (pi->port.line) in mpsc_sdma_intr_mask() 454 if (pi->port.line) in mpsc_sdma_intr_mask() 463 pr_debug("mpsc_sdma_intr_unmask[%d]: mask: 0x%x\n", pi->port.line,mask); in mpsc_sdma_intr_unmask() 469 if (pi->port.line) in mpsc_sdma_intr_unmask() 480 pr_debug("mpsc_sdma_intr_ack[%d]: Acknowledging IRQ\n", pi->port.line); in mpsc_sdma_intr_ack() 485 + pi->port.line); in mpsc_sdma_intr_ack() 492 pi->port.line, (u32)rxre_p); in mpsc_sdma_set_rx_ring() [all …]
|
/drivers/isdn/i4l/ |
D | isdn_v110.c | 192 int line = 0; in DecodeMatrix() local 199 while (line < len) { /* Are we done with all lines of the matrix? */ in DecodeMatrix() 200 if ((line % 10) == 0) { /* the 0. line of the matrix is always 0 ! */ in DecodeMatrix() 201 if (m[line] != 0x00) { /* not 0 ? -> error! */ in DecodeMatrix() 207 line++; /* next line of matrix */ in DecodeMatrix() 209 } else if ((line % 10) == 5) { /* in line 5 there's only e-bits ! */ in DecodeMatrix() 210 if ((m[line] & 0x70) != 0x30) { /* 011 has to be at the beginning! */ in DecodeMatrix() 216 line++; /* next line */ in DecodeMatrix() 219 introducer = (m[line] & mbit) ? 0 : 1; /* current bit of the matrix */ in DecodeMatrix() 226 line++; in DecodeMatrix() [all …]
|
/drivers/media/video/cx18/ |
D | cx18-vbi.c | 32 int line = 0; in copy_vbi_data() local 53 l = sdata->line - 6; in copy_vbi_data() 61 dst[sd + 12 + line * 43] = cx18_service2vbi(sdata->id); in copy_vbi_data() 62 memcpy(dst + sd + 12 + line * 43 + 1, sdata->data, 42); in copy_vbi_data() 63 line++; in copy_vbi_data() 66 if (line == 36) { in copy_vbi_data() 71 memcpy(dst + sd + 4, dst + sd + 12, line * 43); in copy_vbi_data() 72 size = 4 + ((43 * line + 3) & ~3); in copy_vbi_data() 76 size = 12 + ((43 * line + 3) & ~3); in copy_vbi_data() 117 static u32 compress_sliced_buf(struct cx18 *cx, u32 line, u8 *buf, in compress_sliced_buf() argument [all …]
|
/drivers/s390/char/ |
D | tty3270.c | 145 struct string *line; in tty3270_update_prompt() local 148 line = tp->prompt; in tty3270_update_prompt() 150 line->string[5] = TF_INMDT; in tty3270_update_prompt() 152 line->string[5] = tp->inattr; in tty3270_update_prompt() 155 memcpy(line->string + 6, input, count); in tty3270_update_prompt() 156 line->string[6 + count] = TO_IC; in tty3270_update_prompt() 159 line->string[7 + count] = TO_RA; in tty3270_update_prompt() 160 line->string[10 + count] = 0; in tty3270_update_prompt() 162 raw3270_buffer_address(tp->view.dev, line->string+count+8, off); in tty3270_update_prompt() 163 line->len = 11 + count; in tty3270_update_prompt() [all …]
|
/drivers/usb/storage/ |
D | freecom.c | 431 static char line[80]; in pdump() local 441 offset += sprintf (line+offset, " - "); in pdump() 444 line[offset++] = buffer[j]; in pdump() 446 line[offset++] = '.'; in pdump() 448 line[offset] = 0; in pdump() 449 US_DEBUGP("%s\n", line); in pdump() 452 offset += sprintf (line+offset, "%08x:", i); in pdump() 455 offset += sprintf (line+offset, " -"); in pdump() 457 offset += sprintf (line+offset, " %02x", buffer[i] & 0xff); in pdump() 465 offset += sprintf (line+offset, " "); in pdump() [all …]
|
/drivers/dma/ipu/ |
D | ipu_irq.c | 274 int i, line; in ipu_irq_err() local 288 while ((line = ffs(status))) { in ipu_irq_err() 291 line--; in ipu_irq_err() 292 status &= ~(1UL << line); in ipu_irq_err() 295 map = src2map(32 * i + line); in ipu_irq_err() 302 line, i); in ipu_irq_err() 315 int i, line; in ipu_irq_fn() local 325 while ((line = ffs(status))) { in ipu_irq_fn() 328 line--; in ipu_irq_fn() 329 status &= ~(1UL << line); in ipu_irq_fn() [all …]
|
/drivers/media/video/pwc/ |
D | pwc-uncompress.c | 40 int n, line, col, stride; in pwc_decompress() local 95 for (line = 0; line < pdev->image.y; line++) { in pwc_decompress() 99 if (line & 1) in pwc_decompress() 105 if (line & 1) in pwc_decompress()
|
/drivers/char/ |
D | riscom8.h | 38 #define RC_BOARD(line) (((line) >> 3) & 0x07) argument 39 #define RC_PORT(line) ((line) & (RC_NPORT - 1)) argument
|
D | specialix_io8.h | 58 #define SX_BOARD(line) ((line) / SX_NPORT) argument 59 #define SX_PORT(line) ((line) & (SX_NPORT - 1)) argument
|
/drivers/power/ |
D | power_supply_sysfs.c | 222 char *line; in power_supply_uevent() local 230 line = strchr(prop_buf, '\n'); in power_supply_uevent() 231 if (line) in power_supply_uevent() 232 *line = 0; in power_supply_uevent() 252 char *line; in power_supply_uevent() local 267 line = strchr(prop_buf, '\n'); in power_supply_uevent() 268 if (line) in power_supply_uevent() 269 *line = 0; in power_supply_uevent()
|
/drivers/media/video/ |
D | tvp5150.c | 633 int line; in tvp5150_g_sliced_vbi_cap() local 639 for (line=regs->type.ini_line;line<=regs->type.end_line;line++) { in tvp5150_g_sliced_vbi_cap() 640 cap->service_lines[0][line] |= regs->type.vbi_type; in tvp5150_g_sliced_vbi_cap() 664 unsigned int type,u8 flags, int line, in tvp5150_set_vbi() argument 677 line += 3; in tvp5150_set_vbi() 680 if (line<6||line>27) in tvp5150_set_vbi() 685 (line>=regs->type.ini_line) && in tvp5150_set_vbi() 686 (line<=regs->type.end_line)) { in tvp5150_set_vbi() 698 reg=((line-6)<<1)+TVP5150_LINE_MODE_INI; in tvp5150_set_vbi() 712 const struct i2c_vbi_ram_value *regs, int line) in tvp5150_get_vbi() argument [all …]
|
/drivers/media/video/zoran/ |
D | zoran_procfs.c | 142 char *line, *ldelim, *varname, *svar, *tdelim; in zoran_write() local 164 line = strpbrk(sp, ldelim); in zoran_write() 165 while (line) { in zoran_write() 166 *line = 0; in zoran_write() 174 sp = line + 1; in zoran_write() 175 line = strpbrk(sp, ldelim); in zoran_write()
|
/drivers/media/video/bt8xx/ |
D | bttv-risc.c | 50 u32 instructions,line,todo; in bttv_risc_packed() local 78 for (line = 0; line < store_lines; line++) { in bttv_risc_packed() 80 (line >= (store_lines - VCR_HACK_LINES))) in bttv_risc_packed() 131 unsigned int instructions,line,todo,ylen,chroma; in bttv_risc_planar() local 158 for (line = 0; line < ylines; line++) { in bttv_risc_planar() 160 (line >= (ylines - VCR_HACK_LINES))) in bttv_risc_planar() 168 chroma = ((line & 1) == 0); in bttv_risc_planar() 170 chroma = ((line & 1) == 1); in bttv_risc_planar() 174 chroma = ((line & 3) == 0); in bttv_risc_planar() 176 chroma = ((line & 3) == 2); in bttv_risc_planar() [all …]
|
/drivers/net/wireless/iwlwifi/ |
D | iwl-3945-io.h | 247 static void __iwl3945_write_direct32(u32 line, in __iwl3945_write_direct32() argument 251 IWL_ERROR("Nic access not held from line %d\n", line); in __iwl3945_write_direct32() 305 static inline u32 __iwl3945_read_prph(u32 line, struct iwl3945_priv *priv, u32 reg) in __iwl3945_read_prph() argument 308 IWL_ERROR("Nic access not held from line %d\n", line); in __iwl3945_read_prph() 327 static inline void __iwl3945_write_prph(u32 line, struct iwl3945_priv *priv, in __iwl3945_write_prph() argument 331 IWL_ERROR("Nic access from line %d\n", line); in __iwl3945_write_prph() 344 static inline void __iwl3945_set_bits_prph(u32 line, struct iwl3945_priv *priv, in __iwl3945_set_bits_prph() argument 348 IWL_ERROR("Nic access not held from line %d\n", line); in __iwl3945_set_bits_prph() 362 static inline void __iwl3945_set_bits_mask_prph(u32 line, in __iwl3945_set_bits_mask_prph() argument 366 IWL_ERROR("Nic access not held from line %d\n", line); in __iwl3945_set_bits_mask_prph()
|
/drivers/acpi/acpica/ |
D | utalloc.c | 323 u32 component, const char *module, u32 line) in acpi_ut_allocate() argument 332 ACPI_WARNING((module, line, in acpi_ut_allocate() 342 ACPI_WARNING((module, line, in acpi_ut_allocate() 367 u32 component, const char *module, u32 line) in acpi_ut_allocate_zeroed() argument 373 allocation = acpi_ut_allocate(size, component, module, line); in acpi_ut_allocate_zeroed()
|
/drivers/serial/cpm_uart/ |
D | cpm_uart_core.c | 95 pr_debug("CPM uart[%d]:tx_empty: %d\n", port->line, ret); in cpm_uart_tx_empty() 148 pr_debug("CPM uart[%d]:stop tx\n", port->line); in cpm_uart_stop_tx() 165 pr_debug("CPM uart[%d]:start tx\n", port->line); in cpm_uart_start_tx() 193 pr_debug("CPM uart[%d]:stop rx\n", port->line); in cpm_uart_stop_rx() 206 pr_debug("CPM uart[%d]:enable ms\n", port->line); in cpm_uart_enable_ms() 216 pr_debug("CPM uart[%d]:break ctrl, break_state: %d\n", port->line, in cpm_uart_break_ctl() 230 pr_debug("CPM uart[%d]:TX INT\n", port->line); in cpm_uart_int_tx() 253 pr_debug("CPM uart[%d]:RX INT\n", port->line); in cpm_uart_int_rx() 378 pr_debug("CPM uart[%d]:IRQ\n", port->line); in cpm_uart_int() 407 pr_debug("CPM uart[%d]:startup\n", port->line); in cpm_uart_startup() [all …]
|