Searched refs:set (Results 1 - 25 of 549) sorted by relevance

1234567891011>>

/drivers/s390/cio/
H A Didset.h13 void idset_free(struct idset *set);
14 void idset_clear(struct idset *set);
15 void idset_fill(struct idset *set);
18 void idset_sch_add(struct idset *set, struct subchannel_id id);
19 void idset_sch_del(struct idset *set, struct subchannel_id id);
20 void idset_sch_del_subseq(struct idset *set, struct subchannel_id schid);
21 int idset_sch_contains(struct idset *set, struct subchannel_id id);
22 int idset_sch_get_first(struct idset *set, struct subchannel_id *id);
23 int idset_is_empty(struct idset *set);
H A Didset.c25 struct idset *set; local
27 set = vmalloc(sizeof(struct idset) + bitmap_size(num_ssid, num_id));
28 if (set) {
29 set->num_ssid = num_ssid;
30 set->num_id = num_id;
31 memset(set->bitmap, 0, bitmap_size(num_ssid, num_id));
33 return set;
36 void idset_free(struct idset *set) argument
38 vfree(set);
41 void idset_clear(struct idset *set) argument
46 idset_fill(struct idset *set) argument
51 idset_add(struct idset *set, int ssid, int id) argument
56 idset_del(struct idset *set, int ssid, int id) argument
61 idset_contains(struct idset *set, int ssid, int id) argument
66 idset_get_first(struct idset *set, int *ssid, int *id) argument
83 idset_sch_add(struct idset *set, struct subchannel_id schid) argument
88 idset_sch_del(struct idset *set, struct subchannel_id schid) argument
94 idset_sch_del_subseq(struct idset *set, struct subchannel_id schid) argument
101 idset_sch_contains(struct idset *set, struct subchannel_id schid) argument
106 idset_sch_get_first(struct idset *set, struct subchannel_id *schid) argument
121 idset_is_empty(struct idset *set) argument
[all...]
/drivers/media/pci/bt8xx/
H A Dbttv-audio-hook.h12 void lt9415_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set);
13 void avermedia_tvphone_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set);
14 void avermedia_tv_stereo_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set);
15 void terratv_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set);
16 void gvbctv3pci_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set);
17 void gvbctv5pci_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set);
18 void winfast2000_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set);
19 void pvbt878p9b_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set);
20 void fv2000s_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set);
21 void windvr_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set);
[all...]
H A Dbttv-audio-hook.c55 void gvbctv3pci_audio(struct bttv *btv, struct v4l2_tuner *t, int set) argument
59 if (set) {
76 void gvbctv5pci_audio(struct bttv *btv, struct v4l2_tuner *t, int set) argument
84 if (set) {
136 * input/output sound connection, so both must be set for output mode.
143 void avermedia_tvphone_audio(struct bttv *btv, struct v4l2_tuner *t, int set) argument
147 if (set) {
165 void avermedia_tv_stereo_audio(struct bttv *btv, struct v4l2_tuner *t, int set) argument
169 if (set) {
186 void lt9415_audio(struct bttv *btv, struct v4l2_tuner *t, int set) argument
215 terratv_audio(struct bttv *btv, struct v4l2_tuner *t, int set) argument
235 winfast2000_audio(struct bttv *btv, struct v4l2_tuner *t, int set) argument
268 pvbt878p9b_audio(struct bttv *btv, struct v4l2_tuner *t, int set) argument
299 fv2000s_audio(struct bttv *btv, struct v4l2_tuner *t, int set) argument
329 windvr_audio(struct bttv *btv, struct v4l2_tuner *t, int set) argument
357 adtvk503_audio(struct bttv *btv, struct v4l2_tuner *t, int set) argument
[all...]
/drivers/net/wireless/ath/ath9k/
H A Dar9003_wow.c43 /* set rx disable bit */
67 /* set the transmit buffer */
112 u32 set, clr; local
120 /* set the registers for pattern */
128 /* set the registers for mask */
135 /* set the pattern length to be matched
159 set = (pattern_len & AR_WOW_LENGTH_MAX) <<
162 REG_RMW(ah, AR_WOW_LENGTH1, set, clr);
165 set = (pattern_len & AR_WOW_LENGTH_MAX) <<
168 REG_RMW(ah, AR_WOW_LENGTH2, set, cl
245 u32 set, clr; local
[all...]
/drivers/staging/lustre/lustre/lov/
H A Dlov_request.c45 static void lov_init_set(struct lov_request_set *set) argument
47 set->set_count = 0;
48 atomic_set(&set->set_completes, 0);
49 atomic_set(&set->set_success, 0);
50 atomic_set(&set->set_finish_checked, 0);
51 set->set_cookies = NULL;
52 INIT_LIST_HEAD(&set->set_list);
53 atomic_set(&set->set_refcount, 1);
54 init_waitqueue_head(&set->set_waitq);
55 spin_lock_init(&set
58 lov_finish_set(struct lov_request_set *set) argument
89 lov_set_finished(struct lov_request_set *set, int idempotent) argument
104 lov_update_set(struct lov_request_set *set, struct lov_request *req, int rc) argument
117 lov_update_common_set(struct lov_request_set *set, struct lov_request *req, int rc) argument
133 lov_set_add_req(struct lov_request *req, struct lov_request_set *set) argument
202 common_attr_done(struct lov_request_set *set) argument
256 lov_fini_getattr_set(struct lov_request_set *set) argument
285 struct lov_request_set *set; local
346 lov_fini_destroy_set(struct lov_request_set *set) argument
365 struct lov_request_set *set; local
422 lov_fini_setattr_set(struct lov_request_set *set) argument
438 lov_update_setattr_set(struct lov_request_set *set, struct lov_request *req, int rc) argument
481 struct lov_request_set *set; local
581 lov_fini_statfs_set(struct lov_request_set *set) argument
657 struct lov_request_set *set; local
706 struct lov_request_set *set; local
[all...]
H A Dlov_internal.h124 void lov_finish_set(struct lov_request_set *set);
126 static inline void lov_get_reqset(struct lov_request_set *set) argument
128 LASSERT(set != NULL);
129 LASSERT(atomic_read(&set->set_refcount) > 0);
130 atomic_inc(&set->set_refcount);
133 static inline void lov_put_reqset(struct lov_request_set *set) argument
135 if (atomic_dec_and_test(&set->set_refcount))
136 lov_finish_set(set);
170 struct lov_stripe_md *lsm, int stripeno, int *set);
193 void qos_shrink_lsm(struct lov_request_set *set);
[all...]
/drivers/pwm/
H A Dpwm-tipwmss.h31 extern u16 pwmss_submodule_state_change(struct device *dev, int set);
33 static inline u16 pwmss_submodule_state_change(struct device *dev, int set) argument
/drivers/staging/lustre/lustre/libcfs/
H A Dfail.c50 int __cfs_fail_check_set(__u32 id, __u32 value, int set) argument
75 if (set == CFS_FAIL_LOC_VALUE) {
94 if ((set == CFS_FAIL_LOC_ORSET || set == CFS_FAIL_LOC_RESET) &&
97 /* Lost race to set CFS_FAILED_BIT. */
105 switch (set) {
116 LASSERTF(0, "called with bad set %u\n", set);
124 int __cfs_fail_timeout_set(__u32 id, __u32 value, int ms, int set) argument
128 ret = __cfs_fail_check_set(id, value, set);
[all...]
/drivers/watchdog/
H A Docteon-wdt-nmi.S14 .set push
15 .set noreorder
16 .set noat
63 .set pop
/drivers/gpu/drm/
H A Ddrm_crtc_helper.c225 * drm_crtc_helper_set_mode - internal helper to set a mode
232 * Try to set @mode on @crtc. Give @crtc and its associated connectors a chance
233 * to fixup or reject the mode prior to trying to set it. This is an internal
242 * True if the mode was set successfully, false otherwise.
347 DRM_DEBUG_KMS("[ENCODER:%d:%s] set [MODE:%d:%s]\n",
358 /* Now enable the clocks, plane, pipe, and connectors that we set up. */
431 * drm_crtc_helper_set_config - set a new config from userspace
432 * @set: mode set configuration
435 * from userspace or internally e.g. from the fbdev support code) in @set, an
443 drm_crtc_helper_set_config(struct drm_mode_set *set) argument
[all...]
/drivers/net/wireless/brcm80211/brcmfmac/
H A Dvendor.h51 * @set: get or set request(optional)
58 uint set; member in struct:brcmf_vndr_dcmd_hdr
/drivers/staging/lustre/include/linux/libcfs/
H A Dlibcfs_fail.h45 int __cfs_fail_check_set(__u32 id, __u32 value, int set);
46 int __cfs_fail_timeout_set(__u32 id, __u32 value, int ms, int set);
78 int set, int quiet)
83 (ret = __cfs_fail_check_set(id, value, set)))) {
123 static inline int cfs_fail_timeout_set(__u32 id, __u32 value, int ms, int set) argument
126 return __cfs_fail_timeout_set(id, value, ms, set);
77 cfs_fail_check_set(__u32 id, __u32 value, int set, int quiet) argument
/drivers/staging/lustre/lustre/ptlrpc/
H A Dptlrpcd.c41 * ptlrpcd is a special thread with its own set where other user might add
143 * Move all request from an existing request set to the ptlrpcd queue.
144 * All requests from the set must be in phase RQ_PHASE_NEW.
146 void ptlrpcd_add_rqset(struct ptlrpc_request_set *set) argument
156 list_for_each_safe(pos, tmp, &set->set_requests) {
167 list_splice_init(&set->set_requests, &new->set_new_requests);
168 i = atomic_read(&set->set_remaining);
170 atomic_set(&set->set_remaining, 0);
254 static inline void ptlrpc_reqset_get(struct ptlrpc_request_set *set) argument
256 atomic_inc(&set
267 struct ptlrpc_request_set *set = pc->pc_set; local
381 struct ptlrpc_request_set *set = pc->pc_set; local
655 struct ptlrpc_request_set *set = pc->pc_set; local
684 struct ptlrpc_request_set *set = pc->pc_set; local
[all...]
H A Dclient.c842 * Allocate and initialize new request set structure.
843 * Returns a pointer to the newly allocated set structure or NULL on error.
847 struct ptlrpc_request_set *set; local
849 OBD_ALLOC(set, sizeof(*set));
850 if (!set)
852 atomic_set(&set->set_refcount, 1);
853 INIT_LIST_HEAD(&set->set_requests);
854 init_waitqueue_head(&set->set_waitq);
855 atomic_set(&set
881 struct ptlrpc_request_set *set; local
903 ptlrpc_set_destroy(struct ptlrpc_request_set *set) argument
958 ptlrpc_set_add_cb(struct ptlrpc_request_set *set, set_interpreter_func fn, void *data) argument
979 ptlrpc_set_add_req(struct ptlrpc_request_set *set, struct ptlrpc_request *req) argument
1008 struct ptlrpc_request_set *set = pc->pc_set; local
1471 ptlrpc_set_producer(struct ptlrpc_request_set *set) argument
1502 ptlrpc_check_set(const struct lu_env *env, struct ptlrpc_request_set *set) argument
1954 struct ptlrpc_request_set *set = data; local
2013 struct ptlrpc_request_set *set = data; local
2036 ptlrpc_set_next_timeout(struct ptlrpc_request_set *set) argument
2089 ptlrpc_set_wait(struct ptlrpc_request_set *set) argument
2656 struct ptlrpc_request_set *set; local
2885 ptlrpc_abort_set(struct ptlrpc_request_set *set) argument
[all...]
/drivers/gpu/drm/nouveau/core/subdev/therm/
H A Dfannil.c52 priv->set = nouveau_fannil_set;
/drivers/staging/unisys/uislib/
H A Duisqueue.c38 unsigned long long set)
46 j = cmpxchg((__force unsigned long long *)tgt, i, i | set);
56 unsigned long long set)
64 j = cmpxchg((__force unsigned long long *)tgt, i, i & set);
37 uisqueue_interlocked_or(unsigned long long __iomem *tgt, unsigned long long set) argument
55 uisqueue_interlocked_and(unsigned long long __iomem *tgt, unsigned long long set) argument
/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_scrn.c251 static int vmw_sou_crtc_set_config(struct drm_mode_set *set) argument
263 if (!set)
266 if (!set->crtc)
270 crtc = set->crtc;
272 vfb = set->fb ? vmw_framebuffer_to_vfb(set->fb) : NULL;
275 if (set->num_connectors > 1) {
280 if (set->num_connectors == 1 &&
281 set->connectors[0] != &sou->base.connector) {
283 set
[all...]
H A Dvmwgfx_ldu.c83 * that the guest will set the same layout as the host.
209 static int vmw_ldu_crtc_set_config(struct drm_mode_set *set) argument
220 if (!set)
223 if (!set->crtc)
227 crtc = set->crtc;
229 vfb = set->fb ? vmw_framebuffer_to_vfb(set->fb) : NULL;
232 if (set->num_connectors > 1) {
237 if (set->num_connectors == 1 &&
238 set
[all...]
/drivers/video/fbdev/mbx/
H A Dmbxfb.c334 static int mbxfb_setupOverlay(struct mbxfb_overlaySetup *set) argument
341 if (set->scaled_width==0 || set->scaled_height==0)
361 vsctrl |= Vsctrl_Width(set->width) | Vsctrl_Height(set->height) |
368 switch (set->fmt) {
372 set->Y_stride = ((set->width) + 0xf ) & ~0xf;
377 set->Y_stride = ((set
[all...]
/drivers/video/console/
H A Dnewport_con.c75 npregs->set.wrmask = 0xffffffff;
76 npregs->set.drawmode0 = (NPORT_DMODE0_DRAW | NPORT_DMODE0_BLOCK |
79 npregs->set.colori = ci;
80 npregs->set.xystarti =
120 npregs->set.drawmode0 = (NPORT_DMODE0_DRAW | NPORT_DMODE0_BLOCK |
123 npregs->set.xystarti = ((newport_xsize - logo->width) << 16) | (0);
124 npregs->set.xyendi = ((newport_xsize - 1) << 16);
141 npregs->set.wrmask = 0xffffffff;
142 npregs->set.drawmode0 = (NPORT_DMODE0_DRAW | NPORT_DMODE0_BLOCK |
145 npregs->set
[all...]
/drivers/md/bcache/
H A Dalloc.c52 * out of a cache set.
78 ca->set->need_gc = max(ca->set->need_gc, bucket_gc_gen(b));
79 WARN_ON_ONCE(ca->set->need_gc > BUCKET_GC_GEN_MAX);
131 BUG_ON(!ca->set->gc_mark_valid);
141 lockdep_assert_held(&ca->set->bucket_lock);
170 unsigned min_prio = (INITIAL_PRIO - ca->set->min_prio) / 8; \
172 (b->prio - ca->set->min_prio + min_prio) * GC_SECTORS_USED(b); \
207 wake_up_gc(ca->set);
232 wake_up_gc(ca->set);
[all...]
/drivers/clocksource/
H A Dtime-armada-370-xp.c88 static void local_timer_ctrl_clrset(u32 clr, u32 set) argument
90 writel((readl(local_base + TIMER_CTRL_OFF) & ~clr) | set,
172 u32 clr = 0, set = 0; local
176 set = TIMER0_25MHZ;
179 local_timer_ctrl_clrset(clr, set);
228 u32 clr = 0, set = 0; local
236 set = TIMER0_25MHZ;
242 atomic_io_modify(timer_base + TIMER_CTRL_OFF, clr | set, set);
243 local_timer_ctrl_clrset(clr, set);
[all...]
/drivers/net/irda/
H A Dw83977af_ir.c411 __u8 set; local
419 set = inb(iobase+SSR);
457 /* set FIFO size to 32 */
461 /* set FIFO threshold to TX17, RX16 */
478 outb(set, iobase+SSR);
493 __u8 set; local
518 /* Save current set */
519 set = inb(iobase+SSR);
547 /* Restore set register */
548 outb(set, iobas
561 __u8 set; local
595 __u8 set; local
637 __u8 set; local
688 __u8 set; local
763 __u8 set; local
907 __u8 set; local
976 __u8 set; local
1056 __u8 set, icr, isr; local
1095 __u8 set; local
1127 __u8 set; local
1190 __u8 set; local
[all...]
/drivers/gpio/
H A Dgpio-generic.c27 * . register the device with -be`. .with a pair of set/clear-bit registers ,
201 gc->set(gc, gpio, val);
226 gc->set(gc, gpio, val);
258 gc->set(gc, gpio, val);
326 * - set/clear pair (named "set" and "clr").
327 * - single output register resource and single input resource ("set" and
331 * by clearing a bit. For the set clr pair, this drives a 1 by setting a bit
332 * in the set register and clears it by setting a bit in the clear register.
345 void __iomem *set,
343 bgpio_setup_io(struct bgpio_chip *bgc, void __iomem *dat, void __iomem *set, void __iomem *clr) argument
406 bgpio_init(struct bgpio_chip *bgc, struct device *dev, unsigned long sz, void __iomem *dat, void __iomem *set, void __iomem *clr, void __iomem *dirout, void __iomem *dirin, unsigned long flags) argument
496 void __iomem *set; local
[all...]

Completed in 539 milliseconds

1234567891011>>