Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A 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 …]
H A Dmax77693_charger.c260 struct max77693_charger *chg = power_supply_get_drvdata(psy); in max77693_charger_get_property() local
311 struct max77693_charger *chg = dev_get_drvdata(dev); in device_attr_store() local
329 struct max77693_charger *chg = dev_get_drvdata(dev); in fast_charge_timer_show() local
354 static int max77693_set_fast_charge_timer(struct max77693_charger *chg, in max77693_set_fast_charge_timer()
395 struct max77693_charger *chg = dev_get_drvdata(dev); in top_off_threshold_current_show() local
415 static int max77693_set_top_off_threshold_current(struct max77693_charger *chg, in max77693_set_top_off_threshold_current()
446 struct max77693_charger *chg = dev_get_drvdata(dev); in top_off_timer_show() local
463 static int max77693_set_top_off_timer(struct max77693_charger *chg, in max77693_set_top_off_timer()
490 static int max77693_set_constant_volt(struct max77693_charger *chg, in max77693_set_constant_volt()
526 static int max77693_set_min_system_volt(struct max77693_charger *chg, in max77693_set_min_system_volt()
[all …]
H A 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 …]
H A 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
H A 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 …]
H A Dpm8916_lbc.c83 static int pm8916_lbc_charger_configure(struct pm8916_lbc_charger *chg) in pm8916_lbc_charger_configure()
127 struct pm8916_lbc_charger *chg = power_supply_get_drvdata(psy); in pm8916_lbc_charger_get_property() local
151 struct pm8916_lbc_charger *chg = power_supply_get_drvdata(psy); in pm8916_lbc_charger_set_property() local
181 struct pm8916_lbc_charger *chg = data; in pm8916_lbc_charger_state_changed_irq() local
197 static int pm8916_lbc_charger_probe_dt(struct pm8916_lbc_charger *chg) in pm8916_lbc_charger_probe_dt()
255 struct pm8916_lbc_charger *chg; in pm8916_lbc_charger_probe() local
H A Drt5033_charger.c32 struct rt5033_charger_data chg; member
134 struct rt5033_charger_data *chg = &charger->chg; in rt5033_init_const_charge() local
208 struct rt5033_charger_data *chg = &charger->chg; in rt5033_init_fast_charge() local
253 struct rt5033_charger_data *chg = &charger->chg; in rt5033_init_pre_charge() local
555 struct rt5033_charger_data *chg = &charger->chg; in rt5033_charger_dt_init() local
H A Dab8500_bmdata.c113 static const struct ab8500_bm_charger_parameters chg = { variable
H A Dtwl4030_madc_battery.c158 int chg = (percent * (bat->pdata->capacity/1000))/100; in twl4030_madc_bat_get_property() local
H A Dmax8903_charger.c30 struct gpio_desc *chg; /* Charger status output */ member
/linux/drivers/net/ethernet/intel/ice/
H A Dice_flex_pipe.c3269 struct list_head *chg) in ice_rem_vsig()
3327 struct list_head *chg) in ice_rem_prof_id_vsig()
3362 struct list_head chg; in ice_rem_flow_all() local
3437 struct list_head *chg) in ice_get_prof()
3577 struct list_head *chg) in ice_move_vsi()
3613 ice_rem_chg_tcam_ent(struct ice_hw *hw, u16 idx, struct list_head *chg) in ice_rem_chg_tcam_ent()
3638 struct list_head *chg) in ice_prof_tcam_ena_dis()
3710 struct list_head *chg) in ice_adj_prof_priorities()
3781 bool rev, struct list_head *chg) in ice_add_prof_id_vsig()
3893 struct list_head *chg) in ice_create_prof_id_vsig()
[all …]
/linux/tools/gpio/
H A Dgpio-watch.c25 struct gpio_v2_line_info_changed chg; in main() local
/linux/drivers/net/fddi/skfp/
H A Dess.c474 struct smt_sba_chg *chg ; in ess_send_response() local
/linux/drivers/usb/gadget/udc/aspeed-vhub/
H A 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
/linux/drivers/clk/mediatek/
H A Dclk-pll.c96 u32 chg, val; in mtk_pll_set_rate_regs() local
/linux/drivers/scsi/sym53c8xx_2/
H A Dsym_hipd.c3948 u_char chg, ofs, per, fak, div; local
4064 int dt, chg = 0; local
4200 u_char chg, wide; local
/linux/mm/
H A Dhugetlb.c777 long chg = 0; in region_chg() local
964 long chg = 0; in region_count() local
1250 static bool vma_has_reserves(struct vm_area_struct *vma, long chg) in vma_has_reserves()
1398 long chg) in dequeue_hugetlb_folio_vma()
6911 long chg = -1, add = -1; in hugetlb_reserve_pages() local
7071 long chg = 0; in hugetlb_unreserve_pages() local
/linux/drivers/usb/host/
H A Dmax3421-hcd.c1080 u32 old_port_status, chg; in max3421_detect_conn() local
1193 u32 chg, old_port_status; in max3421_handle_irqs() local
/linux/net/ipv6/
H A Dsit.c370 ipip6_tunnel_add_prl(struct ip_tunnel *t, struct ip_tunnel_prl *a, int chg) in ipip6_tunnel_add_prl()
/linux/drivers/hid/
H A Dwacom_wac.c1496 bool chg = data[284] & 0x80; in wacom_intuos_pro2_bt_battery() local
1523 bool chg = data[45] & 0x80; in wacom_intuos_gen3_bt_battery() local
/linux/drivers/gpio/
H A Dgpiolib-cdev.c2508 struct gpio_v2_line_info_changed chg; member
/linux/drivers/scsi/
H A Dncr53c8xx.c6520 u_char chg, ofs, per, fak, wide; in ncr_int_sir() local