/linux-2.4.37.9/drivers/pci/ |
D | gen-devlist.c | 32 char line[1024], *c, *bra, vend[8]; in main() local 46 while (fgets(line, sizeof(line)-1, stdin)) { in main() 48 if ((c = strchr(line, '\n'))) in main() 50 if (!line[0] || line[0] == '#') in main() 52 if (line[1] == ' ') { in main() 53 if (line[0] == 'C' && strlen(line) > 4 && line[4] == ' ') { in main() 54 vend[0] = line[2]; in main() 55 vend[1] = line[3]; in main() 60 else if (line[0] == '\t') { in main() 61 if (line[1] == '\t') in main() [all …]
|
/linux-2.4.37.9/scripts/ |
D | checkpatch.pl | 305 my ($line) = @_; 308 $line =~ s/^.//; 309 $line = expand_tabs($line); 312 my ($white) = ($line =~ /^(\s*)/); 314 return (length($line), length($white)); 329 my ($line) = @_; 339 $res = substr($line, 0, 1); 341 for ($off = 1; $off < length($line); $off++) { 342 $c = substr($line, $off, 1); 346 if ($sanitise_quote eq '' && substr($line, $off, 2) eq '/*') { [all …]
|
D | split-include.c | 56 char * line; in main() local 80 if ( (line = malloc(buffer_size)) == NULL in main() 105 while (fgets(line, buffer_size, fp_config)) in main() 111 if (line[0] != '#') in main() 113 if ((str_config = strstr(line, "CONFIG_")) == NULL) in main() 136 if (!strcmp(line, old_line)) in main() 159 fputs(line, fp_target); in main() 195 line[0] = '\n'; in main() 196 while (fgets(line+1, buffer_size, fp_find)) in main() 198 if (strstr(list_target, line) == NULL) in main() [all …]
|
D | header.tk | 199 while { [gets $file1 line] >= 0} { 200 if [regexp {([0-9A-Za-z_]+)=([ynm])} $line foo var value] { 210 if [regexp {([0-9A-Za-z_]+)=([0-9A-Fa-f]+)} $line foo var value] { 214 if [regexp {([0-9A-Za-z_]+)="([^"]*)"} $line foo var value] { 314 proc option_name {w mnum line text helpidx} { 324 proc toggle_switch2 {w mnum line text variable} { 333 option_name $w $mnum $line $text $variable 338 proc toggle_switch3 {w mnum line text variable} { 347 option_name $w $mnum $line $text $variable 356 proc bool {w mnum line text variable} { [all …]
|
/linux-2.4.37.9/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 …]
|
/linux-2.4.37.9/drivers/char/ |
D | sb1250_duart.c | 90 unsigned int line; member 120 static inline u32 READ_SERCSR(u32 *addr, int line) in READ_SERCSR() argument 124 csr_out32(last_mode1[line], uart_states[line].mode_1); in READ_SERCSR() 129 static inline void WRITE_SERCSR(u32 val, u32 *addr, int line) in WRITE_SERCSR() argument 133 csr_out32(last_mode1[line], uart_states[line].mode_1); in WRITE_SERCSR() 137 static void init_duart_port(uart_state_t *port, int line) in init_duart_port() argument 140 port->line = line; in init_duart_port() 141 port->status = (u32 *)(IO_SPACE_BASE | A_DUART_CHANREG(line, R_DUART_STATUS)); in init_duart_port() 142 port->imr = (u32 *)(IO_SPACE_BASE | A_DUART_IMRREG(line)); in init_duart_port() 143 port->tx_hold = (u32 *)(IO_SPACE_BASE | A_DUART_CHANREG(line, R_DUART_TX_HOLD)); in init_duart_port() [all …]
|
D | ite_gpio.c | 191 int i,line=0, ret=0; in ite_gpio_int_wait() local 196 line = data & mask; in ite_gpio_int_wait() 199 line = (data & mask) <<8; in ite_gpio_int_wait() 202 line = (data & mask) <<16; in ite_gpio_int_wait() 206 if ( (line) & (1 << i)) in ite_gpio_int_wait() 213 if (line & ~(1<<i)) in ite_gpio_int_wait() 324 int i,line; in ite_gpio_irq_handler() local 326 line = ITE_GPCISR & 0x1f; in ite_gpio_irq_handler() 328 if ( line & (1 << i)) { in ite_gpio_irq_handler() 339 line = ITE_GPBISR; in ite_gpio_irq_handler() [all …]
|
/linux-2.4.37.9/arch/cris/drivers/ |
D | serial.c | 591 #define DEBUG_LOG(line, string, value) argument 612 void debug_log_func(int line, const char *string, int value) in debug_log_func() argument 901 #define E100_STRUCT_PORT(line, pinname) \ argument 902 ((CONFIG_ETRAX_SER##line##_##pinname##_ON_PA_BIT >= 0)? \ 904 (CONFIG_ETRAX_SER##line##_##pinname##_ON_PB_BIT >= 0)? \ 905 (R_PORT_PB_DATA):&dummy_ser[line])) 907 #define E100_STRUCT_SHADOW(line, pinname) \ argument 908 ((CONFIG_ETRAX_SER##line##_##pinname##_ON_PA_BIT >= 0)? \ 910 (CONFIG_ETRAX_SER##line##_##pinname##_ON_PB_BIT >= 0)? \ 911 (&port_pb_data_shadow):&dummy_ser[line])) [all …]
|
/linux-2.4.37.9/drivers/isdn/ |
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 …]
|
/linux-2.4.37.9/arch/ppc/xmon/ |
D | start_8xx.c | 164 static char line[256]; variable 177 lineptr = line; 187 if (c != '\r' && lineptr < &line[sizeof(line) - 1]) 191 } while (strstr(line, str) == NULL); 202 lineptr = line; in xmon_getchar() 215 if (lineptr > line) { in xmon_getchar() 223 while (lineptr > line) { in xmon_getchar() 231 if (lineptr >= &line[sizeof(line) - 1]) in xmon_getchar() 239 lineleft = lineptr - line; in xmon_getchar() 240 lineptr = line; in xmon_getchar()
|
/linux-2.4.37.9/init/ |
D | main.c | 145 static int __init checksetup(char *line) in checksetup() argument 152 if (!strncmp(line,p->str,n)) { in checksetup() 153 if (p->setup_func(line+n)) in checksetup() 239 static void __init parse_options(char *line) in parse_options() argument 244 if (!*line) in parse_options() 248 next = line; in parse_options() 249 while ((line = next) != NULL) { in parse_options() 250 quote = strchr(line,'"'); in parse_options() 251 next = strchr(line, ' '); in parse_options() 264 if (!strncmp(line,"init=",5)) { in parse_options() [all …]
|
/linux-2.4.37.9/arch/arm/mach-footbridge/ |
D | personal-pci.c | 23 unsigned char line; in personal_server_map_irq() local 25 pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &line); in personal_server_map_irq() 27 if (line > 0x40 && line <= 0x5f) { in personal_server_map_irq() 32 return irqmap_personal_server[(line & 0x1f) - 8]; in personal_server_map_irq() 33 } else if (line == 0) { in personal_server_map_irq() 37 return irqmap_personal_server[(line - 1) & 3]; in personal_server_map_irq()
|
/linux-2.4.37.9/drivers/acpi/utilities/ |
D | utalloc.c | 354 u32 line) in acpi_ut_allocate() argument 365 _ACPI_REPORT_ERROR (module, line, component, in acpi_ut_allocate() 374 _ACPI_REPORT_ERROR (module, line, component, in acpi_ut_allocate() 404 u32 line) in acpi_ut_callocate() argument 415 _ACPI_REPORT_ERROR (module, line, component, in acpi_ut_callocate() 424 _ACPI_REPORT_ERROR (module, line, component, in acpi_ut_callocate() 469 u32 line) in acpi_ut_allocate_and_track() argument 476 module, line); in acpi_ut_allocate_and_track() 482 ACPI_MEM_MALLOC, component, module, line); in acpi_ut_allocate_and_track() 515 u32 line) in acpi_ut_callocate_and_track() argument [all …]
|
/linux-2.4.37.9/arch/ppc64/xmon/ |
D | start.c | 234 static char line[256]; variable 246 lineptr = line; in xmon_expect() 256 if (c != '\r' && lineptr < &line[sizeof(line) - 1]) in xmon_expect() 260 } while (strstr(line, str) == NULL); in xmon_expect() 270 lineptr = line; in xmon_getchar() 283 if (lineptr > line) { in xmon_getchar() 291 while (lineptr > line) { in xmon_getchar() 299 if (lineptr >= &line[sizeof(line) - 1]) in xmon_getchar() 307 lineleft = lineptr - line; in xmon_getchar() 308 lineptr = line; in xmon_getchar()
|
/linux-2.4.37.9/drivers/pnp/ |
D | isapnp_proc.c | 783 static int isapnp_set_card(char *line) in isapnp_set_card() argument 793 line = isapnp_get_str(index, line, sizeof(index)); in isapnp_set_card() 794 isapnp_get_str(value, line, sizeof(value)); in isapnp_set_card() 812 static int isapnp_select_csn(char *line) in isapnp_select_csn() argument 819 isapnp_get_str(index, line, sizeof(index)); in isapnp_select_csn() 839 static int isapnp_set_device(char *line) in isapnp_set_device() argument 845 line = isapnp_get_str(index, line, sizeof(index)); in isapnp_set_device() 846 isapnp_get_str(value, line, sizeof(value)); in isapnp_set_device() 883 static int isapnp_set_port(char *line) in isapnp_set_port() argument 888 line = isapnp_get_str(index, line, sizeof(index)); in isapnp_set_port() [all …]
|
/linux-2.4.37.9/arch/ppc/platforms/ |
D | pmac_pic.c | 238 node->child->intrs[0].line = 15+irq_base; in pmac_fix_gatwick_interrupts() 239 node->child->intrs[1].line = 4+irq_base; in pmac_fix_gatwick_interrupts() 240 node->child->intrs[2].line = 5+irq_base; in pmac_fix_gatwick_interrupts() 242 node->child->intrs[0].line, in pmac_fix_gatwick_interrupts() 243 node->child->intrs[1].line, in pmac_fix_gatwick_interrupts() 244 node->child->intrs[2].line); in pmac_fix_gatwick_interrupts() 253 node->intrs[0].line = 29+irq_base; in pmac_fix_gatwick_interrupts() 255 node->intrs[0].line); in pmac_fix_gatwick_interrupts() 266 ya_node->intrs[0].line = 19+irq_base; in pmac_fix_gatwick_interrupts() 267 ya_node->intrs[1].line = 1+irq_base; in pmac_fix_gatwick_interrupts() [all …]
|
/linux-2.4.37.9/arch/ia64/sn/io/drivers/ |
D | ioconfig_bus.c | 120 int nextline(char *buffer, char **next, char *line) in nextline() argument 131 *line = *temp; in nextline() 133 *line = *temp; in nextline() 134 temp++; line++; in nextline() 164 char *line; in build_moduleid_table() local 167 line = kmalloc(256, GFP_KERNEL); in build_moduleid_table() 168 if (line <= 0) in build_moduleid_table() 170 memset(line, 0,256); in build_moduleid_table() 178 while (nextline(current, &next, line)){ in build_moduleid_table() 182 temp = line; in build_moduleid_table() [all …]
|
/linux-2.4.37.9/include/linux/ |
D | devpts_fs.h | 50 devpts_pty_new(int line, kdev_t device) in devpts_pty_new() argument 53 return devpts_upcall_new(line,device); in devpts_pty_new() 57 devpts_pty_kill(int line) in devpts_pty_kill() argument 60 return devpts_upcall_kill(line); in devpts_pty_kill() 67 devpts_pty_new(int line, kdev_t device) { } in devpts_pty_new() argument 70 devpts_pty_kill(int line) { } in devpts_pty_kill() argument
|
/linux-2.4.37.9/arch/ppc/boot/chrp/ |
D | start.c | 74 static char line[256]; variable 84 lineptr = line; in getchar() 97 if (lineptr > line) { in getchar() 105 while (lineptr > line) { in getchar() 113 if (lineptr >= &line[sizeof(line) - 1]) in getchar() 121 lineleft = lineptr - line; in getchar() 122 lineptr = line; in getchar()
|
/linux-2.4.37.9/arch/ppc/boot/pmac/ |
D | start.c | 90 static char line[256]; variable 100 lineptr = line; in getchar() 113 if (lineptr > line) { in getchar() 121 while (lineptr > line) { in getchar() 129 if (lineptr >= &line[sizeof(line) - 1]) in getchar() 137 lineleft = lineptr - line; in getchar() 138 lineptr = line; in getchar()
|
/linux-2.4.37.9/net/bluetooth/ |
D | lib.c | 41 char line[100]; in bluez_dump() local 46 ptr = line; in bluez_dump() 52 printk(KERN_INFO "%s:%s\n", pref, line); in bluez_dump() 53 ptr = line; in bluez_dump() 58 if (line[0]) in bluez_dump() 59 printk(KERN_INFO "%s:%s\n", pref, line); in bluez_dump()
|
/linux-2.4.37.9/drivers/sbus/char/ |
D | aurora.h | 150 #define AURORA_BOARD(line) (((line) >> 4) & 0x01) argument 151 #define AURORA_CD180(line) (((line) >> 3) & 0x01) argument 152 #define AURORA_PORT(line) ((line) & 15) argument
|
/linux-2.4.37.9/arch/mips/mips-boards/atlas/ |
D | atlas_setup.c | 94 int line; in atlas_setup() local 99 line = *argptr == '0' ? 0 : 1; in atlas_setup() 101 line ? 1 : 0); in atlas_setup() 103 if(line == 0) { in atlas_setup() 104 rs_kgdb_hook(line); in atlas_setup() 114 "please connect your debugger\n", line ? 1 : 0); in atlas_setup()
|
/linux-2.4.37.9/arch/x86_64/lib/ |
D | iodebug.c | 3 void * __io_virt_debug(unsigned long x, const char *file, int line) in __io_virt_debug() argument 6 printk("io mapaddr 0x%05lx not valid at %s:%d!\n", x, file, line); in __io_virt_debug() 12 unsigned long __io_phys_debug(unsigned long x, const char *file, int line) in __io_phys_debug() argument 15 printk("io mapaddr 0x%05lx not valid at %s:%d!\n", x, file, line); in __io_phys_debug()
|
/linux-2.4.37.9/arch/i386/lib/ |
D | iodebug.c | 3 void * __io_virt_debug(unsigned long x, const char *file, int line) in __io_virt_debug() argument 6 printk("io mapaddr 0x%05lx not valid at %s:%d!\n", x, file, line); in __io_virt_debug() 12 unsigned long __io_phys_debug(unsigned long x, const char *file, int line) in __io_phys_debug() argument 15 printk("io mapaddr 0x%05lx not valid at %s:%d!\n", x, file, line); in __io_phys_debug()
|