Home
last modified time | relevance | path

Searched refs:conv (Results 1 – 25 of 32) sorted by relevance

12

/Linux-v5.10/drivers/iio/adc/
Dadi-axi-adc.c69 struct adi_axi_adc_conv conv; member
78 static struct adi_axi_adc_client *conv_to_client(struct adi_axi_adc_conv *conv) in conv_to_client() argument
80 return container_of(conv, struct adi_axi_adc_client, conv); in conv_to_client()
83 void *adi_axi_adc_conv_priv(struct adi_axi_adc_conv *conv) in adi_axi_adc_conv_priv() argument
85 struct adi_axi_adc_client *cl = conv_to_client(conv); in adi_axi_adc_conv_priv()
132 struct adi_axi_adc_conv *conv = &st->client->conv; in adi_axi_adc_read_raw() local
134 if (!conv->read_raw) in adi_axi_adc_read_raw()
137 return conv->read_raw(conv, chan, val, val2, mask); in adi_axi_adc_read_raw()
145 struct adi_axi_adc_conv *conv = &st->client->conv; in adi_axi_adc_write_raw() local
147 if (!conv->write_raw) in adi_axi_adc_write_raw()
[all …]
Dad9467.c157 static int ad9467_reg_access(struct adi_axi_adc_conv *conv, unsigned int reg, in ad9467_reg_access() argument
160 struct ad9467_state *st = adi_axi_adc_conv_priv(conv); in ad9467_reg_access()
195 static void __ad9467_get_scale(struct adi_axi_adc_conv *conv, int index, in __ad9467_get_scale() argument
198 const struct adi_axi_adc_chip_info *info = conv->chip_info; in __ad9467_get_scale()
270 static int ad9467_get_scale(struct adi_axi_adc_conv *conv, int *val, int *val2) in ad9467_get_scale() argument
272 const struct adi_axi_adc_chip_info *info = conv->chip_info; in ad9467_get_scale()
274 struct ad9467_state *st = adi_axi_adc_conv_priv(conv); in ad9467_get_scale()
289 __ad9467_get_scale(conv, i, val, val2); in ad9467_get_scale()
294 static int ad9467_set_scale(struct adi_axi_adc_conv *conv, int val, int val2) in ad9467_set_scale() argument
296 const struct adi_axi_adc_chip_info *info = conv->chip_info; in ad9467_set_scale()
[all …]
Dpalmas_gpadc.c649 int adc_period, conv; in palmas_adc_wakeup_configure() local
672 conv = 0; in palmas_adc_wakeup_configure()
677 conv |= PALMAS_GPADC_AUTO_CTRL_AUTO_CONV0_EN; in palmas_adc_wakeup_configure()
708 conv |= PALMAS_GPADC_AUTO_CTRL_AUTO_CONV1_EN; in palmas_adc_wakeup_configure()
745 PALMAS_GPADC_AUTO_CTRL_AUTO_CONV0_EN, conv); in palmas_adc_wakeup_configure()
/Linux-v5.10/include/linux/iio/adc/
Dadi-axi-adc.h48 int (*preenable_setup)(struct adi_axi_adc_conv *conv);
49 int (*reg_access)(struct adi_axi_adc_conv *conv, unsigned int reg,
51 int (*read_raw)(struct adi_axi_adc_conv *conv,
54 int (*write_raw)(struct adi_axi_adc_conv *conv,
62 void *adi_axi_adc_conv_priv(struct adi_axi_adc_conv *conv);
/Linux-v5.10/drivers/media/i2c/
Dtda1997x.c252 const struct color_matrix_coefs *conv; member
665 state->conv = NULL; in tda1997x_configure_csc()
672 state->conv = &conv_matrix[RGBLIMITED_RGBFULL]; in tda1997x_configure_csc()
675 state->conv = &conv_matrix[ITU709_RGBFULL]; in tda1997x_configure_csc()
677 state->conv = &conv_matrix[ITU601_RGBFULL]; in tda1997x_configure_csc()
688 state->conv = &conv_matrix[RGBFULL_ITU601]; in tda1997x_configure_csc()
690 state->conv = &conv_matrix[RGBFULL_ITU709]; in tda1997x_configure_csc()
694 state->conv = &conv_matrix[RGBLIMITED_ITU601]; in tda1997x_configure_csc()
696 state->conv = &conv_matrix[RGBLIMITED_ITU709]; in tda1997x_configure_csc()
701 if (state->conv) { in tda1997x_configure_csc()
[all …]
/Linux-v5.10/drivers/media/v4l2-core/
Dv4l2-fwnode.c93 const struct v4l2_fwnode_bus_conv *conv = in v4l2_fwnode_bus_type_to_mbus() local
96 return conv ? conv->mbus_type : V4L2_MBUS_UNKNOWN; in v4l2_fwnode_bus_type_to_mbus()
102 const struct v4l2_fwnode_bus_conv *conv = in v4l2_fwnode_bus_type_to_string() local
105 return conv ? conv->name : "not found"; in v4l2_fwnode_bus_type_to_string()
123 const struct v4l2_fwnode_bus_conv *conv = in v4l2_fwnode_mbus_type_to_string() local
126 return conv ? conv->name : "not found"; in v4l2_fwnode_mbus_type_to_string()
/Linux-v5.10/kernel/
Dsysctl.c572 int (*conv)(bool *negp, unsigned long *lvalp, int *valp, in __do_proc_dointvec()
589 if (!conv) in __do_proc_dointvec()
590 conv = do_proc_dointvec_conv; in __do_proc_dointvec()
615 if (conv(&neg, &lval, i, 1, data)) { in __do_proc_dointvec()
620 if (conv(&neg, &lval, i, 0, data)) { in __do_proc_dointvec()
644 int (*conv)(bool *negp, unsigned long *lvalp, int *valp, in do_proc_dointvec()
649 buffer, lenp, ppos, conv, data); in do_proc_dointvec()
656 int (*conv)(unsigned long *lvalp, in do_proc_douintvec_w()
689 if (conv(&lval, tbl_data, 1, data)) { in do_proc_douintvec_w()
711 int (*conv)(unsigned long *lvalp, in do_proc_douintvec_r()
[all …]
/Linux-v5.10/include/linux/soc/samsung/
Ds3c-adc.h25 void (*conv)(struct s3c_adc_client *client,
/Linux-v5.10/drivers/video/fbdev/omap/
Dhwa742.c169 static void set_format_regs(int conv, int transl, int flags) in set_format_regs() argument
183 hwa742_write_reg(HWA742_INPUT_MODE_REG, conv); in set_format_regs()
335 int conv, transl; in send_frame_handler() local
351 conv = 0x08; in send_frame_handler()
356 conv = 0x09; in send_frame_handler()
361 conv = 0x01; in send_frame_handler()
370 set_format_regs(conv, transl, flags); in send_frame_handler()
/Linux-v5.10/tools/testing/selftests/zram/
Dzram01.sh42 dd conv=notrunc if=/dev/zero of=zram${i}/file \
/Linux-v5.10/drivers/iio/common/ms_sensors/
Dms_sensors_i2c.h45 int ms_sensors_convert_and_read(void *cli, u8 conv, u8 rd,
Dms_sensors_i2c.c104 int ms_sensors_convert_and_read(void *cli, u8 conv, u8 rd, in ms_sensors_convert_and_read() argument
112 ret = i2c_smbus_write_byte(client, conv); in ms_sensors_convert_and_read()
/Linux-v5.10/tools/testing/selftests/netfilter/
Dnft_queue.sh261 dd conv=sparse status=none if=/dev/zero bs=1M count=200 of=$tmpfile
279 dd conv=sparse status=none if=/dev/zero bs=1M count=200 of=$tmpfile
311 dd conv=sparse status=none if=/dev/zero bs=1M count=200 of=$tmpfile
/Linux-v5.10/drivers/staging/comedi/drivers/
Damplc_pci230.c1864 unsigned short conv; in pci230_ai_start() local
1882 conv = PCI230_ADC_TRIG_NONE; in pci230_ai_start()
1886 conv = PCI230_ADC_TRIG_Z2CT2; in pci230_ai_start()
1892 conv = PCI230_ADC_TRIG_EXTP; in pci230_ai_start()
1895 conv = PCI230_ADC_TRIG_EXTN; in pci230_ai_start()
1901 conv = PCI230_ADC_TRIG_EXTP; in pci230_ai_start()
1904 conv = PCI230_ADC_TRIG_EXTN; in pci230_ai_start()
1913 conv = PCI230_ADC_TRIG_Z2CT2; in pci230_ai_start()
1916 devpriv->adccon = (devpriv->adccon & ~PCI230_ADC_TRIG_MASK) | conv; in pci230_ai_start()
/Linux-v5.10/sound/pci/hda/
Dhda_proc.c454 int conv = snd_hda_codec_read(codec, nid, 0, AC_VERB_GET_CONV, 0); in print_audio_io() local
457 (conv & AC_CONV_STREAM) >> AC_CONV_STREAM_SHIFT, in print_audio_io()
458 conv & AC_CONV_CHANNEL); in print_audio_io()
460 if (wid_type == AC_WID_AUD_IN && (conv & AC_CONV_CHANNEL) == 0) { in print_audio_io()
/Linux-v5.10/arch/powerpc/boot/
Dwrapper557 run_cmd dd if="$ofile.bin" of="$ofile.bin" conv=notrunc \
561 run_cmd dd if="$ofile.bin" of="$ofile.bin" conv=notrunc \
/Linux-v5.10/arch/arm/mach-s3c/
Dadc.c222 void (*conv)(struct s3c_adc_client *client, in s3c_adc_register()
244 client->convert_cb = conv; in s3c_adc_register()
/Linux-v5.10/Documentation/admin-guide/media/
Dlmedm04.rst105 echo -ne \\xF0\\x22 | dd conv=notrunc bs=1 count=2 seek=266 of=dvb-usb-lme2510c-rs2000.fw
/Linux-v5.10/drivers/iio/temperature/
Dtsys01.c35 int (*convert_and_read)(void *cli, u8 conv, u8 rd,
/Linux-v5.10/scripts/
Dlink-vmlinux.sh169 printf '\1' | dd of=${2} conv=notrunc bs=1 seek=16 status=none
/Linux-v5.10/fs/xfs/libxfs/
Dxfs_bmap.h42 bool conv; /* overwriting unwritten extents */ member
/Linux-v5.10/Documentation/sound/cards/
Dmultisound.sh1008 PROGS = setdigital msndreset pinnaclecfg conv
1052 d2411fc32cd71a00dcdc1f009e858dd2 MultiSound.d/conv.l
/Linux-v5.10/fs/dlm/
Dlock.c2298 int8_t conv = (lkb->lkb_grmode != DLM_LOCK_IV); in _can_be_granted() local
2353 if (conv && recover) in _can_be_granted()
2379 if (now && conv && !(lkb->lkb_exflags & DLM_LKF_QUECVT)) in _can_be_granted()
2387 if (now && conv && (lkb->lkb_exflags & DLM_LKF_QUECVT)) { in _can_be_granted()
2408 if (!now && conv && first_in_list(lkb, &r->res_convertqueue)) in _can_be_granted()
2422 if (now && !conv && list_empty(&r->res_convertqueue) && in _can_be_granted()
2434 if (!now && !conv && list_empty(&r->res_convertqueue) && in _can_be_granted()
/Linux-v5.10/tools/testing/selftests/net/mptcp/
Dmptcp_connect.sh528 dd if=/dev/urandom conv=notrunc of="$name" bs=1 count=$rem 2> /dev/null
/Linux-v5.10/crypto/
Ddrbg.c285 __be32 conv; in drbg_cpu_to_be32() member
289 conversion->conv = cpu_to_be32(val); in drbg_cpu_to_be32()

12