\hypertarget{group__Eeze__Find}{}\doxysection{Find}
\label{group__Eeze__Find}\index{Find@{Find}}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ \mbox{\hyperlink{group__Eeze__Find_ga1aec84e9d1a689d61b17ff48ca344fc9}{eeze\+\_\+udev\+\_\+find\+\_\+similar\+\_\+from\+\_\+syspath}} (const char $\ast$syspath)
\begin{DoxyCompactList}\small\item\em Returns a stringshared list of all syspaths that are (or should be) the same device as the device pointed at by {\ttfamily syspath}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ \mbox{\hyperlink{group__Eeze__Find_ga8b406caa3c663f23ec969f09a8d356a2}{eeze\+\_\+udev\+\_\+find\+\_\+unlisted\+\_\+similar}} (\mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$list)
\begin{DoxyCompactList}\small\item\em Updates a list of all syspaths that are (or should be) the same device. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ \mbox{\hyperlink{group__Eeze__Find_ga059c64702007f80c703ef68baa2aecc8}{eeze\+\_\+udev\+\_\+find\+\_\+by\+\_\+sysattr}} (const char $\ast$sysattr, const char $\ast$value)
\begin{DoxyCompactList}\small\item\em Find a list of devices by a sysattr (and, optionally, a value of that sysattr). \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ \mbox{\hyperlink{group__Eeze__Find_ga5268a31f804aa7c7cea4ebfc23d92ca8}{eeze\+\_\+udev\+\_\+find\+\_\+by\+\_\+type}} (\mbox{\hyperlink{Eeze_8h_a9001d923dc7c65860cbd2e83ac5ec65c}{Eeze\+\_\+\+Udev\+\_\+\+Type}} type, const char $\ast$name)
\begin{DoxyCompactList}\small\item\em Find devices using an \mbox{\hyperlink{Eeze_8h_a9001d923dc7c65860cbd2e83ac5ec65c}{Eeze\+\_\+\+Udev\+\_\+\+Type}} and/or a name. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ \mbox{\hyperlink{group__Eeze__Find_ga52d43024fd5b09c4a020e4eeaf7b9970}{eeze\+\_\+udev\+\_\+find\+\_\+by\+\_\+filter}} (const char $\ast$subsystem, const char $\ast$type, const char $\ast$name)
\begin{DoxyCompactList}\small\item\em A more advanced find, allows finds using udev properties. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ \mbox{\hyperlink{group__Eeze__Find_ga2e96a39613e6290e73eba5e7abf29b5f}{eeze\+\_\+udev\+\_\+find\+\_\+by\+\_\+subsystem\+\_\+sysname}} (const char $\ast$subsystem, const char $\ast$sysname)
\begin{DoxyCompactList}\small\item\em A more advanced find, allows finds using udev subsystem and sysname. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
These are functions which find/supplement lists of devices. 

\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Eeze__Find_ga1aec84e9d1a689d61b17ff48ca344fc9}\label{group__Eeze__Find_ga1aec84e9d1a689d61b17ff48ca344fc9}} 
\index{Find@{Find}!eeze\_udev\_find\_similar\_from\_syspath@{eeze\_udev\_find\_similar\_from\_syspath}}
\index{eeze\_udev\_find\_similar\_from\_syspath@{eeze\_udev\_find\_similar\_from\_syspath}!Find@{Find}}
\doxysubsubsection{\texorpdfstring{eeze\_udev\_find\_similar\_from\_syspath()}{eeze\_udev\_find\_similar\_from\_syspath()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}}$\ast$ eeze\+\_\+udev\+\_\+find\+\_\+similar\+\_\+from\+\_\+syspath (\begin{DoxyParamCaption}\item[{const char $\ast$}]{syspath }\end{DoxyParamCaption})}



Returns a stringshared list of all syspaths that are (or should be) the same device as the device pointed at by {\ttfamily syspath}. 


\begin{DoxyParams}{Parameters}
{\em syspath} & The syspath of the device to find matches for \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
All devices which are the same as the one passed 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+L\+I\+S\+T\+\_\+\+F\+O\+R\+E\+A\+CH, eina\+\_\+list\+\_\+prepend(), and eina\+\_\+stringshare\+\_\+add().

