/linux-6.3-rc2/fs/jfs/ |
A 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()
|
A D | ioctl.c | 63 unsigned int flags = jfs_inode->mode2 & JFS_FL_USER_VISIBLE; in jfs_fileattr_get() 95 flags |= jfs_inode->mode2 & ~JFS_FL_USER_MODIFIABLE; in jfs_fileattr_set() 96 jfs_inode->mode2 = flags; in jfs_fileattr_set()
|
A 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()
|
A D | acl.c | 154 JFS_IP(inode)->mode2 = (JFS_IP(inode)->mode2 & 0xffff0000) | in jfs_init_acl()
|
A D | jfs_incore.h | 29 uint mode2; /* jfs-specific mode */ member
|
/linux-6.3-rc2/drivers/leds/ |
A D | leds-pca963x.c | 173 u8 ledout_addr, ledout, mask, val, mode2; in pca963x_blink() local 179 mode2 = i2c_smbus_read_byte_data(client, PCA963X_MODE2); in pca963x_blink() 185 if (!(mode2 & PCA963X_MODE2_DMBLNK)) in pca963x_blink() 187 mode2 | PCA963X_MODE2_DMBLNK); in pca963x_blink() 310 s32 mode2; in pca963x_register_leds() local 321 if (mode2 < 0) in pca963x_register_leds() 322 return mode2; in pca963x_register_leds() 326 mode2 |= PCA963X_MODE2_OUTDRV; in pca963x_register_leds() 328 mode2 &= ~PCA963X_MODE2_OUTDRV; in pca963x_register_leds() 332 mode2 |= PCA963X_MODE2_INVRT; in pca963x_register_leds() [all …]
|
/linux-6.3-rc2/drivers/comedi/drivers/ |
A 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()
|
A 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 …]
|
A D | ni_mio_common.c | 2168 int mode2 = 0; in ni_ai_cmd() local 2214 mode2 &= ~NISTC_AI_MODE2_PRE_TRIGGER; in ni_ai_cmd() 2215 mode2 &= ~NISTC_AI_MODE2_SC_INIT_LOAD_SRC; in ni_ai_cmd() 2216 mode2 &= ~NISTC_AI_MODE2_SC_RELOAD_MODE; in ni_ai_cmd() 2217 ni_stc_writew(dev, mode2, NISTC_AI_MODE2_REG); in ni_ai_cmd() 2295 mode2 |= NISTC_AI_MODE2_SI_RELOAD_MODE(0); in ni_ai_cmd() 2297 ni_stc_writew(dev, mode2, NISTC_AI_MODE2_REG); in ni_ai_cmd() 2338 ni_stc_writew(dev, mode2, NISTC_AI_MODE2_REG); in ni_ai_cmd() 2344 ni_stc_writew(dev, mode2, NISTC_AI_MODE2_REG); in ni_ai_cmd() 2356 mode2 |= NISTC_AI_MODE2_SC_GATE_ENA | in ni_ai_cmd() [all …]
|
/linux-6.3-rc2/drivers/mfd/ |
A 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()
|
/linux-6.3-rc2/drivers/gpu/drm/ |
A D | drm_modes.c | 1474 mode1->htotal == mode2->htotal && in drm_mode_match_timings() 1475 mode1->hskew == mode2->hskew && in drm_mode_match_timings() 1479 mode1->vtotal == mode2->vtotal && in drm_mode_match_timings() 1480 mode1->vscan == mode2->vscan; in drm_mode_match_timings() 1490 if (mode1->clock && mode2->clock) in drm_mode_match_clock() 1493 return mode1->clock == mode2->clock; in drm_mode_match_clock() 1531 if (!mode1 && !mode2) in drm_mode_match() 1534 if (!mode1 || !mode2) in drm_mode_match() 1574 return drm_mode_match(mode1, mode2, in drm_mode_equal() 1597 return drm_mode_match(mode1, mode2, in drm_mode_equal_no_clocks() [all …]
|
/linux-6.3-rc2/drivers/video/fbdev/core/ |
A 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() 933 mode1->sync == mode2->sync && in fb_mode_is_equal() [all …]
|
/linux-6.3-rc2/drivers/tty/serial/ |
A 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() 536 unsigned int mode1 = 0, mode2 = 0, aux = 0; in sbd_set_termios() local 565 mode2 |= M_DUART_STOP_BIT_LEN_2; in sbd_set_termios() 567 mode2 |= M_DUART_STOP_BIT_LEN_1; in sbd_set_termios() 628 write_sbdchn(sport, R_DUART_MODE_REG_2, mode2 | oldmode2); in sbd_set_termios()
|
/linux-6.3-rc2/sound/soc/codecs/ |
A 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()
|
A 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()
|
/linux-6.3-rc2/include/drm/ |
A D | drm_modes.h | 542 const struct drm_display_mode *mode2, 545 const struct drm_display_mode *mode2); 547 const struct drm_display_mode *mode2); 549 const struct drm_display_mode *mode2);
|
/linux-6.3-rc2/drivers/gpu/drm/radeon/ |
A 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()
|
/linux-6.3-rc2/Documentation/userspace-api/media/rc/ |
A D | lirc-set-measure-carrier-mode.rst | 35 .. _lirc-mode2-frequency:
|
A D | lirc-get-rec-mode.rst | 40 :ref:`LIRC_MODE_MODE2 <lirc-mode-mode2>` and
|
A D | lirc-read.rst | 48 The mode :ref:`LIRC_MODE_MODE2 <lirc-mode-mode2>` is for raw IR,
|
A D | lirc-dev-intro.rst | 90 .. _lirc-mode-mode2: 165 pointer to a unsigned int, which is a :ref:`LIRC_MODE_MODE2 <lirc-mode-mode2>`
|
A D | lirc-get-features.rst | 161 :ref:`LIRC_MODE_MODE2 <lirc-mode-mode2>` can only be used for receiving.
|
/linux-6.3-rc2/drivers/gpu/drm/i915/display/ |
A D | intel_panel.c | 159 const struct drm_display_mode *mode2 = mode1; in has_drrs_modes() local 161 list_for_each_entry_continue(mode2, &connector->panel.fixed_modes, head) { in has_drrs_modes() 162 if (is_alt_drrs_mode(mode1, mode2)) in has_drrs_modes()
|
/linux-6.3-rc2/fs/dlm/ |
A D | lock.h | 20 int dlm_modes_compat(int mode1, int mode2);
|
/linux-6.3-rc2/drivers/media/i2c/ |
A D | mt9p031.c | 144 u16 mode2; member 180 u16 value = (mt9p031->mode2 & ~clear) | set; in mt9p031_set_mode2() 187 mt9p031->mode2 = value; in mt9p031_set_mode2() 1131 mt9p031->mode2 = MT9P031_READ_MODE_2_ROW_BLC; in mt9p031_probe()
|