Home
last modified time | relevance | path

Searched refs:arr (Results 1 – 14 of 14) sorted by relevance

/linux-2.4.37.9/drivers/scsi/
Dscsi_debug.c161 static int inquiry_evpd_83(unsigned char * arr, int dev_id_num,
404 static int inquiry_evpd_83(unsigned char * arr, int dev_id_num, in inquiry_evpd_83() argument
411 arr[0] = 0x2; /* ASCII */ in inquiry_evpd_83()
412 arr[1] = 0x1; in inquiry_evpd_83()
413 arr[2] = 0x0; in inquiry_evpd_83()
414 memcpy(&arr[4], vendor_id, 8); in inquiry_evpd_83()
415 memcpy(&arr[12], product_id, 16); in inquiry_evpd_83()
416 memcpy(&arr[28], dev_id_str, dev_id_str_len); in inquiry_evpd_83()
418 arr[3] = num; in inquiry_evpd_83()
421 arr[num] = 0x1; /* binary */ in inquiry_evpd_83()
[all …]
Dnsp32.h75 #define NUMBER(arr) ((int) (sizeof(arr) / sizeof(arr[0]))) argument
Dinia100.c108 #define NUMBER(arr) (sizeof(arr) / sizeof(arr[0])) argument
Daic7xxx_old.c265 #define NUMBER(arr) (sizeof(arr) / sizeof(arr[0])) argument
/linux-2.4.37.9/drivers/video/matrox/
Dg450_pll.c459 unsigned int* arr; in matroxfb_g450_setclk() local
461 arr = kmalloc(sizeof(*arr) * MNP_TABLE_SIZE * 2, GFP_KERNEL); in matroxfb_g450_setclk()
462 if (arr) { in matroxfb_g450_setclk()
465 r = __g450_setclk(PMINFO fout, pll, arr, arr + MNP_TABLE_SIZE); in matroxfb_g450_setclk()
466 kfree(arr); in matroxfb_g450_setclk()
/linux-2.4.37.9/drivers/scsi/pcmcia/
Dnsp_cs.h29 #define NUMBER(arr) ((int) (sizeof(arr) / sizeof(arr[0]))) /* from XtNumber() in /usr/X11R6/include… argument
/linux-2.4.37.9/arch/i386/kernel/
Dmtrr.c553 unsigned char arr, ccr3, rcr, shift; in cyrix_get_arr() local
555 arr = CX86_ARR_BASE + (reg << 1) + reg; /* avoid multiplication by 3 */ in cyrix_get_arr()
562 ((unsigned char *) base)[3] = getCx86 (arr); in cyrix_get_arr()
563 ((unsigned char *) base)[2] = getCx86 (arr+1); in cyrix_get_arr()
564 ((unsigned char *) base)[1] = getCx86 (arr+2); in cyrix_get_arr()
718 unsigned char arr, arr_type, arr_size; in cyrix_set_arr_up() local
720 arr = CX86_ARR_BASE + (reg << 1) + reg; /* avoid multiplication by 3 */ in cyrix_set_arr_up()
754 setCx86(arr, ((unsigned char *) &base)[3]); in cyrix_set_arr_up()
755 setCx86(arr+1, ((unsigned char *) &base)[2]); in cyrix_set_arr_up()
756 setCx86(arr+2, (((unsigned char *) &base)[1]) | arr_size); in cyrix_set_arr_up()
/linux-2.4.37.9/arch/sparc64/mm/
Dfault.c28 #define ELEMENTS(arr) (sizeof (arr)/sizeof (arr[0])) argument
/linux-2.4.37.9/arch/sparc/mm/
Dfault.c35 #define ELEMENTS(arr) (sizeof (arr)/sizeof (arr[0])) argument
/linux-2.4.37.9/drivers/block/
Dacsi.c701 struct acsi_error *arr; in acsi_print_error() local
719 arr = atari_err ? atari_acsi_errors : scsi_acsi_errors; in acsi_print_error()
724 if (arr[i].code == errcode) break; in acsi_print_error()
726 printk( ": %s\n", arr[i].text ); in acsi_print_error()
/linux-2.4.37.9/fs/reiserfs/
Dinode.c2024 struct buffer_head *arr[PAGE_CACHE_SIZE/512] ; in reiserfs_write_full_page() local
2056 arr[nr++] = bh ; in reiserfs_write_full_page()
2069 arr[nr++] = bh ; in reiserfs_write_full_page()
2082 submit_bh_for_writepage(arr, nr) ; in reiserfs_write_full_page()
2094 submit_bh_for_writepage(arr, nr) ; in reiserfs_write_full_page()
/linux-2.4.37.9/fs/
Dbuffer.c1781 struct buffer_head *bh, *head, *arr[MAX_BUF_PER_PAGE]; in block_read_full_page() local
1820 arr[nr] = bh; in block_read_full_page()
1837 struct buffer_head * bh = arr[i]; in block_read_full_page()
1844 struct buffer_head * bh = arr[i]; in block_read_full_page()
/linux-2.4.37.9/include/linux/
Dsoundcard.h160 unsigned char arr[8]; member
/linux-2.4.37.9/drivers/sound/
Dsequencer.c1499 play_event(event_rec.arr); in sequencer_ioctl()