/kernel/linux/linux-5.10/fs/jfs/ |
D | jfs_inode.c | 18 unsigned int flags = JFS_IP(inode)->mode2; in jfs_set_inode_flags() 86 jfs_inode->mode2 = JFS_IP(parent)->mode2 & JFS_FL_INHERIT; in ialloc() 89 jfs_inode->mode2 |= IDIRECTORY; in ialloc() 90 jfs_inode->mode2 &= ~JFS_DIRSYNC_FL; in ialloc() 93 jfs_inode->mode2 |= INLINEEA | ISPARSE; in ialloc() 95 jfs_inode->mode2 &= ~(JFS_IMMUTABLE_FL|JFS_APPEND_FL); in ialloc() 97 jfs_inode->mode2 |= inode->i_mode; in ialloc()
|
D | ioctl.c | 68 flags = jfs_inode->mode2 & JFS_FL_USER_VISIBLE; in jfs_ioctl() 101 oldflags = jfs_map_ext2(jfs_inode->mode2 & JFS_FL_USER_VISIBLE, in jfs_ioctl() 110 flags |= jfs_inode->mode2 & ~JFS_FL_USER_MODIFIABLE; in jfs_ioctl() 111 jfs_inode->mode2 = flags; in jfs_ioctl()
|
D | xattr.c | 159 if (!(ji->mode2 & INLINEEA) && !(ji->ea.flag & DXD_INLINE)) in ea_write_inline() 167 ji->mode2 &= ~INLINEEA; in ea_write_inline() 176 ji->mode2 |= INLINEEA; in ea_write_inline() 294 ji->mode2 |= INLINEEA; in ea_write() 449 (ji->mode2 & INLINEEA)) { in ea_get() 604 ji->mode2 &= ~INLINEEA; in ea_put() 635 ji->mode2 |= INLINEEA; in ea_put() 641 ji->mode2 |= INLINEEA; in ea_put()
|
D | acl.c | 149 JFS_IP(inode)->mode2 = (JFS_IP(inode)->mode2 & 0xffff0000) | in jfs_init_acl()
|
D | jfs_incore.h | 29 uint mode2; /* jfs-specific mode */ member
|
/kernel/linux/linux-5.10/drivers/leds/ |
D | leds-pca963x.c | 159 u8 ledout_addr, ledout, mask, val, mode2; in pca963x_blink() local 165 mode2 = i2c_smbus_read_byte_data(client, PCA963X_MODE2); in pca963x_blink() 171 if (!(mode2 & PCA963X_MODE2_DMBLNK)) in pca963x_blink() 173 mode2 | PCA963X_MODE2_DMBLNK); in pca963x_blink() 293 s32 mode2; in pca963x_register_leds() local 303 mode2 = i2c_smbus_read_byte_data(client, PCA963X_MODE2); in pca963x_register_leds() 304 if (mode2 < 0) in pca963x_register_leds() 305 return mode2; in pca963x_register_leds() 309 mode2 |= PCA963X_MODE2_OUTDRV; in pca963x_register_leds() 311 mode2 &= ~PCA963X_MODE2_OUTDRV; in pca963x_register_leds() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_modes.c | 922 const struct drm_display_mode *mode2) in drm_mode_match_timings() argument 924 return mode1->hdisplay == mode2->hdisplay && in drm_mode_match_timings() 925 mode1->hsync_start == mode2->hsync_start && in drm_mode_match_timings() 926 mode1->hsync_end == mode2->hsync_end && in drm_mode_match_timings() 927 mode1->htotal == mode2->htotal && in drm_mode_match_timings() 928 mode1->hskew == mode2->hskew && in drm_mode_match_timings() 929 mode1->vdisplay == mode2->vdisplay && in drm_mode_match_timings() 930 mode1->vsync_start == mode2->vsync_start && in drm_mode_match_timings() 931 mode1->vsync_end == mode2->vsync_end && in drm_mode_match_timings() 932 mode1->vtotal == mode2->vtotal && in drm_mode_match_timings() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ |
D | addi_apci_1032.c | 86 unsigned int mode2; /* falling-edge/low level channels */ member 129 devpriv->mode2 = 0; in apci1032_cos_insn_config() 140 devpriv->mode2 = 0; in apci1032_cos_insn_config() 144 devpriv->mode2 &= oldmask; in apci1032_cos_insn_config() 148 devpriv->mode2 |= lomask; in apci1032_cos_insn_config() 158 devpriv->mode2 = 0; in apci1032_cos_insn_config() 162 devpriv->mode2 &= oldmask; in apci1032_cos_insn_config() 166 devpriv->mode2 |= lomask; in apci1032_cos_insn_config() 245 outl(devpriv->mode2, dev->iobase + APCI1032_MODE2_REG); in apci1032_cos_cmd()
|
D | addi_apci_1564.c | 166 unsigned int mode2; /* falling-edge/low level channels */ member 354 devpriv->mode2 = 0; in apci1564_cos_insn_config() 366 devpriv->mode2 = 0; in apci1564_cos_insn_config() 370 devpriv->mode2 &= oldmask; in apci1564_cos_insn_config() 374 devpriv->mode2 |= lomask; in apci1564_cos_insn_config() 384 devpriv->mode2 = 0; in apci1564_cos_insn_config() 388 devpriv->mode2 &= oldmask; in apci1564_cos_insn_config() 392 devpriv->mode2 |= lomask; in apci1564_cos_insn_config() 400 devpriv->mode2 &= APCI1564_DI_INT_MODE_MASK; in apci1564_cos_insn_config() 467 if (!devpriv->ctrl && !(devpriv->mode1 || devpriv->mode2)) { in apci1564_cos_cmd() [all …]
|
/kernel/linux/linux-5.10/drivers/mfd/ |
D | ssbi.c | 116 u32 mode2 = ssbi_readl(ssbi, SSBI2_MODE2); in ssbi_read_bytes() local 117 mode2 = SET_SSBI_MODE2_REG_ADDR_15_8(mode2, addr); in ssbi_read_bytes() 118 ssbi_writel(ssbi, mode2, SSBI2_MODE2); in ssbi_read_bytes() 144 u32 mode2 = ssbi_readl(ssbi, SSBI2_MODE2); in ssbi_write_bytes() local 145 mode2 = SET_SSBI_MODE2_REG_ADDR_15_8(mode2, addr); in ssbi_write_bytes() 146 ssbi_writel(ssbi, mode2, SSBI2_MODE2); in ssbi_write_bytes()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/core/ |
D | modedb.c | 922 const struct fb_videomode *mode2) in fb_mode_is_equal() argument 924 return (mode1->xres == mode2->xres && in fb_mode_is_equal() 925 mode1->yres == mode2->yres && in fb_mode_is_equal() 926 mode1->pixclock == mode2->pixclock && in fb_mode_is_equal() 927 mode1->hsync_len == mode2->hsync_len && in fb_mode_is_equal() 928 mode1->vsync_len == mode2->vsync_len && in fb_mode_is_equal() 929 mode1->left_margin == mode2->left_margin && in fb_mode_is_equal() 930 mode1->right_margin == mode2->right_margin && in fb_mode_is_equal() 931 mode1->upper_margin == mode2->upper_margin && in fb_mode_is_equal() 932 mode1->lower_margin == mode2->lower_margin && in fb_mode_is_equal() [all …]
|
/kernel/linux/linux-5.10/include/drm/ |
D | drm_modes.h | 477 const struct drm_display_mode *mode2, 480 const struct drm_display_mode *mode2); 482 const struct drm_display_mode *mode2); 484 const struct drm_display_mode *mode2);
|
/kernel/linux/linux-5.10/Documentation/userspace-api/media/rc/ |
D | lirc-set-rec-timeout-reports.rst | 35 .. _lirc-mode2-timeout: 42 This ioctl is only valid for :ref:`LIRC_MODE_MODE2 <lirc-mode-mode2>`.
|
D | lirc-set-measure-carrier-mode.rst | 35 .. _lirc-mode2-frequency:
|
D | lirc-get-rec-mode.rst | 40 :ref:`LIRC_MODE_MODE2 <lirc-mode-mode2>` and
|
D | lirc-read.rst | 48 The mode :ref:`LIRC_MODE_MODE2 <lirc-mode-mode2>` is for raw IR,
|
/kernel/linux/linux-5.10/drivers/tty/serial/ |
D | sb1250-duart.c | 256 unsigned int clr = 0, set = 0, mode2; in sbd_set_mctrl() local 269 mode2 = read_sbdchn(sport, R_DUART_MODE_REG_2); in sbd_set_mctrl() 270 mode2 &= ~M_DUART_CHAN_MODE; in sbd_set_mctrl() 272 mode2 |= V_DUART_CHAN_MODE_LCL_LOOP; in sbd_set_mctrl() 274 mode2 |= V_DUART_CHAN_MODE_NORMAL; in sbd_set_mctrl() 278 write_sbdchn(sport, R_DUART_MODE_REG_2, mode2); in sbd_set_mctrl() 537 unsigned int mode1 = 0, mode2 = 0, aux = 0; in sbd_set_termios() local 566 mode2 |= M_DUART_STOP_BIT_LEN_2; in sbd_set_termios() 568 mode2 |= M_DUART_STOP_BIT_LEN_1; in sbd_set_termios() 629 write_sbdchn(sport, R_DUART_MODE_REG_2, mode2 | oldmode2); in sbd_set_termios()
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
D | ak4535.c | 264 u8 mode2 = snd_soc_component_read(component, AK4535_MODE2) & ~(0x3 << 5); in ak4535_hw_params() local 273 mode2 |= (0x2 << 5); in ak4535_hw_params() 276 mode2 |= (0x1 << 5); in ak4535_hw_params() 283 snd_soc_component_write(component, AK4535_MODE2, mode2); in ak4535_hw_params()
|
D | ak4641.c | 321 u8 mode2; in ak4641_i2s_hw_params() local 331 mode2 = (0x2 << 5); in ak4641_i2s_hw_params() 334 mode2 = (0x1 << 5); in ak4641_i2s_hw_params() 337 mode2 = (0x0 << 5); in ak4641_i2s_hw_params() 344 snd_soc_component_update_bits(component, AK4641_MODE2, (0x3 << 5), mode2); in ak4641_i2s_hw_params()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0035_linux_drivers_video.patch | 329 + const struct fb_videomode *mode2) 338 + return (mode1->xres == mode2->xres && 339 + mode1->yres == mode2->yres && 340 + mode1->hsync_len == mode2->hsync_len && 341 + mode1->vsync_len == mode2->vsync_len && 342 + mode1->left_margin == mode2->left_margin && 343 + mode1->right_margin == mode2->right_margin && 344 + mode1->upper_margin == mode2->upper_margin && 345 + mode1->lower_margin == mode2->lower_margin && 346 + mode1->sync == mode2->sync && [all …]
|
/kernel/linux/linux-5.10/drivers/ata/ |
D | pata_bk3710.c | 176 u8 mode2 = pair->pio_mode - XFER_PIO_0; in pata_bk3710_setpiomode() local 178 if (mode2 < mode) in pata_bk3710_setpiomode() 179 mode = mode2; in pata_bk3710_setpiomode()
|
/kernel/linux/linux-5.10/drivers/ide/ |
D | palm_bk3710.c | 156 u8 mode2 = mate->pio_mode - XFER_PIO_0; in palm_bk3710_setpiomode() local 158 if (mode2 < mode) in palm_bk3710_setpiomode() 159 mode = mode2; in palm_bk3710_setpiomode()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | rs690.c | 207 struct drm_display_mode *mode2) in rs690_line_buffer_adjust() argument 231 if (mode1 && mode2) { in rs690_line_buffer_adjust() 232 if (mode1->hdisplay > mode2->hdisplay) { in rs690_line_buffer_adjust() 237 } else if (mode2->hdisplay > mode1->hdisplay) { in rs690_line_buffer_adjust() 238 if (mode2->hdisplay > 2560) in rs690_line_buffer_adjust() 246 } else if (mode2) { in rs690_line_buffer_adjust() 255 if (mode2) in rs690_line_buffer_adjust() 256 rdev->mode_info.crtcs[1]->lb_vblank_lead_lines = DIV_ROUND_UP(lb_size, mode2->crtc_hdisplay); in rs690_line_buffer_adjust()
|
/kernel/linux/linux-5.10/fs/dlm/ |
D | lock.h | 20 int dlm_modes_compat(int mode1, int mode2);
|
/kernel/linux/linux-5.10/drivers/media/i2c/ |
D | mt9p031.c | 145 u16 mode2; member 181 u16 value = (mt9p031->mode2 & ~clear) | set; in mt9p031_set_mode2() 188 mt9p031->mode2 = value; in mt9p031_set_mode2() 1082 mt9p031->mode2 = MT9P031_READ_MODE_2_ROW_BLC; in mt9p031_probe()
|