\mbox{\Hypertarget{group__Eeze__Find_ga8b406caa3c663f23ec969f09a8d356a2}\label{group__Eeze__Find_ga8b406caa3c663f23ec969f09a8d356a2}} 
\index{Find@{Find}!eeze\_udev\_find\_unlisted\_similar@{eeze\_udev\_find\_unlisted\_similar}}
\index{eeze\_udev\_find\_unlisted\_similar@{eeze\_udev\_find\_unlisted\_similar}!Find@{Find}}
\doxysubsubsection{\texorpdfstring{eeze\_udev\_find\_unlisted\_similar()}{eeze\_udev\_find\_unlisted\_similar()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}}$\ast$ eeze\+\_\+udev\+\_\+find\+\_\+unlisted\+\_\+similar (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$}]{list }\end{DoxyParamCaption})}



Updates a list of all syspaths that are (or should be) the same device. 


\begin{DoxyParams}{Parameters}
{\em list} & The list of devices to update \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The updated list
\end{DoxyReturn}
This function will update {\ttfamily list} to include all devices matching devices with syspaths currently stored in {\ttfamily list}. All strings are stringshared.

\begin{DoxyNote}{Note}
This is an expensive call, do not use it unless you must. 
\end{DoxyNote}


References E\+I\+N\+A\+\_\+\+L\+I\+S\+T\+\_\+\+F\+O\+R\+E\+A\+CH.

\mbox{\Hypertarget{group__Eeze__Find_ga059c64702007f80c703ef68baa2aecc8}\label{group__Eeze__Find_ga059c64702007f80c703ef68baa2aecc8}} 
\index{Find@{Find}!eeze\_udev\_find\_by\_sysattr@{eeze\_udev\_find\_by\_sysattr}}
\index{eeze\_udev\_find\_by\_sysattr@{eeze\_udev\_find\_by\_sysattr}!Find@{Find}}
\doxysubsubsection{\texorpdfstring{eeze\_udev\_find\_by\_sysattr()}{eeze\_udev\_find\_by\_sysattr()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}}$\ast$ eeze\+\_\+udev\+\_\+find\+\_\+by\+\_\+sysattr (\begin{DoxyParamCaption}\item[{const char $\ast$}]{sysattr,  }\item[{const char $\ast$}]{value }\end{DoxyParamCaption})}



Find a list of devices by a sysattr (and, optionally, a value of that sysattr). 


\begin{DoxyParams}{Parameters}
{\em sysattr} & The attribute to find \\
\hline
{\em value} & Optional\+: the value that the attribute should have\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A stringshared list of the devices found with the attribute 
\end{DoxyReturn}


References eina\+\_\+list\+\_\+append(), and eina\+\_\+stringshare\+\_\+add().

\mbox{\Hypertarget{group__Eeze__Find_ga5268a31f804aa7c7cea4ebfc23d92ca8}\label{group__Eeze__Find_ga5268a31f804aa7c7cea4ebfc23d92ca8}} 
\index{Find@{Find}!eeze\_udev\_find\_by\_type@{eeze\_udev\_find\_by\_type}}
\index{eeze\_udev\_find\_by\_type@{eeze\_udev\_find\_by\_type}!Find@{Find}}
\doxysubsubsection{\texorpdfstring{eeze\_udev\_find\_by\_type()}{eeze\_udev\_find\_by\_type()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}}$\ast$ eeze\+\_\+udev\+\_\+find\+\_\+by\+\_\+type (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{Eeze_8h_a9001d923dc7c65860cbd2e83ac5ec65c}{Eeze\+\_\+\+Udev\+\_\+\+Type}}}]{type,  }\item[{const char $\ast$}]{name }\end{DoxyParamCaption})}



Find devices using an \mbox{\hyperlink{Eeze_8h_a9001d923dc7c65860cbd2e83ac5ec65c}{Eeze\+\_\+\+Udev\+\_\+\+Type}} and/or a name. 


