Lines Matching refs:func
103 u_int64_t func = 0;
121 func |= BIOC_ALARM;
125 func |= BIOC_BLINK;
133 func |= BIOC_CREATERAID;
148 func |= BIOC_DELETERAID;
151 func |= BIOC_BLINK;
156 func |= BIOC_SETSTATE;
164 func |= BIOC_INQ;
170 func |= BIOC_DEVLIST;
192 func |= BIOC_SETSTATE;
198 func |= BIOC_SETSTATE;
206 func |= BIOC_PATROL;
223 if (argc != 1 || (changepass && func != 0))
226 if (func == 0)
227 func |= BIOC_INQ;
254 } else if (func & BIOC_INQ) {
256 } else if (func == BIOC_ALARM) {
258 } else if (func == BIOC_BLINK) {
260 } else if (func == BIOC_PATROL) {
262 } else if (func == BIOC_SETSTATE) {
264 } else if (func == BIOC_DELETERAID && !biodev) {
266 } else if (func & BIOC_CREATERAID || func & BIOC_DEVLIST) {
267 if (!(func & BIOC_CREATERAID))
269 if (!(func & BIOC_DEVLIST))