Home
last modified time | relevance | path

Searched refs:channel (Results 1 – 25 of 144) sorted by relevance

123456

/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dbcmwifi_channels.h81 #define LOWER_20_SB(channel) (((channel) > CH_10MHZ_APART) ? ((channel) - CH_10MHZ_APART) : 0) argument
82 #define UPPER_20_SB(channel) (((channel) < (MAXCHANNEL - CH_10MHZ_APART)) ? \ argument
83 ((channel) + CH_10MHZ_APART) : 0)
85 #define LL_20_SB(channel) (((channel) > 3 * CH_10MHZ_APART) ? ((channel) - 3 * CH_10MHZ_APART) : 0) argument
86 #define UU_20_SB(channel) (((channel) < (MAXCHANNEL - 3 * CH_10MHZ_APART)) ? \ argument
87 ((channel) + 3 * CH_10MHZ_APART) : 0)
88 #define LU_20_SB(channel) LOWER_20_SB(channel) argument
89 #define UL_20_SB(channel) UPPER_20_SB(channel) argument
92 #define CH20MHZ_CHSPEC(channel) (chanspec_t)((chanspec_t)(channel) | WL_CHANSPEC_BW_20 | \ argument
93 WL_CHANSPEC_CTL_SB_NONE | (((channel) <= CH_MAX_2G_CHANNEL) ? \
[all …]
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_rdi.c92 mm_camera_channel_t *channel, in mm_app_add_rdi_stream() argument
143 stream = mm_app_add_stream(test_obj, channel); in mm_app_add_rdi_stream()
179 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); in mm_app_add_rdi_stream()
195 mm_camera_channel_t *channel, in mm_app_add_rdi_snapshot_stream() argument
205 stream = mm_app_add_stream(test_obj, channel); in mm_app_add_rdi_snapshot_stream()
238 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); in mm_app_add_rdi_snapshot_stream()
249 mm_camera_channel_t *channel = NULL; in mm_app_add_rdi_channel() local
252 channel = mm_app_add_channel(test_obj, in mm_app_add_rdi_channel()
257 if (NULL == channel) { in mm_app_add_rdi_channel()
263 channel, in mm_app_add_rdi_channel()
[all …]
Dmm_qcamera_preview.c53 mm_camera_channel_t *channel = NULL; in mm_app_metadata_notify_cb() local
68 channel = &pme->channels[i]; in mm_app_metadata_notify_cb()
73 if (NULL == channel) { in mm_app_metadata_notify_cb()
79 for (i = 0; i < channel->num_streams; i++) { in mm_app_metadata_notify_cb()
80 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_app_metadata_notify_cb()
81 p_stream = &channel->streams[i]; in mm_app_metadata_notify_cb()
231 mm_camera_channel_t *channel = NULL; in mm_app_snapshot_notify_cb() local
240 channel = &pme->channels[i]; in mm_app_snapshot_notify_cb()
244 if (NULL == channel) { in mm_app_snapshot_notify_cb()
251 for (i = 0; i < channel->num_streams; i++) { in mm_app_snapshot_notify_cb()
[all …]
Dmm_qcamera_snapshot.c268 mm_camera_channel_t *channel = NULL; in mm_app_snapshot_metadata_notify_cb() local
283 channel = &pme->channels[i]; in mm_app_snapshot_metadata_notify_cb()
288 if (NULL == channel) { in mm_app_snapshot_metadata_notify_cb()
294 for (i = 0; i < channel->num_streams; i++) { in mm_app_snapshot_metadata_notify_cb()
295 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_app_snapshot_metadata_notify_cb()
296 p_stream = &channel->streams[i]; in mm_app_snapshot_metadata_notify_cb()
354 mm_camera_channel_t *channel = NULL; in mm_app_snapshot_notify_cb_raw() local
363 channel = &pme->channels[i]; in mm_app_snapshot_notify_cb_raw()
367 if (NULL == channel) { in mm_app_snapshot_notify_cb_raw()
374 for (i = 0; i < channel->num_streams; i++) { in mm_app_snapshot_notify_cb_raw()
[all …]
Dmm_qcamera_video.c38 mm_camera_channel_t *channel = NULL; in mm_app_metadata_notify_cb() local
53 channel = &pme->channels[i]; in mm_app_metadata_notify_cb()
58 if (NULL == channel) { in mm_app_metadata_notify_cb()
64 for (i = 0; i < channel->num_streams; i++) { in mm_app_metadata_notify_cb()
65 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_app_metadata_notify_cb()
66 p_stream = &channel->streams[i]; in mm_app_metadata_notify_cb()
128 mm_camera_channel_t *channel = NULL; in mm_app_snapshot_notify_cb() local
137 channel = &pme->channels[i]; in mm_app_snapshot_notify_cb()
141 if (NULL == channel) { in mm_app_snapshot_notify_cb()
148 for (i = 0; i < channel->num_streams; i++) { in mm_app_snapshot_notify_cb()
[all …]
Dmm_qcamera_reprocess.c39 mm_camera_channel_t *channel = NULL; in mm_app_reprocess_notify_cb() local
52 channel = &pme->channels[i]; in mm_app_reprocess_notify_cb()
56 if (NULL == channel) { in mm_app_reprocess_notify_cb()
63 m_stream = &channel->streams[0]; in mm_app_reprocess_notify_cb()
108 mm_camera_channel_t *channel, in mm_app_add_reprocess_stream_from_source() argument
121 ( NULL == channel ) || in mm_app_add_reprocess_stream_from_source()
129 stream = mm_app_add_stream(test_obj, channel); in mm_app_add_reprocess_stream_from_source()
162 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); in mm_app_add_reprocess_stream_from_source()
174 mm_camera_channel_t *channel = NULL; in mm_app_add_reprocess_channel() local
182 channel = mm_app_add_channel(test_obj, in mm_app_add_reprocess_channel()
[all …]
Dmm_qcamera_app.c730 mm_camera_channel_t *channel = NULL; in mm_app_add_channel() local
740 channel = &test_obj->channels[ch_type]; in mm_app_add_channel()
741 channel->ch_id = ch_id; in mm_app_add_channel()
742 return channel; in mm_app_add_channel()
746 mm_camera_channel_t *channel) in mm_app_del_channel() argument
749 channel->ch_id); in mm_app_del_channel()
750 memset(channel, 0, sizeof(mm_camera_channel_t)); in mm_app_del_channel()
755 mm_camera_channel_t *channel) in mm_app_add_stream() argument
761 stream = &(channel->streams[channel->num_streams++]); in mm_app_add_stream()
763 channel->ch_id); in mm_app_add_stream()
[all …]
/hardware/interfaces/wifi/1.2/default/tests/
Dhidl_struct_util_unit_tests.cpp50 .channel = kIfaceChannel1}; in TEST_F()
52 .channel = kIfaceChannel2}; in TEST_F()
68 EXPECT_EQ(static_cast<uint32_t>(legacy_iface_info1.channel), in TEST_F()
69 hidl_iface_info1.channel); in TEST_F()
72 EXPECT_EQ(static_cast<uint32_t>(legacy_iface_info2.channel), in TEST_F()
73 hidl_iface_info2.channel); in TEST_F()
81 .channel = kIfaceChannel1}; in TEST_F()
85 .channel = kIfaceChannel2}; in TEST_F()
108 EXPECT_EQ(static_cast<uint32_t>(legacy_iface_info1.channel), in TEST_F()
109 hidl_iface_info1.channel); in TEST_F()
[all …]
/hardware/intel/common/wrs_omxil_core/utils/inc/
Daudio_parser.h48 int *frequency, int *channel, int *mode_extension,
58 int *aot, int *frequency, int *channel);
61 int aot, int frequency, int channel);
/hardware/intel/common/wrs_omxil_core/utils/src/
Daudio_parser.c336 int *frequency, int *channel, int *mode_extension, in mp3_header_parse() argument
349 !channel || !mode_extension) in mp3_header_parse()
397 *channel = header.channel_mode; in mp3_header_parse()
562 int *aot, int *frequency, int *channel) in audio_specific_config_parse() argument
570 if (!aot || !frequency || !channel) in audio_specific_config_parse()
578 *channel = config.channel_config; in audio_specific_config_parse()
592 int aot, int frequency, int channel) in audio_specific_config_bitcoding() argument
612 config.channel_config = channel; in audio_specific_config_bitcoding()
/hardware/interfaces/sensors/1.0/
DISensors.hal142 * Register direct report channel.
144 * Register a direct channel with supplied shared memory information. Upon
154 * direct channel (>0) in configureDirectReport and
161 * Unregister direct report channel.
163 * Unregister a direct channel previously registered using
165 * still active sensor report configured in the direct channel.
167 * @param channelHandle handle of direct channel to be unregistered.
174 * Configure direct sensor event report in direct channel.
177 * certain direct channel.
181 * sensors in the direct channel specified by channel Handle.
[all …]
/hardware/interfaces/broadcastradio/1.0/default/
DTuner.cpp53 uint32_t channel; in onCallback() local
55 if (radio_metadata_get_channel(halEvent->metadata, &channel, &sub_channel) == 0) { in onCallback()
57 mCallback->newMetadata(channel, sub_channel, metadata); in onCallback()
151 Return<Result> Tuner::tune(uint32_t channel, uint32_t subChannel) { in tune() argument
155 int rc = mHalTuner->tune(mHalTuner, channel, subChannel); in tune()
/hardware/libhardware_legacy/include/hardware_legacy/
Dtdls.h28 int channel; /* channel hint, in channel number (NOT frequency ) */ member
35 int channel; member
DAudioSystemLegacy.h350 static bool isOutputChannel(uint32_t channel) { in isOutputChannel() argument
351 return audio_is_output_channel(channel); in isOutputChannel()
353 static bool isInputChannel(uint32_t channel) { in isInputChannel() argument
354 return audio_is_input_channel(channel); in isInputChannel()
Dgscan.h92 wifi_channel channel; // channel frequency in MHz member
123 wifi_channel channel; // frequency member
282 wifi_channel channel; // channel frequency in MHz member
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dtdls.cpp152 status.channel = in handleEvent()
154 ALOGV("TDLS: channel : %d ", status.channel); in handleEvent()
226 mTDLSgetStatusRspParams.channel = get_u32(tb_vendor[ in handleResponse()
228 ALOGV("TDLS: channel : %d ", mTDLSgetStatusRspParams.channel); in handleResponse()
306 status->channel = mTDLSgetStatusRspParams.channel; in getStatusRspParams()
388 __FUNCTION__, params->channel, params->global_operating_class, in wifi_enable_tdls()
392 params->channel); in wifi_enable_tdls()
/hardware/interfaces/broadcastradio/common/utils1x/include/broadcastradio-utils-1x/
DUtils.h44 bool tunesTo(const V1_1::ProgramSelector& pointer, const V1_1::ProgramSelector& channel);
68 V1_1::ProgramSelector make_selector(V1_0::Band band, uint32_t channel, uint32_t subChannel = 0);
/hardware/interfaces/broadcastradio/1.0/vts/functional/
DVtsHalBroadcastradioV1_0TargetTest.cpp140 virtual Return<void> newMetadata(uint32_t channel __unused, uint32_t subChannel __unused, in newMetadata()
608 uint32_t channel = in TEST_P() local
612 Return<Result> hidlResult = mTuner->tune(channel, 0); in TEST_P()
616 EXPECT_EQ(channel, mProgramInfoCallbackData.channel); in TEST_P()
631 EXPECT_LE(halInfo.channel, upperLimit); in TEST_P()
632 EXPECT_GE(halInfo.channel, lowerLimit); in TEST_P()
711 firstChannel = mProgramInfoCallbackData.channel; in TEST_P()
714 if (mProgramInfoCallbackData.channel >= firstChannel && prevChannel <= firstChannel) { in TEST_P()
718 prevChannel = mProgramInfoCallbackData.channel; in TEST_P()
/hardware/interfaces/broadcastradio/1.0/
DITunerCallback.hal75 * @param channel The channel the metadata is associated with.
76 * @param subChannel The sub channel the metadata is associated with.
79 oneway newMetadata(uint32_t channel, uint32_t subChannel, vec<MetaData> metadata);
DITuner.hal24 * Apply current radio band configuration (band, range, channel spacing...).
61 * Move one channel spacing up or down.
77 * Tune to specified channel.
83 * @param channel Channel to tune to. A frequency in kHz for AM/FM/HD Radio
92 tune(uint32_t channel, uint32_t subChannel) generates(Result result);
/hardware/interfaces/wifi/1.2/
Dtypes.hal61 * NAN data path channel information provided to the framework.
73 * Number of spatial streams used in the channel.
89 * The channel(s) on which the NDP is scheduled to operate.
97 * NAN data path channel information update indication structure.
109 * The updated channel(s) information.
/hardware/libhardware/modules/radio/
Dradio_hw.c226 ret = radio_metadata_allocate(metadata, tuner->program.channel, 0); in prepare_metadata()
356 frequency = tuner->program.channel; in callback_thread_loop()
368 tuner->program.channel = frequency; in callback_thread_loop()
383 frequency = tuner->program.channel; in callback_thread_loop()
395 tuner->program.channel = (unsigned int)frequency; in callback_thread_loop()
410 tuner->program.channel = cmd->param; in callback_thread_loop()
411 tuner->program.tuned = (tuner->program.channel / in callback_thread_loop()
590 unsigned int channel, unsigned int sub_channel) in tuner_tune() argument
595 __func__, stub_tuner, channel, sub_channel); in tuner_tune()
598 if (channel < stub_tuner->config.lower_limit || channel > stub_tuner->config.upper_limit) { in tuner_tune()
[all …]
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/
Ddriver_cmd_wext.c136 u8 channel; in wpa_driver_wext_set_cscan_params() local
149 channel = (u8)atoi(cmd + 5); in wpa_driver_wext_set_cscan_params()
156 buf[bp++] = channel; in wpa_driver_wext_set_cscan_params()
157 if (channel != 0) { in wpa_driver_wext_set_cscan_params()
163 buf[bp++] = channel; in wpa_driver_wext_set_cscan_params()
172 if (channel != 0) { in wpa_driver_wext_set_cscan_params()
/hardware/interfaces/wifi/hostapd/1.0/vts/functional/
Dhostapd_hidl_test.cpp65 iface_params.channelParams.channel = 0; in getIfaceParamsWithAcs()
77 iface_params.channelParams.channel = kIfaceChannel; in getIfaceParamsWithoutAcs()
89 iface_params.channelParams.channel = kIfaceInvalidChannel; in getIfaceParamsWithInvalidChannel()
/hardware/interfaces/audio/common/2.0/
Dtypes.hal295 * Usage of these values highlights places in the code that use 2- or 8- channel
305 * A channel mask per se only defines the presence or absence of a channel, not
315 * is a channel mask representation for position assignment. Each low-order
317 * interpretation of channel (input). The user of a channel mask needs to
323 * is a channel mask representation for index assignment. Each low-order
324 * bit corresponds to a selected channel. There is no platform
333 * checking the channel mask, the implementer should look for ways to fix it
464 * For multi-channel beyond stereo, the platform convention is that channels
465 * are interleaved in order from least significant channel mask bit to most
466 * significant channel mask bit, with unused bits skipped. Any exceptions
[all …]

123456