Lines Matching defs:high

1831 	uint16_t high;
1894 if ((r->range.high + 1) >= r->next->range.low) {
1896 if (r->range.high < r->next->range.high)
1897 r->range.high = r->next->range.high;
1923 /* high value of range */
1926 r->range.high = (uint16_t) strtoul(id,NULL,0);
1927 if (r->range.high < r->range.low) {
1946 rnew->range.high = rnew->range.low;
1975 r2->range.low = r->range.high + 1;
1982 r2->range.high = r->range.low - 1;
1989 r2->range.low = r->range.high + 1;
1991 r2->range.high = 0xffff;
2156 /* high value for this u32 */
2158 static void avrule_xperm_setrangebits(uint16_t low, uint16_t high,
2162 uint16_t h = high + 1;
2163 /* for each u32 that this low-high range touches, set driver permissions */
2164 for (i = XPERM_IDX(low); i <= XPERM_IDX(high); i++) {
2166 if ((low <= XPERM_LOW(i)) && (high >= XPERM_HIGH(i)))
2169 else if ((low <= XPERM_LOW(i)) && (high < XPERM_HIGH(i)))
2171 /* set high bits */
2172 else if ((low > XPERM_LOW(i)) && (high >= XPERM_HIGH(i)))
2175 else if ((low > XPERM_LOW(i)) && (high <= XPERM_HIGH(i)))
2206 uint8_t low, high;
2217 high = IOC_DRIV(r->range.high);
2221 if (!xperm_test(high, complete_driver->perms))
2222 xperm_set(high, xperms->perms);
2225 xperm_set(high, xperms->perms);
2244 uint16_t low, high;
2256 * if command number = 0xff, then round high up to next code,
2261 high = IOC_DRIV((uint32_t) (r->range.high + 1));
2266 if (high > low)
2267 avrule_xperm_setrangebits(low, high - 1, xperms);
2286 uint16_t low, high;
2299 high = r->range.high;
2300 if ((driver != IOC_DRIV(low)) && (driver != IOC_DRIV(high))) {
2306 if (high > IOC_CMD(driver, 0xff))
2307 high = IOC_CMD(driver, 0xff);
2315 high = IOC_FUNC(high);
2316 avrule_xperm_setrangebits(low, high, xperms);
4283 newcat->high = range_end;
4538 /* extract high sensitivity */
4724 int define_iomem_context(uint64_t low, uint64_t high)
4749 newc->u.iomem.high_iomem = high;
4751 if (low > high) {
4752 yyerror2("low memory 0x%"PRIx64" exceeds high memory 0x%"PRIx64"", low, high);
4768 if (low <= high2 && low2 <= high) {
4770 "earlier entry 0x%"PRIx64"-0x%"PRIx64"", low, high,
4788 int define_ioport_context(unsigned long low, unsigned long high)
4813 newc->u.ioport.high_ioport = high;
4815 if (low > high) {
4816 yyerror2("low ioport 0x%lx exceeds high ioport 0x%lx", low, high);
4832 if (low <= high2 && low2 <= high) {
4834 "earlier entry 0x%x-0x%x", low, high,
4962 int define_port_context(unsigned int low, unsigned int high)
5007 newc->u.port.high_port = high;
5009 if (low > high) {
5010 yyerror2("low port %d exceeds high port %d", low, high);
5028 if (low == low2 && high == high2) {
5030 low, high);
5033 if (low2 <= low && high2 >= high) {
5035 "entry for %d-%d", id, low, high, low2, high2);
5054 int define_ibpkey_context(unsigned int low, unsigned int high)
5102 if (low > 0xffff || high > 0xffff) {
5112 newc->u.ibpkey.high_pkey = high;
5114 if (low > high) {
5115 yyerror2("low pkey %d exceeds high pkey %d", low, high);
5132 if (low == low2 && high == high2 &&
5135 low, high);
5139 if (low2 <= low && high2 >= high &&
5142 low, high, low2, high2);