Searched refs:new_mode (Results 26 - 50 of 68) sorted by last modified time

123

/linux-master/drivers/media/i2c/
H A Dov5645.c899 const struct ov5645_mode_info *new_mode; local
905 new_mode = v4l2_find_nearest_size(ov5645_mode_info_data,
910 __crop->width = new_mode->width;
911 __crop->height = new_mode->height;
915 new_mode->pixel_clock);
920 new_mode->link_freq);
924 ov5645->current_mode = new_mode;
H A Dmax2175.c507 enum max2175_csm_mode new_mode)
514 max2175_write_bits(ctx, 0, 2, 0, new_mode);
515 mxm_dbg(ctx, "set csm new mode %d\n", new_mode);
518 switch (new_mode) {
506 max2175_set_csm_mode(struct max2175 *ctx, enum max2175_csm_mode new_mode) argument
H A Dov7251.c1222 const struct ov7251_mode_info *new_mode; local
1230 new_mode = v4l2_find_nearest_size(ov7251_mode_info_data,
1235 __crop->width = new_mode->width;
1236 __crop->height = new_mode->height;
1240 1, new_mode->exposure_max,
1241 1, new_mode->exposure_def);
1246 new_mode->exposure_def);
1254 vblank_max = OV7251_TIMING_MAX_VTS - new_mode->height;
1255 vblank_def = new_mode->vts - new_mode
1413 const struct ov7251_mode_info *new_mode; local
[all...]
H A Dov5640.c2813 const struct ov5640_mode_info **new_mode)
2840 if (new_mode)
2841 *new_mode = mode;
2954 const struct ov5640_mode_info *new_mode; local
2968 ret = ov5640_try_fmt_internal(sd, mbus_fmt, &new_mode);
2977 if (new_mode != sensor->current_mode) {
2978 sensor->current_fr = new_mode->def_fps;
2979 sensor->current_mode = new_mode;
2811 ov5640_try_fmt_internal(struct v4l2_subdev *sd, struct v4l2_mbus_framefmt *fmt, const struct ov5640_mode_info **new_mode) argument
/linux-master/drivers/md/
H A Ddm-bufio.c732 * it moves them to 'new_mode'. Not threadsafe.
734 static void __cache_mark_many(struct dm_buffer_cache *bc, int old_mode, int new_mode, argument
747 b->list_mode = new_mode;
752 static void cache_mark_many(struct dm_buffer_cache *bc, int old_mode, int new_mode, argument
758 __cache_mark_many(bc, old_mode, new_mode, pred, context, &lh);
/linux-master/drivers/net/wireless/broadcom/b43legacy/
H A Dmain.c2583 unsigned int new_mode)
2591 err = find_wldev_for_phymode(wl, new_mode, &up_dev, &gmode);
2594 phymode_to_string(new_mode));
2602 phymode_to_string(new_mode));
2624 phymode_to_string(new_mode));
2633 phymode_to_string(new_mode));
2582 b43legacy_switch_phymode(struct b43legacy_wl *wl, unsigned int new_mode) argument
/linux-master/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.c1416 u32 new_mode, cur_mode; local
1432 new_mode = cur_mode &
1434 new_mode |= clc_cnt;
1435 new_mode |= (EMAC_MDIO_MODE_CLAUSE_45);
1438 cur_mode, new_mode);
1439 REG_WR(bp, emac_base + EMAC_REG_EMAC_MDIO_MODE, new_mode);
/linux-master/fs/gfs2/
H A Dinode.c1657 umode_t new_mode = nip->i_inode.i_mode; local
1678 if (S_ISDIR(new_mode)) {
1726 if (S_ISDIR(new_mode)) {
1740 error = update_moved_ino(nip, odip, S_ISDIR(new_mode));
1750 IF2DT(new_mode));
1755 if (S_ISDIR(new_mode) && !S_ISDIR(old_mode)) {
1758 } else if (S_ISDIR(old_mode) && !S_ISDIR(new_mode)) {
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dptp.h28 unsigned int new_mode);
H A Dptp.c1723 unsigned int new_mode)
1726 (enable_wanted && (efx->ptp_data->mode != new_mode))) {
1732 (efx->ptp_data->mode != new_mode)) {
1743 efx->ptp_data->mode = new_mode;
1722 efx_siena_ptp_change_mode(struct efx_nic *efx, bool enable_wanted, unsigned int new_mode) argument
/linux-master/drivers/net/ethernet/sfc/
H A Dptp.c1809 unsigned int new_mode)
1812 (enable_wanted && (efx->ptp_data->mode != new_mode))) {
1818 (efx->ptp_data->mode != new_mode)) {
1829 efx->ptp_data->mode = new_mode;
1808 efx_ptp_change_mode(struct efx_nic *efx, bool enable_wanted, unsigned int new_mode) argument
H A Dptp.h30 unsigned int new_mode);
/linux-master/arch/powerpc/platforms/powernv/
H A Dsubcore.c215 static void split_core(int new_mode) argument
224 /* Convert new_mode (2 or 4) into an index into our parms array */
225 i = (new_mode >> 1) - 1;
247 static void cpu_do_split(int new_mode) argument
258 if (new_mode != 1)
259 split_core(new_mode);
298 int cpu, new_mode = *(int *)data; local
301 new_split_mode = new_mode;
312 cpu_do_split(new_mode);
327 subcores_per_core = new_mode;
338 set_subcores_per_core(int new_mode) argument
[all...]
/linux-master/fs/ceph/
H A Dacl.c99 umode_t new_mode = inode->i_mode, old_mode = inode->i_mode; local
111 &new_mode, &acl);
141 if (new_mode != old_mode) {
143 newattrs.ia_mode = new_mode;
152 if (new_mode != old_mode) {
/linux-master/drivers/media/radio/
H A Dradio-wl1273.c556 static int wl1273_fm_start(struct wl1273_device *radio, int new_mode) argument
570 if (new_mode == WL1273_MODE_RX) {
592 } else if (new_mode == WL1273_MODE_TX) {
633 if (new_mode == WL1273_MODE_RX) {
644 } else if (new_mode == WL1273_MODE_TX) {
994 static int wl1273_fm_set_rds(struct wl1273_device *radio, unsigned int new_mode) argument
1003 if (new_mode == WL1273_RDS_RESET) {
1008 if (core->mode == WL1273_MODE_TX && new_mode == WL1273_RDS_OFF) {
1010 } else if (core->mode == WL1273_MODE_TX && new_mode == WL1273_RDS_ON) {
1012 } else if (core->mode == WL1273_MODE_RX && new_mode
[all...]
/linux-master/drivers/gpu/drm/arm/display/komeda/d71/
H A Dd71_dev.c284 static int d71_change_opmode(struct komeda_dev *mdev, int new_mode) argument
287 u32 opmode = to_d71_opmode(new_mode);
/linux-master/arch/s390/kernel/
H A Dtopology.c607 int new_mode; local
622 new_mode = topology_get_mode(enabled);
623 if (topology_mode != new_mode) {
624 topology_mode = new_mode;
/linux-master/fs/ocfs2/
H A Dacl.c159 handle_t *handle, umode_t new_mode)
193 inode->i_mode = new_mode;
158 ocfs2_acl_set_mode(struct inode *inode, struct buffer_head *di_bh, handle_t *handle, umode_t new_mode) argument
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Ddevlink.c418 switch (mode->new_mode) {
/linux-master/drivers/phy/rockchip/
H A Dphy-rockchip-typec.c870 int timeout, new_mode, ret = 0; local
875 new_mode = tcphy_get_mode(tcphy);
876 if (new_mode < 0) {
877 ret = new_mode;
882 if (!(new_mode & (MODE_DFP_USB | MODE_UFP_USB))) {
887 if (tcphy->mode == new_mode)
891 ret = tcphy_phy_init(tcphy, new_mode);
900 tcphy->mode |= new_mode & (MODE_DFP_USB | MODE_UFP_USB);
948 int new_mode, ret = 0; local
953 new_mode
[all...]
/linux-master/drivers/usb/musb/
H A Dsunxi.c334 enum phy_mode new_mode; local
338 new_mode = PHY_MODE_USB_HOST;
341 new_mode = PHY_MODE_USB_DEVICE;
344 new_mode = PHY_MODE_USB_OTG;
352 if (glue->phy_mode == new_mode)
368 glue->phy_mode = new_mode;
H A Dmediatek.c222 enum phy_mode new_mode; local
227 new_mode = PHY_MODE_USB_HOST;
231 new_mode = PHY_MODE_USB_DEVICE;
235 new_mode = PHY_MODE_USB_OTG;
243 if (glue->phy_mode == new_mode)
/linux-master/drivers/video/fbdev/
H A Dcarminefb.c78 u32 new_mode; member in struct:carmine_fb
418 par->new_mode = ret;
419 if (par->cur_mode != par->new_mode) {
421 par->cur_mode = par->new_mode;
422 par->res = &car_modes[par->new_mode];
569 par->cur_mode = par->new_mode = ~0;
/linux-master/drivers/regulator/
H A Dhi6421-regulator.c415 unsigned int new_mode; local
420 new_mode = 0;
423 new_mode = info->mode_mask;
431 info->mode_mask, new_mode);
440 unsigned int new_mode; local
445 new_mode = 0;
448 new_mode = info->mode_mask;
456 info->mode_mask, new_mode);
/linux-master/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_crtc.c117 u32 new_mode; local
122 new_mode = mdev->dpmode | BIT(master->id);
123 if (WARN_ON(new_mode == mdev->dpmode)) {
128 err = mdev->funcs->change_opmode(mdev, new_mode);
131 mdev->dpmode, new_mode);
135 mdev->dpmode = new_mode;
141 if (new_mode != KOMEDA_MODE_DUAL_DISP) {
168 u32 new_mode; local
173 new_mode = mdev->dpmode & (~BIT(master->id));
175 if (WARN_ON(new_mode
[all...]

Completed in 648 milliseconds

123