\begin{DoxyParams}{Parameters}
{\em type} & An \mbox{\hyperlink{Eeze_8h_a9001d923dc7c65860cbd2e83ac5ec65c}{Eeze\+\_\+\+Udev\+\_\+\+Type}} or 0 \\
\hline
{\em name} & A filter for the device name or {\ttfamily N\+U\+LL} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A stringshared Eina\+\_\+\+List of matched devices or {\ttfamily N\+U\+LL} on failure
\end{DoxyReturn}
Return a list of syspaths (/sys/\$syspath) for matching udev devices. 

References E\+E\+Z\+E\+\_\+\+U\+D\+E\+V\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+A\+C\+K\+L\+I\+G\+HT, E\+E\+Z\+E\+\_\+\+U\+D\+E\+V\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+L\+U\+E\+T\+O\+O\+TH, E\+E\+Z\+E\+\_\+\+U\+D\+E\+V\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+R\+I\+V\+E\+\_\+\+C\+D\+R\+OM, E\+E\+Z\+E\+\_\+\+U\+D\+E\+V\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+R\+I\+V\+E\+\_\+\+I\+N\+T\+E\+R\+N\+AL, E\+E\+Z\+E\+\_\+\+U\+D\+E\+V\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+R\+I\+V\+E\+\_\+\+M\+O\+U\+N\+T\+A\+B\+LE, E\+E\+Z\+E\+\_\+\+U\+D\+E\+V\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+R\+I\+V\+E\+\_\+\+R\+E\+M\+O\+V\+A\+B\+LE, E\+E\+Z\+E\+\_\+\+U\+D\+E\+V\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+RM, E\+E\+Z\+E\+\_\+\+U\+D\+E\+V\+\_\+\+T\+Y\+P\+E\+\_\+\+G\+P\+IO, E\+E\+Z\+E\+\_\+\+U\+D\+E\+V\+\_\+\+T\+Y\+P\+E\+\_\+\+G\+R\+A\+P\+H\+I\+CS, E\+E\+Z\+E\+\_\+\+U\+D\+E\+V\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+S\+\_\+\+I\+T\+\_\+\+H\+O\+T\+\_\+\+O\+R\+\_\+\+I\+S\+\_\+\+I\+T\+\_\+\+C\+O\+L\+D\+\_\+\+S\+E\+N\+S\+OR, E\+E\+Z\+E\+\_\+\+U\+D\+E\+V\+\_\+\+T\+Y\+P\+E\+\_\+\+J\+O\+Y\+S\+T\+I\+CK, E\+E\+Z\+E\+\_\+\+U\+D\+E\+V\+\_\+\+T\+Y\+P\+E\+\_\+\+K\+E\+Y\+B\+O\+A\+RD, E\+E\+Z\+E\+\_\+\+U\+D\+E\+V\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+E\+DS, E\+E\+Z\+E\+\_\+\+U\+D\+E\+V\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+U\+SE, E\+E\+Z\+E\+\_\+\+U\+D\+E\+V\+\_\+\+T\+Y\+P\+E\+\_\+\+N\+ET, E\+E\+Z\+E\+\_\+\+U\+D\+E\+V\+\_\+\+T\+Y\+P\+E\+\_\+\+N\+O\+NE, E\+E\+Z\+E\+\_\+\+U\+D\+E\+V\+\_\+\+T\+Y\+P\+E\+\_\+\+P\+O\+W\+E\+R\+\_\+\+AC, E\+E\+Z\+E\+\_\+\+U\+D\+E\+V\+\_\+\+T\+Y\+P\+E\+\_\+\+P\+O\+W\+E\+R\+\_\+\+B\+AT, E\+E\+Z\+E\+\_\+\+U\+D\+E\+V\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+O\+U\+C\+H\+P\+AD, E\+E\+Z\+E\+\_\+\+U\+D\+E\+V\+\_\+\+T\+Y\+P\+E\+\_\+\+V4L, eina\+\_\+list\+\_\+append(), and eina\+\_\+stringshare\+\_\+add().



