Home
last modified time | relevance | path

Searched refs:channel_mask (Results 1 – 25 of 34) sorted by relevance

12

/external/u-boot/drivers/adc/
Dadc-uclass.c38 if ((uc_pdata->channel_mask >= mask) && (uc_pdata->channel_mask & mask)) in check_channel()
109 int adc_start_channels(struct udevice *dev, unsigned int channel_mask) in adc_start_channels() argument
117 ret = check_channel(dev, channel_mask, CHECK_MASK, __func__); in adc_start_channels()
125 return ops->start_channels(dev, channel_mask); in adc_start_channels()
154 int adc_channels_data(struct udevice *dev, unsigned int channel_mask, in adc_channels_data() argument
165 ret = check_channel(dev, channel_mask, CHECK_MASK, __func__); in adc_channels_data()
170 ret = ops->channels_data(dev, channel_mask, channels); in adc_channels_data()
202 unsigned int channel_mask, in _adc_channels_single_shot() argument
210 if (!((channel_mask >> channel) & 0x1)) in _adc_channels_single_shot()
229 int adc_channels_single_shot(const char *name, unsigned int channel_mask, in adc_channels_single_shot() argument
[all …]
Dsandbox.c41 int sandbox_adc_start_channels(struct udevice *dev, unsigned int channel_mask) in sandbox_adc_start_channels() argument
48 priv->active_channel_mask = channel_mask; in sandbox_adc_start_channels()
76 int sandbox_adc_channels_data(struct udevice *dev, unsigned int channel_mask, in sandbox_adc_channels_data() argument
88 if (!(priv->active_channel_mask & channel_mask)) { in sandbox_adc_channels_data()
97 if (!((channel_mask >> i) & 0x1)) in sandbox_adc_channels_data()
147 uc_pdata->channel_mask = (1 << SANDBOX_ADC_CHANNELS) - 1; in sandbox_adc_ofdata_to_platdata()
Dexynos-adc.c120 uc_pdata->channel_mask = (2 << ADC_V2_MAX_CHANNEL) - 1; in exynos_adc_ofdata_to_platdata()
Drockchip-saradc.c135 uc_pdata->channel_mask = (1 << priv->data->num_channels) - 1; in rockchip_saradc_ofdata_to_platdata()
Dmeson-saradc.c686 uc_pdata->channel_mask = GENMASK(NUM_CHANNELS - 1, 0); in meson_saradc_ofdata_to_platdata()
/external/u-boot/include/
Dadc.h79 unsigned int channel_mask; member
113 int (*start_channels)(struct udevice *dev, unsigned int channel_mask);
150 int (*channels_data)(struct udevice *dev, unsigned int channel_mask,
182 int adc_start_channels(struct udevice *dev, unsigned int channel_mask);
207 int adc_channels_data(struct udevice *dev, unsigned int channel_mask,
252 int adc_channels_single_shot(const char *name, unsigned int channel_mask,
/external/u-boot/test/dm/
Dadc.c110 unsigned int i, channel_mask; in dm_test_adc_multi_channel_conversion() local
112 channel_mask = ADC_CHANNEL(0) | ADC_CHANNEL(1) | in dm_test_adc_multi_channel_conversion()
117 ut_assertok(adc_start_channels(dev, channel_mask)); in dm_test_adc_multi_channel_conversion()
118 ut_assertok(adc_channels_data(dev, channel_mask, channels)); in dm_test_adc_multi_channel_conversion()
148 unsigned int i, channel_mask; in dm_test_adc_multi_channel_shot() local
150 channel_mask = ADC_CHANNEL(0) | ADC_CHANNEL(1) | in dm_test_adc_multi_channel_shot()
154 ut_assertok(adc_channels_single_shot("adc", channel_mask, channels)); in dm_test_adc_multi_channel_shot()
/external/libxaac/decoder/
Dixheaacd_common_lpfuncs.c100 WORD ixheaacd_drc_offset = 0, channel_mask = 0; in ixheaacd_get_channel_mask() local
110 channel_mask += 0x3; in ixheaacd_get_channel_mask()
120 channel_mask += 0x4; in ixheaacd_get_channel_mask()
129 channel_mask += 0x8; in ixheaacd_get_channel_mask()
137 channel_mask += 0x30; in ixheaacd_get_channel_mask()
146 channel_mask += 0x100; in ixheaacd_get_channel_mask()
155 channel_mask += (0x40 + 0x80); in ixheaacd_get_channel_mask()
163 return channel_mask; in ixheaacd_get_channel_mask()
/external/ImageMagick/MagickCore/
Daccelerate.c212 if ((image->channel_mask & SyncChannels) == 0) in checkHistogramCondition()
241 if (((image->channel_mask & RedChannel) != 0) && in cloneImage()
242 ((image->channel_mask & GreenChannel) != 0) && in cloneImage()
243 ((image->channel_mask & BlueChannel) != 0) && in cloneImage()
244 ((image->channel_mask & AlphaChannel) != 0)) in cloneImage()
530 status|=SetOpenCLKernelArg(addNoiseKernel,i++,sizeof(ChannelType),(void *)&image->channel_mask); in ComputeAddNoiseImage()
695 status|=SetOpenCLKernelArg(blurRowKernel,i++,sizeof(ChannelType),&image->channel_mask); in ComputeBlurImage()
730 status|=SetOpenCLKernelArg(blurColumnKernel,i++,sizeof(ChannelType),&image->channel_mask); in ComputeBlurImage()
1091 …amKernel(clEnv, device, queue, imageBuffer, histogramBuffer, image, image->channel_mask,exception); in ComputeContrastStretchImage()
1135 if ((image->channel_mask & RedChannel) != 0) in ComputeContrastStretchImage()
[all …]
Dchannel.c203 channel_mask; in ChannelFxImage() local
249 channel_mask=UndefinedChannel; in ChannelFxImage()
283 (void) SetPixelChannelMask(destination_image,channel_mask); in ChannelFxImage()
307 channel_mask=UndefinedChannel; in ChannelFxImage()
406 channel_mask=(ChannelType) (channel_mask | ParseChannelOption(token)); in ChannelFxImage()
439 channel_mask=(ChannelType) (channel_mask | in ChannelFxImage()
452 (void) SetPixelChannelMask(destination_image,channel_mask); in ChannelFxImage()
1285 (void) SetPixelChannelMask(image,image->channel_mask); in SetImageAlphaChannel()
Denhance.c127 if (image->channel_mask == DefaultChannels) in AutoGammaImage()
143 channel_mask; in AutoGammaImage() local
149 channel_mask=SetImageChannelMask(image,(ChannelType) (1UL << i)); in AutoGammaImage()
153 (void) SetImageChannelMask(image,channel_mask); in AutoGammaImage()
1636 if (image->channel_mask != DefaultChannels) in ContrastStretchImage()
2113 if ((image->channel_mask & SyncChannels) != 0) in EqualizeImage()
3201 channel_mask; in LevelImageColors() local
3222 channel_mask=SetImageChannelMask(image,RedChannel); in LevelImageColors()
3225 (void) SetImageChannelMask(image,channel_mask); in LevelImageColors()
3229 channel_mask=SetImageChannelMask(image,GreenChannel); in LevelImageColors()
[all …]
Dhistogram.c914 if (image->channel_mask == DefaultChannels) in MinMaxStretchImage()
932 channel_mask; in MinMaxStretchImage() local
938 channel_mask=SetImageChannelMask(image,(ChannelType) (1UL << i)); in MinMaxStretchImage()
944 (void) SetImageChannelMask(image,channel_mask); in MinMaxStretchImage()
Dattribute.c1398 channel_mask; in SetImageType() local
1403 channel_mask=SetImageChannelMask(image,AlphaChannel); in SetImageType()
1405 (void) SetImageChannelMask(image,channel_mask); in SetImageType()
Dimage.h288 channel_mask; member
Dthreshold.c867 if (image->channel_mask != DefaultChannels) in BilevelImage()
1028 if (image->channel_mask != DefaultChannels) in BlackThresholdImage()
2229 if (image->channel_mask != DefaultChannels) in RangeThresholdImage()
2407 if (image->channel_mask != DefaultChannels) in WhiteThresholdImage()
Dfx.c1114 channel_mask; in FxChannelStatistics() local
1126 channel_mask=UndefinedChannel; in FxChannelStatistics()
1137 channel_mask=SetPixelChannelMask(image,(ChannelType) in FxChannelStatistics()
1146 if (channel_mask != UndefinedChannel) in FxChannelStatistics()
1147 (void) SetPixelChannelMask(image,channel_mask); in FxChannelStatistics()
1215 if (channel_mask != UndefinedChannel) in FxChannelStatistics()
1216 (void) SetPixelChannelMask(image,channel_mask); in FxChannelStatistics()
4379 channel_mask; in ShadowImage() local
4464 channel_mask=SetImageChannelMask(border_image,AlphaChannel); in ShadowImage()
4469 (void) SetPixelChannelMask(shadow_image,channel_mask); in ShadowImage()
Dimage.c207 image->channel_mask=DefaultChannels; in AcquireImage()
846 clone_image->channel_mask=image->channel_mask; in CloneImage()
2500 const ChannelType channel_mask) in SetImageChannelMask() argument
2502 return(SetPixelChannelMask(image,channel_mask)); in SetImageChannelMask()
/external/ImageMagick/PerlMagick/
DMagick.xs2966 channel_mask; in ChannelFx() local
3072 channel_mask=SetImageChannelMask(image,channel); in ChannelFx()
3075 (void) SetImageChannelMask(image,channel_mask); in ChannelFx()
4472 channel_mask; in Fx() local
4578 channel_mask=SetImageChannelMask(image,channel); in Fx()
4581 (void) SetImageChannelMask(image,channel_mask); in Fx()
7663 channel_mask; in Mogrify() local
7947 channel_mask=SetImageChannelMask(image,channel); in Mogrify()
7951 (void) SetImageChannelMask(image,channel_mask); in Mogrify()
8014 channel_mask=SetImageChannelMask(image,channel); in Mogrify()
[all …]
/external/mesa3d/src/intel/compiler/
Dbrw_vec4_gs_visitor.cpp387 src_reg channel_mask(this, glsl_type::uint_type); in emit_control_data_bits() local
388 inst = emit(SHL(dst_reg(channel_mask), one, channel)); in emit_control_data_bits()
390 emit(GS_OPCODE_PREPARE_CHANNEL_MASKS, dst_reg(channel_mask), in emit_control_data_bits()
391 channel_mask); in emit_control_data_bits()
392 emit(GS_OPCODE_SET_CHANNEL_MASKS, mrf_reg, channel_mask); in emit_control_data_bits()
Dbrw_fs_nir.cpp1869 fs_reg channel_mask, per_slot_offset; in emit_gs_control_data_bits() local
1873 channel_mask = vgrf(glsl_type::uint_type); in emit_gs_control_data_bits()
1910 channel_mask = intexp2(fwa_bld, channel); in emit_gs_control_data_bits()
1912 fwa_bld.SHL(channel_mask, channel_mask, brw_imm_ud(16u)); in emit_gs_control_data_bits()
1917 if (channel_mask.file != BAD_FILE) in emit_gs_control_data_bits()
1928 if (channel_mask.file != BAD_FILE) in emit_gs_control_data_bits()
1929 sources[i++] = channel_mask; in emit_gs_control_data_bits()
/external/mesa3d/src/mesa/program/
Dprog_optimize.c57 GLuint read_mask, channel_mask; in get_src_arg_mask() local
79 channel_mask = inst->DstReg.WriteMask & dst_mask; in get_src_arg_mask()
88 channel_mask = WRITEMASK_X; in get_src_arg_mask()
91 channel_mask = WRITEMASK_XY; in get_src_arg_mask()
95 channel_mask = WRITEMASK_XYZ; in get_src_arg_mask()
98 channel_mask = WRITEMASK_XYZW; in get_src_arg_mask()
108 if (channel_mask & (1 << comp) && coord <= SWIZZLE_W) in get_src_arg_mask()
/external/ImageMagick/PerlMagick/quantum/
Dquantum.xs.in2963 channel_mask; local
3069 channel_mask=SetImageChannelMask(image,channel);
3072 (void) SetImageChannelMask(image,channel_mask);
4469 channel_mask; local
4576 channel_mask=SetImageChannelMask(image,channel);
4579 (void) SetImageChannelMask(image,channel_mask);
7662 channel_mask; local
7948 channel_mask=SetImageChannelMask(image,channel);
7952 (void) SetImageChannelMask(image,channel_mask);
8015 channel_mask=SetImageChannelMask(image,channel);
[all …]
/external/ImageMagick/Magick++/lib/Magick++/
DSTL.h1856 channel_mask; in channelMaskImages() local
1862 channel_mask=MagickCore::SetImageChannelMask(iter->image(),channel_); in channelMaskImages()
1863 container_->push_back(channel_mask); in channelMaskImages()
1939 channel_mask; in restoreChannelMaskImages() local
1941 channel_mask=container_->begin(); in restoreChannelMaskImages()
1946 (const MagickCore::ChannelType) *channel_mask); in restoreChannelMaskImages()
1947 channel_mask++; in restoreChannelMaskImages()
2781 channel_mask; in separateImages() local
2787 channel_mask=MagickCore::SetImageChannelMask(image_.image(),channel_); in separateImages()
2789 MagickCore::SetPixelChannelMask(image_.image(),channel_mask); in separateImages()
/external/ImageMagick/MagickWand/
Dcomposite.c142 channel_mask; in CompositeImageList() local
144 channel_mask=SetImageChannelMask(composite_image, in CompositeImageList()
237 (void) SetPixelChannelMask(composite_image,channel_mask); in CompositeImageList()
/external/ImageMagick/coders/
Dmsl.c615 channel_mask; in MSLStartElement() local
751 channel_mask=SetImageChannelMask(msl_info->image[n],channel); in MSLStartElement()
754 (void) SetPixelChannelMask(msl_info->image[n],channel_mask); in MSLStartElement()
1249 channel_mask=SetImageChannelMask(msl_info->image[n],channel); in MSLStartElement()
1252 (void) SetPixelChannelMask(msl_info->image[n],channel_mask); in MSLStartElement()
2088 channel_mask=SetImageChannelMask(image,channel); in MSLStartElement()
2105 (void) SetImageChannelMask(image,channel_mask); in MSLStartElement()
3838 channel_mask=SetImageChannelMask(msl_info->image[n],AlphaChannel); in MSLStartElement()
3842 (void) SetPixelChannelMask(msl_info->image[n],channel_mask); in MSLStartElement()
4147 channel_mask=SetImageChannelMask(msl_info->image[n],channel); in MSLStartElement()
[all …]

12