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

1234567891011>>

/drivers/s390/cio/
H A Didset.c26 struct idset *set; local
28 set = vmalloc(sizeof(struct idset) + bitmap_size(num_ssid, num_id));
29 if (set) {
30 set->num_ssid = num_ssid;
31 set->num_id = num_id;
32 memset(set->bitmap, 0, bitmap_size(num_ssid, num_id));
34 return set;
37 void idset_free(struct idset *set) argument
39 vfree(set);
42 void idset_clear(struct idset *set) argument
47 idset_fill(struct idset *set) argument
52 idset_add(struct idset *set, int ssid, int id) argument
57 idset_del(struct idset *set, int ssid, int id) argument
62 idset_contains(struct idset *set, int ssid, int id) argument
67 idset_get_first(struct idset *set, int *ssid, int *id) argument
84 idset_sch_add(struct idset *set, struct subchannel_id schid) argument
89 idset_sch_del(struct idset *set, struct subchannel_id schid) argument
94 idset_sch_contains(struct idset *set, struct subchannel_id schid) argument
99 idset_sch_get_first(struct idset *set, struct subchannel_id *schid) argument
114 idset_is_empty(struct idset *set) argument
[all...]
H A Didset.h15 void idset_free(struct idset *set);
16 void idset_clear(struct idset *set);
17 void idset_fill(struct idset *set);
20 void idset_sch_add(struct idset *set, struct subchannel_id id);
21 void idset_sch_del(struct idset *set, struct subchannel_id id);
22 int idset_sch_contains(struct idset *set, struct subchannel_id id);
23 int idset_sch_get_first(struct idset *set, struct subchannel_id *id);
24 int idset_is_empty(struct idset *set);
/drivers/media/video/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...]
H A Dbttv-risc.c648 struct bttv_buffer_set *set)
651 if (NULL != set->top && NULL != set->bottom) {
652 if (set->top == set->bottom) {
653 set->top->vb.state = VIDEOBUF_ACTIVE;
654 if (set->top->vb.queue.next)
655 list_del(&set->top->vb.queue);
657 set->top->vb.state = VIDEOBUF_ACTIVE;
658 set
647 bttv_buffer_activate_video(struct bttv *btv, struct bttv_buffer_set *set) argument
[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.c66 * drm_helper_probe_single_connector_modes - get complete set of display modes
99 /* set all modes to the unverified state */
328 * drm_crtc_set_mode - set a mode
337 * Try to set @mode on @crtc. Give @crtc and its associated connectors a chance
338 * to fixup or reject the mode prior to trying to set it.
341 * True if the mode was set successfully, or false otherwise.
424 DRM_DEBUG_KMS("[ENCODER:%d:%s] set [MODE:%d:%s]\n",
431 /* Now enable the clocks, plane, pipe, and connectors that we set up. */
493 * drm_crtc_helper_set_config - set a new config from userspace
496 * @new_mode: new mode to set
509 drm_crtc_helper_set_config(struct drm_mode_set *set) argument
[all...]
/drivers/net/wireless/brcm80211/brcmsmac/
H A Dbrcms_trace_events.h52 __field(uint, set)
57 __entry->set = t->set;
61 "ms=%u set=%u periodic=%u",
62 __entry->ms, __entry->set, __entry->periodic
/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/mbx/
H A Dmbxfb.c335 static int mbxfb_setupOverlay(struct mbxfb_overlaySetup *set) argument
342 if (set->scaled_width==0 || set->scaled_height==0)
362 vsctrl |= Vsctrl_Width(set->width) | Vsctrl_Height(set->height) |
369 switch (set->fmt) {
373 set->Y_stride = ((set->width) + 0xf ) & ~0xf;
378 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/net/irda/
H A Dw83977af_ir.c418 __u8 set; local
426 set = inb(iobase+SSR);
464 /* set FIFO size to 32 */
468 /* set FIFO threshold to TX17, RX16 */
485 outb(set, iobase+SSR);
500 __u8 set; local
525 /* Save current set */
526 set = inb(iobase+SSR);
554 /* Restore set register */
555 outb(set, iobas
568 __u8 set; local
623 __u8 set; local
665 __u8 set; local
716 __u8 set; local
791 __u8 set; local
935 __u8 set; local
1004 __u8 set; local
1084 __u8 set, icr, isr; local
1123 __u8 set; local
1155 __u8 set; local
1218 __u8 set; local
[all...]
/drivers/gpio/
H A Dgpio-generic.c27 * . register the device with -be`. .with a pair of set/clear-bit registers ,
181 gc->set(gc, gpio, val);
206 gc->set(gc, gpio, val);
238 gc->set(gc, gpio, val);
289 * - set/clear pair (named "set" and "clr").
290 * - single output register resource and single input resource ("set" and
294 * by clearing a bit. For the set clr pair, this drives a 1 by setting a bit
295 * in the set register and clears it by setting a bit in the clear register.
308 void __iomem *set,
306 bgpio_setup_io(struct bgpio_chip *bgc, void __iomem *dat, void __iomem *set, void __iomem *clr) argument
364 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, bool big_endian) argument
447 void __iomem *set; local
[all...]
H A Dgpio-ge.c127 gef_gpio_chip->gc.set = gef_gpio_set;
155 gef_gpio_chip->gc.set = gef_gpio_set;
183 gef_gpio_chip->gc.set = gef_gpio_set;
/drivers/pnp/
H A Dquirks.c33 dev_err(&dev->dev, "couldn't add ioport region to option set "
43 dev_info(&dev->dev, "added ioport region %#llx-%#llx to set %d\n",
52 unsigned int set = ~0; local
56 * one given) to every dependent option set.
60 pnp_option_set(option) != set) {
61 set = pnp_option_set(option);
84 dev_info(&dev->dev, "set possible IRQs in "
85 "option set %d to 5, 7, 10\n",
93 "DMA channel mask in option set %d "
138 unsigned int set)
137 pnp_clone_dependent_set(struct pnp_dev *dev, unsigned int set) argument
182 unsigned int num_sets, i, set; local
[all...]
/drivers/atm/
H A DuPD98402.c62 const char *set; local
67 set = sonet;
70 set = sdh;
76 PUT(set[0],C11T);
77 PUT(set[1],C12T);
78 PUT(set[2],C13T);
79 PUT((GET(MDR) & ~uPD98402_MDR_SS_MASK) | (set[3] <<
H A Dsuni.c109 if (set) PUT(GET(reg) | bit,reg); \
115 static int change_diag(struct atm_dev *dev,void __user *arg,int set) argument
137 int set; local
139 set = 0;
140 if (GET(TSOP_DIAG) & SUNI_TSOP_DIAG_DBIP8) set |= SONET_INS_SBIP;
141 if (GET(TLOP_DIAG) & SUNI_TLOP_DIAG_DBIP) set |= SONET_INS_LBIP;
142 if (GET(TPOP_CD) & SUNI_TPOP_DIAG_DB3) set |= SONET_INS_PBIP;
144 if (GET(TSOP_CTRL) & SUNI_TSOP_CTRL_LAIS) set |= SONET_INS_LAIS;
145 if (GET(TPOP_CD) & SUNI_TPOP_DIAG_PAIS) set |= SONET_INS_PAIS;
146 if (GET(TSOP_DIAG) & SUNI_TSOP_DIAG_DLOS) set |
[all...]
/drivers/mtd/nand/
H A Ds3c2410.c81 * @set: The platform information supplied for this set of NAND chips.
88 struct s3c2410_nand_set *set; member in struct:s3c2410_nand_mtd
178 * @new_state: State to which clock should be set.
236 * Given the information supplied by the platform, calculate and set
246 unsigned long uninitialized_var(set), cfg, uninitialized_var(mask);
278 set = S3C2410_NFCONF_EN;
279 set |= S3C2410_NFCONF_TACLS(tacls - 1);
280 set |= S3C2410_NFCONF_TWRPH0(twrph0 - 1);
281 set |
747 s3c2410_nand_add_partition(struct s3c2410_nand_info *info, struct s3c2410_nand_mtd *mtd, struct s3c2410_nand_set *set) argument
768 s3c2410_nand_init_chip(struct s3c2410_nand_info *info, struct s3c2410_nand_mtd *nmtd, struct s3c2410_nand_set *set) argument
[all...]
/drivers/bcma/
H A Ddriver_chipcommon_pmu.c31 u32 set)
35 bcma_cc_maskset32(cc, BCMA_CC_PLLCTL_DATA, mask, set);
40 u32 offset, u32 mask, u32 set)
44 bcma_cc_maskset32(cc, BCMA_CC_CHIPCTL_DATA, mask, set);
49 u32 set)
53 bcma_cc_maskset32(cc, BCMA_CC_REGCTL_DATA, mask, set);
30 bcma_chipco_pll_maskset(struct bcma_drv_cc *cc, u32 offset, u32 mask, u32 set) argument
39 bcma_chipco_chipctl_maskset(struct bcma_drv_cc *cc, u32 offset, u32 mask, u32 set) argument
48 bcma_chipco_regctl_maskset(struct bcma_drv_cc *cc, u32 offset, u32 mask, u32 set) argument
/drivers/net/wireless/b43/
H A Dphy_common.c231 void b43_radio_set(struct b43_wldev *dev, u16 offset, u16 set) argument
234 b43_radio_read16(dev, offset) | set);
237 void b43_radio_maskset(struct b43_wldev *dev, u16 offset, u16 mask, u16 set) argument
240 (b43_radio_read16(dev, offset) & mask) | set);
278 void b43_phy_set(struct b43_wldev *dev, u16 offset, u16 set) argument
282 dev->phy.ops->phy_maskset(dev, offset, 0xFFFF, set);
285 b43_phy_read(dev, offset) | set);
289 void b43_phy_maskset(struct b43_wldev *dev, u16 offset, u16 mask, u16 set) argument
293 dev->phy.ops->phy_maskset(dev, offset, mask, set);
296 (b43_phy_read(dev, offset) & mask) | set);
[all...]
H A Dphy_common.h169 void (*phy_maskset)(struct b43_wldev *dev, u16 reg, u16 mask, u16 set);
256 * This is set by the user and adjusted in b43_phy_xmitpower(). */
333 void b43_phy_set(struct b43_wldev *dev, u16 offset, u16 set);
338 void b43_phy_maskset(struct b43_wldev *dev, u16 offset, u16 mask, u16 set);
360 void b43_radio_set(struct b43_wldev *dev, u16 offset, u16 set);
365 void b43_radio_maskset(struct b43_wldev *dev, u16 offset, u16 mask, u16 set);
/drivers/net/fddi/skfp/
H A Dpmf.c40 int local, int set);
44 int set, int local);
123 * only accessible locally to get/set passwd
212 * only accessible locally to get/set TMIN
312 int set, int local)
347 pcon.pc_badset = 0 ; /* no bad set count */
351 * check authoriziation and set count
354 if (set) {
366 /* update 1035 and 1036 later if set */
390 if (!set
311 smt_build_pmf_response(struct s_smc *smc, struct smt_header *req, int set, int local) argument
1075 smt_set_para(struct s_smc *smc, struct smt_para *pa, int index, int local, int set) argument
[all...]
/drivers/power/
H A Dtest_power.c356 .set = param_set_ac_online,
361 .set = param_set_battery_status,
366 .set = param_set_battery_present,
371 .set = param_set_battery_technology,
376 .set = param_set_battery_health,
381 .set = param_set_battery_capacity,
/drivers/net/wireless/ath/ath5k/
H A Dsysfs.c7 #define SIMPLE_SHOW_STORE(name, get, set) \
28 set(ah, val); \

Completed in 593 milliseconds

1234567891011>>