Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
125 struct adi_axi_adc_conv *conv = &st->client->conv; in adi_axi_adc_read_raw() local
127 if (!conv->read_raw) in adi_axi_adc_read_raw()
130 return conv->read_raw(conv, chan, val, val2, mask); in adi_axi_adc_read_raw()
138 struct adi_axi_adc_conv *conv = &st->client->conv; in adi_axi_adc_write_raw() local
140 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.c659 int adc_period, conv; in palmas_adc_wakeup_configure() local
682 conv = 0; in palmas_adc_wakeup_configure()
687 conv |= PALMAS_GPADC_AUTO_CTRL_AUTO_CONV0_EN; in palmas_adc_wakeup_configure()
718 conv |= PALMAS_GPADC_AUTO_CTRL_AUTO_CONV1_EN; in palmas_adc_wakeup_configure()
755 PALMAS_GPADC_AUTO_CTRL_AUTO_CONV0_EN, conv); in palmas_adc_wakeup_configure()
/linux-6.1.9/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-6.1.9/fs/ksmbd/
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.1.9/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.1.9/drivers/net/pcs/
Dpcs-rzn1-miic.c62 u8 conv[MIIC_MODCTRL_CONF_CONV_NUM]; member
418 if (miic_modctrl_match(table_entry->conv, dt_val)) { in miic_match_dt_conf()
434 struct device_node *conv; in miic_parse_dt() local
443 for_each_child_of_node(np, conv) { in miic_parse_dt()
444 if (of_property_read_u32(conv, "reg", &port)) in miic_parse_dt()
447 if (!of_device_is_available(conv)) in miic_parse_dt()
450 if (of_property_read_u32(conv, "renesas,miic-input", &conf) == 0) in miic_parse_dt()
/linux-6.1.9/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.1.9/kernel/
Dsysctl.c490 int (*conv)(bool *negp, unsigned long *lvalp, int *valp, in __do_proc_dointvec()
507 if (!conv) in __do_proc_dointvec()
508 conv = do_proc_dointvec_conv; in __do_proc_dointvec()
533 if (conv(&neg, &lval, i, 1, data)) { in __do_proc_dointvec()
538 if (conv(&neg, &lval, i, 0, data)) { in __do_proc_dointvec()
562 int (*conv)(bool *negp, unsigned long *lvalp, int *valp, in do_proc_dointvec()
567 buffer, lenp, ppos, conv, data); in do_proc_dointvec()
574 int (*conv)(unsigned long *lvalp, in do_proc_douintvec_w()
607 if (conv(&lval, tbl_data, 1, data)) { in do_proc_douintvec_w()
629 int (*conv)(unsigned long *lvalp, in do_proc_douintvec_r()
[all …]
/linux-6.1.9/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.1.9/Documentation/devicetree/bindings/input/
Dazoteq,iqs7222.yaml182 azoteq,conv-period:
188 azoteq,conv-frac:
749 azoteq,conv-period = <5>;
750 azoteq,conv-frac = <127>;
757 azoteq,conv-period = <5>;
758 azoteq,conv-frac = <127>;
765 azoteq,conv-period = <5>;
766 azoteq,conv-frac = <127>;
773 azoteq,conv-period = <5>;
774 azoteq,conv-frac = <127>;
[all …]
/linux-6.1.9/drivers/media/v4l2-core/
Dv4l2-fwnode.c86 const struct v4l2_fwnode_bus_conv *conv = in v4l2_fwnode_bus_type_to_mbus() local
89 return conv ? conv->mbus_type : V4L2_MBUS_INVALID; in v4l2_fwnode_bus_type_to_mbus()
95 const struct v4l2_fwnode_bus_conv *conv = in v4l2_fwnode_bus_type_to_string() local
98 return conv ? conv->name : "not found"; in v4l2_fwnode_bus_type_to_string()
116 const struct v4l2_fwnode_bus_conv *conv = in v4l2_fwnode_mbus_type_to_string() local
119 return conv ? conv->name : "not found"; in v4l2_fwnode_mbus_type_to_string()
/linux-6.1.9/arch/arm/boot/dts/
Dr9a06g032.dtsi338 mii_conv1: mii-conv@1 {
343 mii_conv2: mii-conv@2 {
348 mii_conv3: mii-conv@3 {
353 mii_conv4: mii-conv@4 {
358 mii_conv5: mii-conv@5 {
/linux-6.1.9/include/linux/soc/samsung/
Ds3c-adc.h25 void (*conv)(struct s3c_adc_client *client,
/linux-6.1.9/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.1.9/tools/testing/selftests/zram/
Dzram01.sh40 dd conv=notrunc if=/dev/zero of=zram${i}/file \
/linux-6.1.9/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.1.9/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.1.9/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.1.9/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.1.9/arch/powerpc/boot/
Dwrapper568 run_cmd dd if="$ofile.bin" of="$ofile.bin" conv=notrunc \
572 run_cmd dd if="$ofile.bin" of="$ofile.bin" conv=notrunc \
/linux-6.1.9/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-6.1.9/scripts/
Dlink-vmlinux.sh139 printf '\1' | dd of=${2} conv=notrunc bs=1 seek=16 status=none
/linux-6.1.9/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

12