Home
last modified time | relevance | path

Searched defs:chg (Results 1 – 18 of 18) sorted by relevance

/drivers/power/supply/
Dmax14577_charger.c47 static int max14577_get_charger_state(struct max14577_charger *chg, int *val) in max14577_get_charger_state()
97 static int max14577_get_charge_type(struct max14577_charger *chg, int *val) in max14577_get_charge_type()
121 static int max14577_get_online(struct max14577_charger *chg, int *val) in max14577_get_online()
160 static int max14577_get_battery_health(struct max14577_charger *chg, int *val) in max14577_get_battery_health()
199 static int max14577_get_present(struct max14577_charger *chg, int *val) in max14577_get_present()
206 static int max14577_set_fast_charge_timer(struct max14577_charger *chg, in max14577_set_fast_charge_timer()
230 static int max14577_init_constant_voltage(struct max14577_charger *chg, in max14577_init_constant_voltage()
261 static int max14577_init_eoc(struct max14577_charger *chg, in max14577_init_eoc()
301 static int max14577_init_fast_charge(struct max14577_charger *chg, in max14577_init_fast_charge()
326 static int max14577_charger_reg_init(struct max14577_charger *chg) in max14577_charger_reg_init()
[all …]
Dmax77693_charger.c214 struct max77693_charger *chg = power_supply_get_drvdata(psy); in max77693_charger_get_property() local
259 struct max77693_charger *chg = dev_get_drvdata(dev); in device_attr_store() local
277 struct max77693_charger *chg = dev_get_drvdata(dev); in fast_charge_timer_show() local
302 static int max77693_set_fast_charge_timer(struct max77693_charger *chg, in max77693_set_fast_charge_timer()
343 struct max77693_charger *chg = dev_get_drvdata(dev); in top_off_threshold_current_show() local
363 static int max77693_set_top_off_threshold_current(struct max77693_charger *chg, in max77693_set_top_off_threshold_current()
394 struct max77693_charger *chg = dev_get_drvdata(dev); in top_off_timer_show() local
411 static int max77693_set_top_off_timer(struct max77693_charger *chg, in max77693_set_top_off_timer()
438 static int max77693_set_constant_volt(struct max77693_charger *chg, in max77693_set_constant_volt()
474 static int max77693_set_min_system_volt(struct max77693_charger *chg, in max77693_set_min_system_volt()
[all …]
Dqcom_smbb.c256 static int smbb_charger_attr_write(struct smbb_charger *chg, in smbb_charger_attr_write()
313 static int smbb_charger_attr_read(struct smbb_charger *chg, in smbb_charger_attr_read()
335 static int smbb_charger_attr_parse(struct smbb_charger *chg, in smbb_charger_attr_parse()
353 static void smbb_set_line_flag(struct smbb_charger *chg, int irq, int flag) in smbb_set_line_flag()
376 struct smbb_charger *chg = _data; in smbb_usb_valid_handler() local
388 struct smbb_charger *chg = _data; in smbb_dc_valid_handler() local
399 struct smbb_charger *chg = _data; in smbb_bat_temp_handler() local
423 struct smbb_charger *chg = _data; in smbb_bat_present_handler() local
433 struct smbb_charger *chg = _data; in smbb_chg_done_handler() local
443 struct smbb_charger *chg = _data; in smbb_chg_gone_handler() local
[all …]
Dmax77650-charger.c88 static int max77650_charger_set_vchgin_min(struct max77650_charger_data *chg, in max77650_charger_set_vchgin_min()
109 static int max77650_charger_set_ichgin_lim(struct max77650_charger_data *chg, in max77650_charger_set_ichgin_lim()
130 static int max77650_charger_enable(struct max77650_charger_data *chg) in max77650_charger_enable()
144 static void max77650_charger_disable(struct max77650_charger_data *chg) in max77650_charger_disable()
158 struct max77650_charger_data *chg = data; in max77650_charger_check_status() local
192 struct max77650_charger_data *chg = power_supply_get_drvdata(psy); in max77650_charger_get_property() local
280 struct max77650_charger_data *chg; in max77650_charger_probe() local
350 struct max77650_charger_data *chg = platform_get_drvdata(pdev); in max77650_charger_remove() local
Dmax77976_charger.c124 static int max77976_get_status(struct max77976 *chg, int *val) in max77976_get_status()
162 static int max77976_get_charge_type(struct max77976 *chg, int *val) in max77976_get_charge_type()
200 static int max77976_get_health(struct max77976 *chg, int *val) in max77976_get_health()
234 static int max77976_get_online(struct max77976 *chg, int *val) in max77976_get_online()
248 static int max77976_get_integer(struct max77976 *chg, enum max77976_field_idx fidx, in max77976_get_integer()
264 static int max77976_set_integer(struct max77976 *chg, enum max77976_field_idx fidx, in max77976_set_integer()
279 struct max77976 *chg = power_supply_get_drvdata(psy); in max77976_get_property() local
329 struct max77976 *chg = power_supply_get_drvdata(psy); in max77976_set_property() local
392 static int max77976_detect(struct max77976 *chg) in max77976_detect()
416 static int max77976_configure(struct max77976 *chg) in max77976_configure()
[all …]
Drt5033_charger.c28 struct rt5033_charger_data *chg; member
118 struct rt5033_charger_data *chg = charger->chg; in rt5033_init_const_charge() local
189 struct rt5033_charger_data *chg = charger->chg; in rt5033_init_fast_charge() local
234 struct rt5033_charger_data *chg = charger->chg; in rt5033_init_pre_charge() local
382 struct rt5033_charger_data *chg; in rt5033_charger_dt_init() local
Dab8500_bmdata.c113 static const struct ab8500_bm_charger_parameters chg = { variable
Dtwl4030_madc_battery.c158 int chg = (percent * (bat->pdata->capacity/1000))/100; in twl4030_madc_bat_get_property() local
Dmax8903_charger.c30 struct gpio_desc *chg; /* Charger status output */ member
/drivers/net/ethernet/intel/ice/
Dice_flex_pipe.c3194 struct list_head *chg) in ice_rem_vsig()
3252 struct list_head *chg) in ice_rem_prof_id_vsig()
3287 struct list_head chg; in ice_rem_flow_all() local
3362 struct list_head *chg) in ice_get_prof()
3502 struct list_head *chg) in ice_move_vsi()
3538 ice_rem_chg_tcam_ent(struct ice_hw *hw, u16 idx, struct list_head *chg) in ice_rem_chg_tcam_ent()
3563 struct list_head *chg) in ice_prof_tcam_ena_dis()
3635 struct list_head *chg) in ice_adj_prof_priorities()
3706 bool rev, struct list_head *chg) in ice_add_prof_id_vsig()
3818 struct list_head *chg) in ice_create_prof_id_vsig()
[all …]
/drivers/net/fddi/skfp/
Dess.c474 struct smt_sba_chg *chg ; in ess_send_response() local
/drivers/usb/gadget/udc/aspeed-vhub/
Dhub.c510 u16 chg = p->status ^ prev; in ast_vhub_change_port_stat() local
744 u16 stat, chg; in ast_vhub_get_port_stat() local
/drivers/clk/mediatek/
Dclk-pll.c96 u32 chg, val; in mtk_pll_set_rate_regs() local
/drivers/scsi/sym53c8xx_2/
Dsym_hipd.c3948 u_char chg, ofs, per, fak, div; local
4064 int dt, chg = 0; local
4200 u_char chg, wide; local
/drivers/usb/host/
Dmax3421-hcd.c1074 u32 old_port_status, chg; in max3421_detect_conn() local
1187 u32 chg, old_port_status; in max3421_handle_irqs() local
/drivers/hid/
Dwacom_wac.c1542 bool chg = data[284] & 0x80; in wacom_intuos_pro2_bt_battery() local
1569 bool chg = data[45] & 0x80; in wacom_intuos_gen3_bt_battery() local
/drivers/gpio/
Dgpiolib-cdev.c2724 struct gpio_v2_line_info_changed chg; in lineinfo_changed_notify() local
/drivers/scsi/
Dncr53c8xx.c6520 u_char chg, ofs, per, fak, wide; in ncr_int_sir() local