Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/iio/adc/
Dadi-axi-adc.c70 struct adi_axi_adc_conv conv; member
79 static struct adi_axi_adc_client *conv_to_client(struct adi_axi_adc_conv *conv) in conv_to_client() argument
81 return container_of(conv, struct adi_axi_adc_client, conv); in conv_to_client()
84 void *adi_axi_adc_conv_priv(struct adi_axi_adc_conv *conv) in adi_axi_adc_conv_priv() argument
86 struct adi_axi_adc_client *cl = conv_to_client(conv); in adi_axi_adc_conv_priv()
126 struct adi_axi_adc_conv *conv = &st->client->conv; in adi_axi_adc_read_raw() local
128 if (!conv->read_raw) in adi_axi_adc_read_raw()
131 return conv->read_raw(conv, chan, val, val2, mask); in adi_axi_adc_read_raw()
139 struct adi_axi_adc_conv *conv = &st->client->conv; in adi_axi_adc_write_raw() local
141 if (!conv->write_raw) in adi_axi_adc_write_raw()
[all …]
Dad9467.c160 static int ad9467_reg_access(struct adi_axi_adc_conv *conv, unsigned int reg, in ad9467_reg_access() argument
163 struct ad9467_state *st = adi_axi_adc_conv_priv(conv); in ad9467_reg_access()
200 static void __ad9467_get_scale(struct adi_axi_adc_conv *conv, int index, in __ad9467_get_scale() argument
203 const struct adi_axi_adc_chip_info *info = conv->chip_info; in __ad9467_get_scale()
276 static int ad9467_get_scale(struct adi_axi_adc_conv *conv, int *val, int *val2) in ad9467_get_scale() argument
278 const struct adi_axi_adc_chip_info *info = conv->chip_info; in ad9467_get_scale()
280 struct ad9467_state *st = adi_axi_adc_conv_priv(conv); in ad9467_get_scale()
298 __ad9467_get_scale(conv, i, val, val2); in ad9467_get_scale()
303 static int ad9467_set_scale(struct adi_axi_adc_conv *conv, int val, int val2) in ad9467_set_scale() argument
305 const struct adi_axi_adc_chip_info *info = conv->chip_info; in ad9467_set_scale()
[all …]
Dpalmas_gpadc.c995 int adc_period, conv; in palmas_adc_configure_events() local
1018 conv = 0; in palmas_adc_configure_events()
1024 conv |= PALMAS_GPADC_AUTO_CTRL_AUTO_CONV0_EN; in palmas_adc_configure_events()
1061 conv |= PALMAS_GPADC_AUTO_CTRL_AUTO_CONV1_EN; in palmas_adc_configure_events()
1103 PALMAS_GPADC_AUTO_CTRL_AUTO_CONV0_EN, conv); in palmas_adc_configure_events()
/linux-6.6.21/include/linux/iio/adc/
Dadi-axi-adc.h49 int (*preenable_setup)(struct adi_axi_adc_conv *conv);
50 int (*reg_access)(struct adi_axi_adc_conv *conv, unsigned int reg,
52 int (*read_raw)(struct adi_axi_adc_conv *conv,
55 int (*write_raw)(struct adi_axi_adc_conv *conv,
58 int (*read_avail)(struct adi_axi_adc_conv *conv,
66 void *adi_axi_adc_conv_priv(struct adi_axi_adc_conv *conv);
/linux-6.6.21/fs/smb/server/
Dmisc.c316 char *conv; in ksmbd_convert_dir_info_name() local
322 conv = kmalloc(sz, GFP_KERNEL); in ksmbd_convert_dir_info_name()
323 if (!conv) in ksmbd_convert_dir_info_name()
327 *conv_len = smbConvertToUTF16((__le16 *)conv, d_info->name, in ksmbd_convert_dir_info_name()
332 conv[*conv_len] = 0x00; in ksmbd_convert_dir_info_name()
333 conv[*conv_len + 1] = 0x00; in ksmbd_convert_dir_info_name()
334 return conv; in ksmbd_convert_dir_info_name()
/linux-6.6.21/Documentation/devicetree/bindings/net/pcs/
Drenesas,rzn1-miic.yaml56 "^mii-conv@[0-5]$":
147 mii_conv1: mii-conv@1 {
152 mii_conv2: mii-conv@2 {
157 mii_conv3: mii-conv@3 {
162 mii_conv4: mii-conv@4 {
167 mii_conv5: mii-conv@5 {
/linux-6.6.21/drivers/net/pcs/
Dpcs-rzn1-miic.c63 u8 conv[MIIC_MODCTRL_CONF_CONV_NUM]; member
421 if (miic_modctrl_match(table_entry->conv, dt_val)) { in miic_match_dt_conf()
437 struct device_node *conv; in miic_parse_dt() local
446 for_each_child_of_node(np, conv) { in miic_parse_dt()
447 if (of_property_read_u32(conv, "reg", &port)) in miic_parse_dt()
450 if (!of_device_is_available(conv)) in miic_parse_dt()
453 if (of_property_read_u32(conv, "renesas,miic-input", &conf) == 0) in miic_parse_dt()
/linux-6.6.21/kernel/
Dsysctl.c474 int (*conv)(bool *negp, unsigned long *lvalp, int *valp, in __do_proc_dointvec()
491 if (!conv) in __do_proc_dointvec()
492 conv = do_proc_dointvec_conv; in __do_proc_dointvec()
517 if (conv(&neg, &lval, i, 1, data)) { in __do_proc_dointvec()
522 if (conv(&neg, &lval, i, 0, data)) { in __do_proc_dointvec()
546 int (*conv)(bool *negp, unsigned long *lvalp, int *valp, in do_proc_dointvec()
551 buffer, lenp, ppos, conv, data); in do_proc_dointvec()
558 int (*conv)(unsigned long *lvalp, in do_proc_douintvec_w()
591 if (conv(&lval, tbl_data, 1, data)) { in do_proc_douintvec_w()
613 int (*conv)(unsigned long *lvalp, in do_proc_douintvec_r()
[all …]
/linux-6.6.21/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-6.6.21/drivers/media/i2c/ccs/
Dccs-reg-access.c179 bool only8, bool conv) in __ccs_read_addr() argument
192 if (!conv) in __ccs_read_addr()
251 bool force8, bool quirk, bool conv, bool data) in ccs_read_addr_raw() argument
270 return __ccs_read_addr(sensor, reg, val, true, conv); in ccs_read_addr_raw()
276 conv); in ccs_read_addr_raw()
/linux-6.6.21/drivers/media/v4l2-core/
Dv4l2-fwnode.c88 const struct v4l2_fwnode_bus_conv *conv = in v4l2_fwnode_bus_type_to_mbus() local
91 return conv ? conv->mbus_type : V4L2_MBUS_INVALID; in v4l2_fwnode_bus_type_to_mbus()
97 const struct v4l2_fwnode_bus_conv *conv = in v4l2_fwnode_bus_type_to_string() local
100 return conv ? conv->name : "not found"; in v4l2_fwnode_bus_type_to_string()
118 const struct v4l2_fwnode_bus_conv *conv = in v4l2_fwnode_mbus_type_to_string() local
121 return conv ? conv->name : "not found"; in v4l2_fwnode_mbus_type_to_string()
/linux-6.6.21/Documentation/devicetree/bindings/input/
Dazoteq,iqs7222.yaml329 azoteq,conv-period:
335 azoteq,conv-frac:
947 azoteq,conv-period = <5>;
948 azoteq,conv-frac = <127>;
955 azoteq,conv-period = <5>;
956 azoteq,conv-frac = <127>;
963 azoteq,conv-period = <5>;
964 azoteq,conv-frac = <127>;
971 azoteq,conv-period = <5>;
972 azoteq,conv-frac = <127>;
[all …]
/linux-6.6.21/arch/arm/boot/dts/renesas/
Dr9a06g032.dtsi350 mii_conv1: mii-conv@1 {
355 mii_conv2: mii-conv@2 {
360 mii_conv3: mii-conv@3 {
365 mii_conv4: mii-conv@4 {
370 mii_conv5: mii-conv@5 {
/linux-6.6.21/drivers/video/fbdev/omap/
Dhwa742.c177 static void set_format_regs(int conv, int transl, int flags) in set_format_regs() argument
191 hwa742_write_reg(HWA742_INPUT_MODE_REG, conv); in set_format_regs()
343 int conv, transl; in send_frame_handler() local
359 conv = 0x08; in send_frame_handler()
364 conv = 0x09; in send_frame_handler()
369 conv = 0x01; in send_frame_handler()
378 set_format_regs(conv, transl, flags); in send_frame_handler()
/linux-6.6.21/tools/testing/selftests/zram/
Dzram01.sh40 dd conv=notrunc if=/dev/zero of=zram${i}/file \
/linux-6.6.21/drivers/iio/common/ms_sensors/
Dms_sensors_i2c.h56 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-6.6.21/drivers/comedi/drivers/
Damplc_pci230.c1862 unsigned short conv; in pci230_ai_start() local
1880 conv = PCI230_ADC_TRIG_NONE; in pci230_ai_start()
1884 conv = PCI230_ADC_TRIG_Z2CT2; in pci230_ai_start()
1890 conv = PCI230_ADC_TRIG_EXTP; in pci230_ai_start()
1893 conv = PCI230_ADC_TRIG_EXTN; in pci230_ai_start()
1899 conv = PCI230_ADC_TRIG_EXTP; in pci230_ai_start()
1902 conv = PCI230_ADC_TRIG_EXTN; in pci230_ai_start()
1911 conv = PCI230_ADC_TRIG_Z2CT2; in pci230_ai_start()
1914 devpriv->adccon = (devpriv->adccon & ~PCI230_ADC_TRIG_MASK) | conv; in pci230_ai_start()
/linux-6.6.21/Documentation/hwmon/
Dmax31827.rst70 a set frequency. When powered on, the chip measures temperatures with 1 conv/s.
72 the conversion frequency to 1 conv/s. The conversion time varies depending on
/linux-6.6.21/tools/testing/selftests/netfilter/
Dnft_queue.sh266 dd conv=sparse status=none if=/dev/zero bs=1M count=200 of=$tmpfile
284 dd conv=sparse status=none if=/dev/zero bs=1M count=200 of=$tmpfile
333 dd conv=sparse status=none if=/dev/zero bs=1M count=200 of=$tmpfile
/linux-6.6.21/Documentation/devicetree/bindings/input/touchscreen/
Dazoteq,iqs7211.yaml276 azoteq,conv-period:
282 azoteq,conv-frac:
455 azoteq,conv-period:
461 azoteq,conv-frac:
560 azoteq,conv-period:
566 azoteq,conv-frac:
/linux-6.6.21/arch/powerpc/crypto/
Daesp10-ppc.pl539 my $conv=$3;
554 SWITCH: for($conv) {
/linux-6.6.21/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-6.6.21/arch/powerpc/boot/
Dwrapper585 run_cmd dd if="$ofile.bin" of="$ofile.bin" conv=notrunc \
589 run_cmd dd if="$ofile.bin" of="$ofile.bin" conv=notrunc \
/linux-6.6.21/scripts/
Dlink-vmlinux.sh144 printf "${et_rel}" | dd of=${2} conv=notrunc bs=1 seek=16 status=none

12