/linux-2.6.39/arch/sparc/include/asm/ |
D | winmacro.h | 49 #define LOAD_PT_YREG(base_reg, scratch) \ argument 50 ld [%base_reg + STACKFRAME_SZ + PT_Y], %scratch; \ 51 wr %scratch, 0x0, %y; 58 #define LOAD_PT_ALL(base_reg, pt_psr, pt_pc, pt_npc, scratch) \ argument 59 LOAD_PT_YREG(base_reg, scratch) \ 76 #define STORE_PT_YREG(base_reg, scratch) \ argument 77 rd %y, %scratch; \ 78 st %scratch, [%base_reg + STACKFRAME_SZ + PT_Y]; 91 #define SAVE_BOLIXED_USER_STACK(cur_reg, scratch) \ argument 92 ld [%cur_reg + TI_W_SAVED], %scratch; \ [all …]
|
/linux-2.6.39/net/mac80211/ |
D | aes_ccm.c | 19 static void aes_ccm_prepare(struct crypto_cipher *tfm, u8 *scratch, u8 *a) in aes_ccm_prepare() argument 24 b_0 = scratch + 3 * AES_BLOCK_LEN; in aes_ccm_prepare() 25 aad = scratch + 4 * AES_BLOCK_LEN; in aes_ccm_prepare() 26 b = scratch; in aes_ccm_prepare() 27 s_0 = scratch + AES_BLOCK_LEN; in aes_ccm_prepare() 52 void ieee80211_aes_ccm_encrypt(struct crypto_cipher *tfm, u8 *scratch, in ieee80211_aes_ccm_encrypt() argument 59 b = scratch; in ieee80211_aes_ccm_encrypt() 60 s_0 = scratch + AES_BLOCK_LEN; in ieee80211_aes_ccm_encrypt() 61 e = scratch + 2 * AES_BLOCK_LEN; in ieee80211_aes_ccm_encrypt() 62 b_0 = scratch + 3 * AES_BLOCK_LEN; in ieee80211_aes_ccm_encrypt() [all …]
|
D | aes_cmac.c | 38 static void aes_128_cmac_vector(struct crypto_cipher *tfm, u8 *scratch, in aes_128_cmac_vector() argument 46 cbc = scratch; in aes_128_cmac_vector() 47 pad = scratch + AES_BLOCK_SIZE; in aes_128_cmac_vector() 98 void ieee80211_aes_cmac(struct crypto_cipher *tfm, u8 *scratch, const u8 *aad, in ieee80211_aes_cmac() argument 113 aes_128_cmac_vector(tfm, scratch, 3, addr, len, mic); in ieee80211_aes_cmac()
|
D | aes_ccm.h | 18 void ieee80211_aes_ccm_encrypt(struct crypto_cipher *tfm, u8 *scratch, 21 int ieee80211_aes_ccm_decrypt(struct crypto_cipher *tfm, u8 *scratch,
|
/linux-2.6.39/arch/blackfin/include/asm/ |
D | blackfin.h | 77 #define SSYNC(scratch) cli scratch; nop; nop; SSYNC; sti scratch; argument 78 #define CSYNC(scratch) cli scratch; nop; nop; CSYNC; sti scratch; argument 81 #define SSYNC(scratch) nop; nop; nop; SSYNC; argument 82 #define CSYNC(scratch) nop; nop; nop; CSYNC; argument 85 #define SSYNC(scratch) SSYNC; argument 86 #define CSYNC(scratch) CSYNC; argument
|
/linux-2.6.39/drivers/mmc/host/ |
D | mmc_spi.c | 117 struct scratch { struct 144 struct scratch *data; 447 struct scratch *data = host->data; in mmc_spi_command_send() 578 struct scratch *scratch = host->data; in mmc_spi_setup_data_message() local 593 scratch->data_token = SPI_TOKEN_MULTI_WRITE; in mmc_spi_setup_data_message() 595 scratch->data_token = SPI_TOKEN_SINGLE; in mmc_spi_setup_data_message() 596 t->tx_buf = &scratch->data_token; in mmc_spi_setup_data_message() 598 t->tx_dma = dma + offsetof(struct scratch, data_token); in mmc_spi_setup_data_message() 617 t->tx_buf = &scratch->crc_val; in mmc_spi_setup_data_message() 619 t->tx_dma = dma + offsetof(struct scratch, crc_val); in mmc_spi_setup_data_message() [all …]
|
D | sdhci-pci.c | 191 u8 scratch; in o2_probe() local 199 ret = pci_read_config_byte(chip->pdev, O2_SD_LOCK_WP, &scratch); in o2_probe() 202 scratch &= 0x7f; in o2_probe() 203 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch); in o2_probe() 209 ret = pci_read_config_byte(chip->pdev, O2_SD_CLKREQ, &scratch); in o2_probe() 212 scratch |= 0x20; in o2_probe() 213 pci_write_config_byte(chip->pdev, O2_SD_CLKREQ, scratch); in o2_probe() 218 ret = pci_read_config_byte(chip->pdev, O2_SD_CAPS, &scratch); in o2_probe() 221 scratch |= 0x01; in o2_probe() 222 pci_write_config_byte(chip->pdev, O2_SD_CAPS, scratch); in o2_probe() [all …]
|
/linux-2.6.39/arch/avr32/include/asm/ |
D | asm.h | 88 .macro branch_if_kernel scratch, label 89 get_thread_info \scratch 90 ld.w \scratch, \scratch[TI_flags] 91 bld \scratch, TIF_USERSPACE 95 .macro ret_if_privileged scratch, addr, size, ret 96 sub \scratch, \size, 1 97 add \scratch, \addr
|
/linux-2.6.39/drivers/block/paride/ |
D | paride.c | 169 static int default_test_proto(PIA * pi, char *scratch, int verbose) in default_test_proto() argument 195 static int pi_test_proto(PIA * pi, char *scratch, int verbose) in pi_test_proto() argument 201 res = pi->proto->test_proto(pi, scratch, verbose); in pi_test_proto() 203 res = default_test_proto(pi, scratch, verbose); in pi_test_proto() 272 static int pi_probe_mode(PIA * pi, int max, char *scratch, int verbose) in pi_probe_mode() argument 285 return (!pi_test_proto(pi, scratch, verbose)); in pi_probe_mode() 295 if (!pi_test_proto(pi, scratch, verbose)) in pi_probe_mode() 302 static int pi_probe_unit(PIA * pi, int unit, char *scratch, int verbose) in pi_probe_unit() argument 329 if (pi_probe_mode(pi, max, scratch, verbose)) in pi_probe_unit() 339 if (!pi_probe_mode(pi, max, scratch, verbose)) { in pi_probe_unit() [all …]
|
D | bpck.c | 278 static int bpck_test_proto( PIA *pi, char * scratch, int verbose ) in bpck_test_proto() argument 419 static void bpck_log_adapter( PIA *pi, char * scratch, int verbose ) in bpck_log_adapter() argument 428 bpck_read_eeprom(pi,scratch); in bpck_log_adapter() 433 if ((scratch[i] < ' ') || (scratch[i] > '~')) in bpck_log_adapter() 434 scratch[i] = '.'; in bpck_log_adapter() 435 printk("%s: bpck EEPROM: %64.64s\n",pi->device,scratch); in bpck_log_adapter() 436 printk("%s: %64.64s\n",pi->device,&scratch[64]); in bpck_log_adapter() 441 pi->device,BPCK_VERSION,&scratch[110],pi->unit); in bpck_log_adapter()
|
D | epia.c | 237 static int epia_test_proto( PIA *pi, char * scratch, int verbose ) in epia_test_proto() argument 257 epia_read_block(pi,scratch,512); in epia_test_proto() 259 if ((scratch[2*k] & 0xff) != ((k+1) & 0xff)) f++; in epia_test_proto() 260 if ((scratch[2*k+1] & 0xff) != ((-2-k) & 0xff)) f++; in epia_test_proto() 275 static void epia_log_adapter( PIA *pi, char * scratch, int verbose ) in epia_log_adapter() argument
|
D | kbic.c | 229 static void kbic_log_adapter( PIA *pi, char * scratch, in kbic_log_adapter() argument 242 static void k951_log_adapter( PIA *pi, char * scratch, int verbose ) in k951_log_adapter() argument 244 { kbic_log_adapter(pi,scratch,verbose,"KBIC-951A"); in k951_log_adapter() 247 static void k971_log_adapter( PIA *pi, char * scratch, int verbose ) in k971_log_adapter() argument 249 { kbic_log_adapter(pi,scratch,verbose,"KBIC-971A"); in k971_log_adapter()
|
/linux-2.6.39/net/xfrm/ |
D | xfrm_ipcomp.c | 49 u8 *scratch = *per_cpu_ptr(ipcomp_scratches, cpu); in ipcomp_decompress() local 51 int err = crypto_comp_decompress(tfm, start, plen, scratch, &dlen); in ipcomp_decompress() 69 skb_copy_to_linear_data(skb, scratch, len); in ipcomp_decompress() 71 while ((scratch += len, dlen -= len) > 0) { in ipcomp_decompress() 89 memcpy(page_address(frag->page), scratch, len); in ipcomp_decompress() 142 u8 *scratch = *per_cpu_ptr(ipcomp_scratches, cpu); in ipcomp_compress() local 147 err = crypto_comp_compress(tfm, start, plen, scratch, &dlen); in ipcomp_compress() 157 memcpy(start + sizeof(struct ip_comp_hdr), scratch, dlen); in ipcomp_compress() 233 void *scratch = vmalloc(IPCOMP_SCRATCH_SIZE); in ipcomp_alloc_scratches() local 234 if (!scratch) in ipcomp_alloc_scratches() [all …]
|
/linux-2.6.39/drivers/usb/host/ |
D | ehci-dbg.c | 435 u32 scratch; in qh_lines() local 458 scratch = hc32_to_cpup(ehci, &hw->hw_info1); in qh_lines() 462 qh, scratch & 0x007f, in qh_lines() 463 speed_char (scratch), in qh_lines() 464 (scratch >> 8) & 0x000f, in qh_lines() 465 scratch, hc32_to_cpup(ehci, &hw->hw_info2), in qh_lines() 476 scratch = hc32_to_cpup(ehci, &td->hw_token); in qh_lines() 482 else if (QTD_LENGTH (scratch)) { in qh_lines() 491 switch ((scratch>>8)&0x03) { in qh_lines() 497 (scratch >> 16) & 0x7fff, in qh_lines() [all …]
|
/linux-2.6.39/arch/alpha/kernel/ |
D | err_marvel.c | 152 int scratch, i; in marvel_print_po7_uncrr_sym() local 197 scratch = EXTRACT(uncrr_sym, IO7__PO7_UNCRR_SYM__CLK); in marvel_print_po7_uncrr_sym() 198 for (i = 0; i < 4; i++, scratch >>= 2) { in marvel_print_po7_uncrr_sym() 199 if (scratch & 0x3) in marvel_print_po7_uncrr_sym() 202 clk_names[i], clk_decode[scratch & 0x3]); in marvel_print_po7_uncrr_sym() 231 if ((scratch = EXTRACT(uncrr_sym, IO7__PO7_UNCRR_SYM__VICTIM_SP))) { in marvel_print_po7_uncrr_sym() 232 int lost = scratch & (1UL << 4); in marvel_print_po7_uncrr_sym() 233 scratch &= ~lost; in marvel_print_po7_uncrr_sym() 234 for (i = 0; i < 8; i++, scratch >>= 1) { in marvel_print_po7_uncrr_sym() 235 if (!(scratch & 1)) in marvel_print_po7_uncrr_sym() [all …]
|
/linux-2.6.39/drivers/mtd/devices/ |
D | mtd_dataflash.c | 473 uint8_t *scratch; in otp_read() local 488 scratch = kzalloc(l, GFP_KERNEL); in otp_read() 489 if (!scratch) in otp_read() 495 scratch[0] = OP_READ_SECURITY; in otp_read() 498 t.tx_buf = scratch; in otp_read() 499 t.rx_buf = scratch; in otp_read() 507 memcpy(buf, scratch + 4 + base + off, len); in otp_read() 511 kfree(scratch); in otp_read() 554 uint8_t *scratch; in dataflash_write_user_otp() local 571 scratch = kzalloc(l, GFP_KERNEL); in dataflash_write_user_otp() [all …]
|
/linux-2.6.39/drivers/pnp/pnpbios/ |
D | core.c | 104 char *argv[3], **envp, *buf, *scratch; in pnp_dock_event() local 133 scratch = buf; in pnp_dock_event() 136 envp[i++] = scratch; in pnp_dock_event() 137 scratch += sprintf(scratch, "ACTION=%s", dock ? "add" : "remove") + 1; in pnp_dock_event() 140 envp[i++] = scratch; in pnp_dock_event() 141 scratch += sprintf(scratch, "DOCK=%x/%x/%x", in pnp_dock_event()
|
/linux-2.6.39/drivers/gpu/drm/radeon/ |
D | radeon_device.c | 121 rdev->scratch.num_reg = 5; in radeon_scratch_init() 123 rdev->scratch.num_reg = 7; in radeon_scratch_init() 125 rdev->scratch.reg_base = RADEON_SCRATCH_REG0; in radeon_scratch_init() 126 for (i = 0; i < rdev->scratch.num_reg; i++) { in radeon_scratch_init() 127 rdev->scratch.free[i] = true; in radeon_scratch_init() 128 rdev->scratch.reg[i] = rdev->scratch.reg_base + (i * 4); in radeon_scratch_init() 136 for (i = 0; i < rdev->scratch.num_reg; i++) { in radeon_scratch_get() 137 if (rdev->scratch.free[i]) { in radeon_scratch_get() 138 rdev->scratch.free[i] = false; in radeon_scratch_get() 139 *reg = rdev->scratch.reg[i]; in radeon_scratch_get() [all …]
|
/linux-2.6.39/drivers/scsi/ |
D | ses.c | 114 struct ses_device *ses_dev = edev->scratch; in ses_set_page2_descriptor() 144 struct ses_device *ses_dev = edev->scratch; in ses_get_page2_descriptor() 296 struct ses_component *scomp = ecomp->scratch; in ses_process_descriptor() 339 if (!edev->component[0].scratch) in ses_enclosure_find_by_addr() 343 scomp = edev->component[i].scratch; in ses_enclosure_find_by_addr() 362 struct ses_device *ses_dev = edev->scratch; in ses_enclosure_data_process() 618 edev->scratch = ses_dev; in ses_intf_add() 620 edev->component[i].scratch = scomp + i; in ses_intf_add() 679 ses_dev = edev->scratch; in ses_intf_remove_enclosure() 680 edev->scratch = NULL; in ses_intf_remove_enclosure() [all …]
|
/linux-2.6.39/arch/mips/mm/ |
D | tlbex.c | 973 const int scratch = 1; /* Our extra working register */ in build_fast_tlb_refill_handler() local 975 rv.huge_pte = scratch; in build_fast_tlb_refill_handler() 987 UASM_i_MTC0(p, scratch, 31, c0_scratch); in build_fast_tlb_refill_handler() 989 UASM_i_SW(p, scratch, scratchpad_offset(0), 0); in build_fast_tlb_refill_handler() 991 uasm_i_dsrl_safe(p, scratch, tmp, in build_fast_tlb_refill_handler() 993 uasm_il_bnez(p, r, scratch, label_vmalloc); in build_fast_tlb_refill_handler() 1009 UASM_i_MTC0(p, scratch, 31, c0_scratch); in build_fast_tlb_refill_handler() 1011 UASM_i_SW(p, scratch, scratchpad_offset(0), 0); in build_fast_tlb_refill_handler() 1028 #define LOC_PTEP scratch in build_fast_tlb_refill_handler() 1035 uasm_i_dsrl_safe(p, scratch, tmp, PGDIR_SHIFT - 3); in build_fast_tlb_refill_handler() [all …]
|
/linux-2.6.39/drivers/s390/kvm/ |
D | kvm_virtio.c | 454 char scratch[17]; in early_put_chars() local 457 if (len > sizeof(scratch) - 1) in early_put_chars() 458 len = sizeof(scratch) - 1; in early_put_chars() 459 scratch[len] = '\0'; in early_put_chars() 460 memcpy(scratch, buf, len); in early_put_chars() 461 kvm_hypercall1(KVM_S390_VIRTIO_NOTIFY, __pa(scratch)); in early_put_chars()
|
/linux-2.6.39/drivers/scsi/sym53c8xx_2/ |
D | sym_fw1.h | 202 u32 scratch [ 1]; member 418 HADDR_1 (scratch), 424 HADDR_1 (scratch), 623 HADDR_1 (scratch), 1094 PADDR_B (scratch), 1419 HADDR_1 (scratch), 1425 HADDR_1 (scratch), 1490 HADDR_1 (scratch), 1595 HADDR_1 (scratch), 1623 HADDR_1 (scratch), [all …]
|
D | sym_fw2.h | 196 u32 scratch [ 1]; member 403 HADDR_1 (scratch), 409 HADDR_1 (scratch), 612 HADDR_1 (scratch), 705 PADDR_B (scratch), 709 PADDR_B (scratch), 1365 HADDR_1 (scratch), 1468 HADDR_1 (scratch), 1496 HADDR_1 (scratch), 1857 offsetof(struct sym_hcb, scratch), [all …]
|
/linux-2.6.39/lib/ |
D | kobject_uevent.c | 266 char *scratch; in kobject_uevent_env() local 269 scratch = skb_put(skb, len); in kobject_uevent_env() 270 sprintf(scratch, "%s@%s", action_string, devpath); in kobject_uevent_env() 275 scratch = skb_put(skb, len); in kobject_uevent_env() 276 strcpy(scratch, env->envp[i]); in kobject_uevent_env()
|
/linux-2.6.39/drivers/net/wireless/libertas/ |
D | if_sdio.c | 151 u16 scratch; in if_sdio_read_scratch() local 153 scratch = sdio_readb(card->func, card->scratch_reg, &ret); in if_sdio_read_scratch() 155 scratch |= sdio_readb(card->func, card->scratch_reg + 1, in if_sdio_read_scratch() 164 return scratch; in if_sdio_read_scratch() 647 u16 scratch; in if_sdio_prog_real() local 649 scratch = if_sdio_read_scratch(card, &ret); in if_sdio_prog_real() 653 if (scratch == IF_SDIO_FIRMWARE_OK) in if_sdio_prog_real() 681 u16 scratch; in if_sdio_prog_firmware() local 695 scratch = if_sdio_read_scratch(card, &ret); in if_sdio_prog_firmware() 698 lbs_deb_sdio("firmware status = %#x\n", scratch); in if_sdio_prog_firmware() [all …]
|