Home
last modified time | relevance | path

Searched refs:intval (Results 1 – 14 of 14) sorted by relevance

/linux-4.19.296/fs/ceph/
Dsuper.c232 int token, intval, ret; in parse_fsopt_token() local
239 ret = match_int(&argstr[0], &intval); in parse_fsopt_token()
244 dout("got int token %d val %d\n", token, intval); in parse_fsopt_token()
284 if (intval < (int)PAGE_SIZE || intval > CEPH_MAX_WRITE_SIZE) in parse_fsopt_token()
286 fsopt->wsize = ALIGN(intval, PAGE_SIZE); in parse_fsopt_token()
289 if (intval < (int)PAGE_SIZE || intval > CEPH_MAX_READ_SIZE) in parse_fsopt_token()
291 fsopt->rsize = ALIGN(intval, PAGE_SIZE); in parse_fsopt_token()
294 if (intval < 0) in parse_fsopt_token()
296 fsopt->rasize = ALIGN(intval, PAGE_SIZE); in parse_fsopt_token()
299 if (intval < 1) in parse_fsopt_token()
[all …]
/linux-4.19.296/drivers/s390/block/
Ddasd_ioctl.c501 int intval, rc; in dasd_ioctl_set_ro() local
508 if (get_user(intval, (int __user *)argp)) in dasd_ioctl_set_ro()
513 if (!intval && test_bit(DASD_FLAG_DEVICE_RO, &base->flags)) { in dasd_ioctl_set_ro()
517 set_disk_ro(bdev->bd_disk, intval); in dasd_ioctl_set_ro()
518 rc = dasd_set_feature(base->cdev, DASD_FEATURE_READONLY, intval); in dasd_ioctl_set_ro()
/linux-4.19.296/include/linux/
Dextcon.h171 int intval; /* type : integer (intval) */ member
Dpower_supply.h192 int intval; member
/linux-4.19.296/drivers/hid/
Dhid-steam.c338 val->intval = 1; in steam_battery_get_property()
341 val->intval = POWER_SUPPLY_SCOPE_DEVICE; in steam_battery_get_property()
344 val->intval = volts * 1000; /* mV -> uV */ in steam_battery_get_property()
347 val->intval = batt; in steam_battery_get_property()
Dwacom_sys.c1705 val->intval = battery->bat_connected; in wacom_battery_get_property()
1708 val->intval = POWER_SUPPLY_SCOPE_DEVICE; in wacom_battery_get_property()
1711 val->intval = battery->battery_capacity; in wacom_battery_get_property()
1715 val->intval = battery->bat_status; in wacom_battery_get_property()
1717 val->intval = POWER_SUPPLY_STATUS_CHARGING; in wacom_battery_get_property()
1720 val->intval = POWER_SUPPLY_STATUS_FULL; in wacom_battery_get_property()
1722 val->intval = POWER_SUPPLY_STATUS_NOT_CHARGING; in wacom_battery_get_property()
1724 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in wacom_battery_get_property()
Dhid-input.c397 val->intval = 1; in hidinput_get_battery_property()
410 val->intval = value; in hidinput_get_battery_property()
429 val->intval = POWER_SUPPLY_STATUS_UNKNOWN; in hidinput_get_battery_property()
431 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in hidinput_get_battery_property()
435 val->intval = POWER_SUPPLY_SCOPE_DEVICE; in hidinput_get_battery_property()
Dhid-sony.c2308 val->intval = 1; in sony_battery_get_property()
2311 val->intval = POWER_SUPPLY_SCOPE_DEVICE; in sony_battery_get_property()
2314 val->intval = battery_capacity; in sony_battery_get_property()
2318 val->intval = POWER_SUPPLY_STATUS_CHARGING; in sony_battery_get_property()
2321 val->intval = POWER_SUPPLY_STATUS_FULL; in sony_battery_get_property()
2323 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in sony_battery_get_property()
Dhid-logitech-hidpp.c1168 val->intval = hidpp->battery.status; in hidpp_battery_get_property()
1171 val->intval = hidpp->battery.capacity; in hidpp_battery_get_property()
1174 val->intval = hidpp->battery.level; in hidpp_battery_get_property()
1177 val->intval = POWER_SUPPLY_SCOPE_DEVICE; in hidpp_battery_get_property()
1180 val->intval = hidpp->battery.online; in hidpp_battery_get_property()
Dhid-wiimote-modules.c211 val->intval = POWER_SUPPLY_SCOPE_DEVICE; in wiimod_battery_get_property()
233 val->intval = state * 100 / 255; in wiimod_battery_get_property()
/linux-4.19.296/drivers/media/dvb-frontends/
Dstb0899_algo.c804 u32 dec_ratio, dec_rate, decim, remain, intval, btr_nom_freq; in stb0899_dvbs2_calc_srate() local
815 intval = (decim * (1 << (config->btr_nco_bits - 1))) / master_clk; in stb0899_dvbs2_calc_srate()
818 intval = (1 << (config->btr_nco_bits - 1)) / (master_clk / 100) * decim / 100; in stb0899_dvbs2_calc_srate()
821 btr_nom_freq = (intval * srate) + ((remain * srate) / master_clk); in stb0899_dvbs2_calc_srate()
/linux-4.19.296/drivers/char/ipmi/
Dipmi_watchdog.c201 typedef int (*action_fn)(const char *intval, char *outval);
/linux-4.19.296/fs/ocfs2/dlm/
Ddlmcommon.h674 __be32 intval; member
Ddlmdomain.c795 *wire = be32_to_cpu(response.intval); in dlm_query_join_packet_to_wire()
803 response.intval = cpu_to_be32(wire); in dlm_query_join_wire_to_packet()