Home
last modified time | relevance | path

Searched refs:cnv (Results 1 – 7 of 7) sorted by relevance

/linux/fs/ocfs2/dlm/
H A Ddlmconvert.c433 struct dlm_convert_lock *cnv = (struct dlm_convert_lock *)msg->buf; in dlm_convert_lock_handler() local
450 if (cnv->namelen > DLM_LOCKID_NAME_MAX) { in dlm_convert_lock_handler()
456 flags = be32_to_cpu(cnv->flags); in dlm_convert_lock_handler()
469 res = dlm_lookup_lockres(dlm, cnv->name, cnv->namelen); in dlm_convert_lock_handler()
483 if (tmp_lock->ml.cookie == cnv->cookie && in dlm_convert_lock_handler()
484 tmp_lock->ml.node == cnv->node_idx) { in dlm_convert_lock_handler()
495 dlm_get_lock_cookie_node(be64_to_cpu(cnv->cookie)), in dlm_convert_lock_handler()
496 dlm_get_lock_cookie_seq(be64_to_cpu(cnv->cookie))); in dlm_convert_lock_handler()
508 memcpy(&lksb->lvb[0], &cnv->lvb[0], DLM_LVB_LEN); in dlm_convert_lock_handler()
521 cnv->requested_type, in dlm_convert_lock_handler()
/linux/drivers/iio/adc/
H A Dti-ads1018.c218 static int ads1018_spi_read_exclusive(struct ads1018 *ads1018, __be16 *cnv, in ads1018_spi_read_exclusive() argument
229 if (cnv) in ads1018_spi_read_exclusive()
230 *cnv = ads1018->rx_buf[0]; in ads1018_spi_read_exclusive()
249 struct iio_chan_spec const *chan, u16 *cnv) in ads1018_single_shot() argument
286 *cnv = be16_to_cpu(ads1018->rx_buf[0]); in ads1018_single_shot()
300 u16 cnv; in ads1018_read_raw_direct_mode() local
305 ret = ads1018_single_shot(ads1018, chan, &cnv); in ads1018_read_raw_direct_mode()
309 cnv >>= chan->scan_type.shift; in ads1018_read_raw_direct_mode()
310 *val = sign_extend32(cnv, chan->scan_type.realbits - 1); in ads1018_read_raw_direct_mode()
H A Dad7944.c70 struct gpio_desc *cnv; member
338 gpiod_set_value_cansleep(adc->cnv, 1); in ad7944_convert_and_acquire()
340 gpiod_set_value_cansleep(adc->cnv, 0); in ad7944_convert_and_acquire()
722 adc->cnv = devm_gpiod_get_optional(dev, "cnv", GPIOD_OUT_LOW); in ad7944_probe()
723 if (IS_ERR(adc->cnv)) in ad7944_probe()
724 return dev_err_probe(dev, PTR_ERR(adc->cnv), in ad7944_probe()
727 if (!adc->cnv && adc->spi_mode == AD7944_SPI_MODE_DEFAULT) in ad7944_probe()
729 if (adc->cnv && adc->spi_mode != AD7944_SPI_MODE_DEFAULT) in ad7944_probe()
H A Dad4851.c177 struct pwm_device *cnv; member
222 ret = pwm_apply_might_sleep(st->cnv, &cnv_state); in ad4851_set_sampling_freq()
1218 st->cnv = devm_pwm_get(dev, NULL); in ad4851_probe()
1219 if (IS_ERR(st->cnv)) in ad4851_probe()
1220 return dev_err_probe(dev, PTR_ERR(st->cnv), in ad4851_probe()
1236 st->cnv); in ad4851_probe()
/linux/Documentation/filesystems/
H A Dzonefs.rst88 For conventional zones, the sub-directory "cnv" is used. This directory is
92 such devices, the "cnv" sub-directory will not be created.
97 cannot create other directories and cannot rename nor delete the "cnv" and
108 of zones of a particular type. That is, both the "cnv" and "seq" directories
413 dr-xr-xr-x 2 root root 1 Nov 25 13:23 cnv
421 # ls -l /mnt/cnv
427 # mkfs.ext4 /mnt/cnv/0
428 # mount -o loop /mnt/cnv/0 /data
/linux/drivers/block/
H A Dzloop.c1156 struct file *cnv, *seq; in zloop_dev_exists() local
1159 cnv = zloop_filp_open_fmt(O_RDONLY, 0600, "%s/%u/cnv-%06u", in zloop_dev_exists()
1163 exists = !IS_ERR(cnv) || !IS_ERR(seq); in zloop_dev_exists()
1165 if (!IS_ERR(cnv)) in zloop_dev_exists()
1166 fput(cnv); in zloop_dev_exists()
/linux/Documentation/iio/
H A Dad4030.rst116 In this mode, both the ``cnv-gpios`` and a ``pwms`` properties are required.