Home
last modified time | relevance | path

Searched refs:intval (Results 1 - 25 of 30) sorted by relevance

12

/third_party/ffmpeg/libavformat/
H A Dmpsubdec.c61 long long intval, fracval; in parse_line() local
62 int n = av_sscanf(line, "%lld%n.%lld%n", &intval, &p1, &fracval, &p2); in parse_line()
63 if (n <= 0 || intval < INT64_MIN / TSBASE || intval > INT64_MAX / TSBASE) in parse_line()
66 intval *= TSBASE; in parse_line()
75 if (intval > 0) intval = av_sat_add64(intval, fracval); in parse_line()
76 else intval = av_sat_sub64(intval, fracva in parse_line()
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/power/supply/
H A Dcw2017_battery.c401 val->intval = cw_bat->soc; in cw_battery_get_property()
405 val->intval = cw_bat->status; in cw_battery_get_property()
409 val->intval = !!cw_bat->voltage_mv; in cw_battery_get_property()
413 val->intval = cw_bat->voltage_mv * 1000; in cw_battery_get_property()
417 val->intval = 0; in cw_battery_get_property()
421 val->intval = POWER_SUPPLY_TECHNOLOGY_LION; in cw_battery_get_property()
425 val->intval = cw_bat->charge_count; in cw_battery_get_property()
429 val->intval = cw_bat->temp; in cw_battery_get_property()
435 val->intval = cw_bat->battery.charge_full_design_uah; in cw_battery_get_property()
437 val->intval in cw_battery_get_property()
[all...]
H A Dbq25700_charger.c1125 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in bq25700_power_supply_get_property()
1128 val->intval = POWER_SUPPLY_STATUS_CHARGING; in bq25700_power_supply_get_property()
1130 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in bq25700_power_supply_get_property()
1138 val->intval = state.ac_stat; in bq25700_power_supply_get_property()
1144 val->intval = POWER_SUPPLY_HEALTH_GOOD; in bq25700_power_supply_get_property()
1146 val->intval = POWER_SUPPLY_HEALTH_OVERVOLTAGE; in bq25700_power_supply_get_property()
1156 val->intval = ret * 64000; in bq25700_power_supply_get_property()
1160 val->intval = bq25700_tables[TBL_ICHG].rt.max; in bq25700_power_supply_get_property()
1165 val->intval = 0; in bq25700_power_supply_get_property()
1175 val->intval in bq25700_power_supply_get_property()
[all...]
H A Drk817_charger.c362 val->intval = 1; in rk817_charge_ac_get_property()
364 val->intval = (charge->ac_in | charge->dc_in); in rk817_charge_ac_get_property()
366 DBG("ac report online: %d\n", val->intval); in rk817_charge_ac_get_property()
370 val->intval = POWER_SUPPLY_STATUS_CHARGING; in rk817_charge_ac_get_property()
372 val->intval = charge->prop_status; in rk817_charge_ac_get_property()
374 DBG("report prop: %d\n", val->intval); in rk817_charge_ac_get_property()
377 val->intval = charge->max_chrg_voltage * 1000; /* uV */ in rk817_charge_ac_get_property()
380 val->intval = charge->max_chrg_current * 1000; /* uA */ in rk817_charge_ac_get_property()
400 val->intval = 1; in rk817_charge_usb_get_property()
402 val->intval in rk817_charge_usb_get_property()
[all...]
H A Drk817_battery.c2014 battery->usb_in = val.intval; in rk817_bat_get_charge_state()
2022 battery->ac_in = val.intval; in rk817_bat_get_charge_state()
2078 val->intval = battery->current_avg * 1000;/*uA*/ in rk817_battery_get_property()
2080 val->intval = VIRTUAL_CURRENT * 1000; in rk817_battery_get_property()
2083 val->intval = battery->voltage_avg * 1000;/*uV*/ in rk817_battery_get_property()
2085 val->intval = VIRTUAL_VOLTAGE * 1000; in rk817_battery_get_property()
2088 val->intval = (battery->dsoc + 500) / 1000; in rk817_battery_get_property()
2090 val->intval = VIRTUAL_SOC; in rk817_battery_get_property()
2093 val->intval = rk817_get_capacity_leve(battery); in rk817_battery_get_property()
2096 val->intval in rk817_battery_get_property()
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/power/supply/
H A Dpower_supply_sysfs.c222 if (value->intval == usb_type) { in power_supply_show_usb_type()
250 value.intval = psy->desc->type; in power_supply_show_property()
262 if (ps_attr->text_values_len > 0 && value.intval < ps_attr->text_values_len && value.intval >= 0) { in power_supply_show_property()
263 return sprintf(buf, "%s\n", ps_attr->text_values[value.intval]); in power_supply_show_property()
273 ret = sprintf(buf, "%d\n", value.intval); in power_supply_show_property()
307 value.intval = ret; in power_supply_store_property()
H A Dpower_supply_core.c338 return ret.intval; in power_supply_am_i_supplied_ext()
373 return ret.intval; in power_supply_is_system_supplied_ext()
409 return ret.intval; in power_supply_get_supplier_max_current_ext()
437 val.intval = curr; in power_supply_set_input_current_limit_from_supplier()
1021 *temp = val.intval * 0x64; in power_supply_read_temp()
1076 *state = val.intval; in ps_get_max_charge_cntl_limit()
1093 *state = val.intval; in ps_get_cur_charge_cntl_limit()
1105 val.intval = state; in ps_set_cur_charge_cntl_limit()
/third_party/eudev/src/udev/
H A Dudev-ctrl.c47 int intval; member
260 static int ctrl_send(struct udev_ctrl *uctrl, enum udev_ctrl_msg_type type, int intval, const char *buf, int timeout) { in ctrl_send() argument
272 ctrl_msg_wire.intval = intval; in ctrl_send()
439 return ctrl_msg->ctrl_msg_wire.intval; in udev_ctrl_get_set_log_level()
469 return ctrl_msg->ctrl_msg_wire.intval; in udev_ctrl_get_set_children_max()
/third_party/lwip/src/include/netif/ppp/
H A Dppp.h525 * Wait for up to intval milliseconds for a valid PPP packet from the peer.
531 #define ppp_set_listen_time(ppp, intval) (ppp->settings.listen_time = intval)
587 #define ppp_set_asyncmap(ppp, intval) (ppp->lcp_wantoptions.asyncmap = intval)
/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DGPBUtil.php114 $var = intval($var);
124 $var = intval($var);
141 $var = intval($var);
159 $var = intval($var);
438 $nanoseconds = intval($nanoseconds);
H A DCodedInputStream.php139 $var = intval($var);
/device/soc/rockchip/common/vendor/drivers/power/
H A Drk817_charger.c381 val->intval = 1; in rk817_charge_ac_get_property()
383 val->intval = (charge->ac_in | charge->dc_in); in rk817_charge_ac_get_property()
386 DBG("ac report online: %d\n", val->intval); in rk817_charge_ac_get_property()
390 val->intval = POWER_SUPPLY_STATUS_CHARGING; in rk817_charge_ac_get_property()
392 val->intval = charge->prop_status; in rk817_charge_ac_get_property()
395 DBG("report prop: %d\n", val->intval); in rk817_charge_ac_get_property()
398 val->intval = charge->max_chrg_voltage * 0x3E8; /* uV */ in rk817_charge_ac_get_property()
401 val->intval = charge->max_chrg_current * 0x3E8; /* uA */ in rk817_charge_ac_get_property()
420 val->intval = 1; in rk817_charge_usb_get_property()
422 val->intval in rk817_charge_usb_get_property()
[all...]
H A Drk817_battery.c2064 battery->usb_in = val.intval; in rk817_bat_get_charge_state()
2072 battery->ac_in = val.intval; in rk817_bat_get_charge_state()
2130 val->intval = battery->current_avg * 0x3E8; /* uA */ in rk817_battery_get_property()
2132 val->intval = VIRTUAL_CURRENT * 0x3E8; in rk817_battery_get_property()
2136 val->intval = battery->voltage_avg * 0x3E8; /* uV */ in rk817_battery_get_property()
2138 val->intval = VIRTUAL_VOLTAGE * 0x3E8; in rk817_battery_get_property()
2142 val->intval = (battery->dsoc + 0x1F4) / 0x3E8; in rk817_battery_get_property()
2144 val->intval = VIRTUAL_SOC; in rk817_battery_get_property()
2148 val->intval = rk817_get_capacity_leve(battery); in rk817_battery_get_property()
2151 val->intval in rk817_battery_get_property()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Dwnm_sta.h57 u8 action, u16 intval, struct wpabuf *tfs_req);
H A Dwnm_sta.c57 u8 action, u16 intval, struct wpabuf *tfs_req) in ieee802_11_send_wnmsleep_req()
83 wnmsleep_ie->intval = host_to_le16(intval); in ieee802_11_send_wnmsleep_req()
186 "(action=%d, intval=%d)", action, intval); in ieee802_11_send_wnmsleep_req()
382 "frame (action=%d, intval=%d)", in ieee802_11_rx_wnmsleep_resp()
383 wnmsleep_ie->action_type, wnmsleep_ie->intval); in ieee802_11_rx_wnmsleep_resp()
392 "(action=%d, intval=%d)", in ieee802_11_rx_wnmsleep_resp()
393 wnmsleep_ie->action_type, wnmsleep_ie->intval); in ieee802_11_rx_wnmsleep_resp()
56 ieee802_11_send_wnmsleep_req(struct wpa_supplicant *wpa_s, u8 action, u16 intval, struct wpabuf *tfs_req) ieee802_11_send_wnmsleep_req() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Dwnm_sta.h57 u8 action, u16 intval, struct wpabuf *tfs_req);
H A Dwnm_sta.c57 u8 action, u16 intval, struct wpabuf *tfs_req) in ieee802_11_send_wnmsleep_req()
83 wnmsleep_ie->intval = host_to_le16(intval); in ieee802_11_send_wnmsleep_req()
195 "(action=%d, intval=%d)", action, intval); in ieee802_11_send_wnmsleep_req()
399 "frame (action=%d, intval=%d)", in ieee802_11_rx_wnmsleep_resp()
400 wnmsleep_ie->action_type, wnmsleep_ie->intval); in ieee802_11_rx_wnmsleep_resp()
409 "(action=%d, intval=%d)", in ieee802_11_rx_wnmsleep_resp()
410 wnmsleep_ie->action_type, wnmsleep_ie->intval); in ieee802_11_rx_wnmsleep_resp()
56 ieee802_11_send_wnmsleep_req(struct wpa_supplicant *wpa_s, u8 action, u16 intval, struct wpabuf *tfs_req) ieee802_11_send_wnmsleep_req() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dwnm_ap.c50 u8 action_type, u16 intval) in ieee802_11_send_wnmsleep_resp()
80 wnmsleep_ie.intval = host_to_le16(intval); in ieee802_11_send_wnmsleep_resp()
354 le_to_host16(wnmsleep_ie->intval)); in ieee802_11_rx_wnmsleep_req()
48 ieee802_11_send_wnmsleep_resp(struct hostapd_data *hapd, const u8 *addr, u8 dialog_token, u8 action_type, u16 intval) ieee802_11_send_wnmsleep_resp() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dwnm_ap.c50 u8 action_type, u16 intval) in ieee802_11_send_wnmsleep_resp()
79 wnmsleep_ie.intval = host_to_le16(intval); in ieee802_11_send_wnmsleep_resp()
330 le_to_host16(wnmsleep_ie->intval)); in ieee802_11_rx_wnmsleep_req()
48 ieee802_11_send_wnmsleep_resp(struct hostapd_data *hapd, const u8 *addr, u8 dialog_token, u8 action_type, u16 intval) ieee802_11_send_wnmsleep_resp() argument
/device/soc/rockchip/common/sdk_linux/include/linux/
H A Dextcon.h112 * @type: integer (intval)
116 * @type: integer (intval)
120 * @type: integer (intval)
147 * @type: integer (intval)
166 int intval; /* type : integer (intval) */ member
H A Dpower_supply.h216 int intval; member
/device/soc/rockchip/common/sdk_linux/drivers/hid/
H A Dhid-input.c361 val->intval = 1; in hidinput_get_battery_property()
374 val->intval = value; in hidinput_get_battery_property()
393 val->intval = POWER_SUPPLY_STATUS_UNKNOWN; in hidinput_get_battery_property()
395 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in hidinput_get_battery_property()
400 val->intval = POWER_SUPPLY_SCOPE_DEVICE; in hidinput_get_battery_property()
/third_party/ffmpeg/libavfilter/
H A Dvf_drawtext.c1149 int intval; in func_eval_expr_int_format() local
1186 intval = res; in func_eval_expr_int_format()
1189 av_log(ctx, AV_LOG_ERROR, "Conversion of floating-point result to int failed. Control register: 0x%08x. Conversion result: %d\n", ret, intval); in func_eval_expr_int_format()
1201 av_bprintf(bp, fmt_str, intval); in func_eval_expr_int_format()
/device/soc/rockchip/common/sdk_linux/drivers/phy/rockchip/
H A Dphy-rockchip-typec.c1259 if (property.intval) { in tcphy_get_mode()
1270 tcphy->flip = property.intval ? 1 : 0; in tcphy_get_mode()
/third_party/libdrm/intel/
H A Dintel_decode.c99 static float int_as_float(uint32_t intval) in int_as_float() argument
106 uval.i = intval; in int_as_float()

Completed in 41 milliseconds

12