Home
last modified time | relevance | path

Searched full:mode2 (Results 1 – 25 of 85) sorted by relevance

1234

/linux-6.12.1/fs/jfs/
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()
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()
Dacl.c154 JFS_IP(inode)->mode2 = (JFS_IP(inode)->mode2 & 0xffff0000) | in jfs_init_acl()
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()
451 (ji->mode2 & INLINEEA)) { in ea_get()
608 ji->mode2 &= ~INLINEEA; in ea_put()
639 ji->mode2 |= INLINEEA; in ea_put()
645 ji->mode2 |= INLINEEA; in ea_put()
/linux-6.12.1/drivers/leds/
Dleds-pca963x.c174 u8 ledout_addr, ledout, mask, val, mode2; in pca963x_blink() local
180 mode2 = i2c_smbus_read_byte_data(client, PCA963X_MODE2); in pca963x_blink()
186 if (!(mode2 & PCA963X_MODE2_DMBLNK)) in pca963x_blink()
188 mode2 | PCA963X_MODE2_DMBLNK); in pca963x_blink()
311 s32 mode2; in pca963x_register_leds() local
321 mode2 = i2c_smbus_read_byte_data(client, PCA963X_MODE2); in pca963x_register_leds()
322 if (mode2 < 0) in pca963x_register_leds()
323 return mode2; in pca963x_register_leds()
327 mode2 |= PCA963X_MODE2_OUTDRV; in pca963x_register_leds()
329 mode2 &= ~PCA963X_MODE2_OUTDRV; in pca963x_register_leds()
[all …]
/linux-6.12.1/drivers/mfd/
Dssbi.c115 u32 mode2 = ssbi_readl(ssbi, SSBI2_MODE2); in ssbi_read_bytes() local
116 mode2 = SET_SSBI_MODE2_REG_ADDR_15_8(mode2, addr); in ssbi_read_bytes()
117 ssbi_writel(ssbi, mode2, SSBI2_MODE2); in ssbi_read_bytes()
143 u32 mode2 = ssbi_readl(ssbi, SSBI2_MODE2); in ssbi_write_bytes() local
144 mode2 = SET_SSBI_MODE2_REG_ADDR_15_8(mode2, addr); in ssbi_write_bytes()
145 ssbi_writel(ssbi, mode2, SSBI2_MODE2); in ssbi_write_bytes()
/linux-6.12.1/drivers/comedi/drivers/
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()
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 …]
/linux-6.12.1/drivers/gpu/drm/
Ddrm_modes.c1471 const struct drm_display_mode *mode2) in drm_mode_match_timings() argument
1473 return mode1->hdisplay == mode2->hdisplay && in drm_mode_match_timings()
1474 mode1->hsync_start == mode2->hsync_start && in drm_mode_match_timings()
1475 mode1->hsync_end == mode2->hsync_end && in drm_mode_match_timings()
1476 mode1->htotal == mode2->htotal && in drm_mode_match_timings()
1477 mode1->hskew == mode2->hskew && in drm_mode_match_timings()
1478 mode1->vdisplay == mode2->vdisplay && in drm_mode_match_timings()
1479 mode1->vsync_start == mode2->vsync_start && in drm_mode_match_timings()
1480 mode1->vsync_end == mode2->vsync_end && in drm_mode_match_timings()
1481 mode1->vtotal == mode2->vtotal && in drm_mode_match_timings()
[all …]
/linux-6.12.1/drivers/cpufreq/
Damd-pstate-ut.c273 enum amd_pstate_mode mode1, mode2 = AMD_PSTATE_DISABLE; in amd_pstate_ut_check_driver() local
280 for (mode2 = AMD_PSTATE_DISABLE; mode2 < AMD_PSTATE_MAX; mode2++) { in amd_pstate_ut_check_driver()
281 if (mode1 == mode2) in amd_pstate_ut_check_driver()
283 ret = amd_pstate_set_mode(mode2); in amd_pstate_ut_check_driver()
292 amd_pstate_get_mode_string(mode2), ret); in amd_pstate_ut_check_driver()
/linux-6.12.1/Documentation/userspace-api/media/rc/
Dlirc-get-features.rst54 .. _LIRC-CAN-REC-MODE2:
59 :ref:`LIRC_MODE_MODE2 <lirc-mode-MODE2>` is used. This also implies
156 .. _LIRC-CAN-SEND-MODE2:
161 :ref:`LIRC_MODE_MODE2 <lirc-mode-mode2>` can only be used for receiving.
Dlirc-dev-intro.rst90 .. _lirc-mode-mode2:
165 pointer to a unsigned int, which is a :ref:`LIRC_MODE_MODE2 <lirc-mode-mode2>`
Dlirc-set-measure-carrier-mode.rst35 .. _lirc-mode2-frequency:
Dlirc-get-rec-mode.rst40 :ref:`LIRC_MODE_MODE2 <lirc-mode-mode2>` and
Dlirc-read.rst48 The mode :ref:`LIRC_MODE_MODE2 <lirc-mode-mode2>` is for raw IR,
/linux-6.12.1/drivers/tty/serial/
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()
538 unsigned int mode1 = 0, mode2 = 0, aux = 0; in sbd_set_termios() local
567 mode2 |= M_DUART_STOP_BIT_LEN_2; in sbd_set_termios()
569 mode2 |= M_DUART_STOP_BIT_LEN_1; in sbd_set_termios()
630 write_sbdchn(sport, R_DUART_MODE_REG_2, mode2 | oldmode2); in sbd_set_termios()
/linux-6.12.1/drivers/video/fbdev/core/
Dmodedb.c925 * @mode2: second videomode
931 const struct fb_videomode *mode2) in fb_mode_is_equal() argument
933 return (mode1->xres == mode2->xres && in fb_mode_is_equal()
934 mode1->yres == mode2->yres && in fb_mode_is_equal()
935 mode1->pixclock == mode2->pixclock && in fb_mode_is_equal()
936 mode1->hsync_len == mode2->hsync_len && in fb_mode_is_equal()
937 mode1->vsync_len == mode2->vsync_len && in fb_mode_is_equal()
938 mode1->left_margin == mode2->left_margin && in fb_mode_is_equal()
939 mode1->right_margin == mode2->right_margin && in fb_mode_is_equal()
940 mode1->upper_margin == mode2->upper_margin && in fb_mode_is_equal()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Dsmu_v13_0_10.c169 dev_err(adev->dev, "IMU ucode load failed after mode2 reset\n"); in smu_v13_0_10_mode2_restore_ip()
175 DRM_ERROR("Failed to start rlc autoload after mode2 reset\n"); in smu_v13_0_10_mode2_restore_ip()
293 /* Only mode2 is handled through reset control now */ in smu_v13_0_10_reset_init()
/linux-6.12.1/sound/soc/codecs/
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()
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-6.12.1/drivers/gpu/drm/radeon/
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-6.12.1/include/sound/
Dcs4271.h21 * in the MODE2 register. This workaround can be enabled with the
/linux-6.12.1/include/drm/
Ddrm_modes.h544 const struct drm_display_mode *mode2,
547 const struct drm_display_mode *mode2);
549 const struct drm_display_mode *mode2);
551 const struct drm_display_mode *mode2);
/linux-6.12.1/include/uapi/linux/
Dcdrom.h328 * 4 (Green Book) Mode2 Form1 2048 (CD_FRAMESIZE)
329 * 5 (Green Book) Mode2 Form2 2328 (2324+4 spare bytes)
340 * - data (yellow, mode2): | sync - head - data |
343 * - XA data (green, mode2 form1): | sync - head - sub - data - EDC - ECC |
346 * - XA data (green, mode2 form2): | sync - head - sub - data - Spare |
/linux-6.12.1/Documentation/devicetree/bindings/sound/
Dcirrus,cs4271.yaml66 in the MODE2 register. This workaround can be enabled with this DT

1234