Home
last modified time | relevance | path

Searched refs:lv (Results 1 – 25 of 44) sorted by relevance

12

/Linux-v6.1/drivers/video/backlight/
Dlv5207lp.c41 static int lv5207lp_write(struct lv5207lp *lv, u8 reg, u8 data) in lv5207lp_write() argument
43 return i2c_smbus_write_byte_data(lv->client, reg, data); in lv5207lp_write()
48 struct lv5207lp *lv = bl_get_data(backlight); in lv5207lp_backlight_update_status() local
52 lv5207lp_write(lv, LV5207LP_CTRL1, in lv5207lp_backlight_update_status()
54 lv5207lp_write(lv, LV5207LP_CTRL2, in lv5207lp_backlight_update_status()
58 lv5207lp_write(lv, LV5207LP_CTRL1, 0); in lv5207lp_backlight_update_status()
59 lv5207lp_write(lv, LV5207LP_CTRL2, 0); in lv5207lp_backlight_update_status()
68 struct lv5207lp *lv = bl_get_data(backlight); in lv5207lp_backlight_check_fb() local
70 return lv->pdata->fbdev == NULL || lv->pdata->fbdev == info->dev; in lv5207lp_backlight_check_fb()
85 struct lv5207lp *lv; in lv5207lp_probe() local
[all …]
/Linux-v6.1/fs/jfs/
Djfs_dtree.c296 struct lv *lv; in lock_index() local
303 lv = &llck->lv[llck->index]; in lock_index()
309 lv->offset = ((index - 2) & 511) >> 1; in lock_index()
310 lv->length = 1; in lock_index()
330 struct lv *lv; in add_index() local
415 lv = &llck->lv[0]; in add_index()
417 lv->offset = 0; in add_index()
418 lv->length = 6; /* tlckDATA slot size is 16 bytes */ in add_index()
822 struct lv *lv; in dtInsert() local
879 lv = & dtlck->lv[0]; in dtInsert()
[all …]
Djfs_txnmgr.h149 struct lv { struct
168 struct lv lv[20]; /* 40: */ member
184 struct lv header; /* 2: */
185 struct lv lwm; /* 2: low water mark */
186 struct lv hwm; /* 2: high water mark */
187 struct lv twm; /* 2: */
Djfs_imap.c596 struct lv *lv; in diWrite() local
687 lv = ilinelock->lv; in diWrite()
688 for (n = 0; n < ilinelock->index; n++, lv++) { in diWrite()
689 memcpy(&xp->xad[lv->offset], &p->xad[lv->offset], in diWrite()
690 lv->length << L2XTSLOTSIZE); in diWrite()
723 lv = ilinelock->lv; in diWrite()
724 for (n = 0; n < ilinelock->index; n++, lv++) { in diWrite()
725 memcpy(&xp->xad[lv->offset], &p->xad[lv->offset], in diWrite()
726 lv->length << L2XTSLOTSIZE); in diWrite()
747 lv = ilinelock->lv; in diWrite()
[all …]
Djfs_logmgr.c360 struct lv *lv; in lmWriteRecord() local
400 lv = linelock->lv; in lmWriteRecord()
401 for (i = 0; i < linelock->index; i++, lv++) { in lmWriteRecord()
402 if (lv->length == 0) in lmWriteRecord()
418 src = (u8 *) p + (lv->offset << l2linesize); in lmWriteRecord()
419 srclen = lv->length << l2linesize; in lmWriteRecord()
448 lvd->offset = cpu_to_le16(lv->offset); in lmWriteRecord()
449 lvd->length = cpu_to_le16(lv->length); in lmWriteRecord()
452 lv->offset, lv->length); in lmWriteRecord()
/Linux-v6.1/fs/xfs/
Dxfs_log.h36 void *xlog_prepare_iovec(struct xfs_log_vec *lv, struct xfs_log_iovec **vecp,
40 xlog_finish_iovec(struct xfs_log_vec *lv, struct xfs_log_iovec *vec, in xlog_finish_iovec() argument
67 lv->lv_buf_len += len; in xlog_finish_iovec()
68 lv->lv_bytes += len; in xlog_finish_iovec()
72 ASSERT((void *)lv->lv_buf + lv->lv_bytes <= (void *)lv + lv->lv_size); in xlog_finish_iovec()
79 xlog_copy_iovec(struct xfs_log_vec *lv, struct xfs_log_iovec **vecp, in xlog_copy_iovec() argument
84 buf = xlog_prepare_iovec(lv, vecp, type); in xlog_copy_iovec()
86 xlog_finish_iovec(lv, *vecp, len); in xlog_copy_iovec()
91 xlog_copy_from_iovec(struct xfs_log_vec *lv, struct xfs_log_iovec **vecp, in xlog_copy_from_iovec() argument
94 return xlog_copy_iovec(lv, vecp, src->i_type, src->i_addr, src->i_len); in xlog_copy_from_iovec()
Dxfs_log_cil.c276 struct xfs_log_vec *lv; in xlog_cil_alloc_shadow_bufs() local
338 lv = xlog_kvmalloc(buf_size); in xlog_cil_alloc_shadow_bufs()
340 memset(lv, 0, xlog_cil_iovec_space(niovecs)); in xlog_cil_alloc_shadow_bufs()
342 INIT_LIST_HEAD(&lv->lv_list); in xlog_cil_alloc_shadow_bufs()
343 lv->lv_item = lip; in xlog_cil_alloc_shadow_bufs()
344 lv->lv_size = buf_size; in xlog_cil_alloc_shadow_bufs()
346 lv->lv_buf_len = XFS_LOG_VEC_ORDERED; in xlog_cil_alloc_shadow_bufs()
348 lv->lv_iovecp = (struct xfs_log_iovec *)&lv[1]; in xlog_cil_alloc_shadow_bufs()
349 lip->li_lv_shadow = lv; in xlog_cil_alloc_shadow_bufs()
352 lv = lip->li_lv_shadow; in xlog_cil_alloc_shadow_bufs()
[all …]
Dxfs_inode_item.c154 struct xfs_log_vec *lv, in xfs_inode_item_format_data_fork() argument
172 p = xlog_prepare_iovec(lv, vecp, XLOG_REG_TYPE_IEXT); in xfs_inode_item_format_data_fork()
174 xlog_finish_iovec(lv, *vecp, data_bytes); in xfs_inode_item_format_data_fork()
191 xlog_copy_iovec(lv, vecp, XLOG_REG_TYPE_IBROOT, in xfs_inode_item_format_data_fork()
209 xlog_copy_iovec(lv, vecp, XLOG_REG_TYPE_ILOCAL, in xfs_inode_item_format_data_fork()
234 struct xfs_log_vec *lv, in xfs_inode_item_format_attr_fork() argument
253 p = xlog_prepare_iovec(lv, vecp, XLOG_REG_TYPE_IATTR_EXT); in xfs_inode_item_format_attr_fork()
255 xlog_finish_iovec(lv, *vecp, data_bytes); in xfs_inode_item_format_attr_fork()
271 xlog_copy_iovec(lv, vecp, XLOG_REG_TYPE_IATTR_BROOT, in xfs_inode_item_format_attr_fork()
287 xlog_copy_iovec(lv, vecp, XLOG_REG_TYPE_IATTR_LOCAL, in xfs_inode_item_format_attr_fork()
[all …]
Dxfs_dquot_item.c46 struct xfs_log_vec *lv) in xfs_qm_dquot_logitem_format() argument
53 qlf = xlog_prepare_iovec(lv, &vecp, XLOG_REG_TYPE_QFORMAT); in xfs_qm_dquot_logitem_format()
60 xlog_finish_iovec(lv, vecp, sizeof(struct xfs_dq_logformat)); in xfs_qm_dquot_logitem_format()
64 xlog_copy_iovec(lv, &vecp, XLOG_REG_TYPE_DQUOT, &ddq, in xfs_qm_dquot_logitem_format()
Dxfs_log.c107 struct xfs_log_vec *lv, in xlog_prepare_iovec() argument
117 ASSERT(vec - lv->lv_iovecp < lv->lv_niovecs); in xlog_prepare_iovec()
120 vec = &lv->lv_iovecp[0]; in xlog_prepare_iovec()
123 len = lv->lv_buf_len + sizeof(struct xlog_op_header); in xlog_prepare_iovec()
125 lv->lv_buf_len = round_up(len, sizeof(uint64_t)) - in xlog_prepare_iovec()
130 vec->i_addr = lv->lv_buf + lv->lv_buf_len; in xlog_prepare_iovec()
2199 struct xfs_log_vec *lv = lip->li_lv; in xlog_print_trans() local
2206 if (!lv) in xlog_print_trans()
2208 xfs_warn(mp, " niovecs = %d", lv->lv_niovecs); in xlog_print_trans()
2209 xfs_warn(mp, " size = %d", lv->lv_size); in xlog_print_trans()
[all …]
Dxfs_buf_item.c255 struct xfs_log_vec *lv, in xfs_buf_item_copy_iovec() argument
263 xlog_copy_iovec(lv, vecp, XLOG_REG_TYPE_BCHUNK, in xfs_buf_item_copy_iovec()
271 struct xfs_log_vec *lv, in xfs_buf_item_format_segment() argument
302 blfp = xlog_copy_iovec(lv, vecp, XLOG_REG_TYPE_BFORMAT, blfp, base_size); in xfs_buf_item_format_segment()
334 xfs_buf_item_copy_iovec(lv, vecp, bp, offset, in xfs_buf_item_format_segment()
371 xfs_buf_item_copy_iovec(lv, vecp, bp, offset, in xfs_buf_item_format_segment()
377 xfs_buf_item_copy_iovec(lv, vecp, bp, offset, in xfs_buf_item_format_segment()
399 struct xfs_log_vec *lv) in xfs_buf_item_format() argument
440 xfs_buf_item_format_segment(bip, lv, &vecp, offset, in xfs_buf_item_format()
Dxfs_attr_item.c165 struct xfs_log_vec *lv) in xfs_attri_item_format() argument
187 xlog_copy_iovec(lv, &vecp, XLOG_REG_TYPE_ATTRI_FORMAT, in xfs_attri_item_format()
190 xlog_copy_from_iovec(lv, &vecp, &nv->name); in xfs_attri_item_format()
192 xlog_copy_from_iovec(lv, &vecp, &nv->value); in xfs_attri_item_format()
278 struct xfs_log_vec *lv) in xfs_attrd_item_format() argument
286 xlog_copy_iovec(lv, &vecp, XLOG_REG_TYPE_ATTRD_FORMAT, in xfs_attrd_item_format()
Dxfs_icreate_item.c52 struct xfs_log_vec *lv) in xfs_icreate_item_format() argument
57 xlog_copy_iovec(lv, &vecp, XLOG_REG_TYPE_ICREATE, in xfs_icreate_item_format()
Dxfs_refcount_item.c87 struct xfs_log_vec *lv) in xfs_cui_item_format() argument
98 xlog_copy_iovec(lv, &vecp, XLOG_REG_TYPE_CUI_FORMAT, &cuip->cui_format, in xfs_cui_item_format()
185 struct xfs_log_vec *lv) in xfs_cud_item_format() argument
193 xlog_copy_iovec(lv, &vecp, XLOG_REG_TYPE_CUD_FORMAT, &cudp->cud_format, in xfs_cud_item_format()
Dxfs_bmap_item.c88 struct xfs_log_vec *lv) in xfs_bui_item_format() argument
99 xlog_copy_iovec(lv, &vecp, XLOG_REG_TYPE_BUI_FORMAT, &buip->bui_format, in xfs_bui_item_format()
179 struct xfs_log_vec *lv) in xfs_bud_item_format() argument
187 xlog_copy_iovec(lv, &vecp, XLOG_REG_TYPE_BUD_FORMAT, &budp->bud_format, in xfs_bud_item_format()
Dxfs_rmap_item.c86 struct xfs_log_vec *lv) in xfs_rui_item_format() argument
97 xlog_copy_iovec(lv, &vecp, XLOG_REG_TYPE_RUI_FORMAT, &ruip->rui_format, in xfs_rui_item_format()
183 struct xfs_log_vec *lv) in xfs_rud_item_format() argument
191 xlog_copy_iovec(lv, &vecp, XLOG_REG_TYPE_RUD_FORMAT, &rudp->rud_format, in xfs_rud_item_format()
Dxfs_extfree_item.c91 struct xfs_log_vec *lv) in xfs_efi_item_format() argument
102 xlog_copy_iovec(lv, &vecp, XLOG_REG_TYPE_EFI_FORMAT, in xfs_efi_item_format()
261 struct xfs_log_vec *lv) in xfs_efd_item_format() argument
271 xlog_copy_iovec(lv, &vecp, XLOG_REG_TYPE_EFD_FORMAT, in xfs_efd_item_format()
/Linux-v6.1/fs/nfs/blocklayout/
Dblocklayout.c506 struct layout_verification *lv) in verify_extent() argument
508 if (lv->mode == IOMODE_READ) { in verify_extent()
512 if (be->be_f_offset != lv->start) in verify_extent()
514 lv->start += be->be_length; in verify_extent()
519 if (be->be_f_offset != lv->start) in verify_extent()
521 if (lv->cowread > lv->start) in verify_extent()
523 lv->start += be->be_length; in verify_extent()
524 lv->inval = lv->start; in verify_extent()
527 if (be->be_f_offset != lv->start) in verify_extent()
529 lv->start += be->be_length; in verify_extent()
[all …]
/Linux-v6.1/drivers/gpu/drm/udl/
Dudl_modeset.c104 u32 lv = 0xFFFF; /* This is the lfsr value that the hw starts with */ in udl_lfsr16() local
107 lv = ((lv << 1) | in udl_lfsr16()
108 (((lv >> 15) ^ (lv >> 4) ^ (lv >> 2) ^ (lv >> 1)) & 1)) in udl_lfsr16()
112 return (u16) lv; in udl_lfsr16()
/Linux-v6.1/arch/arm/boot/dts/
Dlogicpd-som-lv-35xx-devkit.dts6 #include "logicpd-som-lv.dtsi"
7 #include "logicpd-som-lv-baseboard.dtsi"
12 compatible = "logicpd,dm3730-som-lv-devkit", "ti,omap3430", "ti,omap3";
Dlogicpd-som-lv-37xx-devkit.dts6 #include "logicpd-som-lv.dtsi"
7 #include "logicpd-som-lv-baseboard.dtsi"
12 compatible = "logicpd,dm3730-som-lv-devkit", "ti,omap3630", "ti,omap3";
/Linux-v6.1/tools/gpio/
Dgpio-utils.c212 struct gpio_v2_line_values lv; in gpiotools_gets() local
223 gpiotools_set_bit(&lv.mask, i); in gpiotools_gets()
224 ret = gpiotools_get_values(fd, &lv); in gpiotools_gets()
227 values[i] = gpiotools_test_bit(lv.bits, i); in gpiotools_gets()
/Linux-v6.1/arch/sparc/kernel/
Dcpumap.c130 struct cpuinfo_level *lv = &tree_level[i]; in enumerate_cpuinfo_nodes() local
133 lv->start_index = lv->end_index = lv->num_nodes = 0; in enumerate_cpuinfo_nodes()
/Linux-v6.1/drivers/gpu/drm/exynos/
Dexynos_drm_ipp.c481 struct drm_exynos_ipp_limit_val *lh = &l.h, *lv = &l.v; in exynos_drm_ipp_check_size_limits() local
493 lv = &l.h; in exynos_drm_ipp_check_size_limits()
499 !__size_limit_check(buf->rect.h, lv) || in exynos_drm_ipp_check_size_limits()
500 !__align_check(buf->rect.y, lv->align)) in exynos_drm_ipp_check_size_limits()
526 const struct drm_exynos_ipp_limit_val *lh, *lv; in exynos_drm_ipp_check_scale_limits() local
537 lv = (!swap) ? &limits->v : &limits->h; in exynos_drm_ipp_check_scale_limits()
542 !__scale_limit_check(src->h, dh, lv->min, lv->max)) in exynos_drm_ipp_check_scale_limits()
/Linux-v6.1/drivers/gpio/
Dgpiolib-cdev.c1197 struct gpio_v2_line_values lv; in linereq_get_values() local
1205 if (copy_from_user(&lv, ip, sizeof(lv))) in linereq_get_values()
1209 if (lv.mask & BIT_ULL(i)) { in linereq_get_values()
1223 if (lv.mask & BIT_ULL(i)) { in linereq_get_values()
1237 lv.bits = 0; in linereq_get_values()
1239 if (lv.mask & BIT_ULL(i)) { in linereq_get_values()
1245 lv.bits |= BIT_ULL(i); in linereq_get_values()
1250 if (copy_to_user(ip, &lv, sizeof(lv))) in linereq_get_values()
1257 struct gpio_v2_line_values *lv) in linereq_set_values_unlocked() argument
1266 if (lv->mask & BIT_ULL(i)) { in linereq_set_values_unlocked()
[all …]

12