Home
last modified time | relevance | path

Searched refs:sh (Results 1 – 200 of 285) sorted by relevance

12

/linux-4.1.27/drivers/scsi/
Daha1542.c185 static int aha1542_test_port(struct Scsi_Host *sh) in aha1542_test_port() argument
191 if (inb(STATUS(sh->io_port)) == 0xff) in aha1542_test_port()
197 aha1542_intr_reset(sh->io_port); /* reset interrupts, so they don't block */ in aha1542_test_port()
199 outb(SRST | IRST /*|SCRST */ , CONTROL(sh->io_port)); in aha1542_test_port()
204 if (!wait_mask(STATUS(sh->io_port), STATMASK, INIT | IDLE, STST | DIAGF | INVDCMD | DF | CDF, 0)) in aha1542_test_port()
208 if (inb(INTRFLAGS(sh->io_port)) & INTRMASK) in aha1542_test_port()
214 aha1542_outb(sh->io_port, CMD_INQUIRY); in aha1542_test_port()
217 if (!wait_mask(STATUS(sh->io_port), DF, DF, 0, 0)) in aha1542_test_port()
219 inquiry_result[i] = inb(DATA(sh->io_port)); in aha1542_test_port()
223 if (inb(STATUS(sh->io_port)) & DF) in aha1542_test_port()
[all …]
Deata_pio.c113 static int eata_pio_release(struct Scsi_Host *sh) in eata_pio_release() argument
115 hostdata *hd = SD(sh); in eata_pio_release()
116 if (sh->irq && reg_IRQ[sh->irq] == 1) in eata_pio_release()
117 free_irq(sh->irq, NULL); in eata_pio_release()
119 reg_IRQ[sh->irq]--; in eata_pio_release()
120 if (SD(sh)->channel == 0) { in eata_pio_release()
121 if (sh->io_port && sh->n_io_port) in eata_pio_release()
122 release_region(sh->io_port, sh->n_io_port); in eata_pio_release()
166 struct Scsi_Host *sh; in eata_pio_int_handler() local
171 for (x = 1, sh = first_HBA; x <= registered_HBAs; x++, sh = SD(sh)->prev) in eata_pio_int_handler()
[all …]
Du14-34f.c609 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 …]
Dwd719x.c201 static int wd719x_queuecommand(struct Scsi_Host *sh, struct scsi_cmnd *cmd) in wd719x_queuecommand() argument
206 struct wd719x *wd = shost_priv(sh); in wd719x_queuecommand()
212 spin_lock_irqsave(wd->sh->host_lock, flags); in wd719x_queuecommand()
218 spin_unlock_irqrestore(wd->sh->host_lock, flags); in wd719x_queuecommand()
221 spin_lock_irqsave(wd->sh->host_lock, flags); in wd719x_queuecommand()
225 spin_unlock_irqrestore(wd->sh->host_lock, flags); in wd719x_queuecommand()
263 spin_unlock_irqrestore(wd->sh->host_lock, flags); in wd719x_queuecommand()
288 spin_unlock_irqrestore(wd->sh->host_lock, flags); in wd719x_queuecommand()
297 spin_unlock_irqrestore(wd->sh->host_lock, flags); in wd719x_queuecommand()
474 spin_lock_irqsave(wd->sh->host_lock, flags); in wd719x_abort()
[all …]
Dvirtio_scsi.c238 struct Scsi_Host *sh = virtio_scsi_host(vq->vdev); in virtscsi_req_done() local
239 struct virtio_scsi *vscsi = shost_priv(sh); in virtscsi_req_done()
266 struct Scsi_Host *sh = virtio_scsi_host(vq->vdev); in virtscsi_ctrl_done() local
267 struct virtio_scsi *vscsi = shost_priv(sh); in virtscsi_ctrl_done()
412 struct Scsi_Host *sh = virtio_scsi_host(vq->vdev); in virtscsi_event_done() local
413 struct virtio_scsi *vscsi = shost_priv(sh); in virtscsi_event_done()
564 static int virtscsi_queuecommand_single(struct Scsi_Host *sh, in virtscsi_queuecommand_single() argument
567 struct virtio_scsi *vscsi = shost_priv(sh); in virtscsi_queuecommand_single()
621 static int virtscsi_queuecommand_multi(struct Scsi_Host *sh, in virtscsi_queuecommand_multi() argument
624 struct virtio_scsi *vscsi = shost_priv(sh); in virtscsi_queuecommand_multi()
[all …]
Dwd7000.c245 struct Scsi_Host *sh; /* Pointer to Scsi_Host structure */ member
909 spin_lock_irqsave(host->sh->host_lock, flags); in mail_out()
922 spin_unlock_irqrestore(host->sh->host_lock, flags); in mail_out()
1010 spin_lock_irqsave(host->sh->host_lock, flags); in wd7000_intr()
1080 spin_unlock_irqrestore(host->sh->host_lock, flags); in wd7000_intr()
1382 struct Scsi_Host *sh; in wd7000_detect() local
1476 sh = scsi_register(tpnt, sizeof(Adapter)); in wd7000_detect()
1477 if (sh == NULL) in wd7000_detect()
1480 host = (Adapter *) sh->hostdata; in wd7000_detect()
1491 host->sh = wd7000_host[unit] = sh; in wd7000_detect()
[all …]
Dips.c651 ips_release(struct Scsi_Host *sh) in ips_release() argument
659 scsi_remove_host(sh); in ips_release()
661 for (i = 0; i < IPS_MAX_ADAPTERS && ips_sh[i] != sh; i++) ; in ips_release()
670 ha = IPS_HA(sh); in ips_release()
708 scsi_host_put(sh); in ips_release()
6712 struct Scsi_Host *sh; in ips_register_scsi() local
6714 sh = scsi_host_alloc(&ips_driver_template, sizeof (ips_ha_t)); in ips_register_scsi()
6715 if (!sh) { in ips_register_scsi()
6720 ha = IPS_HA(sh); in ips_register_scsi()
6733 sh->unique_id = (ha->io_addr) ? ha->io_addr : ha->mem_addr; in ips_register_scsi()
[all …]
Dhpsa.c218 static int hpsa_scan_finished(struct Scsi_Host *sh,
262 static inline struct ctlr_info *shost_to_hba(struct Scsi_Host *sh) in shost_to_hba() argument
264 unsigned long *priv = shost_priv(sh); in shost_to_hba()
1354 struct Scsi_Host *sh = NULL; in adjust_hpsa_scsi_table() local
1456 sh = h->scsi_host; in adjust_hpsa_scsi_table()
1460 scsi_device_lookup(sh, removed[i]->bus, in adjust_hpsa_scsi_table()
1480 if (scsi_add_device(sh, added[i]->bus, in adjust_hpsa_scsi_table()
4087 static int hpsa_scsi_queue_command(struct Scsi_Host *sh, struct scsi_cmnd *cmd) in hpsa_scsi_queue_command() argument
4165 static void hpsa_scan_start(struct Scsi_Host *sh) in hpsa_scan_start() argument
4167 struct ctlr_info *h = shost_to_hba(sh); in hpsa_scan_start()
[all …]
Dwd719x.h66 struct Scsi_Host *sh; /* pointer to host structure */ member
/linux-4.1.27/drivers/md/
Draid5.c188 static inline int raid6_d0(struct stripe_head *sh) in raid6_d0() argument
190 if (sh->ddf_layout) in raid6_d0()
194 if (sh->qd_idx == sh->disks - 1) in raid6_d0()
197 return sh->qd_idx + 1; in raid6_d0()
210 static int raid6_idx_to_slot(int idx, struct stripe_head *sh, in raid6_idx_to_slot() argument
215 if (sh->ddf_layout) in raid6_idx_to_slot()
217 if (idx == sh->pd_idx) in raid6_idx_to_slot()
219 if (idx == sh->qd_idx) in raid6_idx_to_slot()
221 if (!sh->ddf_layout) in raid6_idx_to_slot()
243 static int stripe_operations_active(struct stripe_head *sh) in stripe_operations_active() argument
[all …]
/linux-4.1.27/Documentation/DocBook/
D.sh.xml.cmd1 cmd_Documentation/DocBook/sh.xml := SRCTREE=./ ./scripts/docproc doc Documentation/DocBook/sh.tmpl …
2sh.xml: Documentation/DocBook/sh.tmpl arch/sh/kernel/cpu/sh4/sq.c arch/sh/mm/tlb-sh5.c arch/sh/inc…
DMakefile15 80211.xml debugobjects.xml sh.xml regulator.xml \
/linux-4.1.27/lib/mpi/
Dlonglong.h114 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument
117 : "=r" ((USItype)(sh)), \
123 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument
126 : "=r" ((USItype)(sh)), \
176 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument
179 : "=r" ((USItype)(sh)), \
185 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument
188 : "=r" ((USItype)(sh)), \
263 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument
266 : "=g" ((USItype)(sh)), \
[all …]
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/phy/
Dphy_cmn.c132 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()
223 if (D11REV_GE(pi->sh->corerev, 24)) { in read_radio_id()
367 struct shared_phy *sh; in wlc_phy_shared_attach() local
[all …]
Dphy_n.c14361 if (pi->sh && (pi->sh->_rifs_phy != rifs)) in wlc_phy_nphy_tkip_rifs_war()
14362 pi->sh->_rifs_phy = rifs; in wlc_phy_nphy_tkip_rifs_war()
14377 if ((pi->sh->boardflags2 & BFL2_TXPWRCTRL_EN) && in wlc_phy_txpwrctrl_config_nphy()
14378 NREV_GE(pi->pubpi.phy_rev, 2) && (pi->sh->sromrev >= 4)) in wlc_phy_txpwrctrl_config_nphy()
14380 else if ((pi->sh->sromrev >= 4) in wlc_phy_txpwrctrl_config_nphy()
14381 && (pi->sh->boardflags2 & BFL2_5G_PWRGAIN)) in wlc_phy_txpwrctrl_config_nphy()
14391 if (pi->sh->sromrev >= 9) in wlc_phy_txpwr_srom_read_ppr_nphy()
14622 if (pi->sh->boardflags2 & BFL2_SPUR_WAR) in wlc_phy_attach_nphy()
14626 if (pi->sh->boardflags2 & BFL2_2G_SPUR_WAR) in wlc_phy_attach_nphy()
15655 if (pi->sh->boardflags & BFL_EXTLNA) { in wlc_phy_workarounds_nphy_gainctrl()
[all …]
Dphy_lcn.c149 wlapi_bmac_read_shm((pi)->sh->physhim, M_UCODE_MACSTAT + \
1614 wlapi_switch_macfreq(pi->sh->physhim, enable); in wlc_lcnphy_txrx_spur_avoidance_mode()
1830 if (!(pi->sh->boardflags & BFL_FEM)) { in wlc_lcnphy_radio_2064_channel_tune_4313()
2142 if (pi->sh->boardflags & BFL_FEM) { in wlc_lcnphy_tssi_setup()
2883 wlapi_suspend_mac_and_wait(pi->sh->physhim); in wlc_lcnphy_idle_tssi_est()
2934 wlapi_enable_mac(pi->sh->physhim); in wlc_lcnphy_idle_tssi_est()
2965 wlapi_suspend_mac_and_wait(pi->sh->physhim); in wlc_lcnphy_vbat_temp_sense_setup()
3075 wlapi_enable_mac(pi->sh->physhim); in wlc_lcnphy_vbat_temp_sense_setup()
3092 wlapi_suspend_mac_and_wait(pi->sh->physhim); in wlc_lcnphy_tx_pwr_ctrl_init()
3152 wlapi_enable_mac(pi->sh->physhim); in wlc_lcnphy_tx_pwr_ctrl_init()
[all …]
/linux-4.1.27/drivers/xen/events/
Devents_2l.c145 struct shared_info *sh, in active_evtchns() argument
148 return sh->evtchn_pending[idx] & in active_evtchns()
150 ~sh->evtchn_mask[idx]; in active_evtchns()
266 struct shared_info *sh = HYPERVISOR_shared_info; in xen_debug_interrupt() local
292 for (i = ARRAY_SIZE(sh->evtchn_pending)-1; i >= 0; i--) in xen_debug_interrupt()
294 (int)sizeof(sh->evtchn_pending[0])*2, in xen_debug_interrupt()
295 sh->evtchn_pending[i], in xen_debug_interrupt()
298 for (i = ARRAY_SIZE(sh->evtchn_mask)-1; i >= 0; i--) in xen_debug_interrupt()
300 (int)(sizeof(sh->evtchn_mask[0])*2), in xen_debug_interrupt()
301 sh->evtchn_mask[i], in xen_debug_interrupt()
[all …]
/linux-4.1.27/tools/testing/selftests/rcutorture/bin/
Dconfiginit.sh35 T=/tmp/configinit.sh.$$
60 sed -e 's/^\(CONFIG[0-9A-Z_]*=\).*$/grep -v \1 |/' < $c >> $T/u.sh
61 grep '^grep' < $T/u.sh > $T/upd.sh
62 echo "cat - $c" >> $T/upd.sh
67 sh $T/upd.sh < $builddir/.config.sav > $builddir/.config
72 configcheck.sh $builddir/.config $c
Dkvm-recheck.sh28 . tools/testing/selftests/rcutorture/bin/functions.sh
42 kvm-recheck-${TORTURE_SUITE}.sh $i
45 configcheck.sh $i/.config $i/ConfigFragment
46 parse-build.sh $i/Make.out $configfile
47 parse-torture.sh $i/console.log $configfile
48 parse-console.sh $i/console.log $configfile
61 configcheck.sh $i/.config $i/ConfigFragment
62 parse-build.sh $i/Make.out $configfile
Dkvm-test-1-run.sh43 T=/tmp/kvm-test-1-run.sh.$$
47 . $KVM/bin/functions.sh
48 . $CONFIGFRAG/ver_functions.sh
96 if kvm-build.sh $config_template $builddir $T
109 parse-build.sh $resdir/Make.out $title
142 cpu_count=`configNR_CPUS.sh $config_template`
Dkvm-build.sh44 T=/tmp/test-linux.sh.$$
56 configinit.sh $T/config O=$builddir
62 ncpus=`cpus2use.sh`
Dkvm.sh33 T=/tmp/kvm.sh.$$
51 . functions.sh
183 cpu_count=`configNR_CPUS.sh $CONFIGFRAG/$CF`
387 kvm-recheck.sh $resdir/$ds
403 sh $T/script
Dconfigcheck.sh22 T=/tmp/abat-chk-config.sh.$$
54 }' | sh
Dparse-console.sh27 T=/tmp/abat-chk-badness.sh.$$
33 . functions.sh
Dparse-build.sh31 T=/tmp/parse-build.sh.$$
35 . functions.sh
Dparse-torture.sh30 T=/tmp/parse-torture.sh.$$
36 . functions.sh
DconfigNR_CPUS.sh45 cpus2use.sh
Dkvm-recheck-rcu.sh33 . tools/testing/selftests/rcutorture/bin/functions.sh
/linux-4.1.27/arch/sh/
DMakefile19 isa-$(CONFIG_SH_DSP) := sh
103 UTS_MACHINE := sh
128 head-y := arch/sh/kernel/head_$(BITS).o
130 core-y += arch/sh/kernel/ arch/sh/mm/ arch/sh/boards/
131 core-$(CONFIG_SH_FPU_EMU) += arch/sh/math-emu/
155 core-y += $(addprefix arch/sh/boards/, \
163 core-$(CONFIG_HD6446X_SERIES) += arch/sh/cchips/hd6446x/
183 drivers-y += arch/sh/drivers/
184 drivers-$(CONFIG_OPROFILE) += arch/sh/oprofile/
186 boot := arch/sh/boot
[all …]
DKconfig51 <http://www.linux-sh.org/>.
54 def_bool ARCH = "sh"
78 default "arch/sh/configs/shx3_defconfig" if SUPERH32
79 default "arch/sh/configs/cayman_defconfig" if SUPERH64
551 source "arch/sh/mm/Kconfig"
553 source "arch/sh/Kconfig.cpu"
555 source "arch/sh/boards/Kconfig"
594 source "arch/sh/drivers/Kconfig"
744 source "drivers/sh/Kconfig"
883 source "arch/sh/Kconfig.debug"
DKconfig.cpu96 See <file:Documentation/sh/register-banks.txt> for further
/linux-4.1.27/drivers/target/
Dtarget_core_pscsi.c115 struct Scsi_Host *sh = phv->phv_lld_host; in pscsi_pmode_enable_hba() local
120 if (!sh) in pscsi_pmode_enable_hba()
127 " %s\n", hba->hba_id, (sh->hostt->name) ? in pscsi_pmode_enable_hba()
128 (sh->hostt->name) : "Unknown"); in pscsi_pmode_enable_hba()
130 scsi_host_put(sh); in pscsi_pmode_enable_hba()
137 sh = scsi_host_lookup(phv->phv_host_id); in pscsi_pmode_enable_hba()
138 if (!sh) { in pscsi_pmode_enable_hba()
144 phv->phv_lld_host = sh; in pscsi_pmode_enable_hba()
148 hba->hba_id, (sh->hostt->name) ? (sh->hostt->name) : "Unknown"); in pscsi_pmode_enable_hba()
370 __releases(sh->host_lock) in pscsi_create_type_disk()
[all …]
/linux-4.1.27/net/netfilter/
Dxt_sctp.c121 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()
Dnf_conntrack_proto_sctp.c312 const struct sctphdr *sh; in sctp_packet() local
319 sh = skb_header_pointer(skb, dataoff, sizeof(_sctph), &_sctph); in sctp_packet()
320 if (sh == NULL) in sctp_packet()
332 sh->vtag != ct->proto.sctp.vtag[dir]) { in sctp_packet()
343 if (sh->vtag != 0) in sctp_packet()
347 if (sh->vtag != ct->proto.sctp.vtag[dir] && in sctp_packet()
348 sh->vtag != ct->proto.sctp.vtag[!dir]) in sctp_packet()
352 if (sh->vtag != ct->proto.sctp.vtag[dir] && in sctp_packet()
353 sh->vtag != ct->proto.sctp.vtag[!dir] && in sctp_packet()
358 if (sh->vtag != ct->proto.sctp.vtag[dir]) in sctp_packet()
[all …]
/linux-4.1.27/arch/mips/include/asm/
Duasm.h207 # define UASM_i_ROTR(buf, rs, rt, sh) uasm_i_drotr(buf, rs, rt, sh) argument
209 # define UASM_i_SLL(buf, rs, rt, sh) uasm_i_dsll(buf, rs, rt, sh) argument
210 # define UASM_i_SRA(buf, rs, rt, sh) uasm_i_dsra(buf, rs, rt, sh) argument
211 # define UASM_i_SRL(buf, rs, rt, sh) uasm_i_dsrl(buf, rs, rt, sh) argument
212 # define UASM_i_SRL_SAFE(buf, rs, rt, sh) uasm_i_dsrl_safe(buf, rs, rt, sh) argument
223 # define UASM_i_ROTR(buf, rs, rt, sh) uasm_i_rotr(buf, rs, rt, sh) argument
225 # define UASM_i_SLL(buf, rs, rt, sh) uasm_i_sll(buf, rs, rt, sh) argument
226 # define UASM_i_SRA(buf, rs, rt, sh) uasm_i_sra(buf, rs, rt, sh) argument
227 # define UASM_i_SRL(buf, rs, rt, sh) uasm_i_srl(buf, rs, rt, sh) argument
228 # define UASM_i_SRL_SAFE(buf, rs, rt, sh) uasm_i_srl(buf, rs, rt, sh) argument
/linux-4.1.27/Documentation/sh/
Dnew-machine.txt5 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-4.1.27/drivers/message/fusion/
Dmptfc.c209 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()
990 struct Scsi_Host *sh; in mptfc_init_host_attr() local
998 sh = ioc->sh; in mptfc_init_host_attr()
1000 sn = fc_host_symbolic_name(sh); in mptfc_init_host_attr()
1006 fc_host_tgtid_bind_type(sh) = FC_TGTID_BIND_BY_WWPN; in mptfc_init_host_attr()
1008 fc_host_maxframe_size(sh) = pp0->MaxFrameSize; in mptfc_init_host_attr()
[all …]
Dmptspi.c1122 struct Scsi_Host *shost = ioc->sh; in mpt_work_wrapper()
1153 scsi_scan_target(&ioc->sh->shost_gendev, 1, disk, 0, 1); in mpt_work_wrapper()
1163 shost_printk(KERN_ERR, ioc->sh, MYIOC_s_FMT in mpt_dv_raid()
1179 struct _MPT_SCSI_HOST *hd = shost_priv(ioc->sh); in mptspi_event_process()
1276 shost_for_each_device(sdev, ioc->sh) { in mptspi_dv_renegotiate_work()
1287 shost_for_each_device(sdev, ioc->sh) in mptspi_dv_renegotiate_work()
1321 ioc->sh) { in mptspi_ioc_reset()
1322 struct _MPT_SCSI_HOST *hd = shost_priv(ioc->sh); in mptspi_ioc_reset()
1338 struct _MPT_SCSI_HOST *hd = shost_priv(ioc->sh); in mptspi_resume()
1360 struct Scsi_Host *sh; in mptspi_probe() local
[all …]
Dmptsas.c338 MPT_SCSI_HOST *hd = shost_priv(ioc->sh); in mptsas_cleanup_fw_event_q()
597 shost_for_each_device(sdev, ioc->sh) { in mptsas_add_device_component()
972 shost_for_each_device(sdev, ioc->sh) { in mptsas_find_vtarget()
1113 MPT_SCSI_HOST *hd = shost_priv(ioc->sh); in mptsas_target_reset_queue()
1160 MPT_SCSI_HOST *hd = shost_priv(ioc->sh); in mptsas_schedule_target_reset()
1196 MPT_SCSI_HOST *hd = shost_priv(ioc->sh); in mptsas_taskmgmt_complete()
1297 hd = shost_priv(ioc->sh); in mptsas_ioc_reset()
3348 mptsas_probe_one_phy(&ioc->sh->shost_gendev, in mptsas_probe_hba_phys()
3749 shost_for_each_device(sdev, ioc->sh) { in mptsas_send_link_status_event()
4010 sdev = scsi_device_lookup(ioc->sh, MPTSAS_RAID_CHANNEL, in mptsas_scan_sas_topology()
[all …]
Dmptctl.c1333 if (ioc->sh) { in mptctl_getiocinfo()
1334 shost_for_each_device(sdev, ioc->sh) { in mptctl_getiocinfo()
1454 if (ioc->sh){ in mptctl_gettargetinfo()
1455 shost_for_each_device(sdev, ioc->sh) { in mptctl_gettargetinfo()
1937 if (ioc->sh) { in mptctl_do_mpt_command()
1980 shost_for_each_device(sdev, ioc->sh) { in mptctl_do_mpt_command()
2027 if (!ioc->sh) { in mptctl_do_mpt_command()
2042 if (ioc->sh) { in mptctl_do_mpt_command()
2466 if (ioc->sh != NULL) in mptctl_hp_hostinfo()
2467 karg.host_no = ioc->sh->host_no; in mptctl_hp_hostinfo()
[all …]
Dmptscsih.c598 hd = shost_priv(ioc->sh); in mptscsih_io_done()
1175 struct Scsi_Host *host = ioc->sh; in mptscsih_remove()
1202 ioc->sh = NULL; in mptscsih_remove()
1232 scsi_block_requests(ioc->sh); in mptscsih_suspend()
1251 scsi_unblock_requests(ioc->sh); in mptscsih_resume()
2338 max_depth = ioc->sh->can_queue; in mptscsih_change_queue_depth()
2358 struct Scsi_Host *sh = sdev->host; in mptscsih_slave_configure() local
2362 MPT_SCSI_HOST *hd = shost_priv(sh); in mptscsih_slave_configure()
2555 if (ioc->sh == NULL || shost_priv(ioc->sh) == NULL) in mptscsih_ioc_reset()
2558 hd = shost_priv(ioc->sh); in mptscsih_ioc_reset()
/linux-4.1.27/arch/powerpc/include/asm/
Dsfp-machine.h216 #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-4.1.27/include/net/sctp/
Dchecksum.h63 struct sctphdr *sh = sctp_hdr(skb); in sctp_compute_cksum() local
64 __le32 ret, old = sh->checksum; in sctp_compute_cksum()
70 sh->checksum = 0; in sctp_compute_cksum()
73 sh->checksum = old; in sctp_compute_cksum()
/linux-4.1.27/arch/alpha/math-emu/
Dsfp-util.h7 #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-4.1.27/arch/sparc/math-emu/
Dsfp-util_32.h6 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument
9 : "=r" (sh), \
16 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument
19 : "=r" (sh), \
Dsfp-util_64.h14 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument
20 : "=r" (sh), \
28 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument
34 : "=r" (sh), \
/linux-4.1.27/arch/s390/include/asm/
Dsfp-util.h6 #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-4.1.27/crypto/
Dtwofish_common.c501 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-4.1.27/tools/testing/selftests/memory-hotplug/
DMakefile5 TEST_PROGS := mem-on-off-test.sh
6 override RUN_TESTS := ./mem-on-off-test.sh -r 2 || echo "selftests: memory-hotplug [FAIL]"
10 @/bin/bash ./mem-on-off-test.sh || echo "memory-hotplug selftests: [FAIL]"
/linux-4.1.27/drivers/target/loopback/
Dtcm_loop.c191 static int tcm_loop_queuecommand(struct Scsi_Host *sh, struct scsi_cmnd *sc) in tcm_loop_queuecommand() argument
389 struct Scsi_Host *sh; in tcm_loop_driver_probe() local
394 sh = scsi_host_alloc(&tcm_loop_driver_template, in tcm_loop_driver_probe()
396 if (!sh) { in tcm_loop_driver_probe()
400 tl_hba->sh = sh; in tcm_loop_driver_probe()
405 *((struct tcm_loop_hba **)sh->hostdata) = tl_hba; in tcm_loop_driver_probe()
409 sh->max_id = 2; in tcm_loop_driver_probe()
410 sh->max_lun = 0; in tcm_loop_driver_probe()
411 sh->max_channel = 0; in tcm_loop_driver_probe()
412 sh->max_cmd_len = TL_SCSI_MAX_CMD_LEN; in tcm_loop_driver_probe()
[all …]
Dtcm_loop.h60 struct Scsi_Host *sh; member
/linux-4.1.27/arch/frv/boot/
DMakefile64 sh ./install.sh $(KERNELRELEASE) Image System.map "$(INSTALL_PATH)"
67 sh ./install.sh $(KERNELRELEASE) zImage System.map "$(INSTALL_PATH)"
/linux-4.1.27/arch/arm/boot/
DMakefile99 $(CONFIG_SHELL) $(srctree)/$(src)/install.sh "$(KERNELRELEASE)" \
103 $(CONFIG_SHELL) $(srctree)/$(src)/install.sh "$(KERNELRELEASE)" \
107 $(CONFIG_SHELL) $(srctree)/$(src)/install.sh "$(KERNELRELEASE)" \
111 $(CONFIG_SHELL) $(srctree)/$(src)/install.sh "$(KERNELRELEASE)" \
115 $(CONFIG_SHELL) $(srctree)/$(src)/install.sh "$(KERNELRELEASE)" \
/linux-4.1.27/lib/
Ddigsig.c193 struct signature_hdr *sh = (struct signature_hdr *)sig; in digsig_verify() local
199 if (siglen < sizeof(*sh) + 2) in digsig_verify()
202 if (sh->algo != PUBKEY_ALGO_RSA) in digsig_verify()
205 sprintf(name, "%llX", __be64_to_cpup((uint64_t *)sh->keyid)); in digsig_verify()
234 crypto_shash_update(desc, sig, sizeof(*sh)); in digsig_verify()
240 err = digsig_verify_rsa(key, sig + sizeof(*sh), siglen - sizeof(*sh), in digsig_verify()
Didr.c223 int n, m, sh; in sub_alloc() local
255 sh = IDR_BITS * (l + 1); in sub_alloc()
256 if (oid >> sh == id >> sh) in sub_alloc()
262 sh = IDR_BITS*l; in sub_alloc()
263 id = ((id >> sh) ^ n ^ m) << sh; in sub_alloc()
/linux-4.1.27/net/netfilter/ipset/
Dip_set_getport.c42 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-4.1.27/arch/powerpc/lib/
Dsstep.c648 unsigned int mb, me, sh; in analyse_instr() local
897 sh = rb | ((instr & 2) << 4); in analyse_instr()
898 val = ROTATE(val, sh); in analyse_instr()
907 regs->gpr[ra] = val & MASK64(mb, 63 - sh); in analyse_instr()
910 imm = MASK64(mb, 63 - sh); in analyse_instr()
916 sh = regs->gpr[rb] & 0x3f; in analyse_instr()
917 val = ROTATE(val, sh); in analyse_instr()
977 for (sh = 0; sh < 8; ++sh) { in analyse_instr()
978 if (instr & (0x80000 >> sh)) in analyse_instr()
1221 sh = regs->gpr[rb] & 0x3f; in analyse_instr()
[all …]
/linux-4.1.27/arch/sh/math-emu/
Dsfp-util.h5 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument
9 (sh) = (ah) + (bh) + (__x < (al)); \
13 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument
17 (sh) = (ah) - (bh) - (__x > (al)); \
/linux-4.1.27/security/
Dlsm_audit.c90 struct sctphdr *sh = sctp_hdr(skb); in ipv4_skb_to_auditdata() local
91 if (sh == NULL) in ipv4_skb_to_auditdata()
93 ad->u.net->sport = sh->source; in ipv4_skb_to_auditdata()
94 ad->u.net->dport = sh->dest; in ipv4_skb_to_auditdata()
170 struct sctphdr _sctph, *sh; in ipv6_skb_to_auditdata() local
172 sh = skb_header_pointer(skb, offset, sizeof(_sctph), &_sctph); in ipv6_skb_to_auditdata()
173 if (sh == NULL) in ipv6_skb_to_auditdata()
175 ad->u.net->sport = sh->source; in ipv6_skb_to_auditdata()
176 ad->u.net->dport = sh->dest; in ipv6_skb_to_auditdata()
/linux-4.1.27/drivers/block/
Dcciss_scsi.c57 static int cciss_scsi_write_info(struct Scsi_Host *sh,
61 struct Scsi_Host *sh);
534 struct Scsi_Host *sh = NULL; in adjust_cciss_scsi_table() local
550 sh = h->scsi_ctlr->scsi_host; in adjust_cciss_scsi_table()
642 scsi_device_lookup(sh, removed[i].bus, in adjust_cciss_scsi_table()
661 rc = scsi_add_device(sh, added[i].bus, in adjust_cciss_scsi_table()
848 struct Scsi_Host *sh; in cciss_scsi_detect() local
851 sh = scsi_host_alloc(&cciss_driver_template, sizeof(struct ctlr_info *)); in cciss_scsi_detect()
852 if (sh == NULL) in cciss_scsi_detect()
854 sh->io_port = 0; // good enough? FIXME, in cciss_scsi_detect()
[all …]
/linux-4.1.27/fs/logfs/
Dsuper.c143 static void set_segment_header(struct logfs_segment_header *sh, u8 type, in set_segment_header() argument
146 sh->pad = 0; in set_segment_header()
147 sh->type = type; in set_segment_header()
148 sh->level = level; in set_segment_header()
149 sh->segno = cpu_to_be32(segno); in set_segment_header()
150 sh->ec = cpu_to_be32(ec); in set_segment_header()
151 sh->gec = cpu_to_be64(segno); in set_segment_header()
152 sh->crc = logfs_crc32(sh, LOGFS_SEGMENT_HEADERSIZE, 4); in set_segment_header()
159 struct logfs_segment_header *sh = &ds->ds_sh; in logfs_write_ds() local
163 set_segment_header(sh, SEG_SUPER, 0, segno, ec); in logfs_write_ds()
[all …]
Dsegment.c437 struct logfs_segment_header *sh)
442 err = wbuf_read(sb, ofs, sizeof(*sh), sh);
445 crc = logfs_crc32(sh, sizeof(*sh), 4);
446 if (crc != sh->crc) {
448 "got %x\n", ofs, be32_to_cpu(sh->crc),
828 struct logfs_segment_header sh; in ostore_erase_segment() local
836 sh.pad = 0; in ostore_erase_segment()
837 sh.type = SEG_OSTORE; in ostore_erase_segment()
838 sh.level = (__force u8)area->a_level; in ostore_erase_segment()
839 sh.segno = cpu_to_be32(area->a_segno); in ostore_erase_segment()
[all …]
Djournal.c313 struct logfs_segment_header sh; in read_gec() local
319 err = wbuf_read(sb, dev_ofs(sb, segno, 0), sizeof(sh), &sh); in read_gec()
322 crc = logfs_crc32(&sh, sizeof(sh), 4); in read_gec()
323 if (crc != sh.crc) { in read_gec()
324 WARN_ON(sh.gec != cpu_to_be64(0xffffffffffffffffull)); in read_gec()
328 return be64_to_cpu(sh.gec); in read_gec()
392 struct logfs_segment_header sh; in journal_erase_segment() member
403 u.sh.pad = 0; in journal_erase_segment()
404 u.sh.type = SEG_JOURNAL; in journal_erase_segment()
405 u.sh.level = 0; in journal_erase_segment()
[all …]
Dgc.c128 struct logfs_segment_header sh; in logfs_gc_segment() local
138 err = wbuf_read(sb, dev_ofs(sb, segno, 0), sizeof(sh), &sh); in logfs_gc_segment()
140 gc_level = GC_LEVEL(sh.level); in logfs_gc_segment()
141 logical_segno = be32_to_cpu(sh.segno); in logfs_gc_segment()
142 if (sh.crc != logfs_crc32(&sh, sizeof(sh), 4)) { in logfs_gc_segment()
/linux-4.1.27/arch/powerpc/perf/
Dpower4-pmu.c257 int pmc, byte, unit, lower, sh; in p4_get_constraint() local
265 sh = (pmc - 1) * 2; in p4_get_constraint()
266 mask |= 2 << sh; in p4_get_constraint()
267 value |= 1 << sh; in p4_get_constraint()
286 sh = p4_unitinfo[unit].lowerbit; in p4_get_constraint()
287 if (sh > 1) in p4_get_constraint()
288 value |= (unsigned long)lower << sh; in p4_get_constraint()
289 else if (lower != sh) in p4_get_constraint()
Dpower6-pmu.c273 int pmc, byte, sh, subunit; in p6_get_constraint() local
280 sh = (pmc - 1) * 2; in p6_get_constraint()
281 mask |= 2 << sh; in p6_get_constraint()
282 value |= 1 << sh; in p6_get_constraint()
286 sh = byte * 4 + (16 - PM_UNIT_SH); in p6_get_constraint()
287 mask |= PM_UNIT_MSKS << sh; in p6_get_constraint()
288 value |= (unsigned long)(event & PM_UNIT_MSKS) << sh; in p6_get_constraint()
Dpower5-pmu.c143 int pmc, byte, unit, sh; in power5_get_constraint() local
152 sh = (pmc - 1) * 2; in power5_get_constraint()
153 mask |= 2 << sh; in power5_get_constraint()
154 value |= 1 << sh; in power5_get_constraint()
179 sh = grsel_shift[bit]; in power5_get_constraint()
180 mask |= (unsigned long)fmask << sh; in power5_get_constraint()
182 << sh; in power5_get_constraint()
Dpower5+-pmu.c139 int pmc, byte, unit, sh; in power5p_get_constraint() local
147 sh = (pmc - 1) * 2; in power5p_get_constraint()
148 mask |= 2 << sh; in power5p_get_constraint()
149 value |= 1 << sh; in power5p_get_constraint()
172 sh = grsel_shift[bit]; in power5p_get_constraint()
173 mask |= (unsigned long)fmask << sh; in power5p_get_constraint()
175 << sh; in power5p_get_constraint()
Dpower7-pmu.c88 int pmc, sh, unit; in power7_get_constraint() local
95 sh = (pmc - 1) * 2; in power7_get_constraint()
96 mask |= 2 << sh; in power7_get_constraint()
97 value |= 1 << sh; in power7_get_constraint()
Dppc970-pmu.c197 int pmc, byte, unit, sh, spcsel; in p970_get_constraint() local
205 sh = (pmc - 1) * 2; in p970_get_constraint()
206 mask |= 2 << sh; in p970_get_constraint()
207 value |= 1 << sh; in p970_get_constraint()
/linux-4.1.27/Documentation/dvb/
Dudev.txt20 The script should be called "dvb.sh" and should be placed into a script
23 So, create a new file /etc/udev/scripts/dvb.sh and add the following:
25 #!/bin/sh
38 KERNEL="dvb*", PROGRAM="/etc/udev/scripts/dvb.sh %k", NAME="%c"
45 the helper script /etc/udev/scripts/dvb.sh is invoked, which will then
/linux-4.1.27/tools/testing/selftests/firmware/
DMakefile6 TEST_PROGS := fw_filesystem.sh fw_userhelper.sh
/linux-4.1.27/drivers/pinctrl/sh-pfc/
DMakefile1 sh-pfc-objs = core.o pinctrl.o
3 sh-pfc-objs += gpio.o
5 obj-$(CONFIG_PINCTRL_SH_PFC) += sh-pfc.o
/linux-4.1.27/tools/testing/selftests/cpu-hotplug/
DMakefile3 TEST_PROGS := cpu-on-off-test.sh
8 @/bin/bash ./cpu-on-off-test.sh -a || echo "cpu-hotplug selftests: [FAIL]"
/linux-4.1.27/arch/x86/vdso/
Dvdso2c.h66 ELF(Shdr) *sh = raw_addr + GET_LE(&hdr->e_shoff) + in BITSFUNC()
68 if (GET_LE(&sh->sh_type) == SHT_SYMTAB) in BITSFUNC()
69 symtab_hdr = sh; in BITSFUNC()
71 if (!strcmp(secstrings + GET_LE(&sh->sh_name), in BITSFUNC()
73 alt_sec = sh; in BITSFUNC()
DMakefile176 sh $(srctree)/$(src)/checkundef.sh '$(NM)' '$@'
/linux-4.1.27/drivers/misc/sgi-gru/
Dgruhandles.h509 #define GRU_PAGESIZE(sh) ((((sh) > 20 ? (sh) + 2 : (sh)) >> 1) - 6) argument
510 #define GRU_SIZEAVAIL(sh) (1UL << GRU_PAGESIZE(sh)) argument
/linux-4.1.27/tools/perf/config/
Dutilities.mak141 # (It's necessary to use `sh -c' because GNU make messes up by
144 lookup = $(call unescape-nl,$(shell sh -c $(_l-sh)))
145 _l-sh = $(call shell-sq,command -v $(shell-sq) | $(call shell-escape-nl,))
151 # (It's necessary to use `sh -c' because GNU make messes up by
155 _is-executable-helper = $(shell sh -c $(_is-executable-sh))
156 _is-executable-sh = $(call shell-sq,test -f $(1) -a -x $(1) && echo y)
DMakefile.arch10 -e s/sh[234].*/sh/ -e s/aarch64.*/arm64/ \
/linux-4.1.27/Documentation/security/
DSELinux.txt19 4. Run install_policy.sh:
21 sh install_policy.sh
/linux-4.1.27/tools/perf/Documentation/
Dandroid.txt29 source build/envsetup.sh
36 ./build/tools/build-ndk-sysroot.sh --abi=arm
39 ./build/tools/build-ndk-sysroot.sh --abi=x86
63 For installing perf-archive, you first need to replace #!/bin/bash with #!/system/bin/sh:
64 sed 's/#!\/bin\/bash/#!\/system\/bin\/sh/g' perf-archive >> /tmp/perf-archive
DMakefile318 howto-index.txt: howto-index.sh $(wildcard howto/*.txt)
320 '$(SHELL_PATH_SQ)' ./howto-index.sh $(wildcard howto/*.txt) >$@+ && \
/linux-4.1.27/arch/x86/syscalls/
DMakefile11 syshdr := $(srctree)/$(src)/syscallhdr.sh
12 systbl := $(srctree)/$(src)/syscalltbl.sh
53 $(out)/xen-hypercalls.h: $(srctree)/scripts/xen-hypercalls.sh
/linux-4.1.27/arch/arm64/boot/
DMakefile26 $(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \
30 $(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \
/linux-4.1.27/Documentation/ABI/stable/
Dsysfs-driver-qla2xxx4 Description: qla2xxx-udev.sh currently looks for uevent CHANGE events to
7 Users: qla2xxx-udev.sh. Proposed changes should be mailed to
/linux-4.1.27/arch/s390/boot/
DMakefile25 sh -x $(srctree)/$(obj)/install.sh $(KERNELRELEASE) $(obj)/bzImage \
/linux-4.1.27/tools/usb/usbip/
D.gitignore13 install-sh
17 ltmain.sh
/linux-4.1.27/Documentation/devicetree/bindings/media/
Dsh_mobile_ceu.txt2 - compatible: Should be "renesas,sh-mobile-ceu"
12 compatible = "renesas,sh-mobile-ceu";
/linux-4.1.27/arch/parisc/
DMakefile24 NM = sh $(srctree)/arch/parisc/nm
128 $(CONFIG_SHELL) $(src)/arch/parisc/install.sh \
131 $(CONFIG_SHELL) $(src)/arch/parisc/install.sh \
/linux-4.1.27/arch/sh/drivers/
DKconfig1 source "arch/sh/drivers/dma/Kconfig"
2 source "arch/sh/cchips/Kconfig"
/linux-4.1.27/Documentation/device-mapper/
Ddelay.txt16 #!/bin/sh
22 #!/bin/sh
Dlinear.txt17 #!/bin/sh
24 #!/bin/sh
Ddm-crypt.txt86 #!/bin/sh
92 #!/bin/sh
/linux-4.1.27/tools/testing/selftests/x86/
DMakefile17 CAN_BUILD_I386 := $(shell ./check_cc.sh $(CC) trivial_32bit_program.c -m32)
18 CAN_BUILD_X86_64 := $(shell ./check_cc.sh $(CC) trivial_64bit_program.c)
/linux-4.1.27/arch/sh/kernel/
Dvmlinux.lds.S7 OUTPUT_ARCH(sh:sh5)
10 OUTPUT_ARCH(sh)
/linux-4.1.27/drivers/usb/storage/
Dsierra_ms.c131 struct Scsi_Host *sh; in sierra_ms_init() local
137 sh = us_to_host(us); in sierra_ms_init()
138 scsi_get_host_dev(sh); in sierra_ms_init()
/linux-4.1.27/tools/perf/
DMakefile.perf153 SCRIPT_SH += perf-archive.sh
154 SCRIPT_SH += perf-with-kcore.sh
197 SCRIPTS = $(patsubst %.sh,%,$(SCRIPT_SH))
217 SHELL_PATH = /bin/sh
288 $(OUTPUT)common-cmds.h: util/generate-cmdlist.sh command-list.txt
291 $(QUIET_GEN). util/generate-cmdlist.sh > $@+ && mv $@+ $@
293 $(SCRIPTS) : % : %.sh
502 $(INSTALL) perf-completion.sh '$(DESTDIR_SQ)$(sysconfdir_SQ)/bash_completion.d/perf'
/linux-4.1.27/arch/nios2/boot/
DMakefile59 sh $(srctree)/$(src)/install.sh $(KERNELRELEASE) $(BOOTIMAGE) System.map "$(INSTALL_PATH)"
/linux-4.1.27/drivers/spi/
DMakefile75 obj-$(CONFIG_SPI_SH) += spi-sh.o
76 obj-$(CONFIG_SPI_SH_HSPI) += spi-sh-hspi.o
77 obj-$(CONFIG_SPI_SH_MSIOF) += spi-sh-msiof.o
78 obj-$(CONFIG_SPI_SH_SCI) += spi-sh-sci.o
/linux-4.1.27/net/sctp/
Doutput.c383 struct sctphdr *sh; in sctp_packet_transmit() local
428 sh = (struct sctphdr *)skb_push(nskb, sizeof(struct sctphdr)); in sctp_packet_transmit()
430 sh->source = htons(packet->source_port); in sctp_packet_transmit()
431 sh->dest = htons(packet->destination_port); in sctp_packet_transmit()
441 sh->vtag = htonl(packet->vtag); in sctp_packet_transmit()
442 sh->checksum = 0; in sctp_packet_transmit()
539 sh->checksum = sctp_compute_cksum(nskb, 0); in sctp_packet_transmit()
Dinput.c81 struct sctphdr *sh = sctp_hdr(skb); in sctp_rcv_checksum() local
82 __le32 cmp = sh->checksum; in sctp_rcv_checksum()
115 struct sctphdr *sh; in sctp_rcv() local
130 sh = sctp_hdr(skb); in sctp_rcv()
233 chunk->sctp_hdr = sh; in sctp_rcv()
941 struct sctphdr *sh = sctp_hdr(skb); in __sctp_rcv_init_lookup() local
973 af->from_addr_param(paddr, params.addr, sh->source, 0); in __sctp_rcv_init_lookup()
Dipv6.c409 struct sctphdr *sh; in sctp_v6_from_skb() local
416 sh = sctp_hdr(skb); in sctp_v6_from_skb()
418 *port = sh->source; in sctp_v6_from_skb()
421 *port = sh->dest; in sctp_v6_from_skb()
763 struct sctphdr *sh; in sctp_inet6_skb_msgname() local
769 sh = sctp_hdr(skb); in sctp_inet6_skb_msgname()
773 addr->v4.sin_port = sh->source; in sctp_inet6_skb_msgname()
778 addr->v6.sin6_port = sh->source; in sctp_inet6_skb_msgname()
Dprotocol.c237 struct sctphdr *sh; in sctp_v4_from_skb() local
242 sh = sctp_hdr(skb); in sctp_v4_from_skb()
244 *port = sh->source; in sctp_v4_from_skb()
247 *port = sh->dest; in sctp_v4_from_skb()
894 struct sctphdr *sh = sctp_hdr(skb); in sctp_inet_skb_msgname() local
898 sin->sin_port = sh->source; in sctp_inet_skb_msgname()
/linux-4.1.27/net/netfilter/ipvs/
Dip_vs_sh.c286 sctp_sctphdr_t _sctph, *sh; in ip_vs_sh_get_port() local
302 sh = skb_header_pointer(skb, iph->len, sizeof(_sctph), &_sctph); in ip_vs_sh_get_port()
303 if (unlikely(sh == NULL)) in ip_vs_sh_get_port()
305 port = sh->source; in ip_vs_sh_get_port()
Dip_vs_proto_sctp.c20 sctp_sctphdr_t *sh, _sctph; in sctp_conn_schedule() local
22 sh = skb_header_pointer(skb, iph->len, sizeof(_sctph), &_sctph); in sctp_conn_schedule()
23 if (sh == NULL) { in sctp_conn_schedule()
40 &iph->daddr, sh->dest))) { in sctp_conn_schedule()
177 struct sctphdr *sh, _sctph; in sctp_csum_check() local
187 sh = skb_header_pointer(skb, sctphoff, sizeof(_sctph), &_sctph); in sctp_csum_check()
188 if (sh == NULL) in sctp_csum_check()
191 cmp = sh->checksum; in sctp_csum_check()
/linux-4.1.27/Documentation/devicetree/bindings/mmc/
Drenesas,mmcif.txt13 - "renesas,sh-mmcif" for the generic MMCIF
26 compatible = "renesas,mmcif-r8a7790", "renesas,sh-mmcif";
Dtmio_mmc.txt13 - compatible: "renesas,sdhi-shmobile" - a generic sh-mobile SDHI unit
/linux-4.1.27/drivers/scsi/esas2r/
Desas2r_main.c702 int esas2r_show_info(struct seq_file *m, struct Scsi_Host *sh) in esas2r_show_info() argument
704 struct esas2r_adapter *a = (struct esas2r_adapter *)sh->hostdata; in esas2r_show_info()
709 esas2r_log(ESAS2R_LOG_DEBG, "esas2r_show_info (%p,%d)", m, sh->host_no); in esas2r_show_info()
757 int esas2r_release(struct Scsi_Host *sh) in esas2r_release() argument
759 esas2r_log_dev(ESAS2R_LOG_INFO, &(sh->shost_gendev), in esas2r_release()
762 esas2r_cleanup(sh); in esas2r_release()
763 if (sh->irq) in esas2r_release()
764 free_irq(sh->irq, NULL); in esas2r_release()
765 scsi_unregister(sh); in esas2r_release()
769 const char *esas2r_info(struct Scsi_Host *sh) in esas2r_info() argument
[all …]
/linux-4.1.27/arch/sparc/boot/
DMakefile74 sh $(srctree)/$(src)/install.sh $(KERNELRELEASE) $(obj)/zImage \
/linux-4.1.27/arch/avr32/boot/images/
DMakefile54 sh $(srctree)/install-kernel.sh $<
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dsdio.c1071 struct sdpcm_shared *sh) in brcmf_sdio_readshared() argument
1116 sh->flags = le32_to_cpu(sh_le.flags); in brcmf_sdio_readshared()
1117 sh->trap_addr = le32_to_cpu(sh_le.trap_addr); in brcmf_sdio_readshared()
1118 sh->assert_exp_addr = le32_to_cpu(sh_le.assert_exp_addr); in brcmf_sdio_readshared()
1119 sh->assert_file_addr = le32_to_cpu(sh_le.assert_file_addr); in brcmf_sdio_readshared()
1120 sh->assert_line = le32_to_cpu(sh_le.assert_line); in brcmf_sdio_readshared()
1121 sh->console_addr = le32_to_cpu(sh_le.console_addr); in brcmf_sdio_readshared()
1122 sh->msgtrace_addr = le32_to_cpu(sh_le.msgtrace_addr); in brcmf_sdio_readshared()
1124 if ((sh->flags & SDPCM_SHARED_VERSION_MASK) > SDPCM_SHARED_VERSION) { in brcmf_sdio_readshared()
1127 sh->flags & SDPCM_SHARED_VERSION_MASK); in brcmf_sdio_readshared()
[all …]
/linux-4.1.27/arch/sh/boards/
DKconfig109 More information at <http://www.linux-sh.org>
344 More information at <http://sh2000.sh-linux.org>.
363 source "arch/sh/boards/mach-r2d/Kconfig"
364 source "arch/sh/boards/mach-highlander/Kconfig"
365 source "arch/sh/boards/mach-sdk7780/Kconfig"
366 source "arch/sh/boards/mach-migor/Kconfig"
367 source "arch/sh/boards/mach-rsk/Kconfig"
/linux-4.1.27/drivers/bluetooth/
Dhci_ll.c379 struct hci_sco_hdr *sh; in ll_recv() local
421 sh = hci_sco_hdr(ll->rx_skb); in ll_recv()
423 BT_DBG("SCO header: dlen %d", sh->dlen); in ll_recv()
425 ll_check_data_len(hu->hdev, ll, sh->dlen); in ll_recv()
Dbtuart_cs.c244 struct hci_sco_hdr *sh; in btuart_receive() local
263 sh = hci_sco_hdr(info->rx_skb); in btuart_receive()
265 info->rx_count = sh->dlen; in btuart_receive()
Dbt3c_cs.c295 struct hci_sco_hdr *sh; in bt3c_receive() local
313 sh = hci_sco_hdr(info->rx_skb); in bt3c_receive()
315 info->rx_count = sh->dlen; in bt3c_receive()
Dbluecard_cs.c458 struct hci_sco_hdr *sh; in bluecard_receive() local
476 sh = hci_sco_hdr(info->rx_skb); in bluecard_receive()
478 info->rx_count = sh->dlen; in bluecard_receive()
/linux-4.1.27/net/openvswitch/
Dactions.c573 struct sctphdr *sh; in set_sctp() local
581 sh = sctp_hdr(skb); in set_sctp()
582 old_csum = sh->checksum; in set_sctp()
585 sh->source = MASKED(sh->source, key->sctp_src, mask->sctp_src); in set_sctp()
586 sh->dest = MASKED(sh->dest, key->sctp_dst, mask->sctp_dst); in set_sctp()
591 sh->checksum = old_csum ^ old_correct_csum ^ new_csum; in set_sctp()
594 flow_key->tp.src = sh->source; in set_sctp()
595 flow_key->tp.dst = sh->dest; in set_sctp()
/linux-4.1.27/arch/x86/kernel/cpu/
DMakefile62 cmd_mkcapflags = $(CONFIG_SHELL) $(srctree)/$(src)/mkcapflags.sh $< $@
67 $(obj)/capflags.c: $(cpufeature) $(src)/mkcapflags.sh FORCE
/linux-4.1.27/drivers/net/ethernet/tile/
Dtilegx.c1677 struct skb_shared_info *sh = skb_shinfo(skb); in tso_count_edescs() local
1680 unsigned int p_len = sh->gso_size; in tso_count_edescs()
1688 for (segment = 0; segment < sh->gso_segs; segment++) { in tso_count_edescs()
1698 f_size = skb_frag_size(&sh->frags[f_id]); in tso_count_edescs()
1723 struct skb_shared_info *sh = skb_shinfo(skb); in tso_headers_prepare() local
1756 p_len = sh->gso_size; in tso_headers_prepare()
1762 for (segment = 0; segment < sh->gso_segs; segment++) { in tso_headers_prepare()
1788 if (segment != sh->gso_segs - 1) { in tso_headers_prepare()
1802 f_size = skb_frag_size(&sh->frags[f_id]); in tso_headers_prepare()
1832 struct skb_shared_info *sh = skb_shinfo(skb); in tso_egress() local
[all …]
Dtilepro.c1607 struct skb_shared_info *sh = skb_shinfo(skb); in tile_net_tx_frags() local
1624 for (i = 0; i < sh->nr_frags; i++) { in tile_net_tx_frags()
1626 skb_frag_t *f = &sh->frags[i]; in tile_net_tx_frags()
1680 struct skb_shared_info *sh = skb_shinfo(skb); in tile_net_tx_tso() local
1708 unsigned int p_len = sh->gso_size; in tile_net_tx_tso()
1711 unsigned int num_segs = sh->gso_segs; in tile_net_tx_tso()
1854 struct skb_shared_info *sh = skb_shinfo(skb); in tile_net_tx() local
1911 if (sh->gso_size != 0) in tile_net_tx()
/linux-4.1.27/tools/testing/selftests/user/
DMakefile6 TEST_PROGS := test_user_copy.sh
/linux-4.1.27/arch/x86/um/vdso/
DMakefile75 sh $(srctree)/$(src)/checkundef.sh '$(NM)' '$@'
/linux-4.1.27/arch/blackfin/boot/
DMakefile71 sh $(srctree)/$(src)/install.sh $(KERNELRELEASE) $(BOOTIMAGE) System.map "$(INSTALL_PATH)"
/linux-4.1.27/Documentation/
Dgcov.txt11 Appendix A: sample script: gather_on_build.sh
12 Appendix B: sample script: gather_on_test.sh
202 Appendix A: gather_on_build.sh
232 Appendix B: gather_on_test.sh
251 find $GCDA -name '*.gcda' -exec sh -c 'cat < $0 > '$TEMPDIR'/$0' {} \;
252 find $GCDA -name '*.gcno' -exec sh -c 'cp -d $0 '$TEMPDIR'/$0' {} \;
Dhighuid.txt63 sh, and sparc32. Fixing this is probably not that important, but would
67 16-bit UIDs on arm, i386, m68k, sh, and sparc32.
Ddebugging-modules.txt14 echo '#! /bin/sh' > /tmp/modprobe
Dinit.txt35 non-script binary such as /bin/sh and confirm its successful execution.
/linux-4.1.27/drivers/sh/
DKconfig3 source "drivers/sh/intc/Kconfig"
/linux-4.1.27/arch/mips/pci/
Dpci-ar2315.c205 u32 sh = (where & 3) * 8; in ar2315_pci_cfg_access() local
228 value = (value & ~(mask << sh)) | *ptr << sh; in ar2315_pci_cfg_access()
234 *ptr = (value >> sh) & mask; in ar2315_pci_cfg_access()
/linux-4.1.27/tools/testing/selftests/efivarfs/
DMakefile7 TEST_PROGS := efivarfs.sh
/linux-4.1.27/arch/mips/alchemy/common/
Dclock.c540 int sh = c->shift + 2; in alchemy_clk_fgv1_setr() local
547 v &= ~(0xff << sh); in alchemy_clk_fgv1_setr()
548 v |= div << sh; in alchemy_clk_fgv1_setr()
664 int sh = c->shift + 2; in alchemy_clk_fgv2_setr() local
676 v &= ~(0xff << sh); in alchemy_clk_fgv2_setr()
677 v |= (div & 0xff) << sh; in alchemy_clk_fgv2_setr()
688 int sh = c->shift + 2; in alchemy_clk_fgv2_recalc() local
692 t = parent_rate / (((v >> sh) & 0xff) + 1); in alchemy_clk_fgv2_recalc()
/linux-4.1.27/arch/sh/drivers/dma/
DMakefile5 obj-$(CONFIG_SH_DMA_API) += dma-sh.o dma-api.o dma-sysfs.o
/linux-4.1.27/Documentation/aoe/
Dudev-install.sh33 sh -xc "cp `dirname $0`/udev.txt $rules_d/60-aoe.rules"
Daoe.txt31 There is a udev-install.sh script that shows how to install these
83 root@makki root# sh Documentation/aoe/status.sh
/linux-4.1.27/tools/testing/selftests/net/
DMakefile13 TEST_PROGS := run_netsocktests run_afpackettests test_bpf.sh
/linux-4.1.27/tools/testing/selftests/
Dgen_kselftest_tar.sh47 ./kselftest_install.sh
DMakefile61 ALL_SCRIPT := $(INSTALL_PATH)/run_kselftest.sh
/linux-4.1.27/Documentation/fault-injection/
Dfault-injection.txt246 tools/testing/fault-injection/failcmd.sh. Please run a command
247 "./tools/testing/fault-injection/failcmd.sh --help" for more information and
255 # ./tools/testing/fault-injection/failcmd.sh \
261 # ./tools/testing/fault-injection/failcmd.sh --times=100 \
268 ./tools/testing/fault-injection/failcmd.sh --times=100 \
Dnotifier-error-inject.txt95 * tools/testing/selftests/cpu-hotplug/on-off-test.sh
96 * tools/testing/selftests/memory-hotplug/on-off-test.sh
/linux-4.1.27/tools/testing/selftests/memfd/
DMakefile19 @./run_fuse_test.sh || echo "fuse_test: [FAIL]"
/linux-4.1.27/sound/
DMakefile8 obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ sh/ synth/ usb/ \
/linux-4.1.27/drivers/media/platform/exynos-gsc/
Dgsc-core.c257 void gsc_get_prescaler_shfactor(u32 hratio, u32 vratio, u32 *sh) in gsc_get_prescaler_shfactor() argument
260 *sh = 4; in gsc_get_prescaler_shfactor()
263 *sh = 3; in gsc_get_prescaler_shfactor()
267 *sh = 2; in gsc_get_prescaler_shfactor()
269 *sh = 0; in gsc_get_prescaler_shfactor()
271 *sh = 1; in gsc_get_prescaler_shfactor()
608 int gsc_check_scaler_ratio(struct gsc_variant *var, int sw, int sh, int dw, in gsc_check_scaler_ratio() argument
627 (sh / tmp_h) > sc_down_max || in gsc_check_scaler_ratio()
629 (tmp_h / sh) > var->sc_up_max) in gsc_check_scaler_ratio()
Dgsc-core.h402 void gsc_get_prescaler_shfactor(u32 hratio, u32 vratio, u32 *sh);
406 int gsc_check_scaler_ratio(struct gsc_variant *var, int sw, int sh, int dw,
/linux-4.1.27/
DMakefile230 -e s/sh[234].*/sh/ -e s/aarch64.*/arm64/ )
277 SRCARCH := sh
297 else echo sh; fi ; fi)
779 ifeq ($(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-goto.sh $(CC)), y)
921 vmlinux: scripts/link-vmlinux.sh $(vmlinux-deps) FORCE
1060 $(Q)$(CONFIG_SHELL) $(srctree)/scripts/headers.sh install
1071 $(Q)$(CONFIG_SHELL) $(srctree)/scripts/headers.sh check
1195 $(Q)$(CONFIG_SHELL) $(srctree)/scripts/link-vmlinux.sh clean
1443 cmd_tags = $(CONFIG_SHELL) $(srctree)/scripts/tags.sh $@
1570 cmd_depmod = $(CONFIG_SHELL) $(srctree)/scripts/depmod.sh $(DEPMOD) \
DKbuild77 missing-syscalls: scripts/checksyscalls.sh $(offsets-file) FORCE
/linux-4.1.27/arch/ia64/
DMakefile89 sh $(srctree)/arch/ia64/install.sh $(KERNELRELEASE) $< System.map "$(INSTALL_PATH)"
/linux-4.1.27/drivers/
DMakefile127 obj-$(CONFIG_SUPERH) += sh/
128 obj-$(CONFIG_ARCH_SHMOBILE) += sh/
/linux-4.1.27/Documentation/devicetree/bindings/spi/
Dsh-msiof.txt5 "renesas,sh-msiof" for SuperH, or
6 "renesas,sh-mobile-msiof" for SH Mobile series.
/linux-4.1.27/arch/cris/include/arch-v32/arch/hwregs/
Dbif_core_defs.h168 unsigned int sh : 3; member
183 unsigned int sh : 3; member
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-driver-genwqe32 sudo sh -c 'echo 1 > \
68 sudo sh -c 'echo 15 > \
/linux-4.1.27/tools/testing/ktest/examples/
Dcrosstests.conf184 TEST_START IF ${RUN} == sh || ${DO_DEFAULT}
186 ARCH = sh
/linux-4.1.27/arch/cris/include/arch-v32/mach-fs/mach/hwregs/
Dbif_core_defs.h168 unsigned int sh : 3; member
183 unsigned int sh : 3; member
/linux-4.1.27/Documentation/scsi/
Dosst.txt36 Makedevs.sh as root (see below).
59 the device nodes by calling the Makedevs.sh script (see below) manually.
76 The device nodes for osst have to be created. Use the Makedevs.sh script
186 Makedevs.sh
188 #!/bin/sh
190 # Usage: Makedevs.sh [nos [path to dev]]
Dwd719x.txt14 #!/bin/sh
/linux-4.1.27/drivers/media/platform/s3c-camif/
Dcamif-core.c135 unsigned int sh = 6; in camif_get_scaler_factor() local
140 while (sh--) { in camif_get_scaler_factor()
141 unsigned int tmp = 1 << sh; in camif_get_scaler_factor()
143 *shift = sh, *ratio = tmp; in camif_get_scaler_factor()
/linux-4.1.27/arch/sh/boot/romimage/
DMakefile29 $(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/zeropage.bin arch/sh/boot/zImage FORCE
/linux-4.1.27/drivers/lguest/
DMakefile18 @sh ../../tools/lguest/extract $(PREFIX) `find ../../* -name '*.[chS]' -wholename '*lguest*'`
/linux-4.1.27/arch/sh/kernel/vsyscall/
Dvsyscall.lds.S13 OUTPUT_ARCH(sh)
/linux-4.1.27/scripts/kconfig/
DMakefile111 $(Q)$(CONFIG_SHELL) $(srctree)/scripts/kconfig/merge_config.sh -m .config $(configfiles)
146 check-lxdialog := $(srctree)/$(src)/lxdialog/check-lxdialog.sh
192 HOST_EXTRACFLAGS += $(shell $(CONFIG_SHELL) $(srctree)/$(src)/check.sh $(HOSTCC) $(HOSTCFLAGS))
/linux-4.1.27/arch/openrisc/kernel/
Dhead.S1267 l.sh (TRAMP_SLOT_0+0x0)(r3),r5
1269 l.sh (TRAMP_SLOT_0+0x2)(r3),r5
1273 l.sh (TRAMP_SLOT_1+0x0)(r3),r5
1275 l.sh (TRAMP_SLOT_1+0x2)(r3),r5
1318 l.sh (TRAMP_SLOT_0+0x0)(r3),r5
1320 l.sh (TRAMP_SLOT_0+0x2)(r3),r5
1324 l.sh (TRAMP_SLOT_1+0x0)(r3),r5
1326 l.sh (TRAMP_SLOT_1+0x2)(r3),r5
1331 l.sh (TRAMP_SLOT_2+0x0)(r3),r5 // write it back
/linux-4.1.27/drivers/iommu/
Dmsm_iommu.c379 int ret = 0, tex, sh; in msm_iommu_map() local
383 sh = (prot & MSM_IOMMU_ATTR_SH) ? 1 : 0; in msm_iommu_map()
409 pgprot = sh ? FL_SHARED : 0; in msm_iommu_map()
414 pgprot = sh ? SL_SHARED : 0; in msm_iommu_map()
/linux-4.1.27/Documentation/early-userspace/
DREADME69 scripts/gen_initramfs_list.sh. This means that CONFIG_INITRAMFS_SOURCE
71 gen_initramfs_list.sh. If a directory is specified as an argument then
74 specified as an argument to scripts/gen_initramfs_list.sh then the
79 See also 'scripts/gen_initramfs_list.sh -h'.
/linux-4.1.27/include/video/
Dpm3fb.h586 #define PM3FBDestReadMode_StripeHeight(sh) (((sh) & 0x7) << 7) argument
619 #define PM3FBSourceReadMode_StripeHeight(sh) (((sh) & 0x7) << 7) argument
/linux-4.1.27/Documentation/s390/
D00-INDEX11 config3270.sh
D3270.txt40 running the configuration script (config3270.sh, in this directory).
110 config3270.sh. Inspect the output script it produces,
118 sh config3270.sh
119 sh /tmp/mkdev3270
/linux-4.1.27/usr/
DMakefile41 initramfs := $(CONFIG_SHELL) $(srctree)/scripts/gen_initramfs_list.sh
/linux-4.1.27/drivers/media/platform/exynos4-is/
Dfimc-core.c216 int fimc_check_scaler_ratio(struct fimc_ctx *ctx, int sw, int sh, in fimc_check_scaler_ratio() argument
223 return (sw == dw && sh == dh) ? 0 : -EINVAL; in fimc_check_scaler_ratio()
225 if ((sw >= SCALER_MAX_HRATIO * dw) || (sh >= SCALER_MAX_VRATIO * dh)) in fimc_check_scaler_ratio()
233 u32 sh = 6; in fimc_get_scaler_factor() local
238 while (sh--) { in fimc_get_scaler_factor()
239 u32 tmp = 1 << sh; in fimc_get_scaler_factor()
241 *shift = sh, *ratio = tmp; in fimc_get_scaler_factor()
/linux-4.1.27/drivers/video/fbdev/mb862xx/
Dmb862xxfbdrv.c333 if ((l1_cfg->sw >= l1_cfg->dw) && (l1_cfg->sh >= l1_cfg->dh)) { in mb862xxfb_ioctl()
336 pack((l1_cfg->sh << 11) / l1_cfg->dh, in mb862xxfb_ioctl()
341 (l1_cfg->sh <= l1_cfg->dh)) { in mb862xxfb_ioctl()
344 pack((l1_cfg->sh << 11) / l1_cfg->dh, in mb862xxfb_ioctl()
347 pack(l1_cfg->sw >> 1, l1_cfg->sh)); in mb862xxfb_ioctl()
372 pack(l1_cfg->sh, l1_cfg->sw)); in mb862xxfb_ioctl()
530 par->l1_cfg.sh = 576; in mb862xxfb_init_fbinfo()
Dmb862xxfb.h8 unsigned short sh; member
/linux-4.1.27/Documentation/filesystems/nfs/
Dfault_injection.txt62 tools/nfs/inject_faults.sh script
67 `inject_faults.sh forget_locks 1` as root will instruct the server to forget
Dpnfs-block-server.txt28 #!/bin/sh
/linux-4.1.27/sound/soc/
DMakefile34 obj-$(CONFIG_SND_SOC) += sh/
DKconfig53 source "sound/soc/sh/Kconfig"
/linux-4.1.27/arch/arm64/kernel/vdso/
DMakefile39 gen-vdsosym := $(srctree)/$(src)/gen_vdso_offsets.sh
/linux-4.1.27/drivers/dma/sh/
DKconfig2 # DMA engine configuration for sh
/linux-4.1.27/arch/x86/boot/
DMakefile191 sh $(srctree)/$(src)/install.sh $(KERNELRELEASE) $(obj)/bzImage \
/linux-4.1.27/arch/powerpc/kernel/
DMakefile157 systbl_chk: $(src)/systbl_chk.sh $(obj)/systbl_chk.i
167 prom_init_check: $(src)/prom_init_check.sh $(obj)/prom_init.o
/linux-4.1.27/arch/tile/lib/
Datomic_asm_32.S109 sh r0, r24
/linux-4.1.27/Documentation/filesystems/
Dramfs-rootfs-initramfs.txt148 slink /bin/sh busybox 777 0 0
153 file /init initramfs/init.sh 755 0 0
160 two example "file" entries expect to find files named "init.sh" and "busybox" in
167 scripts/gen_initramfs_list.sh), and proceeds to package up that directory
185 #!/bin/sh
276 "init=/bin/sh". The initramfs equivalent is "rdinit=/bin/sh", and it's
/linux-4.1.27/drivers/pinctrl/
DMakefile49 obj-$(CONFIG_PINCTRL_SH_PFC) += sh-pfc/
/linux-4.1.27/arch/arm/configs/
Dacs5k_tiny_defconfig19 CONFIG_CMDLINE="console=ttyAM0,115200 init=/bin/sh"
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dramgt215.c471 u32 reg, sh, gpio_val; in gt215_ram_fbvref() local
479 nv50_gpio_location(func.line, &reg, &sh); in gt215_ram_fbvref()
481 if (gpio_val & (8 << sh)) in gt215_ram_fbvref()
484 ram_mask(fuc, gpioFBVREF, (0x3 << sh), ((val | 0x2) << sh)); in gt215_ram_fbvref()
/linux-4.1.27/tools/power/cpupower/
DMakefile60 VERSION= $(shell ./utils/version-gen.sh)
DREADME30 /usr/lib; cpupower, cpufreq-bench_plot.sh to put in /usr/bin; and
/linux-4.1.27/drivers/dma/
DMakefile22 obj-$(CONFIG_RENESAS_DMA) += sh/
/linux-4.1.27/scripts/
DMakefile.lib383 sh $(srctree)/scripts/xz_wrap.sh && \
DKbuild.include132 cc-version = $(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-version.sh $(CC))
136 $(srctree)/scripts/gcc-version.sh -p $(CC))
159 ld-version = $(shell $(LD) --version | $(srctree)/scripts/ld-version.sh)
DMakefile.headersinst109 $(install-file): scripts/headers_install.sh $(input-files1) $(input-files2) $(input-files3) FORCE
/linux-4.1.27/arch/mips/boot/
Delf2ecoff.c270 Elf32_Shdr *sh; in main() local
333 sh = (Elf32_Shdr *) saveRead(infile, ex.e_shoff, in main()
337 convert_elf_shdrs(sh, ex.e_shnum); in main()
/linux-4.1.27/arch/x86/boot/compressed/
DMakefile96 $(CONFIG_SHELL) $(srctree)/arch/x86/tools/calc_run_size.sh)
/linux-4.1.27/drivers/tty/serial/
DMakefile43 obj-$(CONFIG_SERIAL_SH_SCI) += sh-sci.o
/linux-4.1.27/Documentation/wimax/
DREADME.i2400m45 Once built you can load and unload using the provided load.sh script;
46 load.sh will load the modules, load.sh u will unload them.
/linux-4.1.27/Documentation/laptops/
Dlaptop-mode.txt706 action=/etc/acpi/actions/ac.sh %e
712 action=/etc/acpi/actions/battery.sh %e
716 ----------------/etc/acpi/actions/ac.sh BEGIN-----------------------------------
733 ---------------------------/etc/acpi/actions/ac.sh END--------------------------
736 ---------------------------/etc/acpi/actions/battery.sh BEGIN-------------------
771 …nel ACPI support and /proc/acpi/battery folder, and edit /etc/acpi/battery.sh to set BATT_INFO to …
775 ---------------------------/etc/acpi/actions/battery.sh END--------------------
/linux-4.1.27/drivers/net/wireless/iwlegacy/
D4965-mac.c2517 int i, sh, ack; in il4965_tx_status_reply_compressed_ba() local
2535 sh = agg->start_idx - SEQ_TO_IDX(seq_ctl >> 4); in il4965_tx_status_reply_compressed_ba()
2536 if (sh < 0) /* tbw something is wrong with indices */ in il4965_tx_status_reply_compressed_ba()
2537 sh += 0x100; in il4965_tx_status_reply_compressed_ba()
2539 if (agg->frame_count > (64 - sh)) { in il4965_tx_status_reply_compressed_ba()
2545 bitmap = le64_to_cpu(ba_resp->bitmap) >> sh; in il4965_tx_status_reply_compressed_ba()
2673 int i, sh, idx; in il4965_tx_status_reply_tx() local
2741 sh = idx - start; in il4965_tx_status_reply_tx()
2742 if (sh > 64) { in il4965_tx_status_reply_tx()
2743 sh = (start - idx) + 0xff; in il4965_tx_status_reply_tx()
[all …]
/linux-4.1.27/drivers/video/fbdev/
Dpxa3xx-gcu.c181 struct pxa3xx_gcu_shared *sh = priv->shared; in dump_whole_state() local
188 sh->hw_running ? "running" : "idle ", in dump_whole_state()
/linux-4.1.27/tools/testing/selftests/rcutorture/doc/
Dinitrd.txt24 #!/bin/sh
/linux-4.1.27/drivers/cpufreq/
DMakefile104 obj-$(CONFIG_SH_CPU_FREQ) += sh-cpufreq.o
/linux-4.1.27/Documentation/trace/
Devents.txt195 prev_comm ~ "*sh"
196 prev_comm ~ "sh*"
197 prev_comm ~ "*sh*"
201 prev_comm ~ "ba*sh" <-- is invalid
/linux-4.1.27/Documentation/fb/
Dsh7760fb.txt27 include/asm-sh/sh7760fb.h
/linux-4.1.27/arch/sh/configs/
Dsh2007_defconfig25 …SC1,115200 ip=dhcp root=/dev/nfs rw nfsroot=/nfs/rootfs,rsize=1024,wsize=1024 earlyprintk=sh-sci.1"

12