/drivers/s390/cio/ |
H A D | idset.c | 26 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 D | idset.h | 15 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 D | bttv-audio-hook.h | 12 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 D | bttv-audio-hook.c | 55 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 D | bttv-risc.c | 648 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 D | octeon-wdt-nmi.S | 14 .set push 15 .set noreorder 16 .set noat 63 .set pop
|
/drivers/gpu/drm/ |
H A D | drm_crtc_helper.c | 66 * 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 D | brcms_trace_events.h | 52 __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 D | vmwgfx_scrn.c | 251 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 D | vmwgfx_ldu.c | 83 * 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 D | mbxfb.c | 335 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 D | newport_con.c | 75 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 D | w83977af_ir.c | 418 __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 D | gpio-generic.c | 27 * . 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 D | gpio-ge.c | 127 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 D | quirks.c | 33 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 D | uPD98402.c | 62 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 D | suni.c | 109 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 D | s3c2410.c | 81 * @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 D | driver_chipcommon_pmu.c | 31 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 D | phy_common.c | 231 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 D | phy_common.h | 169 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 D | pmf.c | 40 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 D | test_power.c | 356 .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 D | sysfs.c | 7 #define SIMPLE_SHOW_STORE(name, get, set) \ 28 set(ah, val); \
|