Home
last modified time | relevance | path

Searched refs:col (Results 1 – 18 of 18) sorted by relevance

/linux-2.4.37.9/drivers/char/
Dvc_screen.c112 int col, maxcol; in vcs_read() local
175 col = p % maxcol; in vcs_read()
176 p += maxcol - col; in vcs_read()
179 if (++col == maxcol) { in vcs_read()
181 col = 0; in vcs_read()
225 col = p % maxcol; in vcs_read()
228 p += maxcol - col; in vcs_read()
239 if (++col == maxcol) { in vcs_read()
241 col = 0; in vcs_read()
286 int col, maxcol; in vcs_write() local
[all …]
Dn_tty.c447 unsigned int col = tty->canon_column; in eraser() local
454 col = (col | 7) + 1; in eraser()
457 col += 2; in eraser()
459 col++; in eraser()
468 while (tty->column > col) { in eraser()
DdigiFep1.h55 volatile ushort col; member
Dfep.h53 volatile ushort col; member
/linux-2.4.37.9/drivers/mtd/nand/
Dnand.c173 static int nand_write_page (struct mtd_info *mtd, struct nand_chip *this, int page, int col,
357 int page, int col, int last, u_char *oob_buf, int oobsel) in nand_write_page() argument
375 if (col) { in nand_write_page()
377 for (i = 0; i < col; i++) in nand_write_page()
380 if ((col < this->eccsize) && (last >= this->eccsize)) { in nand_write_page()
393 if (eccmode != NAND_ECC_NONE && (col || last != mtd->oobblock)) in nand_write_page()
398 for (i = 0; i < col; i++) in nand_write_page()
493 this->cmdfunc (mtd, NAND_CMD_READ0, col, page); in nand_write_page()
495 for (i = col; i < last; i++) { in nand_write_page()
511 if (eccmode != NAND_ECC_NONE && !col && last == mtd->oobblock) { in nand_write_page()
[all …]
/linux-2.4.37.9/arch/mips/sgi-ip27/
Dip27-init.c710 cnodeid_t row, col; in init_topology_matrix() local
713 for (col = 0; col < MAX_COMPACT_NODES; col++) in init_topology_matrix()
714 node_distances[row][col] = -1; in init_topology_matrix()
718 for (col = 0; col < numnodes; col++) { in init_topology_matrix()
719 nasid2 = COMPACT_TO_NASID_NODEID(col); in init_topology_matrix()
720 node_distances[row][col] = node_distance(nasid, nasid2); in init_topology_matrix()
734 cnodeid_t row, col; in dump_topology() local
739 for (col = 0; col < numnodes; col++) in dump_topology()
740 printk("%02d ", col); in dump_topology()
744 for (col = 0; col < numnodes; col++) in dump_topology()
[all …]
/linux-2.4.37.9/drivers/char/ftape/lowlevel/
Dftape-ecc.c741 int col, i, result; in ftape_ecc_correct_data() local
753 for (col = 0; col < FT_SECTOR_SIZE; col += sizeof(long)) { in ftape_ecc_correct_data()
754 if (!compute_syndromes((unsigned long *) &mseg->data[col], in ftape_ecc_correct_data()
760 if (col >= FT_SECTOR_SIZE) { in ftape_ecc_correct_data()
806 &mseg->data[col + sizeof(long) - 1 - i], in ftape_ecc_correct_data()
814 result = correct_block(&mseg->data[col + i], in ftape_ecc_correct_data()
833 if (!sanity_check((unsigned long *) &mseg->data[col], in ftape_ecc_correct_data()
840 while ((col += sizeof(long)) < FT_SECTOR_SIZE) { in ftape_ecc_correct_data()
842 &mseg->data[col], mseg->blocks, ss)) { in ftape_ecc_correct_data()
847 } while (col < FT_SECTOR_SIZE); in ftape_ecc_correct_data()
/linux-2.4.37.9/drivers/usb/
Dpwc-uncompress.c79 int n, line, col, stride; in pwc_decompress() local
128 for (col = 0; col < pdev->image.x; col += 4) { in pwc_decompress()
/linux-2.4.37.9/drivers/video/
Datafb.c689 int t, col; in tt_getcolreg() local
696 col = t & 15; in tt_getcolreg()
697 col |= col << 4; in tt_getcolreg()
698 col |= col << 8; in tt_getcolreg()
699 *blue = col; in tt_getcolreg()
700 col = (t >> 4) & 15; in tt_getcolreg()
701 col |= col << 4; in tt_getcolreg()
702 col |= col << 8; in tt_getcolreg()
703 *green = col; in tt_getcolreg()
704 col = (t >> 8) & 15; in tt_getcolreg()
[all …]
Dclgenfb.c2296 unsigned short col; in fbcon_clgen8_clear() local
2305 col = attr_bgcol_ec (p, conp); in fbcon_clgen8_clear()
2306 col &= 0xff; in fbcon_clgen8_clear()
2310 col, fb_info->currentmode.line_length); in fbcon_clgen8_clear()
2344 unsigned short col; in fbcon_clgen16_clear() local
2353 col = attr_bgcol_ec (p, conp); in fbcon_clgen16_clear()
2354 col &= 0xff; in fbcon_clgen16_clear()
2358 col, fb_info->currentmode.line_length); in fbcon_clgen16_clear()
2393 unsigned short col; in fbcon_clgen32_clear() local
2402 col = attr_bgcol_ec (p, conp); in fbcon_clgen32_clear()
[all …]
Dretz3fb.c1585 unsigned short col; in retz3_8_clear() local
1591 col = attr_bgcol_ec(p, conp); in retz3_8_clear()
1592 col &= 0xff; in retz3_8_clear()
1593 col |= (col << 8); in retz3_8_clear()
1603 col); in retz3_8_clear()
Dsstfb.c504 u32 col; in sstfb_setcolreg() local
522 col = (red << disp->var.red.offset) in sstfb_setcolreg()
530 sst_info->fbcon_cmap.cfb16[regno]=(u16)col; in sstfb_setcolreg()
537 sst_info->fbcon_cmap.cfb32[regno]=col; in sstfb_setcolreg()
546 disp->var.bits_per_pixel, col); in sstfb_setcolreg()
Dvgacon.c388 int col = vga_can_do_color; in vgacon_invert_region() local
392 if (col) in vgacon_invert_region()
/linux-2.4.37.9/drivers/video/riva/
Daccel.c303 static inline void convert_bgcolor_16(u32 *col) in convert_bgcolor_16() argument
305 *col = ((*col & 0x0000F800) << 8) in convert_bgcolor_16()
306 | ((*col & 0x000007E0) << 5) in convert_bgcolor_16()
307 | ((*col & 0x0000001F) << 3) in convert_bgcolor_16()
/linux-2.4.37.9/drivers/video/sis/
Dsis_accel.c341 u32 col = 0; in fbcon_sis_fillrect() local
365 case 8: col = rect->color; in fbcon_sis_fillrect()
368 case 32: col = ((u32 *)(info->pseudo_palette))[rect->color]; in fbcon_sis_fillrect()
375 SiS300SetupForSolidFill(ivideo, col, myrops[rect->rop]); in fbcon_sis_fillrect()
383 SiS310SetupForSolidFill(ivideo, col, myrops[rect->rop]); in fbcon_sis_fillrect()
/linux-2.4.37.9/drivers/video/sti/
Dsticon.c349 int col = 1; /* vga_can_do_color; */ in sticon_invert_region() local
354 if (col) in sticon_invert_region()
/linux-2.4.37.9/drivers/atm/
Diphase.c970 int col, count; local
976 for(col = 0;count + col < length && col < 16; col++){
977 if (col != 0 && (col % 4) == 0)
979 pBuf += sprintf( pBuf, "%02X ", cp[count + col] );
981 while(col++ < 16){ /* pad end of buffer with blanks */
982 if ((col % 4) == 0)
987 for(col = 0;count + col < length && col < 16; col++){
988 if (isprint((int)cp[count + col]))
989 pBuf += sprintf( pBuf, "%c", cp[count + col] );
996 count += col;
/linux-2.4.37.9/Documentation/networking/
Ddl2k.txt248 cat dl2k.c | col -b > dl2k.tmp