mode2 176 drivers/ata/pata_bk3710.c u8 mode2 = pair->pio_mode - XFER_PIO_0; mode2 178 drivers/ata/pata_bk3710.c if (mode2 < mode) mode2 179 drivers/ata/pata_bk3710.c mode = mode2; mode2 951 drivers/gpu/drm/drm_modes.c const struct drm_display_mode *mode2) mode2 953 drivers/gpu/drm/drm_modes.c return mode1->hdisplay == mode2->hdisplay && mode2 954 drivers/gpu/drm/drm_modes.c mode1->hsync_start == mode2->hsync_start && mode2 955 drivers/gpu/drm/drm_modes.c mode1->hsync_end == mode2->hsync_end && mode2 956 drivers/gpu/drm/drm_modes.c mode1->htotal == mode2->htotal && mode2 957 drivers/gpu/drm/drm_modes.c mode1->hskew == mode2->hskew && mode2 958 drivers/gpu/drm/drm_modes.c mode1->vdisplay == mode2->vdisplay && mode2 959 drivers/gpu/drm/drm_modes.c mode1->vsync_start == mode2->vsync_start && mode2 960 drivers/gpu/drm/drm_modes.c mode1->vsync_end == mode2->vsync_end && mode2 961 drivers/gpu/drm/drm_modes.c mode1->vtotal == mode2->vtotal && mode2 962 drivers/gpu/drm/drm_modes.c mode1->vscan == mode2->vscan; mode2 966 drivers/gpu/drm/drm_modes.c const struct drm_display_mode *mode2) mode2 972 drivers/gpu/drm/drm_modes.c if (mode1->clock && mode2->clock) mode2 973 drivers/gpu/drm/drm_modes.c return KHZ2PICOS(mode1->clock) == KHZ2PICOS(mode2->clock); mode2 975 drivers/gpu/drm/drm_modes.c return mode1->clock == mode2->clock; mode2 979 drivers/gpu/drm/drm_modes.c const struct drm_display_mode *mode2) mode2 982 drivers/gpu/drm/drm_modes.c (mode2->flags & ~DRM_MODE_FLAG_3D_MASK); mode2 986 drivers/gpu/drm/drm_modes.c const struct drm_display_mode *mode2) mode2 989 drivers/gpu/drm/drm_modes.c (mode2->flags & DRM_MODE_FLAG_3D_MASK); mode2 993 drivers/gpu/drm/drm_modes.c const struct drm_display_mode *mode2) mode2 995 drivers/gpu/drm/drm_modes.c return mode1->picture_aspect_ratio == mode2->picture_aspect_ratio; mode2 1010 drivers/gpu/drm/drm_modes.c const struct drm_display_mode *mode2, mode2 1013 drivers/gpu/drm/drm_modes.c if (!mode1 && !mode2) mode2 1016 drivers/gpu/drm/drm_modes.c if (!mode1 || !mode2) mode2 1020 drivers/gpu/drm/drm_modes.c !drm_mode_match_timings(mode1, mode2)) mode2 1024 drivers/gpu/drm/drm_modes.c !drm_mode_match_clock(mode1, mode2)) mode2 1028 drivers/gpu/drm/drm_modes.c !drm_mode_match_flags(mode1, mode2)) mode2 1032 drivers/gpu/drm/drm_modes.c !drm_mode_match_3d_flags(mode1, mode2)) mode2 1036 drivers/gpu/drm/drm_modes.c !drm_mode_match_aspect_ratio(mode1, mode2)) mode2 1054 drivers/gpu/drm/drm_modes.c const struct drm_display_mode *mode2) mode2 1056 drivers/gpu/drm/drm_modes.c return drm_mode_match(mode1, mode2, mode2 1077 drivers/gpu/drm/drm_modes.c const struct drm_display_mode *mode2) mode2 1079 drivers/gpu/drm/drm_modes.c return drm_mode_match(mode1, mode2, mode2 1098 drivers/gpu/drm/drm_modes.c const struct drm_display_mode *mode2) mode2 1100 drivers/gpu/drm/drm_modes.c return drm_mode_match(mode1, mode2, mode2 3215 drivers/gpu/drm/radeon/r100.c struct drm_display_mode *mode2 = NULL; mode2 3239 drivers/gpu/drm/radeon/r100.c mode2 = &rdev->mode_info.crtcs[1]->base.mode; mode2 3251 drivers/gpu/drm/radeon/r100.c if (mode2) mode2 3278 drivers/gpu/drm/radeon/r100.c if (mode2) { mode2 3280 drivers/gpu/drm/radeon/r100.c pix_clk2.full = dfixed_const(mode2->clock); /* convert to fixed point */ mode2 3500 drivers/gpu/drm/radeon/r100.c if (critical_point == 0 && mode2 && rdev->family == CHIP_R300) { mode2 3548 drivers/gpu/drm/radeon/r100.c if (mode2) { mode2 3550 drivers/gpu/drm/radeon/r100.c stop_req = mode2->hdisplay * pixel_bytes2 / 16; mode2 3647 drivers/gpu/drm/radeon/r100.c if (mode2) mode2 3648 drivers/gpu/drm/radeon/r100.c rdev->mode_info.crtcs[1]->lb_vblank_lead_lines = DIV_ROUND_UP(lb_size, mode2->crtc_hdisplay); mode2 271 drivers/gpu/drm/radeon/radeon_asic.h struct drm_display_mode *mode2); mode2 207 drivers/gpu/drm/radeon/rs690.c struct drm_display_mode *mode2) mode2 231 drivers/gpu/drm/radeon/rs690.c if (mode1 && mode2) { mode2 232 drivers/gpu/drm/radeon/rs690.c if (mode1->hdisplay > mode2->hdisplay) { mode2 237 drivers/gpu/drm/radeon/rs690.c } else if (mode2->hdisplay > mode1->hdisplay) { mode2 238 drivers/gpu/drm/radeon/rs690.c if (mode2->hdisplay > 2560) mode2 246 drivers/gpu/drm/radeon/rs690.c } else if (mode2) { mode2 255 drivers/gpu/drm/radeon/rs690.c if (mode2) mode2 256 drivers/gpu/drm/radeon/rs690.c rdev->mode_info.crtcs[1]->lb_vblank_lead_lines = DIV_ROUND_UP(lb_size, mode2->crtc_hdisplay); mode2 156 drivers/ide/palm_bk3710.c u8 mode2 = mate->pio_mode - XFER_PIO_0; mode2 158 drivers/ide/palm_bk3710.c if (mode2 < mode) mode2 159 drivers/ide/palm_bk3710.c mode = mode2; mode2 159 drivers/leds/leds-pca963x.c u8 mode2 = i2c_smbus_read_byte_data(pca963x->chip->client, mode2 170 drivers/leds/leds-pca963x.c if (!(mode2 & PCA963X_MODE2_DMBLNK)) mode2 172 drivers/leds/leds-pca963x.c mode2 | PCA963X_MODE2_DMBLNK); mode2 439 drivers/leds/leds-pca963x.c u8 mode2 = i2c_smbus_read_byte_data(pca963x->chip->client, mode2 443 drivers/leds/leds-pca963x.c mode2 &= ~PCA963X_MODE2_OUTDRV; mode2 445 drivers/leds/leds-pca963x.c mode2 |= PCA963X_MODE2_OUTDRV; mode2 448 drivers/leds/leds-pca963x.c mode2 |= PCA963X_MODE2_INVRT; mode2 450 drivers/leds/leds-pca963x.c mode2); mode2 143 drivers/media/i2c/mt9p031.c u16 mode2; mode2 179 drivers/media/i2c/mt9p031.c u16 value = (mt9p031->mode2 & ~clear) | set; mode2 186 drivers/media/i2c/mt9p031.c mt9p031->mode2 = value; mode2 1056 drivers/media/i2c/mt9p031.c mt9p031->mode2 = MT9P031_READ_MODE_2_ROW_BLC; mode2 1045 drivers/media/usb/gspca/gspca.c int w, h, mode, mode2; mode2 1061 drivers/media/usb/gspca/gspca.c mode2 = gspca_get_mode(gspca_dev, mode, mode2 1063 drivers/media/usb/gspca/gspca.c if (mode2 >= 0) mode2 1064 drivers/media/usb/gspca/gspca.c mode = mode2; mode2 116 drivers/mfd/ssbi.c u32 mode2 = ssbi_readl(ssbi, SSBI2_MODE2); mode2 117 drivers/mfd/ssbi.c mode2 = SET_SSBI_MODE2_REG_ADDR_15_8(mode2, addr); mode2 118 drivers/mfd/ssbi.c ssbi_writel(ssbi, mode2, SSBI2_MODE2); mode2 144 drivers/mfd/ssbi.c u32 mode2 = ssbi_readl(ssbi, SSBI2_MODE2); mode2 145 drivers/mfd/ssbi.c mode2 = SET_SSBI_MODE2_REG_ADDR_15_8(mode2, addr); mode2 146 drivers/mfd/ssbi.c ssbi_writel(ssbi, mode2, SSBI2_MODE2); mode2 450 drivers/pwm/pwm-pca9685.c int mode2; mode2 468 drivers/pwm/pwm-pca9685.c regmap_read(pca->regmap, PCA9685_MODE2, &mode2); mode2 471 drivers/pwm/pwm-pca9685.c mode2 |= MODE2_INVRT; mode2 473 drivers/pwm/pwm-pca9685.c mode2 &= ~MODE2_INVRT; mode2 476 drivers/pwm/pwm-pca9685.c mode2 &= ~MODE2_OUTDRV; mode2 478 drivers/pwm/pwm-pca9685.c mode2 |= MODE2_OUTDRV; mode2 480 drivers/pwm/pwm-pca9685.c regmap_write(pca->regmap, PCA9685_MODE2, mode2); mode2 86 drivers/staging/comedi/drivers/addi_apci_1032.c unsigned int mode2; /* falling-edge/low level channels */ mode2 121 drivers/staging/comedi/drivers/addi_apci_1032.c devpriv->mode2 = 0; mode2 132 drivers/staging/comedi/drivers/addi_apci_1032.c devpriv->mode2 = 0; mode2 136 drivers/staging/comedi/drivers/addi_apci_1032.c devpriv->mode2 &= oldmask; mode2 140 drivers/staging/comedi/drivers/addi_apci_1032.c devpriv->mode2 |= data[5] << shift; mode2 150 drivers/staging/comedi/drivers/addi_apci_1032.c devpriv->mode2 = 0; mode2 154 drivers/staging/comedi/drivers/addi_apci_1032.c devpriv->mode2 &= oldmask; mode2 158 drivers/staging/comedi/drivers/addi_apci_1032.c devpriv->mode2 |= data[5] << shift; mode2 237 drivers/staging/comedi/drivers/addi_apci_1032.c outl(devpriv->mode2, dev->iobase + APCI1032_MODE2_REG); mode2 166 drivers/staging/comedi/drivers/addi_apci_1564.c unsigned int mode2; /* falling-edge/low level channels */ mode2 346 drivers/staging/comedi/drivers/addi_apci_1564.c devpriv->mode2 = 0; mode2 358 drivers/staging/comedi/drivers/addi_apci_1564.c devpriv->mode2 = 0; mode2 362 drivers/staging/comedi/drivers/addi_apci_1564.c devpriv->mode2 &= oldmask; mode2 366 drivers/staging/comedi/drivers/addi_apci_1564.c devpriv->mode2 |= data[5] << shift; mode2 376 drivers/staging/comedi/drivers/addi_apci_1564.c devpriv->mode2 = 0; mode2 380 drivers/staging/comedi/drivers/addi_apci_1564.c devpriv->mode2 &= oldmask; mode2 384 drivers/staging/comedi/drivers/addi_apci_1564.c devpriv->mode2 |= data[5] << shift; mode2 392 drivers/staging/comedi/drivers/addi_apci_1564.c devpriv->mode2 &= APCI1564_DI_INT_MODE_MASK; mode2 459 drivers/staging/comedi/drivers/addi_apci_1564.c if (!devpriv->ctrl && !(devpriv->mode1 || devpriv->mode2)) { mode2 466 drivers/staging/comedi/drivers/addi_apci_1564.c outl(devpriv->mode2, dev->iobase + APCI1564_DI_INT_MODE2_REG); mode2 2169 drivers/staging/comedi/drivers/ni_mio_common.c int mode2 = 0; mode2 2214 drivers/staging/comedi/drivers/ni_mio_common.c mode2 &= ~NISTC_AI_MODE2_PRE_TRIGGER; mode2 2215 drivers/staging/comedi/drivers/ni_mio_common.c mode2 &= ~NISTC_AI_MODE2_SC_INIT_LOAD_SRC; mode2 2216 drivers/staging/comedi/drivers/ni_mio_common.c mode2 &= ~NISTC_AI_MODE2_SC_RELOAD_MODE; mode2 2217 drivers/staging/comedi/drivers/ni_mio_common.c ni_stc_writew(dev, mode2, NISTC_AI_MODE2_REG); mode2 2294 drivers/staging/comedi/drivers/ni_mio_common.c mode2 &= ~NISTC_AI_MODE2_SI_INIT_LOAD_SRC; /* A */ mode2 2295 drivers/staging/comedi/drivers/ni_mio_common.c mode2 |= NISTC_AI_MODE2_SI_RELOAD_MODE(0); mode2 2297 drivers/staging/comedi/drivers/ni_mio_common.c ni_stc_writew(dev, mode2, NISTC_AI_MODE2_REG); mode2 2334 drivers/staging/comedi/drivers/ni_mio_common.c mode2 &= ~NISTC_AI_MODE2_SI2_INIT_LOAD_SRC; /* A */ mode2 2335 drivers/staging/comedi/drivers/ni_mio_common.c mode2 |= NISTC_AI_MODE2_SI2_RELOAD_MODE; /* alternate */ mode2 2336 drivers/staging/comedi/drivers/ni_mio_common.c ni_stc_writew(dev, mode2, NISTC_AI_MODE2_REG); mode2 2340 drivers/staging/comedi/drivers/ni_mio_common.c mode2 |= NISTC_AI_MODE2_SI2_INIT_LOAD_SRC; /* B */ mode2 2341 drivers/staging/comedi/drivers/ni_mio_common.c mode2 |= NISTC_AI_MODE2_SI2_RELOAD_MODE; /* alternate */ mode2 2342 drivers/staging/comedi/drivers/ni_mio_common.c ni_stc_writew(dev, mode2, NISTC_AI_MODE2_REG); mode2 2353 drivers/staging/comedi/drivers/ni_mio_common.c mode2 |= NISTC_AI_MODE2_SC_GATE_ENA | mode2 2355 drivers/staging/comedi/drivers/ni_mio_common.c ni_stc_writew(dev, mode2, NISTC_AI_MODE2_REG); mode2 1010 drivers/tty/serial/max310x.c unsigned int delay, mode1 = 0, mode2 = 0; mode2 1020 drivers/tty/serial/max310x.c mode2 = MAX310X_MODE2_ECHOSUPR_BIT; mode2 1026 drivers/tty/serial/max310x.c MAX310X_MODE2_ECHOSUPR_BIT, mode2); mode2 261 drivers/tty/serial/sb1250-duart.c unsigned int clr = 0, set = 0, mode2; mode2 274 drivers/tty/serial/sb1250-duart.c mode2 = read_sbdchn(sport, R_DUART_MODE_REG_2); mode2 275 drivers/tty/serial/sb1250-duart.c mode2 &= ~M_DUART_CHAN_MODE; mode2 277 drivers/tty/serial/sb1250-duart.c mode2 |= V_DUART_CHAN_MODE_LCL_LOOP; mode2 279 drivers/tty/serial/sb1250-duart.c mode2 |= V_DUART_CHAN_MODE_NORMAL; mode2 283 drivers/tty/serial/sb1250-duart.c write_sbdchn(sport, R_DUART_MODE_REG_2, mode2); mode2 542 drivers/tty/serial/sb1250-duart.c unsigned int mode1 = 0, mode2 = 0, aux = 0; mode2 571 drivers/tty/serial/sb1250-duart.c mode2 |= M_DUART_STOP_BIT_LEN_2; mode2 573 drivers/tty/serial/sb1250-duart.c mode2 |= M_DUART_STOP_BIT_LEN_1; mode2 634 drivers/tty/serial/sb1250-duart.c write_sbdchn(sport, R_DUART_MODE_REG_2, mode2 | oldmode2); mode2 963 drivers/video/fbdev/core/fbmem.c struct fb_videomode mode1, mode2; mode2 966 drivers/video/fbdev/core/fbmem.c fb_var_to_videomode(&mode2, &info->var); mode2 968 drivers/video/fbdev/core/fbmem.c ret = fb_mode_is_equal(&mode1, &mode2); mode2 922 drivers/video/fbdev/core/modedb.c const struct fb_videomode *mode2) mode2 924 drivers/video/fbdev/core/modedb.c return (mode1->xres == mode2->xres && mode2 925 drivers/video/fbdev/core/modedb.c mode1->yres == mode2->yres && mode2 926 drivers/video/fbdev/core/modedb.c mode1->pixclock == mode2->pixclock && mode2 927 drivers/video/fbdev/core/modedb.c mode1->hsync_len == mode2->hsync_len && mode2 928 drivers/video/fbdev/core/modedb.c mode1->vsync_len == mode2->vsync_len && mode2 929 drivers/video/fbdev/core/modedb.c mode1->left_margin == mode2->left_margin && mode2 930 drivers/video/fbdev/core/modedb.c mode1->right_margin == mode2->right_margin && mode2 931 drivers/video/fbdev/core/modedb.c mode1->upper_margin == mode2->upper_margin && mode2 932 drivers/video/fbdev/core/modedb.c mode1->lower_margin == mode2->lower_margin && mode2 933 drivers/video/fbdev/core/modedb.c mode1->sync == mode2->sync && mode2 934 drivers/video/fbdev/core/modedb.c mode1->vmode == mode2->vmode); mode2 137 fs/dlm/lock.c int dlm_modes_compat(int mode1, int mode2) mode2 139 fs/dlm/lock.c return __dlm_compat_matrix[mode1 + 1][mode2 + 1]; mode2 20 fs/dlm/lock.h int dlm_modes_compat(int mode1, int mode2); mode2 149 fs/jfs/acl.c JFS_IP(inode)->mode2 = (JFS_IP(inode)->mode2 & 0xffff0000) | mode2 68 fs/jfs/ioctl.c flags = jfs_inode->mode2 & JFS_FL_USER_VISIBLE; mode2 101 fs/jfs/ioctl.c oldflags = jfs_map_ext2(jfs_inode->mode2 & JFS_FL_USER_VISIBLE, mode2 110 fs/jfs/ioctl.c flags |= jfs_inode->mode2 & ~JFS_FL_USER_MODIFIABLE; mode2 111 fs/jfs/ioctl.c jfs_inode->mode2 = flags; mode2 3032 fs/jfs/jfs_imap.c jfs_ip->mode2 = le32_to_cpu(dip->di_mode); mode2 3137 fs/jfs/jfs_imap.c dip->di_mode = cpu_to_le32((jfs_ip->mode2 & 0xffff0000) | mode2 3140 fs/jfs/jfs_imap.c dip->di_mode = cpu_to_le32(jfs_ip->mode2); mode2 29 fs/jfs/jfs_incore.h uint mode2; /* jfs-specific mode */ mode2 18 fs/jfs/jfs_inode.c unsigned int flags = JFS_IP(inode)->mode2; mode2 86 fs/jfs/jfs_inode.c jfs_inode->mode2 = JFS_IP(parent)->mode2 & JFS_FL_INHERIT; mode2 89 fs/jfs/jfs_inode.c jfs_inode->mode2 |= IDIRECTORY; mode2 90 fs/jfs/jfs_inode.c jfs_inode->mode2 &= ~JFS_DIRSYNC_FL; mode2 93 fs/jfs/jfs_inode.c jfs_inode->mode2 |= INLINEEA | ISPARSE; mode2 95 fs/jfs/jfs_inode.c jfs_inode->mode2 &= ~(JFS_IMMUTABLE_FL|JFS_APPEND_FL); mode2 97 fs/jfs/jfs_inode.c jfs_inode->mode2 |= inode->i_mode; mode2 704 fs/jfs/jfs_xtree.c (JFS_IP(ip)->mode2 & INLINEEA)) { mode2 706 fs/jfs/jfs_xtree.c JFS_IP(ip)->mode2 &= ~INLINEEA; mode2 3591 fs/jfs/jfs_xtree.c JFS_IP(ip)->mode2 |= INLINEEA; mode2 957 fs/jfs/namei.c JFS_IP(ip)->mode2 &= ~INLINEEA; mode2 852 fs/jfs/super.c JFS_IP(inode)->mode2 |= JFS_NOATIME_FL | JFS_IMMUTABLE_FL; mode2 874 fs/jfs/super.c JFS_IP(inode)->mode2 &= ~(JFS_NOATIME_FL | JFS_IMMUTABLE_FL); mode2 159 fs/jfs/xattr.c if (!(ji->mode2 & INLINEEA) && !(ji->ea.flag & DXD_INLINE)) mode2 167 fs/jfs/xattr.c ji->mode2 &= ~INLINEEA; mode2 176 fs/jfs/xattr.c ji->mode2 |= INLINEEA; mode2 294 fs/jfs/xattr.c ji->mode2 |= INLINEEA; mode2 449 fs/jfs/xattr.c (ji->mode2 & INLINEEA)) { mode2 604 fs/jfs/xattr.c ji->mode2 &= ~INLINEEA; mode2 635 fs/jfs/xattr.c ji->mode2 |= INLINEEA; mode2 641 fs/jfs/xattr.c ji->mode2 |= INLINEEA; mode2 515 include/drm/drm_modes.h const struct drm_display_mode *mode2, mode2 518 include/drm/drm_modes.h const struct drm_display_mode *mode2); mode2 520 include/drm/drm_modes.h const struct drm_display_mode *mode2); mode2 522 include/drm/drm_modes.h const struct drm_display_mode *mode2); mode2 739 include/linux/fb.h const struct fb_videomode *mode2); mode2 300 samples/vfio-mdev/mbochs.c struct mbochs_mode *mode2) mode2 302 samples/vfio-mdev/mbochs.c return memcmp(mode1, mode2, sizeof(struct mbochs_mode)) == 0; mode2 264 sound/soc/codecs/ak4535.c u8 mode2 = snd_soc_component_read32(component, AK4535_MODE2) & ~(0x3 << 5); mode2 273 sound/soc/codecs/ak4535.c mode2 |= (0x2 << 5); mode2 276 sound/soc/codecs/ak4535.c mode2 |= (0x1 << 5); mode2 283 sound/soc/codecs/ak4535.c snd_soc_component_write(component, AK4535_MODE2, mode2); mode2 321 sound/soc/codecs/ak4641.c u8 mode2; mode2 331 sound/soc/codecs/ak4641.c mode2 = (0x2 << 5); mode2 334 sound/soc/codecs/ak4641.c mode2 = (0x1 << 5); mode2 337 sound/soc/codecs/ak4641.c mode2 = (0x0 << 5); mode2 344 sound/soc/codecs/ak4641.c snd_soc_component_update_bits(component, AK4641_MODE2, (0x3 << 5), mode2);