Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/video/backlight/
H A 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->dev || lv->pdata->dev == info->device; in lv5207lp_backlight_check_fb()
84 struct lv5207lp *lv; in lv5207lp_probe() local
[all …]
/openbmc/linux/fs/jfs/
H A 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()
827 struct lv *lv; in dtInsert() local
886 lv = & dtlck->lv[0]; in dtInsert()
[all …]
H A Djfs_txnmgr.h149 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: */
H A Djfs_imap.c600 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 …]
/openbmc/linux/fs/xfs/
H A 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()
H A Dxfs_log_cil.c281 struct xfs_log_vec *lv; in xlog_cil_alloc_shadow_bufs() local
343 lv = xlog_kvmalloc(buf_size); in xlog_cil_alloc_shadow_bufs()
345 memset(lv, 0, xlog_cil_iovec_space(niovecs)); in xlog_cil_alloc_shadow_bufs()
347 INIT_LIST_HEAD(&lv->lv_list); in xlog_cil_alloc_shadow_bufs()
348 lv->lv_item = lip; in xlog_cil_alloc_shadow_bufs()
349 lv->lv_size = buf_size; in xlog_cil_alloc_shadow_bufs()
351 lv->lv_buf_len = XFS_LOG_VEC_ORDERED; in xlog_cil_alloc_shadow_bufs()
353 lv->lv_iovecp = (struct xfs_log_iovec *)&lv[1]; in xlog_cil_alloc_shadow_bufs()
354 lip->li_lv_shadow = lv; in xlog_cil_alloc_shadow_bufs()
357 lv = lip->li_lv_shadow; in xlog_cil_alloc_shadow_bufs()
[all …]
H A Dxfs_inode_item.c333 struct xfs_log_vec *lv, in xfs_inode_item_format_data_fork()
351 p = xlog_prepare_iovec(lv, vecp, XLOG_REG_TYPE_IEXT); in xfs_inode_item_format_data_fork()
353 xlog_finish_iovec(lv, *vecp, data_bytes); in xfs_inode_item_format_data_fork()
370 xlog_copy_iovec(lv, vecp, XLOG_REG_TYPE_IBROOT, in xfs_inode_item_format_data_fork()
388 xlog_copy_iovec(lv, vecp, XLOG_REG_TYPE_ILOCAL, in xfs_inode_item_format_attr_fork()
413 struct xfs_log_vec *lv, in xfs_inode_item_format_attr_fork()
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,
466 xlog_copy_iovec(lv, vec in xfs_inode_to_log_dinode_ts()
301 xfs_inode_item_format_data_fork(struct xfs_inode_log_item * iip,struct xfs_inode_log_format * ilf,struct xfs_log_vec * lv,struct xfs_log_iovec ** vecp) xfs_inode_item_format_data_fork() argument
381 xfs_inode_item_format_attr_fork(struct xfs_inode_log_item * iip,struct xfs_inode_log_format * ilf,struct xfs_log_vec * lv,struct xfs_log_iovec ** vecp) xfs_inode_item_format_attr_fork() argument
579 xfs_inode_item_format_core(struct xfs_inode * ip,struct xfs_log_vec * lv,struct xfs_log_iovec ** vecp) xfs_inode_item_format_core() argument
604 xfs_inode_item_format(struct xfs_log_item * lip,struct xfs_log_vec * lv) xfs_inode_item_format() argument
[all...]
H A Dxfs_dquot_item.c47 struct xfs_log_vec *lv) in xfs_qm_dquot_logitem_format()
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()
46 xfs_qm_dquot_logitem_format(struct xfs_log_item * lip,struct xfs_log_vec * lv) xfs_qm_dquot_logitem_format() argument
H A 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()
2183 struct xfs_log_vec *lv = lip->li_lv; in xlog_print_trans() local
2190 if (!lv) in xlog_print_trans()
2192 xfs_warn(mp, " niovecs = %d", lv->lv_niovecs); in xlog_print_trans()
2193 xfs_warn(mp, " size = %d", lv->lv_size); in xlog_print_trans()
[all …]
H A Dxfs_buf_item.c256 struct xfs_log_vec *lv, in xfs_buf_item_copy_iovec()
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()
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()
441 xfs_buf_item_format_segment(bip, lv, &vecp, offset, in xfs_buf_item_format()
255 xfs_buf_item_copy_iovec(struct xfs_log_vec * lv,struct xfs_log_iovec ** vecp,struct xfs_buf * bp,uint offset,int first_bit,uint nbits) xfs_buf_item_copy_iovec() argument
271 xfs_buf_item_format_segment(struct xfs_buf_log_item * bip,struct xfs_log_vec * lv,struct xfs_log_iovec ** vecp,uint offset,struct xfs_buf_log_format * blfp) xfs_buf_item_format_segment() argument
399 xfs_buf_item_format(struct xfs_log_item * lip,struct xfs_log_vec * lv) xfs_buf_item_format() argument
/openbmc/openbmc/poky/bitbake/lib/toaster/orm/management/commands/
H A Dlsupdates.py171 lv, created = Layer_Version.objects.get_or_create(
183 lv.release = li_branch_id_to_toaster_release[index.layerBranches[id].branch_id]
184 lv.up_date = index.layerBranches[id].updated
185 lv.commit = index.layerBranches[id].actual_branch
186 lv.dirpath = index.layerBranches[id].vcs_subdir
187 lv.save()
190 lv.pk
198 lv = Layer_Version.objects.get(
203 if lv not in dependlist:
204 dependlist[lv] = []
[all …]
/openbmc/linux/fs/nfs/blocklayout/
H A 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 …]
/openbmc/qemu/
H A Dos-posix.c106 unsigned long lv; in os_set_runas() local
119 rc = qemu_strtoul(user_id, &ep, 0, &lv); in os_set_runas()
120 got_uid = lv; /* overflow here is ID in C99 */ in os_set_runas()
121 if (rc || *ep != ':' || got_uid != lv || got_uid == (uid_t)-1) { in os_set_runas()
125 rc = qemu_strtoul(ep + 1, 0, 0, &lv); in os_set_runas()
126 got_gid = lv; /* overflow here is ID in C99 */ in os_set_runas()
127 if (rc || got_gid != lv || got_gid == (gid_t)-1) { in os_set_runas()
/openbmc/openbmc/poky/bitbake/lib/toaster/toastermain/management/commands/
H A Dbuildimport.py237 for lv in layer_versions:
238 layer = Layer.objects.filter(pk=lv.layer.pk)[0]
244 lv_dict["%s,%s,%s" % (url_short,lv.dirpath,'')] = (lv.id,layer.name)
245 lv_dict["%s,%s,%s" % (url_short,lv.dirpath,lv.branch)] = (lv.id,layer.name)
246 lv_dict["%s,%s,%s" % (url_short,lv.dirpath,lv.commit)] = (lv.id,layer.name)
346 lv = Layer_Version.objects.get(pk=int(lv_id[0]))
348 layercommit=lv)
354 lv = Layer_Version.objects.get(pk=int(lv_id[0]))
356 layercommit=lv)
H A Dbuilddelete.py36 for lv in b.layer_version_build.all():
37 lv.delete()
/openbmc/u-boot/arch/arm/dts/
H A Dlogicpd-som-lv-35xx-devkit.dts10 #include "logicpd-som-lv.dtsi"
11 #include "logicpd-som-lv-baseboard.dtsi"
16 compatible = "logicpd,dm3730-som-lv-devkit", "ti,omap3";
H A Dlogicpd-som-lv-37xx-devkit.dts10 #include "logicpd-som-lv.dtsi"
11 #include "logicpd-som-lv-baseboard.dtsi"
16 compatible = "logicpd,dm3730-som-lv-devkit", "ti,omap3630", "ti,omap3";
/openbmc/linux/arch/arm/boot/dts/ti/omap/
H A 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";
H A 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";
/openbmc/linux/tools/gpio/
H A 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()
/openbmc/linux/drivers/gpu/drm/udl/
H A Dudl_modeset.c125 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()
/openbmc/u-boot/board/bosch/shc/
H A Dboard.c489 int lv; in hang_bosch() local
500 for (lv = 0; lv < code; lv++) { in hang_bosch()
/openbmc/linux/arch/sparc/kernel/
H A 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()
/openbmc/qemu/pc-bios/keymaps/
H A Dmeson.build24 'lv': '-l lv',
/openbmc/u-boot/configs/
H A Domap3_logic_somlv_defconfig16 CONFIG_DEFAULT_FDT_FILE="logicpd-som-lv-37xx-devkit.dtb"
38 CONFIG_DEFAULT_DEVICE_TREE="logicpd-som-lv-37xx-devkit"

123