Searched refs:SyncPolarity (Results 1 – 5 of 5) sorted by relevance
33 SyncPolarity Videomode::hsync() const in hsync()36 return SyncPolarity::Positive; in hsync()38 return SyncPolarity::Negative; in hsync()39 return SyncPolarity::Undefined; in hsync()42 SyncPolarity Videomode::vsync() const in vsync()45 return SyncPolarity::Positive; in vsync()47 return SyncPolarity::Negative; in vsync()48 return SyncPolarity::Undefined; in vsync()59 void Videomode::set_hsync(SyncPolarity pol) in set_hsync()64 case SyncPolarity::Positive: in set_hsync()[all …]
146 mode.set_hsync(SyncPolarity::Positive); in videomode_from_cvt()147 mode.set_vsync(SyncPolarity::Negative); in videomode_from_cvt()
12 enum class SyncPolarity enum45 SyncPolarity hsync() const;46 SyncPolarity vsync() const;49 void set_hsync(SyncPolarity pol);50 void set_vsync(SyncPolarity pol);
194 py::enum_<SyncPolarity>(m, "SyncPolarity") in init_pykmsbase()195 .value("Undefined", SyncPolarity::Undefined) in init_pykmsbase()196 .value("Positive", SyncPolarity::Positive) in init_pykmsbase()197 .value("Negative", SyncPolarity::Negative) in init_pykmsbase()
217 output.mode.set_hsync(h_pos_sync ? SyncPolarity::Positive : SyncPolarity::Negative); in parse_crtc()218 output.mode.set_vsync(v_pos_sync ? SyncPolarity::Positive : SyncPolarity::Negative); in parse_crtc()