/linux-3.4.99/drivers/md/ |
D | raid5.c | 133 static inline int raid6_d0(struct stripe_head *sh) in raid6_d0() argument 135 if (sh->ddf_layout) in raid6_d0() 139 if (sh->qd_idx == sh->disks - 1) in raid6_d0() 142 return sh->qd_idx + 1; in raid6_d0() 155 static int raid6_idx_to_slot(int idx, struct stripe_head *sh, in raid6_idx_to_slot() argument 160 if (sh->ddf_layout) in raid6_idx_to_slot() 162 if (idx == sh->pd_idx) in raid6_idx_to_slot() 164 if (idx == sh->qd_idx) in raid6_idx_to_slot() 166 if (!sh->ddf_layout) in raid6_idx_to_slot() 186 static int stripe_operations_active(struct stripe_head *sh) in stripe_operations_active() argument [all …]
|
/linux-3.4.99/drivers/scsi/ |
D | eata_pio.c | 149 static int eata_pio_release(struct Scsi_Host *sh) in eata_pio_release() argument 151 hostdata *hd = SD(sh); in eata_pio_release() 152 if (sh->irq && reg_IRQ[sh->irq] == 1) in eata_pio_release() 153 free_irq(sh->irq, NULL); in eata_pio_release() 155 reg_IRQ[sh->irq]--; in eata_pio_release() 156 if (SD(sh)->channel == 0) { in eata_pio_release() 157 if (sh->io_port && sh->n_io_port) in eata_pio_release() 158 release_region(sh->io_port, sh->n_io_port); in eata_pio_release() 202 struct Scsi_Host *sh; in eata_pio_int_handler() local 207 for (x = 1, sh = first_HBA; x <= registered_HBAs; x++, sh = SD(sh)->prev) in eata_pio_int_handler() [all …]
|
D | u14-34f.c | 609 static struct Scsi_Host *sh[MAX_BOARDS + 1]; variable 630 #define HD(board) ((struct hostdata *) &sh[board]->hostdata) 763 if (wait_on_busy(sh[j]->io_port, MAXLOOP)) { in board_inquiry() 771 outb(CMD_CLR_INTR, sh[j]->io_port + REG_SYS_INTR); in board_inquiry() 774 outl(H2DEV(cpp->cp_dma_addr), sh[j]->io_port + REG_OGM); in board_inquiry() 777 outb(CMD_OGM_INTR, sh[j]->io_port + REG_LCL_INTR); in board_inquiry() 891 sh[j] = scsi_register(tpnt, sizeof(struct hostdata)); in port_detect() 894 if (sh[j] == NULL) { in port_detect() 899 sh[j]->io_port = port_base; in port_detect() 900 sh[j]->unique_id = port_base; in port_detect() [all …]
|
/linux-3.4.99/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
D | phy_cmn.c | 132 wlapi_bmac_ucode_wake_override_phyreg_set(pi->sh->physhim); in wlc_phyreg_enter() 138 wlapi_bmac_ucode_wake_override_phyreg_clear(pi->sh->physhim); in wlc_phyreg_exit() 144 wlapi_bmac_mctrl(pi->sh->physhim, MCTL_LOCK_RADIO, MCTL_LOCK_RADIO); in wlc_radioreg_enter() 155 wlapi_bmac_mctrl(pi->sh->physhim, MCTL_LOCK_RADIO, 0); in wlc_radioreg_exit() 185 if ((D11REV_GE(pi->sh->corerev, 24)) || in read_radio_reg() 186 (D11REV_IS(pi->sh->corerev, 22) in read_radio_reg() 201 if ((D11REV_GE(pi->sh->corerev, 24)) || in write_radio_reg() 202 (D11REV_IS(pi->sh->corerev, 22) in write_radio_reg() 222 if (D11REV_GE(pi->sh->corerev, 24)) { in read_radio_id() 365 struct shared_phy *sh; in wlc_phy_shared_attach() local [all …]
|
/linux-3.4.99/lib/mpi/ |
D | longlong.h | 112 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument 115 : "=r" ((USItype)(sh)), \ 121 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument 124 : "=r" ((USItype)(sh)), \ 183 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument 186 : "=r" ((USItype)(sh)), \ 192 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument 195 : "=r" ((USItype)(sh)), \ 270 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument 273 : "=g" ((USItype)(sh)), \ [all …]
|
/linux-3.4.99/arch/sh/ |
D | Makefile | 13 isa-$(CONFIG_SH_DSP) := sh 96 UTS_MACHINE := sh 127 head-y := arch/sh/kernel/init_task.o arch/sh/kernel/head_$(BITS).o 129 core-y += arch/sh/kernel/ arch/sh/mm/ arch/sh/boards/ 130 core-$(CONFIG_SH_FPU_EMU) += arch/sh/math-emu/ 154 core-y += $(addprefix arch/sh/boards/, \ 162 core-$(CONFIG_HD6446X_SERIES) += arch/sh/cchips/hd6446x/ 182 drivers-y += arch/sh/drivers/ 183 drivers-$(CONFIG_OPROFILE) += arch/sh/oprofile/ 185 boot := arch/sh/boot [all …]
|
/linux-3.4.99/arch/mips/include/asm/ |
D | uasm.h | 150 # define UASM_i_SLL(buf, rs, rt, sh) uasm_i_dsll(buf, rs, rt, sh) argument 151 # define UASM_i_SRA(buf, rs, rt, sh) uasm_i_dsra(buf, rs, rt, sh) argument 152 # define UASM_i_SRL(buf, rs, rt, sh) uasm_i_dsrl(buf, rs, rt, sh) argument 153 # define UASM_i_SRL_SAFE(buf, rs, rt, sh) uasm_i_dsrl_safe(buf, rs, rt, sh) argument 154 # define UASM_i_ROTR(buf, rs, rt, sh) uasm_i_drotr(buf, rs, rt, sh) argument 166 # define UASM_i_SLL(buf, rs, rt, sh) uasm_i_sll(buf, rs, rt, sh) argument 167 # define UASM_i_SRA(buf, rs, rt, sh) uasm_i_sra(buf, rs, rt, sh) argument 168 # define UASM_i_SRL(buf, rs, rt, sh) uasm_i_srl(buf, rs, rt, sh) argument 169 # define UASM_i_SRL_SAFE(buf, rs, rt, sh) uasm_i_srl(buf, rs, rt, sh) argument 170 # define UASM_i_ROTR(buf, rs, rt, sh) uasm_i_rotr(buf, rs, rt, sh) argument
|
/linux-3.4.99/net/netfilter/ |
D | xt_sctp.c | 121 const sctp_sctphdr_t *sh; in sctp_mt() local 129 sh = skb_header_pointer(skb, par->thoff, sizeof(_sh), &_sh); in sctp_mt() 130 if (sh == NULL) { in sctp_mt() 135 pr_debug("spt: %d\tdpt: %d\n", ntohs(sh->source), ntohs(sh->dest)); in sctp_mt() 137 return SCCHECK(ntohs(sh->source) >= info->spts[0] in sctp_mt() 138 && ntohs(sh->source) <= info->spts[1], in sctp_mt() 140 && SCCHECK(ntohs(sh->dest) >= info->dpts[0] in sctp_mt() 141 && ntohs(sh->dest) <= info->dpts[1], in sctp_mt()
|
D | nf_conntrack_proto_sctp.c | 298 const struct sctphdr *sh; in sctp_packet() local 305 sh = skb_header_pointer(skb, dataoff, sizeof(_sctph), &_sctph); in sctp_packet() 306 if (sh == NULL) in sctp_packet() 318 sh->vtag != ct->proto.sctp.vtag[dir]) { in sctp_packet() 329 if (sh->vtag != 0) in sctp_packet() 333 if (sh->vtag != ct->proto.sctp.vtag[dir] && in sctp_packet() 334 sh->vtag != ct->proto.sctp.vtag[!dir]) in sctp_packet() 338 if (sh->vtag != ct->proto.sctp.vtag[dir] && in sctp_packet() 339 sh->vtag != ct->proto.sctp.vtag[!dir] && in sctp_packet() 344 if (sh->vtag != ct->proto.sctp.vtag[dir]) in sctp_packet() [all …]
|
/linux-3.4.99/drivers/target/ |
D | target_core_pscsi.c | 108 struct Scsi_Host *sh = phv->phv_lld_host; in pscsi_pmode_enable_hba() local 113 if (!sh) in pscsi_pmode_enable_hba() 120 " %s\n", hba->hba_id, (sh->hostt->name) ? in pscsi_pmode_enable_hba() 121 (sh->hostt->name) : "Unknown"); in pscsi_pmode_enable_hba() 123 scsi_host_put(sh); in pscsi_pmode_enable_hba() 130 sh = scsi_host_lookup(phv->phv_host_id); in pscsi_pmode_enable_hba() 131 if (!sh) { in pscsi_pmode_enable_hba() 137 phv->phv_lld_host = sh; in pscsi_pmode_enable_hba() 141 hba->hba_id, (sh->hostt->name) ? (sh->hostt->name) : "Unknown"); in pscsi_pmode_enable_hba() 404 __releases(sh->host_lock) in pscsi_create_type_disk() [all …]
|
/linux-3.4.99/Documentation/sh/ |
D | new-machine.txt | 5 Paul Mundt <lethal@linux-sh.org> 17 in arch/sh/kernel/ directly, with board-specific headers ending up in 18 include/asm-sh/. For the new kernel, things are broken out by board type, 26 | `-- sh 36 `-- asm-sh 47 `-- sh 54 board-specific headers. Thus, include/asm-sh/hd64461 is home to all of the 60 | `-- sh 74 `-- asm-sh 93 board in arch/sh/boards/ and adding rules to hook your board in with the [all …]
|
/linux-3.4.99/drivers/message/fusion/ |
D | mptfc.c | 209 ioc->name, ioc->sh->host_no, in mptfc_block_error_handler() 223 ioc->name, ioc->sh->host_no, in mptfc_block_error_handler() 230 ioc->name, ioc->sh->host_no, in mptfc_block_error_handler() 469 rport = fc_remote_port_add(ioc->sh, channel, &rport_ids); in mptfc_register_dev() 497 ioc->sh->host_no, in mptfc_register_dev() 993 struct Scsi_Host *sh; in mptfc_init_host_attr() local 1001 sh = ioc->sh; in mptfc_init_host_attr() 1003 sn = fc_host_symbolic_name(sh); in mptfc_init_host_attr() 1009 fc_host_tgtid_bind_type(sh) = FC_TGTID_BIND_BY_WWPN; in mptfc_init_host_attr() 1011 fc_host_maxframe_size(sh) = pp0->MaxFrameSize; in mptfc_init_host_attr() [all …]
|
D | mptspi.c | 1125 struct Scsi_Host *shost = ioc->sh; in mpt_work_wrapper() 1156 scsi_scan_target(&ioc->sh->shost_gendev, 1, disk, 0, 1); in mpt_work_wrapper() 1166 shost_printk(KERN_ERR, ioc->sh, MYIOC_s_FMT in mpt_dv_raid() 1182 struct _MPT_SCSI_HOST *hd = shost_priv(ioc->sh); in mptspi_event_process() 1279 shost_for_each_device(sdev, ioc->sh) { in mptspi_dv_renegotiate_work() 1290 shost_for_each_device(sdev, ioc->sh) in mptspi_dv_renegotiate_work() 1324 ioc->sh) { in mptspi_ioc_reset() 1325 struct _MPT_SCSI_HOST *hd = shost_priv(ioc->sh); in mptspi_ioc_reset() 1341 struct _MPT_SCSI_HOST *hd = shost_priv(ioc->sh); in mptspi_resume() 1363 struct Scsi_Host *sh; in mptspi_probe() local [all …]
|
/linux-3.4.99/arch/powerpc/include/asm/ |
D | sfp-machine.h | 216 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument 220 : "=r" ((USItype)(sh)), \ 227 : "=r" ((USItype)(sh)), \ 234 : "=r" ((USItype)(sh)), \ 251 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument 255 : "=r" ((USItype)(sh)), \ 262 : "=r" ((USItype)(sh)), \ 269 : "=r" ((USItype)(sh)), \ 276 : "=r" ((USItype)(sh)), \ 283 : "=r" ((USItype)(sh)), \
|
/linux-3.4.99/arch/alpha/math-emu/ |
D | sfp-util.h | 7 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument 8 ((sl) = (al) + (bl), (sh) = (ah) + (bh) + ((sl) < (al))) 10 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument 11 ((sl) = (al) - (bl), (sh) = (ah) - (bh) - ((al) < (bl)))
|
/linux-3.4.99/arch/sparc/math-emu/ |
D | sfp-util_32.h | 6 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument 9 : "=r" ((USItype)(sh)), \ 16 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument 19 : "=r" ((USItype)(sh)), \
|
D | sfp-util_64.h | 14 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument 20 : "=r" ((UDItype)(sh)), \ 28 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument 34 : "=r" ((UDItype)(sh)), \
|
/linux-3.4.99/arch/powerpc/lib/ |
D | sstep.c | 567 unsigned int cr, mb, me, sh; in emulate_step() local 802 sh = rb | ((instr & 2) << 4); in emulate_step() 803 val = ROTATE(val, sh); in emulate_step() 812 regs->gpr[ra] = val & MASK64(mb, 63 - sh); in emulate_step() 815 imm = MASK64(mb, 63 - sh); in emulate_step() 821 sh = regs->gpr[rb] & 0x3f; in emulate_step() 822 val = ROTATE(val, sh); in emulate_step() 873 for (sh = 0; sh < 8; ++sh) { in emulate_step() 874 if (instr & (0x80000 >> sh)) in emulate_step() 1107 sh = regs->gpr[rb] & 0x3f; in emulate_step() [all …]
|
/linux-3.4.99/arch/s390/include/asm/ |
D | sfp-util.h | 6 #define add_ssaaaa(sh, sl, ah, al, bh, bl) ({ \ argument 16 (sh) = __sh; \ 20 #define sub_ddmmss(sh, sl, ah, al, bh, bl) ({ \ argument 30 (sh) = __sh; \
|
/linux-3.4.99/crypto/ |
D | twofish_common.c | 501 ctx->s[3][i] = mds[3][q1[(b) ^ sd] ^ sh] 509 ctx->s[3][i] = mds[3][q1[q1[(a) ^ sd] ^ sh] ^ sl]; 517 ctx->s[3][i] = mds[3][q1[q1[q0[(b) ^ sd] ^ sh] ^ sl] ^ sp]; 593 u8 sa = 0, sb = 0, sc = 0, sd = 0, se = 0, sf = 0, sg = 0, sh = 0; in __twofish_setkey() local 618 CALC_S (se, sf, sg, sh, 8, 0x00, 0x2D, 0x01, 0x2D); /* 01 A4 02 A4 */ in __twofish_setkey() 619 CALC_S (se, sf, sg, sh, 9, 0x2D, 0xA4, 0x44, 0x8A); /* A4 56 A1 55 */ in __twofish_setkey() 620 CALC_S (se, sf, sg, sh, 10, 0x8A, 0xD5, 0xBF, 0xD1); /* 55 82 FC 87 */ in __twofish_setkey() 621 CALC_S (se, sf, sg, sh, 11, 0xD1, 0x7F, 0x3D, 0x99); /* 87 F3 C1 5A */ in __twofish_setkey() 622 CALC_S (se, sf, sg, sh, 12, 0x99, 0x46, 0x66, 0x96); /* 5A 1E 47 58 */ in __twofish_setkey() 623 CALC_S (se, sf, sg, sh, 13, 0x96, 0x3C, 0x5B, 0xED); /* 58 C6 AE DB */ in __twofish_setkey() [all …]
|
/linux-3.4.99/arch/frv/boot/ |
D | Makefile | 62 sh ./install.sh $(KERNELRELEASE) Image System.map "$(INSTALL_PATH)" 65 sh ./install.sh $(KERNELRELEASE) zImage System.map "$(INSTALL_PATH)"
|
/linux-3.4.99/lib/ |
D | digsig.c | 205 struct signature_hdr *sh = (struct signature_hdr *)sig; in digsig_verify() local 211 if (siglen < sizeof(*sh) + 2) in digsig_verify() 214 if (sh->algo != PUBKEY_ALGO_RSA) in digsig_verify() 217 sprintf(name, "%llX", __be64_to_cpup((uint64_t *)sh->keyid)); in digsig_verify() 246 crypto_shash_update(desc, sig, sizeof(*sh)); in digsig_verify() 252 err = digsig_verify_rsa(key, sig + sizeof(*sh), siglen - sizeof(*sh), in digsig_verify()
|
/linux-3.4.99/net/netfilter/ipset/ |
D | ip_set_getport.c | 42 const sctp_sctphdr_t *sh; in get_port() local 44 sh = skb_header_pointer(skb, protooff, sizeof(_sh), &_sh); in get_port() 45 if (sh == NULL) in get_port() 49 *port = src ? sh->source : sh->dest; in get_port()
|
/linux-3.4.99/arch/arm/boot/ |
D | Makefile | 109 $(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \ 113 $(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \ 117 $(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \ 121 $(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \ 125 $(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \
|
/linux-3.4.99/drivers/target/loopback/ |
D | tcm_loop.c | 266 static int tcm_loop_queuecommand(struct Scsi_Host *sh, struct scsi_cmnd *sc) in tcm_loop_queuecommand() argument 406 struct Scsi_Host *sh; in tcm_loop_driver_probe() local 411 sh = scsi_host_alloc(&tcm_loop_driver_template, in tcm_loop_driver_probe() 413 if (!sh) { in tcm_loop_driver_probe() 417 tl_hba->sh = sh; in tcm_loop_driver_probe() 422 *((struct tcm_loop_hba **)sh->hostdata) = tl_hba; in tcm_loop_driver_probe() 426 sh->max_id = 2; in tcm_loop_driver_probe() 427 sh->max_lun = 0; in tcm_loop_driver_probe() 428 sh->max_channel = 0; in tcm_loop_driver_probe() 429 sh->max_cmd_len = TL_SCSI_MAX_CMD_LEN; in tcm_loop_driver_probe() [all …]
|