Home
last modified time | relevance | path

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

1234

/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/libhardware_legacy/qemu/
Dqemu.c75 qemu_channel_open_qemud_pipe( QemuChannel* channel, in qemu_channel_open_qemud_pipe() argument
88 channel->is_qemud = 1; in qemu_channel_open_qemud_pipe()
89 channel->fd = fd; in qemu_channel_open_qemud_pipe()
94 qemu_channel_open_qemud( QemuChannel* channel, in qemu_channel_open_qemud() argument
124 channel->is_qemud = 1; in qemu_channel_open_qemud()
125 channel->fd = fd; in qemu_channel_open_qemud()
131 qemu_channel_open_qemud_old( QemuChannel* channel, in qemu_channel_open_qemud_old() argument
136 snprintf(channel->device, sizeof channel->device, in qemu_channel_open_qemud_old()
139 fd = socket_local_client( channel->device, in qemu_channel_open_qemud_old()
144 channel->device, strerror(errno)); in qemu_channel_open_qemud_old()
[all …]
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_preview.c49 mm_camera_channel_t *channel = NULL; in mm_app_metadata_notify_cb() local
64 channel = &pme->channels[i]; in mm_app_metadata_notify_cb()
69 if (NULL == channel) { in mm_app_metadata_notify_cb()
75 for (i = 0; i < channel->num_streams; i++) { in mm_app_metadata_notify_cb()
76 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_app_metadata_notify_cb()
77 p_stream = &channel->streams[i]; in mm_app_metadata_notify_cb()
138 mm_camera_channel_t *channel = NULL; in mm_app_snapshot_notify_cb() local
147 channel = &pme->channels[i]; in mm_app_snapshot_notify_cb()
151 if (NULL == channel) { in mm_app_snapshot_notify_cb()
158 for (i = 0; i < channel->num_streams; i++) { in mm_app_snapshot_notify_cb()
[all …]
Dmm_qcamera_snapshot.c186 mm_camera_channel_t *channel = NULL; in mm_app_snapshot_metadata_notify_cb() local
201 channel = &pme->channels[i]; in mm_app_snapshot_metadata_notify_cb()
206 if (NULL == channel) { in mm_app_snapshot_metadata_notify_cb()
212 for (i = 0; i < channel->num_streams; i++) { in mm_app_snapshot_metadata_notify_cb()
213 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_app_snapshot_metadata_notify_cb()
214 p_stream = &channel->streams[i]; in mm_app_snapshot_metadata_notify_cb()
272 mm_camera_channel_t *channel = NULL; in mm_app_snapshot_notify_cb_raw() local
281 channel = &pme->channels[i]; in mm_app_snapshot_notify_cb_raw()
285 if (NULL == channel) { in mm_app_snapshot_notify_cb_raw()
292 for (i = 0; i < channel->num_streams; i++) { in mm_app_snapshot_notify_cb_raw()
[all …]
Dmm_qcamera_rdi.c91 mm_camera_channel_t *channel, in mm_app_add_rdi_stream() argument
142 stream = mm_app_add_stream(test_obj, channel); in mm_app_add_rdi_stream()
176 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); in mm_app_add_rdi_stream()
192 mm_camera_channel_t *channel, in mm_app_add_rdi_snapshot_stream() argument
202 stream = mm_app_add_stream(test_obj, channel); in mm_app_add_rdi_snapshot_stream()
233 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); in mm_app_add_rdi_snapshot_stream()
244 mm_camera_channel_t *channel = NULL; in mm_app_add_rdi_channel() local
247 channel = mm_app_add_channel(test_obj, in mm_app_add_rdi_channel()
252 if (NULL == channel) { in mm_app_add_rdi_channel()
258 channel, in mm_app_add_rdi_channel()
[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()
161 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); in mm_app_add_reprocess_stream_from_source()
173 mm_camera_channel_t *channel = NULL; in mm_app_add_reprocess_channel() local
181 channel = mm_app_add_channel(test_obj, in mm_app_add_reprocess_channel()
[all …]
Dmm_qcamera_video.c58 mm_camera_channel_t *channel, in mm_app_add_video_stream() argument
67 stream = mm_app_add_stream(test_obj, channel); in mm_app_add_video_stream()
93 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); in mm_app_add_video_stream()
104 mm_camera_channel_t *channel = NULL; in mm_app_add_video_channel() local
107 channel = mm_app_add_channel(test_obj, in mm_app_add_video_channel()
112 if (NULL == channel) { in mm_app_add_video_channel()
118 channel, in mm_app_add_video_channel()
124 mm_app_del_channel(test_obj, channel); in mm_app_add_video_channel()
128 return channel; in mm_app_add_video_channel()
Dmm_qcamera_app.c702 mm_camera_channel_t *channel = NULL; in mm_app_add_channel() local
712 channel = &test_obj->channels[ch_type]; in mm_app_add_channel()
713 channel->ch_id = ch_id; in mm_app_add_channel()
714 return channel; in mm_app_add_channel()
718 mm_camera_channel_t *channel) in mm_app_del_channel() argument
721 channel->ch_id); in mm_app_del_channel()
722 memset(channel, 0, sizeof(mm_camera_channel_t)); in mm_app_del_channel()
727 mm_camera_channel_t *channel) in mm_app_add_stream() argument
733 stream = &(channel->streams[channel->num_streams++]); in mm_app_add_stream()
735 channel->ch_id); in mm_app_add_stream()
[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/libhardware/include/hardware/
Dbt_sock.h37 int channel; member
63 const uint8_t* service_uuid, int channel, int* sock_fd, int flags, int callingUid);
72 int channel, int* sock_fd, int flags, int callingUid);
/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/bsp/intel/peripheral/libmraa/api/mraa/
Diio.hpp41 int channel; member
229 int chan_type, modifier, type, direction, channel, channel2, different; in private_event_handler() local
230 …mraa_iio_event_extract_event(data, &chan_type, &modifier, &type, &direction, &channel, &channel2, … in private_event_handler()
235 eventData.channel = channel; in private_event_handler()
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h395 mm_camera_channel_t *channel);
397 mm_camera_channel_t *channel);
399 mm_camera_channel_t *channel,
402 mm_camera_channel_t *channel,
406 mm_camera_channel_t *channel);
408 mm_camera_channel_t *channel);
420 mm_camera_channel_t *channel,
426 mm_camera_channel_t *channel);
431 mm_camera_channel_t *channel,
437 mm_camera_channel_t *channel,
/hardware/bsp/intel/peripheral/libmraa/examples/
Diio_driver.c76 int channel; in event_interrupt() local
79 …mraa_iio_event_extract_event(data, &chan_type, &modifier, &type, &direction, &channel, &channel2, … in event_interrupt()
83 … data->timestamp, data->id, chan_type, modifier, type, direction, channel, channel2, different); in event_interrupt()
/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.h83 wifi_channel channel; // channel frequency in MHz member
114 wifi_channel channel; // frequency member
283 wifi_channel channel; // channel frequency in MHz member
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dtdls.cpp157 status.channel = in handleEvent()
159 ALOGV("TDLS: channel : %d ", status.channel); in handleEvent()
235 mTDLSgetStatusRspParams.channel = get_u32(tb_vendor[ in handleResponse()
237 ALOGV("TDLS: channel : %d ", mTDLSgetStatusRspParams.channel); in handleResponse()
314 status->channel = mTDLSgetStatusRspParams.channel; in getStatusRspParams()
396 __FUNCTION__, params->channel, params->global_operating_class, in wifi_enable_tdls()
400 params->channel) | in wifi_enable_tdls()
Dgscan_event_handler.cpp300 results[i].channel = in gscan_parse_hotlist_ap_results()
346 results[i].channel, results[i].rssi, results[i].rtt, in gscan_parse_hotlist_ap_results()
408 results[i]->channel = in gscan_get_significant_change_results()
447 results[i]->channel, results[i]->num_rssi); in gscan_get_significant_change_results()
543 results[i].channel = in gscan_parse_hotlist_ssid_results()
589 results[i].channel, results[i].rssi, results[i].rtt, in gscan_parse_hotlist_ssid_results()
731 mPasspointNetworkFoundResult->channel = in gscan_parse_passpoint_network_result()
818 mPasspointNetworkFoundResult->channel, in gscan_parse_passpoint_network_result()
955 results[i].channel = in gscan_parse_pno_network_results()
1028 results[i].channel, results[i].rssi, results[i].rtt, in gscan_parse_pno_network_results()
[all …]
/hardware/bsp/intel/peripheral/libupm/src/nrf24l01/
Dnrf24l01.cxx238 NRF24L01::setChannel (uint8_t channel) { in setChannel() argument
239 m_channel = channel; in setChannel()
240 setRegister (RF_CH, channel); in setChannel()
380 uint8_t channel = 0; in sendBeaconingMsg() local
381 while (++channel != sizeof(chRf)) { in sendBeaconingMsg()
382 setRegister (RF_CH, chRf[channel]); in sendBeaconingMsg()
385 blePacketEncode (m_bleBuffer, index, chLe[channel]); in sendBeaconingMsg()
/hardware/libhardware/modules/radio/
Dradio_hw.c211 ret = radio_metadata_allocate(metadata, tuner->program.channel, 0); in prepare_metadata()
339 frequency = tuner->program.channel; in callback_thread_loop()
351 tuner->program.channel = frequency; in callback_thread_loop()
365 frequency = tuner->program.channel; in callback_thread_loop()
377 tuner->program.channel = (unsigned int)frequency; in callback_thread_loop()
391 tuner->program.channel = cmd->param; in callback_thread_loop()
392 tuner->program.tuned = (tuner->program.channel / in callback_thread_loop()
571 unsigned int channel, unsigned int sub_channel) in tuner_tune() argument
576 __func__, stub_tuner, channel, sub_channel); in tuner_tune()
579 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/qcom/camera/QCamera2/HAL3/
DQCamera3HWI.cpp461 QCamera3ProcessingChannel *channel = (*it)->channel; in ~QCamera3HardwareInterface() local
462 if (channel) { in ~QCamera3HardwareInterface()
463 channel->stop(); in ~QCamera3HardwareInterface()
483 QCamera3ProcessingChannel *channel = (*it)->channel; in ~QCamera3HardwareInterface() local
484 if (channel) in ~QCamera3HardwareInterface()
485 delete channel; in ~QCamera3HardwareInterface()
1204 QCamera3Channel *channel = (QCamera3Channel *)j->stream->priv; in updateFpsInPreviewBuffer() local
1206 (channel->getStreamTypeMask() & in updateFpsInPreviewBuffer()
1293 QCamera3ProcessingChannel *channel = (QCamera3ProcessingChannel*)(*it)->stream->priv; in configureStreamsPerfLocked() local
1294 channel->stop(); in configureStreamsPerfLocked()
[all …]
/hardware/bsp/intel/peripheral/libupm/src/adafruitss/
DCMakeLists.txt2 set (libdescription "upm Adafruit pca9685 based 16-channel servo shield")
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/
Dbcmevent.h318 uint16 channel; /* Matches chanspec_t format from bcmwifi_channels.h */
390 uint16 channel; /* channel of GAS protocol */
409 uint16 channel; /* channel */

1234