/linux-3.4.99/drivers/spi/ |
D | spi-stmp.c | 87 static int stmp_spi_init_hw(struct stmp_spi *ss) in stmp_spi_init_hw() argument 90 void *pins = ss->master_dev->platform_data; in stmp_spi_init_hw() 92 err = stmp3xxx_request_pin_group(pins, dev_name(ss->master_dev)); in stmp_spi_init_hw() 96 ss->clk = clk_get(NULL, "ssp"); in stmp_spi_init_hw() 97 if (IS_ERR(ss->clk)) { in stmp_spi_init_hw() 98 err = PTR_ERR(ss->clk); in stmp_spi_init_hw() 101 clk_enable(ss->clk); in stmp_spi_init_hw() 103 stmp3xxx_reset_block(ss->regs, false); in stmp_spi_init_hw() 104 stmp3xxx_dma_reset_channel(ss->dma); in stmp_spi_init_hw() 109 stmp3xxx_release_pin_group(pins, dev_name(ss->master_dev)); in stmp_spi_init_hw() [all …]
|
D | spi-sh.c | 98 static void spi_sh_write(struct spi_sh_data *ss, unsigned long data, in spi_sh_write() argument 101 if (ss->width == 8) in spi_sh_write() 102 iowrite8(data, ss->addr + (offset >> 2)); in spi_sh_write() 103 else if (ss->width == 32) in spi_sh_write() 104 iowrite32(data, ss->addr + offset); in spi_sh_write() 107 static unsigned long spi_sh_read(struct spi_sh_data *ss, unsigned long offset) in spi_sh_read() argument 109 if (ss->width == 8) in spi_sh_read() 110 return ioread8(ss->addr + (offset >> 2)); in spi_sh_read() 111 else if (ss->width == 32) in spi_sh_read() 112 return ioread32(ss->addr + offset); in spi_sh_read() [all …]
|
/linux-3.4.99/drivers/usb/gadget/ |
D | f_sourcesink.c | 192 struct f_sourcesink *ss = func_to_ss(f); in sourcesink_bind() local 202 ss->in_ep = usb_ep_autoconfig(cdev->gadget, &fs_source_desc); in sourcesink_bind() 203 if (!ss->in_ep) { in sourcesink_bind() 209 ss->in_ep->driver_data = cdev; /* claim */ in sourcesink_bind() 211 ss->out_ep = usb_ep_autoconfig(cdev->gadget, &fs_sink_desc); in sourcesink_bind() 212 if (!ss->out_ep) in sourcesink_bind() 214 ss->out_ep->driver_data = cdev; /* claim */ in sourcesink_bind() 237 f->name, ss->in_ep->name, ss->out_ep->name); in sourcesink_bind() 248 static int check_read_data(struct f_sourcesink *ss, struct usb_request *req) in check_read_data() argument 252 struct usb_composite_dev *cdev = ss->function.config->cdev; in check_read_data() [all …]
|
/linux-3.4.99/drivers/net/ethernet/myricom/myri10ge/ |
D | myri10ge.c | 206 struct myri10ge_slice_state *ss; member 926 struct myri10ge_slice_state *ss; in myri10ge_reset() local 954 bytes = mgp->max_intr_slots * sizeof(*mgp->ss[0].rx_done.entry); in myri10ge_reset() 1011 ss = &mgp->ss[i]; in myri10ge_reset() 1012 cmd.data0 = MYRI10GE_LOWPART_TO_U32(ss->rx_done.bus); in myri10ge_reset() 1013 cmd.data1 = MYRI10GE_HIGHPART_TO_U32(ss->rx_done.bus); in myri10ge_reset() 1022 ss = &mgp->ss[i]; in myri10ge_reset() 1023 ss->irq_claim = in myri10ge_reset() 1043 ss = &mgp->ss[i]; in myri10ge_reset() 1045 ss->dca_tag = (__iomem __be32 *) in myri10ge_reset() [all …]
|
/linux-3.4.99/drivers/staging/media/solo6x10/ |
D | g723.c | 85 struct snd_pcm_substream *ss; in solo_g723_isr() local 90 for (ss = pstr->substream; ss != NULL; ss = ss->next) { in solo_g723_isr() 91 if (snd_pcm_substream_chip(ss) == NULL) in solo_g723_isr() 95 if (snd_pcm_substream_chip(ss) == solo_dev) in solo_g723_isr() 99 solo_pcm = snd_pcm_substream_chip(ss); in solo_g723_isr() 103 snd_pcm_period_elapsed(ss); in solo_g723_isr() 107 static int snd_solo_hw_params(struct snd_pcm_substream *ss, in snd_solo_hw_params() argument 110 return snd_pcm_lib_malloc_pages(ss, params_buffer_bytes(hw_params)); in snd_solo_hw_params() 113 static int snd_solo_hw_free(struct snd_pcm_substream *ss) in snd_solo_hw_free() argument 115 return snd_pcm_lib_free_pages(ss); in snd_solo_hw_free() [all …]
|
/linux-3.4.99/security/selinux/ |
D | Makefile | 9 ss/ebitmap.o ss/hashtab.o ss/symtab.o ss/sidtab.o ss/avtab.o \ 10 ss/policydb.o ss/services.o ss/conditional.o ss/mls.o ss/status.o
|
/linux-3.4.99/kernel/ |
D | cgroup.c | 316 static int cgroup_init_idr(struct cgroup_subsys *ss, 800 static int alloc_css_id(struct cgroup_subsys *ss, 824 struct cgroup_subsys *ss; in cgroup_call_pre_destroy() local 827 for_each_subsys(cgrp->root, ss) in cgroup_call_pre_destroy() 828 if (ss->pre_destroy) { in cgroup_call_pre_destroy() 829 ret = ss->pre_destroy(cgrp); in cgroup_call_pre_destroy() 842 struct cgroup_subsys *ss; in cgroup_diput() local 856 for_each_subsys(cgrp->root, ss) in cgroup_diput() 857 ss->destroy(cgrp); in cgroup_diput() 988 struct cgroup_subsys *ss = subsys[i]; in rebind_subsystems() local [all …]
|
/linux-3.4.99/drivers/infiniband/hw/qib/ |
D | qib_sdma.c | 91 static void sdma_get(struct qib_sdma_state *ss) in sdma_get() argument 93 kref_get(&ss->kref); in sdma_get() 98 struct qib_sdma_state *ss = in sdma_complete() local 101 complete(&ss->comp); in sdma_complete() 104 static void sdma_put(struct qib_sdma_state *ss) in sdma_put() argument 106 kref_put(&ss->kref, sdma_complete); in sdma_put() 109 static void sdma_finalput(struct qib_sdma_state *ss) in sdma_finalput() argument 111 sdma_put(ss); in sdma_finalput() 112 wait_for_completion(&ss->comp); in sdma_finalput() 194 struct qib_sdma_state *ss = &ppd->sdma_state; in sdma_hw_start_up() local [all …]
|
D | qib_verbs.c | 168 void qib_copy_sge(struct qib_sge_state *ss, void *data, u32 length, int release) in qib_copy_sge() argument 170 struct qib_sge *sge = &ss->sge; in qib_copy_sge() 187 if (--ss->num_sge) in qib_copy_sge() 188 *sge = *ss->sg_list++; in qib_copy_sge() 210 void qib_skip_sge(struct qib_sge_state *ss, u32 length, int release) in qib_skip_sge() argument 212 struct qib_sge *sge = &ss->sge; in qib_skip_sge() 228 if (--ss->num_sge) in qib_skip_sge() 229 *sge = *ss->sg_list++; in qib_skip_sge() 250 static u32 qib_count_sge(struct qib_sge_state *ss, u32 length) in qib_count_sge() argument 252 struct qib_sge *sg_list = ss->sg_list; in qib_count_sge() [all …]
|
/linux-3.4.99/sound/soc/sh/ |
D | siu_pcm.c | 296 static int siu_pcm_hw_params(struct snd_pcm_substream *ss, in siu_pcm_hw_params() argument 300 struct device *dev = ss->pcm->card->dev; in siu_pcm_hw_params() 305 ret = snd_pcm_lib_malloc_pages(ss, params_buffer_bytes(hw_params)); in siu_pcm_hw_params() 312 static int siu_pcm_hw_free(struct snd_pcm_substream *ss) in siu_pcm_hw_free() argument 315 struct siu_port *port_info = siu_port_info(ss); in siu_pcm_hw_free() 316 struct device *dev = ss->pcm->card->dev; in siu_pcm_hw_free() 319 if (ss->stream == SNDRV_PCM_STREAM_PLAYBACK) in siu_pcm_hw_free() 326 return snd_pcm_lib_free_pages(ss); in siu_pcm_hw_free() 342 static int siu_pcm_open(struct snd_pcm_substream *ss) in siu_pcm_open() argument 345 struct snd_soc_pcm_runtime *rtd = ss->private_data; in siu_pcm_open() [all …]
|
/linux-3.4.99/net/netfilter/ |
D | nfnetlink.c | 89 nfnetlink_find_client(u_int16_t type, const struct nfnetlink_subsystem *ss) in nfnetlink_find_client() argument 93 if (cb_id >= ss->cb_count) in nfnetlink_find_client() 96 return &ss->cb[cb_id]; in nfnetlink_find_client() 129 const struct nfnetlink_subsystem *ss; in nfnetlink_rcv_msg() local 142 ss = nfnetlink_get_subsys(type); in nfnetlink_rcv_msg() 143 if (!ss) { in nfnetlink_rcv_msg() 148 ss = nfnetlink_get_subsys(type); in nfnetlink_rcv_msg() 149 if (!ss) in nfnetlink_rcv_msg() 157 nc = nfnetlink_find_client(type, ss); in nfnetlink_rcv_msg() 166 struct nlattr *cda[ss->cb[cb_id].attr_count + 1]; in nfnetlink_rcv_msg() [all …]
|
/linux-3.4.99/arch/m68k/lib/ |
D | memset.c | 27 short *ss = s; in memset() local 28 *ss++ = c; in memset() 29 s = ss; in memset() 64 short *ss = s; in memset() local 65 *ss++ = c; in memset() 66 s = ss; in memset()
|
/linux-3.4.99/sound/parisc/ |
D | harmony.c | 306 snd_harmony_playback_trigger(struct snd_pcm_substream *ss, int cmd) in snd_harmony_playback_trigger() argument 308 struct snd_harmony *h = snd_pcm_substream_chip(ss); in snd_harmony_playback_trigger() 342 snd_harmony_capture_trigger(struct snd_pcm_substream *ss, int cmd) in snd_harmony_capture_trigger() argument 344 struct snd_harmony *h = snd_pcm_substream_chip(ss); in snd_harmony_capture_trigger() 408 snd_harmony_playback_prepare(struct snd_pcm_substream *ss) in snd_harmony_playback_prepare() argument 410 struct snd_harmony *h = snd_pcm_substream_chip(ss); in snd_harmony_playback_prepare() 411 struct snd_pcm_runtime *rt = ss->runtime; in snd_harmony_playback_prepare() 416 h->pbuf.size = snd_pcm_lib_buffer_bytes(ss); in snd_harmony_playback_prepare() 417 h->pbuf.count = snd_pcm_lib_period_bytes(ss); in snd_harmony_playback_prepare() 438 snd_harmony_capture_prepare(struct snd_pcm_substream *ss) in snd_harmony_capture_prepare() argument [all …]
|
/linux-3.4.99/crypto/ |
D | hmac.c | 49 int ss = crypto_shash_statesize(parent); in hmac_setkey() local 51 char *opad = ipad + ss; in hmac_setkey() 52 struct hmac_ctx *ctx = align_ptr(opad + ss, in hmac_setkey() 131 int ss = crypto_shash_statesize(parent); in hmac_final() local 132 char *opad = crypto_shash_ctx_aligned(parent) + ss; in hmac_final() 148 int ss = crypto_shash_statesize(parent); in hmac_finup() local 149 char *opad = crypto_shash_ctx_aligned(parent) + ss; in hmac_finup() 191 int ss; in hmac_create() local 203 ss = salg->statesize; in hmac_create() 206 ss < alg->cra_blocksize) in hmac_create() [all …]
|
/linux-3.4.99/arch/x86/xen/ |
D | xen-asm_32.S | 91 movl %ss:TI_cpu(%eax), %eax 92 movl %ss:__per_cpu_offset(,%eax,4), %eax 93 mov %ss:xen_vcpu(%eax), %eax 95 movl %ss:xen_vcpu, %eax 108 setz %ss:XEN_vcpu_info_mask(%eax) 112 cmpw $0x0001, %ss:XEN_vcpu_info_pending(%eax) 120 movb $1, %ss:XEN_vcpu_info_mask(%eax)
|
/linux-3.4.99/drivers/gpu/drm/radeon/ |
D | atombios_crtc.c | 426 struct radeon_atom_ss *ss) in atombios_crtc_program_ss() argument 451 args.v3.ucSpreadSpectrumType = ss->type & ATOM_SS_CENTRE_SPREAD_MODE_MASK; in atombios_crtc_program_ss() 455 args.v3.usSpreadSpectrumAmount = cpu_to_le16(ss->amount); in atombios_crtc_program_ss() 456 args.v3.usSpreadSpectrumStep = cpu_to_le16(ss->step); in atombios_crtc_program_ss() 460 args.v3.usSpreadSpectrumAmount = cpu_to_le16(ss->amount); in atombios_crtc_program_ss() 461 args.v3.usSpreadSpectrumStep = cpu_to_le16(ss->step); in atombios_crtc_program_ss() 472 if ((ss->percentage == 0) || (ss->type & ATOM_EXTERNAL_SS_MASK) || ASIC_IS_DCE61(rdev)) in atombios_crtc_program_ss() 475 args.v2.usSpreadSpectrumPercentage = cpu_to_le16(ss->percentage); in atombios_crtc_program_ss() 476 args.v2.ucSpreadSpectrumType = ss->type & ATOM_SS_CENTRE_SPREAD_MODE_MASK; in atombios_crtc_program_ss() 480 args.v2.usSpreadSpectrumAmount = cpu_to_le16(ss->amount); in atombios_crtc_program_ss() [all …]
|
/linux-3.4.99/sound/pci/ |
D | ad1889.c | 325 snd_ad1889_playback_open(struct snd_pcm_substream *ss) in snd_ad1889_playback_open() argument 327 struct snd_ad1889 *chip = snd_pcm_substream_chip(ss); in snd_ad1889_playback_open() 328 struct snd_pcm_runtime *rt = ss->runtime; in snd_ad1889_playback_open() 330 chip->psubs = ss; in snd_ad1889_playback_open() 337 snd_ad1889_capture_open(struct snd_pcm_substream *ss) in snd_ad1889_capture_open() argument 339 struct snd_ad1889 *chip = snd_pcm_substream_chip(ss); in snd_ad1889_capture_open() 340 struct snd_pcm_runtime *rt = ss->runtime; in snd_ad1889_capture_open() 342 chip->csubs = ss; in snd_ad1889_capture_open() 349 snd_ad1889_playback_close(struct snd_pcm_substream *ss) in snd_ad1889_playback_close() argument 351 struct snd_ad1889 *chip = snd_pcm_substream_chip(ss); in snd_ad1889_playback_close() [all …]
|
/linux-3.4.99/fs/sysfs/ |
D | file.c | 717 struct sysfs_schedule_callback_struct *ss = container_of(work, in sysfs_schedule_callback_work() local 720 (ss->func)(ss->data); in sysfs_schedule_callback_work() 721 kobject_put(ss->kobj); in sysfs_schedule_callback_work() 722 module_put(ss->owner); in sysfs_schedule_callback_work() 724 list_del(&ss->workq_list); in sysfs_schedule_callback_work() 726 kfree(ss); in sysfs_schedule_callback_work() 753 struct sysfs_schedule_callback_struct *ss, *tmp; in sysfs_schedule_callback() local 759 list_for_each_entry_safe(ss, tmp, &sysfs_workq, workq_list) in sysfs_schedule_callback() 760 if (ss->kobj == kobj) { in sysfs_schedule_callback() 775 ss = kmalloc(sizeof(*ss), GFP_KERNEL); in sysfs_schedule_callback() [all …]
|
/linux-3.4.99/drivers/ide/ |
D | sc1200.c | 239 struct sc1200_saved_state *ss = host->host_priv; in sc1200_suspend() local 247 pci_read_config_dword(dev, 0x40 + r * 4, &ss->regs[r]); in sc1200_suspend() 258 struct sc1200_saved_state *ss = host->host_priv; in sc1200_resume() local 271 pci_write_config_dword(dev, 0x40 + r * 4, ss->regs[r]); in sc1200_resume() 308 struct sc1200_saved_state *ss = NULL; in sc1200_init_one() local 312 ss = kmalloc(sizeof(*ss), GFP_KERNEL); in sc1200_init_one() 313 if (ss == NULL) in sc1200_init_one() 316 rc = ide_pci_init_one(dev, &sc1200_chipset, ss); in sc1200_init_one() 318 kfree(ss); in sc1200_init_one()
|
/linux-3.4.99/arch/x86/power/ |
D | cpu.c | 81 savesegment(ss, ctxt->ss); in __save_processor_state() 88 asm volatile ("movw %%ss, %0" : "=m" (ctxt->ss)); in __save_processor_state() 200 loadsegment(ss, ctxt->ss); in __restore_processor_state() 213 asm volatile ("movw %0, %%ss" :: "r" (ctxt->ss)); in __restore_processor_state()
|
/linux-3.4.99/drivers/infiniband/hw/ipath/ |
D | ipath_verbs.c | 171 void ipath_copy_sge(struct ipath_sge_state *ss, void *data, u32 length) in ipath_copy_sge() argument 173 struct ipath_sge *sge = &ss->sge; in ipath_copy_sge() 188 if (--ss->num_sge) in ipath_copy_sge() 189 *sge = *ss->sg_list++; in ipath_copy_sge() 211 void ipath_skip_sge(struct ipath_sge_state *ss, u32 length) in ipath_skip_sge() argument 213 struct ipath_sge *sge = &ss->sge; in ipath_skip_sge() 227 if (--ss->num_sge) in ipath_skip_sge() 228 *sge = *ss->sg_list++; in ipath_skip_sge() 249 static u32 ipath_count_sge(struct ipath_sge_state *ss, u32 length) in ipath_count_sge() argument 251 struct ipath_sge *sg_list = ss->sg_list; in ipath_count_sge() [all …]
|
D | ipath_keys.c | 199 int ipath_rkey_ok(struct ipath_qp *qp, struct ipath_sge_state *ss, in ipath_rkey_ok() argument 204 struct ipath_sge *sge = &ss->sge; in ipath_rkey_ok() 226 ss->sg_list = NULL; in ipath_rkey_ok() 227 ss->num_sge = 1; in ipath_rkey_ok() 263 ss->sg_list = NULL; in ipath_rkey_ok() 264 ss->num_sge = 1; in ipath_rkey_ok()
|
/linux-3.4.99/arch/x86/kernel/ |
D | process_32.c | 74 unsigned short ss, gs; in __show_regs() local 78 ss = regs->ss & 0xffff; in __show_regs() 82 savesegment(ss, ss); in __show_regs() 98 (u16)regs->ds, (u16)regs->es, (u16)regs->fs, gs, ss); in __show_regs() 198 regs->ss = __USER_DS; in start_thread()
|
/linux-3.4.99/arch/hexagon/kernel/ |
D | process.c | 121 struct hexagon_switch_stack *ss; in copy_thread() local 134 ss = (struct hexagon_switch_stack *) ((unsigned long) childregs - in copy_thread() 135 sizeof(*ss)); in copy_thread() 136 ss->lr = (unsigned long)ret_from_fork; in copy_thread() 137 p->thread.switch_sp = ss; in copy_thread()
|
/linux-3.4.99/sound/soc/au1x/ |
D | dma.c | 188 static inline struct alchemy_pcm_ctx *ss_to_ctx(struct snd_pcm_substream *ss) in ss_to_ctx() argument 190 struct snd_soc_pcm_runtime *rtd = ss->private_data; in ss_to_ctx() 194 static inline struct audio_stream *ss_to_as(struct snd_pcm_substream *ss) in ss_to_as() argument 196 struct alchemy_pcm_ctx *ctx = ss_to_ctx(ss); in ss_to_as() 197 return &(ctx->stream[ss->stream]); in ss_to_as() 282 static snd_pcm_uframes_t alchemy_pcm_pointer(struct snd_pcm_substream *ss) in alchemy_pcm_pointer() argument 284 struct audio_stream *stream = ss_to_as(ss); in alchemy_pcm_pointer() 291 return bytes_to_frames(ss->runtime, location); in alchemy_pcm_pointer()
|