Lines Matching defs:driver
2163 /* for each u32 that this low-high range touches, set driver permissions */
2194 * dir, size, driver, and function. Only the driver and function fields
2199 #define IOC_CMD(driver, func) (((driver) << 8) + (func))
2254 * Any driver code that has sequence 0x00 - 0xff is a complete code,
2262 /* if 0x00 keep current driver code else 0x01 - 0xff round up to next code*/
2271 xperms->driver = 0x00;
2282 av_extended_perms_t **extended_perms, unsigned int driver)
2296 /* for the passed in driver code, find the ranges that apply */
2300 if ((driver != IOC_DRIV(low)) && (driver != IOC_DRIV(high))) {
2305 if (driver == IOC_DRIV(low)) {
2306 if (high > IOC_CMD(driver, 0xff))
2307 high = IOC_CMD(driver, 0xff);
2310 if (low < IOC_CMD(driver, 0))
2311 low = IOC_CMD(driver, 0);
2317 xperms->driver = driver;
2405 /* create rule for ioctl driver types that are entirely enabled */
2420 /* flag ioctl driver codes that are partially enabled */
2428 * create rule for each partially used driver codes