Referenced by ecore\+\_\+drm\+\_\+device\+\_\+find().

\mbox{\Hypertarget{group__Eeze__Find_ga52d43024fd5b09c4a020e4eeaf7b9970}\label{group__Eeze__Find_ga52d43024fd5b09c4a020e4eeaf7b9970}} 
\index{Find@{Find}!eeze\_udev\_find\_by\_filter@{eeze\_udev\_find\_by\_filter}}
\index{eeze\_udev\_find\_by\_filter@{eeze\_udev\_find\_by\_filter}!Find@{Find}}
\doxysubsubsection{\texorpdfstring{eeze\_udev\_find\_by\_filter()}{eeze\_udev\_find\_by\_filter()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}}$\ast$ eeze\+\_\+udev\+\_\+find\+\_\+by\+\_\+filter (\begin{DoxyParamCaption}\item[{const char $\ast$}]{subsystem,  }\item[{const char $\ast$}]{type,  }\item[{const char $\ast$}]{name }\end{DoxyParamCaption})}



A more advanced find, allows finds using udev properties. 


\begin{DoxyParams}{Parameters}
{\em subsystem} & The udev subsystem to filter by, or {\ttfamily N\+U\+LL} \\
\hline
{\em type} & \char`\"{}\+I\+D\+\_\+\+I\+N\+P\+U\+T\+\_\+\+K\+E\+Y\char`\"{}, \char`\"{}\+I\+D\+\_\+\+I\+N\+P\+U\+T\+\_\+\+M\+O\+U\+S\+E\char`\"{}, \char`\"{}\+I\+D\+\_\+\+I\+N\+P\+U\+T\+\_\+\+T\+O\+U\+C\+H\+P\+A\+D\char`\"{}, {\ttfamily N\+U\+LL}, etc \\
\hline
{\em name} & A filter for the device name, or {\ttfamily N\+U\+LL} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A stringshared Eina\+\_\+\+List$\ast$ of matched devices or {\ttfamily N\+U\+LL} on failure
\end{DoxyReturn}
Return a list of syspaths (/sys/\$syspath) for matching udev devices. Requires at least one filter. 

References eina\+\_\+list\+\_\+append(), and eina\+\_\+stringshare\+\_\+add().

\mbox{\Hypertarget{group__Eeze__Find_ga2e96a39613e6290e73eba5e7abf29b5f}\label{group__Eeze__Find_ga2e96a39613e6290e73eba5e7abf29b5f}} 
\index{Find@{Find}!eeze\_udev\_find\_by\_subsystem\_sysname@{eeze\_udev\_find\_by\_subsystem\_sysname}}
\index{eeze\_udev\_find\_by\_subsystem\_sysname@{eeze\_udev\_find\_by\_subsystem\_sysname}!Find@{Find}}
\doxysubsubsection{\texorpdfstring{eeze\_udev\_find\_by\_subsystem\_sysname()}{eeze\_udev\_find\_by\_subsystem\_sysname()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}}$\ast$ eeze\+\_\+udev\+\_\+find\+\_\+by\+\_\+subsystem\+\_\+sysname (\begin{DoxyParamCaption}\item[{const char $\ast$}]{subsystem,  }\item[{const char $\ast$}]{sysname }\end{DoxyParamCaption})}



A more advanced find, allows finds using udev subsystem and sysname. 


\begin{DoxyParams}{Parameters}
{\em subsystem} & The udev subsystem to filter by, or {\ttfamily N\+U\+LL} \\
\hline
{\em sysname} & A filter for the device name, or {\ttfamily N\+U\+LL} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A stringshared Eina\+\_\+\+List$\ast$ of matched devices or {\ttfamily N\+U\+LL} on failure

A stringshared list of the devices found
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+13
\end{DoxySince}
E\+A\+PI 

References eina\+\_\+list\+\_\+append(), and eina\+\_\+stringshare\+\_\+add().



Referenced by ecore\+\_\+drm\+\_\+inputs\+\_\+device\+\_\+axis\+\_\+size\+\_\+set().

