Searched refs:long_val (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/drivers/net/fddi/skfp/
H A Dpmf.c1096 SK_LOC_DECL(u_long,long_val) ; smt_set_para()
1181 to = (char *) &long_val ; smt_set_para()
1325 if (long_val < (long)0x478bf51L) smt_set_para()
1327 IFSET(mib->fddiSMTTrace_MaxExpiration = long_val) ; smt_set_para()
1331 if (long_val > 1562) smt_set_para()
1333 if (set && smc->mib.fddiESSPayload != long_val) { smt_set_para()
1335 smc->mib.fddiESSPayload = long_val ; smt_set_para()
1339 if (long_val < 50 || long_val > 5000) smt_set_para()
1342 smc->mib.fddiESSOverhead != long_val) { smt_set_para()
1344 smc->mib.fddiESSOverhead = long_val ; smt_set_para()
1348 if (long_val > -MS2BCLK(5) || long_val < -MS2BCLK(165)) smt_set_para()
1350 IFSET(mib->fddiESSMaxTNeg = long_val) ; smt_set_para()
1353 if (long_val < 1 || long_val > 4478) smt_set_para()
1355 IFSET(mib->fddiESSMinSegmentSize = long_val) ; smt_set_para()
1358 if ((long_val & 0xffff) != 1) smt_set_para()
1360 IFSET(mib->fddiESSCategory = long_val) ; smt_set_para()
1403 IFSET(mib_m->fddiMACT_Min = long_val) ; smt_set_para()
1406 if (long_val > 1562) smt_set_para()
1408 IFSET(mib_a->fddiPATHSbaPayload = long_val) ; smt_set_para()
1415 if (long_val > 5000) smt_set_para()
1418 if (long_val != 0 && mib_a->fddiPATHSbaPayload == 0) smt_set_para()
1421 IFSET(mib_a->fddiPATHSbaOverhead = long_val) ; smt_set_para()
1432 mib_a->fddiPATHT_Rmode = long_val ; smt_set_para()
1437 if (long_val > 0x00BEBC20L) smt_set_para()
1443 IFSET(mib_a->fddiPATHSbaAvailable = long_val) ; smt_set_para()
1446 IFSET(mib_a->fddiPATHTVXLowerBound = long_val) ; smt_set_para()
1449 IFSET(mib_a->fddiPATHT_MaxLowerBound = long_val) ; smt_set_para()
1452 IFSET(mib_a->fddiPATHMaxT_Req = long_val) ; smt_set_para()
1469 (char *)&long_val,4)) ; smt_set_para()
/linux-4.1.27/tools/perf/util/
H A Dutil.c231 * While we find nice hex chars, build a long_val.
234 int hex2u64(const char *ptr, u64 *long_val) hex2u64() argument
237 *long_val = 0; hex2u64()
245 *long_val = (*long_val << 4) | hex_val; hex2u64()
/linux-4.1.27/drivers/power/
H A Dpower_supply_sysfs.c119 long long_val; power_supply_store_property() local
122 ret = kstrtol(buf, 10, &long_val); power_supply_store_property()
126 value.intval = long_val; power_supply_store_property()
/linux-4.1.27/kernel/debug/
H A Dgdbstub.c289 * While we find nice hex chars, build a long_val.
292 int kgdb_hex2long(char **ptr, unsigned long *long_val) kgdb_hex2long() argument
298 *long_val = 0; kgdb_hex2long()
309 *long_val = (*long_val << 4) | hex_val; kgdb_hex2long()
315 *long_val = -*long_val; kgdb_hex2long()
/linux-4.1.27/include/linux/
H A Dkgdb.h302 extern int kgdb_hex2long(char **ptr, unsigned long *long_val);

Completed in 172 milliseconds