/drivers/iio/adc/ |
D | adi-axi-adc.c | 69 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 …]
|
D | ad9467.c | 157 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() 196 static void __ad9467_get_scale(struct adi_axi_adc_conv *conv, int index, in __ad9467_get_scale() argument 199 const struct adi_axi_adc_chip_info *info = conv->chip_info; in __ad9467_get_scale() 272 static int ad9467_get_scale(struct adi_axi_adc_conv *conv, int *val, int *val2) in ad9467_get_scale() argument 274 const struct adi_axi_adc_chip_info *info = conv->chip_info; in ad9467_get_scale() 276 struct ad9467_state *st = adi_axi_adc_conv_priv(conv); in ad9467_get_scale() 294 __ad9467_get_scale(conv, i, val, val2); in ad9467_get_scale() 299 static int ad9467_set_scale(struct adi_axi_adc_conv *conv, int val, int val2) in ad9467_set_scale() argument 301 const struct adi_axi_adc_chip_info *info = conv->chip_info; in ad9467_set_scale() [all …]
|
D | palmas_gpadc.c | 649 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()
|
/drivers/media/i2c/ |
D | tda1997x.c | 252 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 …]
|
/drivers/media/v4l2-core/ |
D | v4l2-fwnode.c | 93 const struct v4l2_fwnode_bus_conv *conv = in v4l2_fwnode_bus_type_to_mbus() local 96 return conv ? conv->mbus_type : V4L2_MBUS_INVALID; 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()
|
/drivers/video/fbdev/omap/ |
D | hwa742.c | 169 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()
|
/drivers/staging/comedi/drivers/ |
D | amplc_pci230.c | 1864 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()
|
/drivers/iio/common/ms_sensors/ |
D | ms_sensors_i2c.h | 45 int ms_sensors_convert_and_read(void *cli, u8 conv, u8 rd,
|
D | ms_sensors_i2c.c | 104 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()
|
/drivers/iio/temperature/ |
D | tsys01.c | 35 int (*convert_and_read)(void *cli, u8 conv, u8 rd,
|
/drivers/net/wireless/broadcom/b43/ |
D | phy_n.c | 2720 u16 bias, conv, filt; in b43_nphy_workarounds_rev7plus() local 2966 conv = 0x6f; in b43_nphy_workarounds_rev7plus() 2970 conv = 0x7f; in b43_nphy_workarounds_rev7plus() 2977 b43_radio_write(dev, 0x64, conv); in b43_nphy_workarounds_rev7plus() 2981 b43_radio_write(dev, 0xE9, conv); in b43_nphy_workarounds_rev7plus()
|
/drivers/crypto/vmx/ |
D | aesp8-ppc.pl | 3800 my $conv=$3; 3815 SWITCH: for($conv) {
|