Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 25 of 646) sorted by relevance

12345678910>>...26

/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/
DDrm.cpp201 memcpy(&output->mode, &output->crtc->mode, sizeof(drmModeModeInfo)); in detect()
229 …ILOGTRACE("mode is: %dx%d@%dHz", output->mode.hdisplay, output->mode.vdisplay, output->mode.vrefre… in detect()
277 drmModeModeInfoPtr mode; in setDrmMode() local
280 mode = &output->connector->modes[i]; in setDrmMode()
281 if (mode->type & DRM_MODE_TYPE_PREFERRED) { in setDrmMode()
284 if (isSameDrmMode(&value, mode)) { in setDrmMode()
290 mode = &output->connector->modes[index]; in setDrmMode()
291 return setDrmMode(outputIndex, mode); in setDrmMode()
321 drmModeModeInfoPtr mode; in setRefreshRate() local
324 mode = &output->connector->modes[i]; in setRefreshRate()
[all …]
DDrm.h60 bool setDpmsMode(int device, int mode);
62 bool getModeInfo(int device, drmModeModeInfo& mode);
65 bool isSameDrmMode(drmModeModeInfoPtr mode, drmModeModeInfoPtr base) const;
72 bool setDrmMode(int index, drmModeModeInfoPtr mode);
90 drmModeModeInfo mode; member
/hardware/intel/img/hwcomposer/merrifield/common/base/
DDrm.cpp198 memcpy(&output->mode, &output->crtc->mode, sizeof(drmModeModeInfo)); in detect()
225 …ITRACE("mode is: %dx%d@%dHz", output->mode.hdisplay, output->mode.vdisplay, output->mode.vrefresh); in detect()
273 drmModeModeInfoPtr mode; in setDrmMode() local
276 mode = &output->connector->modes[i]; in setDrmMode()
277 if (mode->type & DRM_MODE_TYPE_PREFERRED) { in setDrmMode()
280 if (isSameDrmMode(&value, mode)) { in setDrmMode()
286 mode = &output->connector->modes[index]; in setDrmMode()
287 return setDrmMode(outputIndex, mode); in setDrmMode()
317 drmModeModeInfoPtr mode; in setRefreshRate() local
320 mode = &output->connector->modes[i]; in setRefreshRate()
[all …]
DDrm.h56 bool setDpmsMode(int device, int mode);
58 bool getModeInfo(int device, drmModeModeInfo& mode);
60 bool isSameDrmMode(drmModeModeInfoPtr mode, drmModeModeInfoPtr base) const;
66 bool setDrmMode(int index, drmModeModeInfoPtr mode);
84 drmModeModeInfo mode; member
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_ports/
Dx86.h213 x87_set_control_word(unsigned short mode) { in x87_set_control_word() argument
214 __asm__ __volatile__("fldcw %0" : : "m"(*&mode)); in x87_set_control_word()
218 unsigned short mode; in x87_get_control_word() local
219 __asm__ __volatile__("fstcw %0\n\t":"=m"(*&mode):); in x87_get_control_word()
220 return mode; in x87_get_control_word()
224 x87_set_control_word(unsigned short mode) { in x87_set_control_word() argument
225 asm volatile("fldcw %0" : : "m"(*&mode)); in x87_set_control_word()
229 unsigned short mode; in x87_get_control_word() local
230 asm volatile("fstcw %0\n\t":"=m"(*&mode):); in x87_get_control_word()
231 return mode; in x87_get_control_word()
[all …]
/hardware/intel/img/psb_video/src/android/
Dpsb_mds.cpp60 int mode = MDS_MODE_NONE; in getMode() local
62 mode = mListener->getDisplayMode(false); in getMode()
63 if (checkMode(mode, (MDS_VIDEO_ON | MDS_HDMI_CONNECTED))) in getMode()
64 mode = MDS_HDMI_VIDEO_ISPLAYING; in getMode()
65 else if (checkMode(mode, (MDS_VIDEO_ON | MDS_WIDI_ON))) in getMode()
66 mode = MDS_WIDI_VIDEO_ISPLAYING; in getMode()
68 mode = MDS_INIT_VALUE; in getMode()
70 return mode; in getMode()
84 int mode = mListener->getDisplayMode(false); in getDecoderOutputResolution() local
85 if (!checkMode(mode, (MDS_VIDEO_ON | MDS_WIDI_ON))) in getDecoderOutputResolution()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/
Dreconintra_arm.c22 int mode,
31 int mode = x->mode_info_context->mbmi.mode; in vp8_build_intra_predictors_mby_neon() local
35 vp8_build_intra_predictors_mby_neon_func(y_buffer, ypred_ptr, y_stride, mode, Up, Left); in vp8_build_intra_predictors_mby_neon()
42 int mode,
51 int mode = x->mode_info_context->mbmi.mode; in vp8_build_intra_predictors_mby_s_neon() local
55 vp8_build_intra_predictors_mby_s_neon_func(y_buffer, ypred_ptr, y_stride, mode, Up, Left); in vp8_build_intra_predictors_mby_s_neon()
/hardware/libhardware_legacy/audio/
DAudioHardwareInterface.cpp54 static const char* displayMode(int mode) in displayMode() argument
56 if ((mode < AudioSystem::MODE_INVALID) || (mode >= AudioSystem::NUM_MODES)) in displayMode()
58 return routingModeStrings[mode+3]; in displayMode()
86 status_t AudioHardwareBase::setMode(int mode) in setMode() argument
89 ALOGD("setMode(%s)", displayMode(mode)); in setMode()
91 if ((mode < 0) || (mode >= AudioSystem::NUM_MODES)) in setMode()
93 if (mMode == mode) in setMode()
95 mMode = mode; in setMode()
/hardware/bsp/intel/peripheral/libmraa/api/mraa/
Dgpio.hpp125 edge(Edge mode) in edge() argument
127 return (Result) mraa_gpio_edge_mode(m_gpio, (mraa_gpio_edge_t) mode); in edge()
131 isr(Edge mode, PyObject* pyfunc, PyObject* args) in isr() argument
133 …return (Result) mraa_gpio_isr(m_gpio, (mraa_gpio_edge_t) mode, (void (*) (void*)) pyfunc, (void*) … in isr()
166 isr(Edge mode, v8::Handle<v8::Function> func) in isr() argument
173 return (Result) mraa_gpio_isr(m_gpio, (mraa_gpio_edge_t) mode, &uvwork, this); in isr()
177 isr(Edge mode, jobject runnable) in isr() argument
179 … return (Result) mraa_gpio_isr(m_gpio, (mraa_gpio_edge_t) mode, mraa_java_isr_callback, runnable); in isr()
192 isr(Edge mode, void (*fptr)(void*), void* args) in isr() argument
194 return (Result) mraa_gpio_isr(m_gpio, (mraa_gpio_edge_t) mode, fptr, args); in isr()
[all …]
/hardware/qcom/display/msm8084/libexternal/
Dexternal.cpp60 int mode = getUserMode(); in configure() local
61 if (mode == -1) { in configure()
63 mode = getBestMode(); in configure()
65 setResolution(mode); in configure()
253 const msm_hdmi_mode_timing_info* mode) in setDisplayTiming() argument
260 (mode->video_format << 16); in setDisplayTiming()
264 info.xres = mode->active_h; in setDisplayTiming()
265 info.yres = mode->active_v; in setDisplayTiming()
267 info.pixclock = (mode->pixel_freq)*1000; in setDisplayTiming()
268 info.vmode = mode->interlaced ? in setDisplayTiming()
[all …]
/hardware/qcom/display/msm8226/libexternal/
Dexternal.cpp60 int mode = getUserMode(); in configure() local
61 if (mode == -1) { in configure()
63 mode = getBestMode(); in configure()
65 setResolution(mode); in configure()
253 const msm_hdmi_mode_timing_info* mode) in setDisplayTiming() argument
260 (mode->video_format << 16); in setDisplayTiming()
264 info.xres = mode->active_h; in setDisplayTiming()
265 info.yres = mode->active_v; in setDisplayTiming()
267 info.pixclock = (mode->pixel_freq)*1000; in setDisplayTiming()
268 info.vmode = mode->interlaced ? in setDisplayTiming()
[all …]
/hardware/qcom/display/msm8994/libhdmi/
Dhdmi.cpp309 const msm_hdmi_mode_timing_info* mode) in setDisplayTiming() argument
316 (mode->video_format << 16); in setDisplayTiming()
320 info.xres = mode->active_h; in setDisplayTiming()
321 info.yres = mode->active_v; in setDisplayTiming()
323 info.pixclock = (mode->pixel_freq)*1000; in setDisplayTiming()
324 info.vmode = mode->interlaced ? in setDisplayTiming()
327 info.right_margin = mode->front_porch_h; in setDisplayTiming()
328 info.hsync_len = mode->pulse_width_h; in setDisplayTiming()
329 info.left_margin = mode->back_porch_h; in setDisplayTiming()
330 info.lower_margin = mode->front_porch_v; in setDisplayTiming()
[all …]
Dhdmi.h43 EDIDData(int mode, int width, int height, int fps, int order) in EDIDData()
44 : mMode(mode), mWidth(width), mHeight(height), mFps(fps), mModeOrder(order) in EDIDData()
86 bool isValidMode(int mode);
87 int getModeOrder(int mode);
90 bool isInterlacedMode(int mode);
95 int getModeIndex(int mode);
/hardware/qcom/display/msm8909/libhdmi/
Dhdmi.cpp297 const msm_hdmi_mode_timing_info* mode) in setDisplayTiming() argument
304 (mode->video_format << 16); in setDisplayTiming()
308 info.xres = mode->active_h; in setDisplayTiming()
309 info.yres = mode->active_v; in setDisplayTiming()
311 info.pixclock = (mode->pixel_freq)*1000; in setDisplayTiming()
312 info.vmode = mode->interlaced ? in setDisplayTiming()
315 info.right_margin = mode->front_porch_h; in setDisplayTiming()
316 info.hsync_len = mode->pulse_width_h; in setDisplayTiming()
317 info.left_margin = mode->back_porch_h; in setDisplayTiming()
318 info.lower_margin = mode->front_porch_v; in setDisplayTiming()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/core/fb/
Dhw_hdmi.cpp49 static bool MapHDMIDisplayTiming(const msm_hdmi_mode_timing_info *mode, in MapHDMIDisplayTiming() argument
51 if (!mode || !info) { in MapHDMIDisplayTiming()
58 info->reserved[3] = (info->reserved[3] & 0xFFFF) | (mode->video_format << 16); in MapHDMIDisplayTiming()
61 info->xres = mode->active_h; in MapHDMIDisplayTiming()
62 info->yres = mode->active_v; in MapHDMIDisplayTiming()
63 info->pixclock = (mode->pixel_freq) * 1000; in MapHDMIDisplayTiming()
64 info->vmode = mode->interlaced ? FB_VMODE_INTERLACED : FB_VMODE_NONINTERLACED; in MapHDMIDisplayTiming()
65 info->right_margin = mode->front_porch_h; in MapHDMIDisplayTiming()
66 info->hsync_len = mode->pulse_width_h; in MapHDMIDisplayTiming()
67 info->left_margin = mode->back_porch_h; in MapHDMIDisplayTiming()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Dloopfilter.c119 mode; /* index in mode_lf_deltas */ in vp8_loop_filter_frame_init() local
166 mode = 0; /* B_PRED */ in vp8_loop_filter_frame_init()
168 lvl_mode = lvl_ref + mbd->mode_lf_deltas[mode]; in vp8_loop_filter_frame_init()
172 lfi->lvl[seg][ref][mode] = lvl_mode; in vp8_loop_filter_frame_init()
174 mode = 1; /* all the rest of Intra modes */ in vp8_loop_filter_frame_init()
177 lfi->lvl[seg][ref][mode] = lvl_mode; in vp8_loop_filter_frame_init()
186 for (mode = 1; mode < 4; mode++) in vp8_loop_filter_frame_init()
188 lvl_mode = lvl_ref + mbd->mode_lf_deltas[mode]; in vp8_loop_filter_frame_init()
192 lfi->lvl[seg][ref][mode] = lvl_mode; in vp8_loop_filter_frame_init()
212 int skip_lf = (mode_info_context->mbmi.mode != B_PRED && in vp8_loop_filter_row_normal()
[all …]
/hardware/intel/img/hwcomposer/merrifield/common/devices/
DExternalDevice.cpp102 drmModeModeInfo mode; in setDrmMode() local
103 drm->getModeInfo(mType, mode); in setDrmMode()
104 if (drm->isSameDrmMode(&value, &mode)) in setDrmMode()
260 drmModeModeInfo mode; in getRefreshRate() local
261 if (!drm->getModeInfo(IDisplayDevice::DEVICE_EXTERNAL, mode)) in getRefreshRate()
263 return mode.vrefresh; in getRefreshRate()
278 drmModeModeInfo mode; in setRefreshRate() local
279 if (!drm->getModeInfo(IDisplayDevice::DEVICE_EXTERNAL, mode)) in setRefreshRate()
282 if (hz == 0 && (mode.type & DRM_MODE_TYPE_PREFERRED)) in setRefreshRate()
285 if (hz == (int)mode.vrefresh) in setRefreshRate()
[all …]
DPhysicalDevice.cpp170 drmModeModeInfo mode; in getDisplaySize() local
172 bool ret = drm->getModeInfo(mType, mode); in getDisplaySize()
177 *width = mode.hdisplay; in getDisplaySize()
178 *height = mode.vdisplay; in getDisplaySize()
316 drmModeModeInfo mode; in updateDisplayConfigs() local
317 ret = drm->getModeInfo(mType, mode); in updateDisplayConfigs()
339 dpiX = mode.hdisplay / physWidthInch; in updateDisplayConfigs()
340 dpiY = mode.vdisplay / physHeightInch; in updateDisplayConfigs()
347 DisplayConfig *config = new DisplayConfig(mode.vrefresh/mFpsDivider, in updateDisplayConfigs()
348 mode.hdisplay, in updateDisplayConfigs()
[all …]
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/devices/
DPhysicalDevice.cpp164 drmModeModeInfo mode; in getDisplaySize() local
166 bool ret = drm->getModeInfo(mType, mode); in getDisplaySize()
171 *width = mode.hdisplay; in getDisplaySize()
172 *height = mode.vdisplay; in getDisplaySize()
311 drmModeModeInfo mode; in updateDisplayConfigs() local
312 ret = drm->getModeInfo(mType, mode); in updateDisplayConfigs()
334 dpiX = mode.hdisplay / physWidthInch; in updateDisplayConfigs()
335 dpiY = mode.vdisplay / physHeightInch; in updateDisplayConfigs()
341 DisplayConfig *config = new DisplayConfig(mode.vrefresh, in updateDisplayConfigs()
342 mode.hdisplay, in updateDisplayConfigs()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/core/
Ddisplay_primary.cpp64 if (hw_panel_info_.mode == kModeCommand && Debug::IsVideoModeEnabled()) { in Init()
67 DLOGW("Retaining current display mode. Current = %d, Requested = %d", hw_panel_info_.mode, in Init()
112 if (hw_panel_info_.mode == kModeCommand) { in Commit()
131 if (hw_panel_info_.mode == kModeVideo) { in Commit()
166 if (hw_panel_info_.mode == kModeVideo) { in SetIdleTimeoutMs()
172 DisplayError DisplayPrimary::SetDisplayMode(uint32_t mode) { in SetDisplayMode() argument
175 HWDisplayMode hw_display_mode = static_cast<HWDisplayMode>(mode); in SetDisplayMode()
188 if (hw_display_mode == hw_panel_info_.mode) { in SetDisplayMode()
189 DLOGW("Same display mode requested. Current = %d, Requested = %d", hw_panel_info_.mode, in SetDisplayMode()
196 DLOGW("Retaining current display mode. Current = %d, Requested = %d", hw_panel_info_.mode, in SetDisplayMode()
[all …]
/hardware/qcom/msm8960/original-kernel-headers/linux/
Dmsm_rmnet.h26 #define RMNET_IS_MODE_QOS(mode) \ argument
27 ((mode & RMNET_MODE_QOS) == RMNET_MODE_QOS)
28 #define RMNET_IS_MODE_IP(mode) \ argument
29 ((mode & RMNET_MODE_LLP_IP) == RMNET_MODE_LLP_IP)
/hardware/qcom/msm8960/kernel-headers/linux/
Dmsm_rmnet.h27 #define RMNET_IS_MODE_QOS(mode) ((mode & RMNET_MODE_QOS) == RMNET_MODE_QOS) argument
29 #define RMNET_IS_MODE_IP(mode) ((mode & RMNET_MODE_LLP_IP) == RMNET_MODE_LLP_IP) argument
/hardware/qcom/display/msm8996/sdm/libs/core/
Ddisplay_primary.cpp67 if (hw_panel_info_.mode == kModeCommand && Debug::IsVideoModeEnabled()) { in Init()
70 DLOGW("Retaining current display mode. Current = %d, Requested = %d", hw_panel_info_.mode, in Init()
117 if (hw_panel_info_.mode == kModeCommand) { in Commit()
130 if (hw_panel_info_.mode == kModeVideo) { in Commit()
161 if (hw_panel_info_.mode == kModeVideo) { in SetIdleTimeoutMs()
167 DisplayError DisplayPrimary::SetDisplayMode(uint32_t mode) { in SetDisplayMode() argument
170 HWDisplayMode hw_display_mode = static_cast<HWDisplayMode>(mode); in SetDisplayMode()
183 if (hw_display_mode == hw_panel_info_.mode) { in SetDisplayMode()
184 DLOGW("Same display mode requested. Current = %d, Requested = %d", hw_panel_info_.mode, in SetDisplayMode()
191 DLOGW("Retaining current display mode. Current = %d, Requested = %d", hw_panel_info_.mode, in SetDisplayMode()
[all …]
/hardware/qcom/gps/core/
Dgps_extended.h40 LocPositionMode mode; member
50 mode(m), recurrence(recr), in LocPosMode()
64 mode(LOC_POSITION_MODE_MS_BASED), in LocPosMode()
74 return anotherMode.mode == mode && in equals()
/hardware/qcom/gps/msm8909/core/
Dgps_extended.h40 LocPositionMode mode; member
50 mode(m), recurrence(recr), in LocPosMode()
64 mode(LOC_POSITION_MODE_MS_BASED), in LocPosMode()
74 return anotherMode.mode == mode && in equals()

12345678910>>...26