Home
last modified time | relevance | path

Searched refs:scratch (Results 1 – 25 of 84) sorted by relevance

1234

/linux-2.4.37.9/include/asm-sparc/
Dwinmacro.h51 #define LOAD_PT_YREG(base_reg, scratch) \ argument
52 ld [%base_reg + STACKFRAME_SZ + PT_Y], %scratch; \
53 wr %scratch, 0x0, %y;
60 #define LOAD_PT_ALL(base_reg, pt_psr, pt_pc, pt_npc, scratch) \ argument
61 LOAD_PT_YREG(base_reg, scratch) \
78 #define STORE_PT_YREG(base_reg, scratch) \ argument
79 rd %y, %scratch; \
80 st %scratch, [%base_reg + STACKFRAME_SZ + PT_Y];
93 #define SAVE_BOLIXED_USER_STACK(cur_reg, scratch) \ argument
94 ld [%cur_reg + AOFF_task_thread + AOFF_thread_w_saved], %scratch; \
[all …]
/linux-2.4.37.9/drivers/usb/host/
Dehci-dbg.c350 u32 scratch; in qh_lines() local
370 scratch = cpu_to_le32p (&qh->hw_info1); in qh_lines()
374 qh, scratch & 0x007f, in qh_lines()
375 speed_char (scratch), in qh_lines()
376 (scratch >> 8) & 0x000f, in qh_lines()
377 scratch, cpu_to_le32p (&qh->hw_info2), in qh_lines()
388 scratch = cpu_to_le32p (&td->hw_token); in qh_lines()
394 else if (QTD_LENGTH (scratch)) { in qh_lines()
403 switch ((scratch>>8)&0x03) { in qh_lines()
409 (scratch >> 16) & 0x7fff, in qh_lines()
[all …]
/linux-2.4.37.9/drivers/block/paride/
Dparide.c174 static int pi_test_proto( PIA *pi, char * scratch, int verbose ) in pi_test_proto() argument
181 j = pi->proto->test_proto(pi,scratch,verbose); in pi_test_proto()
270 static int pi_probe_mode( PIA *pi, int max, char * scratch, int verbose) in pi_probe_mode() argument
280 return (!pi_test_proto(pi,scratch,verbose)); in pi_probe_mode()
288 if (!pi_test_proto(pi,scratch,verbose)) best = pi->mode; in pi_probe_mode()
294 static int pi_probe_unit( PIA *pi, int unit, char * scratch, int verbose) in pi_probe_unit() argument
320 if (pi_probe_mode(pi,max,scratch,verbose)) return 1; in pi_probe_unit()
329 if (!pi_probe_mode(pi,max,scratch,verbose)) { in pi_probe_unit()
338 int unit, int protocol, int delay, char * scratch, in pi_init() argument
378 if (pi_probe_unit(pi,unit,scratch,verbose)) break; in pi_init()
[all …]
Dbpck.c277 static int bpck_test_proto( PIA *pi, char * scratch, int verbose ) in bpck_test_proto() argument
418 static void bpck_log_adapter( PIA *pi, char * scratch, int verbose ) in bpck_log_adapter() argument
427 bpck_read_eeprom(pi,scratch); in bpck_log_adapter()
432 if ((scratch[i] < ' ') || (scratch[i] > '~')) in bpck_log_adapter()
433 scratch[i] = '.'; in bpck_log_adapter()
434 printk("%s: bpck EEPROM: %64.64s\n",pi->device,scratch); in bpck_log_adapter()
435 printk("%s: %64.64s\n",pi->device,&scratch[64]); in bpck_log_adapter()
440 pi->device,BPCK_VERSION,&scratch[110],pi->unit); in bpck_log_adapter()
Dkbic.c228 static void kbic_log_adapter( PIA *pi, char * scratch, in kbic_log_adapter() argument
241 static void k951_log_adapter( PIA *pi, char * scratch, int verbose ) in k951_log_adapter() argument
243 { kbic_log_adapter(pi,scratch,verbose,"KBIC-951A"); in k951_log_adapter()
246 static void k971_log_adapter( PIA *pi, char * scratch, int verbose ) in k971_log_adapter() argument
248 { kbic_log_adapter(pi,scratch,verbose,"KBIC-971A"); in k971_log_adapter()
Depia.c236 static int epia_test_proto( PIA *pi, char * scratch, int verbose ) in epia_test_proto() argument
256 epia_read_block(pi,scratch,512); in epia_test_proto()
258 if ((scratch[2*k] & 0xff) != ((k+1) & 0xff)) f++; in epia_test_proto()
259 if ((scratch[2*k+1] & 0xff) != ((-2-k) & 0xff)) f++; in epia_test_proto()
274 static void epia_log_adapter( PIA *pi, char * scratch, int verbose ) in epia_log_adapter() argument
Dfriq.c182 static int friq_test_proto( PIA *pi, char * scratch, int verbose ) in friq_test_proto() argument
204 friq_read_block_int(pi,scratch,512,0x10); in friq_test_proto()
206 for (k=0;k<128;k++) if (scratch[k] != k) r++; in friq_test_proto()
218 static void friq_log_adapter( PIA *pi, char * scratch, int verbose ) in friq_log_adapter() argument
Depat.c246 static int epat_test_proto( PIA *pi, char * scratch, int verbose ) in epat_test_proto() argument
269 epat_read_block(pi,scratch,512); in epat_test_proto()
272 if ((scratch[2*k] & 0xff) != k) f++; in epat_test_proto()
273 if ((scratch[2*k+1] & 0xff) != (0xff-k)) f++; in epat_test_proto()
285 static void epat_log_adapter( PIA *pi, char * scratch, int verbose ) in epat_log_adapter() argument
Dfrpw.c223 static int frpw_test_proto( PIA *pi, char * scratch, int verbose ) in frpw_test_proto() argument
257 frpw_read_block_int(pi,scratch,512,0x10); in frpw_test_proto()
259 for (k=0;k<128;k++) if (scratch[k] != k) r++; in frpw_test_proto()
271 static void frpw_log_adapter( PIA *pi, char * scratch, int verbose ) in frpw_log_adapter() argument
/linux-2.4.37.9/lib/
Dfirmware_class.c76 char *argv[3], **envp, *buf, *scratch; in call_helper() local
115 scratch = buf; in call_helper()
118 envp[i++] = scratch; in call_helper()
119 scratch += snprintf(scratch, FIRMWARE_NAME_MAX+25, in call_helper()
123 envp[i++] = scratch; in call_helper()
124 scratch += sprintf(scratch, "ACTION=%s", verb) + 1; in call_helper()
126 envp[i++] = scratch; in call_helper()
127 scratch += snprintf(scratch, FIRMWARE_NAME_MAX, in call_helper()
/linux-2.4.37.9/arch/ppc/boot/chrp/
Dmain.c41 static char scratch[SCRATCH_SIZE]; /* 1MB of scratch space for gunzip */ variable
76 avail_ram = scratch; in chrpboot()
78 end_avail = scratch + sizeof(scratch); in chrpboot()
/linux-2.4.37.9/drivers/ieee1394/
Dnodemgr.c740 char *argv [3], **envp, *buf, *scratch; in nodemgr_call_policy() local
773 scratch = buf; in nodemgr_call_policy()
775 envp[i++] = scratch; in nodemgr_call_policy()
776 scratch += sprintf(scratch, "ACTION=%s", verb) + 1; in nodemgr_call_policy()
777 envp[i++] = scratch; in nodemgr_call_policy()
778 scratch += sprintf(scratch, "VENDOR_ID=%06x", ud->vendor_id) + 1; in nodemgr_call_policy()
779 envp[i++] = scratch; in nodemgr_call_policy()
780 scratch += sprintf(scratch, "GUID=%016Lx", (long long unsigned)ud->ne->guid) + 1; in nodemgr_call_policy()
781 envp[i++] = scratch; in nodemgr_call_policy()
782 scratch += sprintf(scratch, "SPECIFIER_ID=%06x", ud->specifier_id) + 1; in nodemgr_call_policy()
[all …]
/linux-2.4.37.9/drivers/scsi/sym53c8xx_2/
Dsym_fw1.h221 u32 scratch [ 1]; member
441 HADDR_1 (scratch),
447 HADDR_1 (scratch),
646 HADDR_1 (scratch),
1117 PADDR_B (scratch),
1442 HADDR_1 (scratch),
1448 HADDR_1 (scratch),
1513 HADDR_1 (scratch),
1618 HADDR_1 (scratch),
1646 HADDR_1 (scratch),
[all …]
Dsym_fw2.h216 u32 scratch [ 1]; member
431 HADDR_1 (scratch),
437 HADDR_1 (scratch),
640 HADDR_1 (scratch),
733 PADDR_B (scratch),
737 PADDR_B (scratch),
1393 HADDR_1 (scratch),
1496 HADDR_1 (scratch),
1524 HADDR_1 (scratch),
1930 offsetof(struct sym_hcb, scratch),
[all …]
/linux-2.4.37.9/drivers/usb/
Dse401.c464 switch(se401->scratch[se401->scratch_next].state) { in se401_video_irq()
471 memcpy(se401->scratch[se401->scratch_next].data, (unsigned char *)urb->transfer_buffer, length); in se401_video_irq()
472 se401->scratch[se401->scratch_next].state=BUFFER_READY; in se401_video_irq()
473 se401->scratch[se401->scratch_next].offset=se401->bayeroffset; in se401_video_irq()
474 se401->scratch[se401->scratch_next].length=length; in se401_video_irq()
584 se401->scratch[i].data=kmalloc(SE401_PACKETSIZE, GFP_KERNEL); in se401_start_stream()
585 se401->scratch[i].state=BUFFER_UNUSED; in se401_start_stream()
634 kfree(se401->scratch[i].data); in se401_stop_stream()
635 se401->scratch[i].data=NULL; in se401_stop_stream()
950 se401->scratch[se401->scratch_use].state!=BUFFER_READY, in se401_newframe()
[all …]
Dstv680.c685 switch (stv680->scratch[stv680->scratch_next].state) { in stv680_video_irq()
692 memcpy (stv680->scratch[stv680->scratch_next].data, in stv680_video_irq()
694 stv680->scratch[stv680->scratch_next].state = BUFFER_READY; in stv680_video_irq()
695 stv680->scratch[stv680->scratch_next].length = length; in stv680_video_irq()
747 stv680->scratch[i].data = kmalloc (stv680->rawbufsize, GFP_KERNEL); in stv680_start_stream()
748 if (stv680->scratch[i].data == NULL) { in stv680_start_stream()
752 stv680->scratch[i].state = BUFFER_UNUSED; in stv680_start_stream()
795 kfree (stv680->scratch[i].data); in stv680_stop_stream()
796 stv680->scratch[i].data = NULL; in stv680_stop_stream()
1074 …wait_event_interruptible (stv680->wq, (stv680->scratch[stv680->scratch_use].state == BUFFER_READY)… in stv680_newframe()
[all …]
Dusb.c815 char *argv [3], **envp, *buf, *scratch; in call_policy_interface() local
859 scratch = buf; in call_policy_interface()
862 envp [i++] = scratch; in call_policy_interface()
863 scratch += sprintf (scratch, "ACTION=%s", verb) + 1; in call_policy_interface()
873 envp [i++] = scratch; in call_policy_interface()
874 scratch += sprintf (scratch, "DEVICE=/proc/bus/usb/%03d/%03d", in call_policy_interface()
879 envp [i++] = scratch; in call_policy_interface()
880 scratch += sprintf (scratch, "PRODUCT=%x/%x/%x", in call_policy_interface()
886 envp [i++] = scratch; in call_policy_interface()
887 scratch += sprintf (scratch, "TYPE=%d/%d/%d", in call_policy_interface()
[all …]
/linux-2.4.37.9/arch/mips/mm/
Dtlbex-mips32.S156 #define GET_PGD(scratch, ptr) \ argument
158 la scratch, pgd_current;\
161 addu ptr, scratch, ptr; \
164 #define GET_PGD(scratch, ptr) \ argument
/linux-2.4.37.9/arch/ppc64/boot/
DzImage.c69 static char scratch[128<<10]; /* 128kB of scratch space for gunzip */ variable
141 avail_ram = scratch; in start()
143 end_avail = scratch + sizeof(scratch); in start()
/linux-2.4.37.9/arch/m68k/fpsp040/
Dbindec.S112 | d0: scratch; LEN input to binstr
113 | d1: scratch
115 | d3: scratch;lower 32-bits of mantissa for binstr
121 | a1: scratch pointer
123 | fp0: scratch
124 | fp1: scratch
125 | fp2: scratch
289 | d2: x/x/scratch
360 | d0: exponent/scratch - final is 0
362 | d3: x/scratch - offset ptr into PTENRM array
[all …]
/linux-2.4.37.9/crypto/
Dscatterwalk.c31 void *scatterwalk_whichbuf(struct scatter_walk *walk, unsigned int nbytes, void *scratch) in scatterwalk_whichbuf() argument
38 return scratch; in scatterwalk_whichbuf()
Dscatterwalk.h45 void *scatterwalk_whichbuf(struct scatter_walk *walk, unsigned int nbytes, void *scratch);
/linux-2.4.37.9/arch/sparc64/lib/
Dcopy_in_user.S22 .register %g2,#scratch
23 .register %g3,#scratch
/linux-2.4.37.9/drivers/net/
D8390.c274 char scratch[ETH_ZLEN]; in ei_start_xmit() local
350 memset(scratch, 0, ETH_ZLEN); in ei_start_xmit()
351 memcpy(scratch, skb->data, skb->len); in ei_start_xmit()
352 ei_block_output(dev, ETH_ZLEN, scratch, output_page); in ei_start_xmit()
390 memset(scratch, 0, ETH_ZLEN); in ei_start_xmit()
391 memcpy(scratch, skb->data, skb->len); in ei_start_xmit()
392 ei_block_output(dev, ETH_ZLEN, scratch, ei_local->tx_start_page); in ei_start_xmit()
/linux-2.4.37.9/drivers/char/drm/
Dradeon_cp.c921 dev_priv->scratch = ((__volatile__ u32 *) in radeon_cp_init_ring_buffer()
928 writel(0, &dev_priv->scratch[1]); in radeon_cp_init_ring_buffer()
932 if ( readl( &dev_priv->scratch[1] ) == 0xdeadbeef ) in radeon_cp_init_ring_buffer()
945 dev_priv->sarea_priv->last_frame = dev_priv->scratch[0] = 0; in radeon_cp_init_ring_buffer()
949 dev_priv->sarea_priv->last_dispatch = dev_priv->scratch[1] = 0; in radeon_cp_init_ring_buffer()
953 dev_priv->sarea_priv->last_clear = dev_priv->scratch[2] = 0; in radeon_cp_init_ring_buffer()
1511 u32 done_age = readl(&dev_priv->scratch[1]);

1234