Home
last modified time | relevance | path

Searched refs:mode2 (Results 1 – 25 of 42) sorted by relevance

12

/linux/fs/jfs/
A Djfs_inode.c18 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 Dioctl.c63 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 Dxattr.c159 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 Dacl.c153 JFS_IP(inode)->mode2 = (JFS_IP(inode)->mode2 & 0xffff0000) | in jfs_init_acl()
A Djfs_incore.h29 uint mode2; /* jfs-specific mode */ member
/linux/drivers/leds/
A Dleds-pca963x.c159 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
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()
315 mode2 |= PCA963X_MODE2_INVRT; in pca963x_register_leds()
[all …]
/linux/drivers/gpu/drm/
A Ddrm_modes.c927 mode1->htotal == mode2->htotal && in drm_mode_match_timings()
928 mode1->hskew == mode2->hskew && in drm_mode_match_timings()
932 mode1->vtotal == mode2->vtotal && in drm_mode_match_timings()
933 mode1->vscan == mode2->vscan; in drm_mode_match_timings()
943 if (mode1->clock && mode2->clock) in drm_mode_match_clock()
946 return mode1->clock == mode2->clock; in drm_mode_match_clock()
984 if (!mode1 && !mode2) in drm_mode_match()
987 if (!mode1 || !mode2) in drm_mode_match()
1027 return drm_mode_match(mode1, mode2, in drm_mode_equal()
1050 return drm_mode_match(mode1, mode2, in drm_mode_equal_no_clocks()
[all …]
/linux/drivers/comedi/drivers/
A Daddi_apci_1032.c86 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 Daddi_apci_1564.c166 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 Dni_mio_common.c2168 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/drivers/mfd/
A Dssbi.c116 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/drivers/video/fbdev/core/
A Dmodedb.c922 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/drivers/tty/serial/
A Dsb1250-duart.c256 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()
/linux/include/drm/
A Ddrm_modes.h490 const struct drm_display_mode *mode2,
493 const struct drm_display_mode *mode2);
495 const struct drm_display_mode *mode2);
497 const struct drm_display_mode *mode2);
/linux/sound/soc/codecs/
A Dak4535.c264 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 Dak4641.c321 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/Documentation/userspace-api/media/rc/
A Dlirc-set-rec-timeout-reports.rst35 .. _lirc-mode2-timeout:
42 This ioctl is only valid for :ref:`LIRC_MODE_MODE2 <lirc-mode-mode2>`.
A Dlirc-set-measure-carrier-mode.rst35 .. _lirc-mode2-frequency:
A Dlirc-get-rec-mode.rst40 :ref:`LIRC_MODE_MODE2 <lirc-mode-mode2>` and
A Dlirc-read.rst48 The mode :ref:`LIRC_MODE_MODE2 <lirc-mode-mode2>` is for raw IR,
A Dlirc-dev-intro.rst90 .. _lirc-mode-mode2:
160 pointer to a unsigned int, which is a :ref:`LIRC_MODE_MODE2 <lirc-mode-mode2>`
/linux/drivers/gpu/drm/radeon/
A Drs690.c207 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/drivers/ata/
A Dpata_bk3710.c176 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()
/linux/fs/dlm/
A Dlock.h20 int dlm_modes_compat(int mode1, int mode2);
/linux/drivers/media/i2c/
A Dmt9p031.c144 u16 mode2; member
180 u16 value = (mt9p031->mode2 & ~clear) | set; in mt9p031_set_mode2()
187 mt9p031->mode2 = value; in mt9p031_set_mode2()
1106 mt9p031->mode2 = MT9P031_READ_MODE_2_ROW_BLC; in mt9p031_probe()

Completed in 127 milliseconds

12