wss 147 drivers/infiniband/sw/rdmavt/qp.c struct rvt_wss *wss = rdi->wss; wss 149 drivers/infiniband/sw/rdmavt/qp.c if (!wss) wss 153 drivers/infiniband/sw/rdmavt/qp.c kfree(wss->entries); wss 154 drivers/infiniband/sw/rdmavt/qp.c wss->entries = NULL; wss 155 drivers/infiniband/sw/rdmavt/qp.c kfree(rdi->wss); wss 156 drivers/infiniband/sw/rdmavt/qp.c rdi->wss = NULL; wss 173 drivers/infiniband/sw/rdmavt/qp.c struct rvt_wss *wss; wss 177 drivers/infiniband/sw/rdmavt/qp.c rdi->wss = NULL; wss 181 drivers/infiniband/sw/rdmavt/qp.c rdi->wss = kzalloc_node(sizeof(*rdi->wss), GFP_KERNEL, node); wss 182 drivers/infiniband/sw/rdmavt/qp.c if (!rdi->wss) wss 184 drivers/infiniband/sw/rdmavt/qp.c wss = rdi->wss; wss 208 drivers/infiniband/sw/rdmavt/qp.c wss->pages_mask = table_bits - 1; wss 209 drivers/infiniband/sw/rdmavt/qp.c wss->num_entries = table_bits / BITS_PER_LONG; wss 211 drivers/infiniband/sw/rdmavt/qp.c wss->threshold = (llc_bits * wss_threshold) / 100; wss 212 drivers/infiniband/sw/rdmavt/qp.c if (wss->threshold == 0) wss 213 drivers/infiniband/sw/rdmavt/qp.c wss->threshold = 1; wss 215 drivers/infiniband/sw/rdmavt/qp.c wss->clean_period = wss_clean_period; wss 216 drivers/infiniband/sw/rdmavt/qp.c atomic_set(&wss->clean_counter, wss_clean_period); wss 218 drivers/infiniband/sw/rdmavt/qp.c wss->entries = kcalloc_node(wss->num_entries, sizeof(*wss->entries), wss 220 drivers/infiniband/sw/rdmavt/qp.c if (!wss->entries) { wss 243 drivers/infiniband/sw/rdmavt/qp.c static void wss_advance_clean_counter(struct rvt_wss *wss) wss 250 drivers/infiniband/sw/rdmavt/qp.c if (atomic_dec_and_test(&wss->clean_counter)) { wss 264 drivers/infiniband/sw/rdmavt/qp.c atomic_set(&wss->clean_counter, wss->clean_period); wss 272 drivers/infiniband/sw/rdmavt/qp.c entry = (atomic_inc_return(&wss->clean_entry) - 1) wss 273 drivers/infiniband/sw/rdmavt/qp.c & (wss->num_entries - 1); wss 276 drivers/infiniband/sw/rdmavt/qp.c bits = xchg(&wss->entries[entry], 0); wss 280 drivers/infiniband/sw/rdmavt/qp.c atomic_sub(weight, &wss->total_count); wss 287 drivers/infiniband/sw/rdmavt/qp.c static void wss_insert(struct rvt_wss *wss, void *address) wss 289 drivers/infiniband/sw/rdmavt/qp.c u32 page = ((unsigned long)address >> PAGE_SHIFT) & wss->pages_mask; wss 293 drivers/infiniband/sw/rdmavt/qp.c if (!test_and_set_bit(nr, &wss->entries[entry])) wss 294 drivers/infiniband/sw/rdmavt/qp.c atomic_inc(&wss->total_count); wss 296 drivers/infiniband/sw/rdmavt/qp.c wss_advance_clean_counter(wss); wss 302 drivers/infiniband/sw/rdmavt/qp.c static inline bool wss_exceeds_threshold(struct rvt_wss *wss) wss 304 drivers/infiniband/sw/rdmavt/qp.c return atomic_read(&wss->total_count) >= wss->threshold; wss 2883 drivers/infiniband/sw/rdmavt/qp.c struct rvt_wss *wss = rdi->wss; wss 2895 drivers/infiniband/sw/rdmavt/qp.c wss_insert(wss, sge->vaddr); wss 2897 drivers/infiniband/sw/rdmavt/qp.c wss_insert(wss, (sge->vaddr + PAGE_SIZE)); wss 2899 drivers/infiniband/sw/rdmavt/qp.c cacheless_copy = wss_exceeds_threshold(wss); wss 2901 drivers/infiniband/sw/rdmavt/qp.c wss_advance_clean_counter(wss); wss 2299 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c u8 *wss = tpg->random_line[p] + params->wss_random_offset; wss 2301 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c memcpy(vbuf, wss, params->wss_width); wss 729 drivers/media/i2c/saa7115.c int wss = 0; wss 738 drivers/media/i2c/saa7115.c wss |= b2 << i; wss 740 drivers/media/i2c/saa7115.c parity = wss & 15; wss 747 drivers/media/i2c/saa7115.c return wss; wss 1197 drivers/media/i2c/saa7115.c u32 wss; wss 1235 drivers/media/i2c/saa7115.c wss = saa711x_decode_wss(p); wss 1236 drivers/media/i2c/saa7115.c if (wss == -1) wss 1238 drivers/media/i2c/saa7115.c p[0] = wss & 0xff; wss 1239 drivers/media/i2c/saa7115.c p[1] = wss >> 8; wss 112 drivers/media/pci/ivtv/ivtv-vbi.c int wss = d->data[0] | d->data[1] << 8; wss 114 drivers/media/pci/ivtv/ivtv-vbi.c if (vi->wss_payload != wss) { wss 115 drivers/media/pci/ivtv/ivtv-vbi.c vi->wss_payload = wss; wss 16 drivers/media/platform/vivid/vivid-vbi-gen.c static void wss_insert(u8 *wss, u32 val, unsigned size) wss 19 drivers/media/platform/vivid/vivid-vbi-gen.c *wss++ = (val & (1 << size)) ? 0xc0 : 0x10; wss 26 drivers/media/platform/vivid/vivid-vbi-gen.c u8 wss[29 + 24 + 24 + 24 + 18 + 18] = { 0 }; wss 33 drivers/media/platform/vivid/vivid-vbi-gen.c wss_insert(wss + bit, 0x1f1c71c7, 29); bit += 29; wss 34 drivers/media/platform/vivid/vivid-vbi-gen.c wss_insert(wss + bit, 0x1e3c1f, 24); bit += 24; wss 38 drivers/media/platform/vivid/vivid-vbi-gen.c wss_insert(wss + bit, (wss_data & (1 << i)) ? one : zero, 6); wss 40 drivers/media/platform/vivid/vivid-vbi-gen.c for (i = 0, bit = 0; bit < sizeof(wss); bit++) { wss 44 drivers/media/platform/vivid/vivid-vbi-gen.c buf[i++] = wss[bit]; wss 161 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c static int tvc_set_wss(struct omap_dss_device *dssdev, u32 wss) wss 166 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c return in->ops.atv->set_wss(in, wss); wss 199 drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c unsigned int wss; wss 204 drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c wss = dssdev->driver->get_wss(dssdev); wss 206 drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c return snprintf(buf, PAGE_SIZE, "0x%05x\n", wss); wss 212 drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c u32 wss; wss 218 drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c r = kstrtou32(buf, 0, &wss); wss 222 drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c if (wss > 0xfffff) wss 225 drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c r = dssdev->driver->set_wss(dssdev, wss); wss 254 drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c static DISPLAY_ATTR(wss, S_IRUGO|S_IWUSR, wss 574 drivers/video/fbdev/omap2/omapfb/dss/venc.c static int venc_set_wss(struct omap_dss_device *dssdev, u32 wss) wss 586 drivers/video/fbdev/omap2/omapfb/dss/venc.c venc.wss_data = (wss ^ 0xfffff) << 8; wss 470 include/rdma/rdma_vt.h struct rvt_wss *wss; wss 105 include/sound/snd_wavefront.h struct pnp_dev *wss; wss 55 include/uapi/linux/netfilter/nfnetlink_osf.h struct nf_osf_wc wss; wss 513 include/video/omapfb_dss.h int (*set_wss)(struct omap_dss_device *dssdev, u32 wss); wss 730 include/video/omapfb_dss.h int (*set_wss)(struct omap_dss_device *dssdev, u32 wss); wss 81 net/netfilter/nfnetlink_osf.c if (f->wss.wc >= OSF_WSS_MAX) wss 95 net/netfilter/nfnetlink_osf.c check_WSS = f->wss.wc; wss 129 net/netfilter/nfnetlink_osf.c if (f->wss.val == 0 || ctx->window == f->wss.val) wss 141 net/netfilter/nfnetlink_osf.c if (ctx->window == f->wss.val * mss || wss 142 net/netfilter/nfnetlink_osf.c ctx->window == f->wss.val * SMART_MSS_1 || wss 143 net/netfilter/nfnetlink_osf.c ctx->window == f->wss.val * SMART_MSS_2) wss 147 net/netfilter/nfnetlink_osf.c if (ctx->window == f->wss.val * (mss + 40) || wss 148 net/netfilter/nfnetlink_osf.c ctx->window == f->wss.val * (SMART_MSS_1 + 40) || wss 149 net/netfilter/nfnetlink_osf.c ctx->window == f->wss.val * (SMART_MSS_2 + 40)) wss 153 net/netfilter/nfnetlink_osf.c if ((ctx->window % f->wss.val) == 0) wss 78 sound/isa/cmi8328.c struct snd_wss *wss; wss 307 sound/isa/cmi8328.c dma2[ndev], WSS_HW_DETECT, 0, &cmi->wss); wss 311 sound/isa/cmi8328.c err = snd_wss_pcm(cmi->wss, 0); wss 315 sound/isa/cmi8328.c err = snd_wss_mixer(cmi->wss); wss 318 sound/isa/cmi8328.c err = snd_cmi8328_mixer(cmi->wss); wss 322 sound/isa/cmi8328.c if (snd_wss_timer(cmi->wss, 0) < 0) wss 368 sound/isa/cmi8328.c card->shortname, cmi->wss->port, irq[ndev], dma1[ndev], wss 438 sound/isa/cmi8328.c cmi->wss->suspend(cmi->wss); wss 453 sound/isa/cmi8328.c cmi->wss->resume(cmi->wss); wss 156 sound/isa/cmi8330.c struct snd_wss *wss; wss 305 sound/isa/cmi8330.c acard->wss)); wss 453 sound/isa/cmi8330.c chip->streams[CMI_AD_STREAM].private_data = chip->wss; wss 473 sound/isa/cmi8330.c acard->wss->suspend(acard->wss); wss 484 sound/isa/cmi8330.c acard->wss->resume(acard->wss); wss 531 sound/isa/cmi8330.c WSS_HW_DETECT, 0, &acard->wss); wss 536 sound/isa/cmi8330.c if (acard->wss->hardware != WSS_HW_CMI8330) { wss 555 sound/isa/cmi8330.c snd_wss_out(acard->wss, CS4231_MISC_INFO, 0x40); /* switch on MODE2 */ wss 557 sound/isa/cmi8330.c snd_wss_out(acard->wss, i, wss 595 sound/isa/cmi8330.c acard->wss->port, wss 115 sound/isa/cs423x/cs4236.c struct pnp_dev *wss; wss 296 sound/isa/cs423x/cs4236.c acard->wss = pdev; wss 297 sound/isa/cs423x/cs4236.c if (snd_cs423x_pnp_init_wss(dev, acard->wss) < 0) wss 310 sound/isa/cs423x/cs4236.c acard->wss = pnp_request_card_device(card, id->devs[0].id, NULL); wss 311 sound/isa/cs423x/cs4236.c if (acard->wss == NULL) wss 323 sound/isa/cs423x/cs4236.c if (snd_cs423x_pnp_init_wss(dev, acard->wss) < 0) wss 63 sound/isa/gus/gusmax.c struct snd_wss *wss; wss 105 sound/isa/gus/gusmax.c snd_wss_interrupt(irq, maxcard->wss); wss 199 sound/isa/gus/gusmax.c struct snd_wss *wss; wss 293 sound/isa/gus/gusmax.c &wss); wss 297 sound/isa/gus/gusmax.c err = snd_wss_pcm(wss, 0); wss 301 sound/isa/gus/gusmax.c err = snd_wss_mixer(wss); wss 305 sound/isa/gus/gusmax.c err = snd_wss_timer(wss, 2); wss 313 sound/isa/gus/gusmax.c err = snd_gusmax_mixer(wss); wss 330 sound/isa/gus/gusmax.c maxcard->wss = wss; wss 105 sound/isa/gus/interwave.c struct snd_wss *wss; wss 299 sound/isa/gus/interwave.c snd_wss_interrupt(irq, iwcard->wss); wss 630 sound/isa/gus/interwave.c struct snd_wss *wss; wss 678 sound/isa/gus/interwave.c &wss); wss 682 sound/isa/gus/interwave.c err = snd_wss_pcm(wss, 0); wss 686 sound/isa/gus/interwave.c sprintf(wss->pcm->name + strlen(wss->pcm->name), " rev %c", wss 688 sound/isa/gus/interwave.c strcat(wss->pcm->name, " (codec)"); wss 690 sound/isa/gus/interwave.c err = snd_wss_timer(wss, 2); wss 694 sound/isa/gus/interwave.c err = snd_wss_mixer(wss); wss 703 sound/isa/gus/interwave.c err = snd_interwave_mixer(wss); wss 752 sound/isa/gus/interwave.c iwcard->wss = wss; wss 118 sound/isa/opl3sa2.c struct snd_wss *wss; wss 308 sound/isa/opl3sa2.c snd_wss_interrupt(irq, chip->wss); wss 545 sound/isa/opl3sa2.c chip->wss->suspend(chip->wss); wss 575 sound/isa/opl3sa2.c chip->wss->resume(chip->wss); wss 639 sound/isa/opl3sa2.c struct snd_wss *wss; wss 665 sound/isa/opl3sa2.c WSS_HW_OPL3SA2, WSS_HWSHARE_IRQ, &wss); wss 670 sound/isa/opl3sa2.c chip->wss = wss; wss 671 sound/isa/opl3sa2.c err = snd_wss_pcm(wss, 0); wss 674 sound/isa/opl3sa2.c err = snd_wss_mixer(wss); wss 680 sound/isa/opl3sa2.c err = snd_wss_timer(wss, 0); wss 49 sound/isa/opti9xx/miro.c static int wss; wss 73 sound/isa/opti9xx/miro.c module_param(wss, int, 0444); wss 74 sound/isa/opti9xx/miro.c MODULE_PARM_DESC(wss, "wss mode"); wss 670 sound/isa/opti9xx/miro.c if ((aci->aci_product == 'A') && wss) { wss 671 sound/isa/opti9xx/miro.c error = aci_setvalue(aci, ACI_SET_WSS, wss); wss 980 sound/isa/opti9xx/miro.c snd_iprintf(buffer, " wss : 0x%x\n", wss); wss 99 sound/isa/wavefront/wavefront.c acard->wss = pnp_request_card_device(card, id->devs[0].id, NULL); wss 100 sound/isa/wavefront/wavefront.c if (acard->wss == NULL) wss 128 sound/isa/wavefront/wavefront.c pdev = acard->wss; wss 44 sound/soc/sunxi/sun4i-i2s.c #define SUN4I_I2S_FMT0_WSS(wss) ((wss) << 2) wss 478 sound/soc/sunxi/sun4i-i2s.c int ret, sr, wss; wss 508 sound/soc/sunxi/sun4i-i2s.c wss = i2s->variant->get_wss(i2s, slot_width); wss 509 sound/soc/sunxi/sun4i-i2s.c if (wss < 0) wss 512 sound/soc/sunxi/sun4i-i2s.c regmap_field_write(i2s->field_fmt_wss, wss);