/linux-6.12.1/drivers/video/backlight/ |
D | lv5207lp.c | 41 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_controls_device() local 70 return !lv->pdata->dev || lv->pdata->dev == display_dev; in lv5207lp_backlight_controls_device() 84 struct lv5207lp *lv; in lv5207lp_probe() local [all …]
|
/linux-6.12.1/fs/xfs/ |
D | xfs_log.h | 36 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()
|
D | xfs_log_cil.c | 278 struct xfs_log_vec *lv; in xlog_cil_alloc_shadow_bufs() local 340 lv = xlog_kvmalloc(buf_size); in xlog_cil_alloc_shadow_bufs() 342 memset(lv, 0, xlog_cil_iovec_space(niovecs)); in xlog_cil_alloc_shadow_bufs() 344 INIT_LIST_HEAD(&lv->lv_list); in xlog_cil_alloc_shadow_bufs() 345 lv->lv_item = lip; in xlog_cil_alloc_shadow_bufs() 346 lv->lv_size = buf_size; in xlog_cil_alloc_shadow_bufs() 348 lv->lv_buf_len = XFS_LOG_VEC_ORDERED; in xlog_cil_alloc_shadow_bufs() 350 lv->lv_iovecp = (struct xfs_log_iovec *)&lv[1]; in xlog_cil_alloc_shadow_bufs() 351 lip->li_lv_shadow = lv; in xlog_cil_alloc_shadow_bufs() 354 lv = lip->li_lv_shadow; in xlog_cil_alloc_shadow_bufs() [all …]
|
D | xfs_inode_item.c | 334 struct xfs_log_vec *lv, in xfs_inode_item_format_data_fork() argument 352 p = xlog_prepare_iovec(lv, vecp, XLOG_REG_TYPE_IEXT); in xfs_inode_item_format_data_fork() 354 xlog_finish_iovec(lv, *vecp, data_bytes); in xfs_inode_item_format_data_fork() 371 xlog_copy_iovec(lv, vecp, XLOG_REG_TYPE_IBROOT, in xfs_inode_item_format_data_fork() 389 xlog_copy_iovec(lv, vecp, XLOG_REG_TYPE_ILOCAL, in xfs_inode_item_format_data_fork() 413 struct xfs_log_vec *lv, in xfs_inode_item_format_attr_fork() argument 432 p = xlog_prepare_iovec(lv, vecp, XLOG_REG_TYPE_IATTR_EXT); in xfs_inode_item_format_attr_fork() 434 xlog_finish_iovec(lv, *vecp, data_bytes); in xfs_inode_item_format_attr_fork() 450 xlog_copy_iovec(lv, vecp, XLOG_REG_TYPE_IATTR_BROOT, in xfs_inode_item_format_attr_fork() 466 xlog_copy_iovec(lv, vecp, XLOG_REG_TYPE_IATTR_LOCAL, in xfs_inode_item_format_attr_fork() [all …]
|
D | xfs_dquot_item.c | 47 struct xfs_log_vec *lv) in xfs_qm_dquot_logitem_format() argument 54 qlf = xlog_prepare_iovec(lv, &vecp, XLOG_REG_TYPE_QFORMAT); in xfs_qm_dquot_logitem_format() 61 xlog_finish_iovec(lv, vecp, sizeof(struct xfs_dq_logformat)); in xfs_qm_dquot_logitem_format() 65 xlog_copy_iovec(lv, &vecp, XLOG_REG_TYPE_DQUOT, &ddq, in xfs_qm_dquot_logitem_format()
|
D | xfs_log.c | 95 struct xfs_log_vec *lv, in xlog_prepare_iovec() argument 105 ASSERT(vec - lv->lv_iovecp < lv->lv_niovecs); in xlog_prepare_iovec() 108 vec = &lv->lv_iovecp[0]; in xlog_prepare_iovec() 111 len = lv->lv_buf_len + sizeof(struct xlog_op_header); in xlog_prepare_iovec() 113 lv->lv_buf_len = round_up(len, sizeof(uint64_t)) - in xlog_prepare_iovec() 118 vec->i_addr = lv->lv_buf + lv->lv_buf_len; in xlog_prepare_iovec() 1943 struct xfs_log_vec *lv = lip->li_lv; in xlog_print_trans() local 1950 if (!lv) in xlog_print_trans() 1952 xfs_warn(mp, " niovecs = %d", lv->lv_niovecs); in xlog_print_trans() 1953 xfs_warn(mp, " size = %d", lv->lv_size); in xlog_print_trans() [all …]
|
D | xfs_buf_item.c | 256 struct xfs_log_vec *lv, in xfs_buf_item_copy_iovec() argument 264 xlog_copy_iovec(lv, vecp, XLOG_REG_TYPE_BCHUNK, in xfs_buf_item_copy_iovec() 272 struct xfs_log_vec *lv, in xfs_buf_item_format_segment() argument 303 blfp = xlog_copy_iovec(lv, vecp, XLOG_REG_TYPE_BFORMAT, blfp, base_size); in xfs_buf_item_format_segment() 335 xfs_buf_item_copy_iovec(lv, vecp, bp, offset, in xfs_buf_item_format_segment() 372 xfs_buf_item_copy_iovec(lv, vecp, bp, offset, in xfs_buf_item_format_segment() 378 xfs_buf_item_copy_iovec(lv, vecp, bp, offset, in xfs_buf_item_format_segment() 400 struct xfs_log_vec *lv) in xfs_buf_item_format() argument 441 xfs_buf_item_format_segment(bip, lv, &vecp, offset, in xfs_buf_item_format()
|
D | xfs_attr_item.c | 199 struct xfs_log_vec *lv) in xfs_attri_item_format() argument 227 xlog_copy_iovec(lv, &vecp, XLOG_REG_TYPE_ATTRI_FORMAT, in xfs_attri_item_format() 230 xlog_copy_from_iovec(lv, &vecp, &nv->name); in xfs_attri_item_format() 233 xlog_copy_from_iovec(lv, &vecp, &nv->new_name); in xfs_attri_item_format() 236 xlog_copy_from_iovec(lv, &vecp, &nv->value); in xfs_attri_item_format() 239 xlog_copy_from_iovec(lv, &vecp, &nv->new_value); in xfs_attri_item_format() 325 struct xfs_log_vec *lv) in xfs_attrd_item_format() argument 333 xlog_copy_iovec(lv, &vecp, XLOG_REG_TYPE_ATTRD_FORMAT, in xfs_attrd_item_format()
|
D | xfs_exchmaps_item.c | 86 struct xfs_log_vec *lv) in xfs_xmi_item_format() argument 94 xlog_copy_iovec(lv, &vecp, XLOG_REG_TYPE_XMI_FORMAT, in xfs_xmi_item_format() 169 struct xfs_log_vec *lv) in xfs_xmd_item_format() argument 177 xlog_copy_iovec(lv, &vecp, XLOG_REG_TYPE_XMD_FORMAT, &xmd_lip->xmd_format, in xfs_xmd_item_format()
|
D | xfs_refcount_item.c | 90 struct xfs_log_vec *lv) in xfs_cui_item_format() argument 101 xlog_copy_iovec(lv, &vecp, XLOG_REG_TYPE_CUI_FORMAT, &cuip->cui_format, in xfs_cui_item_format() 188 struct xfs_log_vec *lv) in xfs_cud_item_format() argument 196 xlog_copy_iovec(lv, &vecp, XLOG_REG_TYPE_CUD_FORMAT, &cudp->cud_format, in xfs_cud_item_format()
|
D | xfs_icreate_item.c | 52 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()
|
D | xfs_rmap_item.c | 89 struct xfs_log_vec *lv) in xfs_rui_item_format() argument 100 xlog_copy_iovec(lv, &vecp, XLOG_REG_TYPE_RUI_FORMAT, &ruip->rui_format, in xfs_rui_item_format() 187 struct xfs_log_vec *lv) in xfs_rud_item_format() argument 195 xlog_copy_iovec(lv, &vecp, XLOG_REG_TYPE_RUD_FORMAT, &rudp->rud_format, in xfs_rud_item_format()
|
D | xfs_bmap_item.c | 90 struct xfs_log_vec *lv) in xfs_bui_item_format() argument 101 xlog_copy_iovec(lv, &vecp, XLOG_REG_TYPE_BUI_FORMAT, &buip->bui_format, in xfs_bui_item_format() 181 struct xfs_log_vec *lv) in xfs_bud_item_format() argument 189 xlog_copy_iovec(lv, &vecp, XLOG_REG_TYPE_BUD_FORMAT, &budp->bud_format, in xfs_bud_item_format()
|
/linux-6.12.1/fs/jfs/ |
D | jfs_dtree.c | 296 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() 827 struct lv *lv; in dtInsert() local 886 lv = & dtlck->lv[0]; in dtInsert() [all …]
|
D | jfs_txnmgr.h | 149 struct lv { struct 168 struct lv lv[20]; /* 40: */ argument 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: */
|
D | jfs_imap.c | 600 struct lv *lv; in diWrite() local 691 lv = ilinelock->lv; in diWrite() 692 for (n = 0; n < ilinelock->index; n++, lv++) { in diWrite() 693 memcpy(&xp->xad[lv->offset], &p->xad[lv->offset], in diWrite() 694 lv->length << L2XTSLOTSIZE); in diWrite() 727 lv = ilinelock->lv; in diWrite() 728 for (n = 0; n < ilinelock->index; n++, lv++) { in diWrite() 729 memcpy(&xp->xad[lv->offset], &p->xad[lv->offset], in diWrite() 730 lv->length << L2XTSLOTSIZE); in diWrite() 751 lv = ilinelock->lv; in diWrite() [all …]
|
D | jfs_logmgr.c | 360 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-6.12.1/fs/nfs/blocklayout/ |
D | blocklayout.c | 506 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-6.12.1/arch/arm/boot/dts/ti/omap/ |
D | logicpd-som-lv-35xx-devkit.dts | 6 #include "logicpd-som-lv.dtsi" 7 #include "logicpd-som-lv-baseboard.dtsi" 12 compatible = "logicpd,dm3730-som-lv-devkit", "ti,omap3430", "ti,omap3";
|
D | logicpd-som-lv-37xx-devkit.dts | 6 #include "logicpd-som-lv.dtsi" 7 #include "logicpd-som-lv-baseboard.dtsi" 12 compatible = "logicpd,dm3730-som-lv-devkit", "ti,omap3630", "ti,omap3";
|
/linux-6.12.1/tools/gpio/ |
D | gpio-utils.c | 212 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-6.12.1/drivers/gpu/drm/udl/ |
D | udl_modeset.c | 125 u32 lv = 0xFFFF; /* This is the lfsr value that the hw starts with */ in udl_lfsr16() local 128 lv = ((lv << 1) | in udl_lfsr16() 129 (((lv >> 15) ^ (lv >> 4) ^ (lv >> 2) ^ (lv >> 1)) & 1)) in udl_lfsr16() 133 return (u16) lv; in udl_lfsr16()
|
/linux-6.12.1/arch/sparc/kernel/ |
D | cpumap.c | 130 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-6.12.1/drivers/gpu/drm/exynos/ |
D | exynos_drm_ipp.c | 481 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-6.12.1/drivers/gpio/ |
D | gpiolib-cdev.c | 1387 struct gpio_v2_line_values lv; in linereq_get_values() local 1395 if (copy_from_user(&lv, ip, sizeof(lv))) in linereq_get_values() 1407 if (lv.mask & BIT_ULL(i)) { in linereq_get_values() 1423 if (lv.mask & BIT_ULL(i)) { in linereq_get_values() 1437 lv.bits = 0; in linereq_get_values() 1440 if (lv.mask & BIT_ULL(i)) { in linereq_get_values() 1446 lv.bits |= BIT_ULL(i); in linereq_get_values() 1451 if (copy_to_user(ip, &lv, sizeof(lv))) in linereq_get_values() 1460 struct gpio_v2_line_values lv; in linereq_set_values() local 1465 if (copy_from_user(&lv, ip, sizeof(lv))) in linereq_set_values() [all …]
|