| /linux/drivers/power/supply/ |
| H A D | max14577_charger.c | 47 static int max14577_get_charger_state(struct max14577_charger *chg, int *val) in max14577_get_charger_state() argument 49 struct regmap *rmap = chg->max14577->regmap; in max14577_get_charger_state() 97 static int max14577_get_charge_type(struct max14577_charger *chg, int *val) in max14577_get_charge_type() argument 109 ret = max14577_get_charger_state(chg, &charging); in max14577_get_charge_type() 121 static int max14577_get_online(struct max14577_charger *chg, int *val) in max14577_get_online() argument 123 struct regmap *rmap = chg->max14577->regmap; in max14577_get_online() 133 chg_type = maxim_get_charger_type(chg->max14577->dev_type, reg_data); in max14577_get_online() 160 static int max14577_get_battery_health(struct max14577_charger *chg, int *val) in max14577_get_battery_health() argument 162 struct regmap *rmap = chg->max14577->regmap; in max14577_get_battery_health() 172 chg_type = maxim_get_charger_type(chg->max14577->dev_type, reg_data); in max14577_get_battery_health() [all …]
|
| H A D | ab8500_bmdata.c | 113 static const struct ab8500_bm_charger_parameters chg = { variable 136 .chg_params = &chg,
|
| H A D | twl4030_madc_battery.c | 158 int chg = (percent * (bat->pdata->capacity/1000))/100; in twl4030_madc_bat_get_property() local 161 val->intval = (3600l * chg) / 400; in twl4030_madc_bat_get_property()
|
| /linux/tools/gpio/ |
| H A D | gpio-watch.c | 25 struct gpio_v2_line_info_changed chg; in main() local 64 memset(&chg, 0, sizeof(chg)); in main() 65 rd = read(pfd.fd, &chg, sizeof(chg)); in main() 66 if (rd < 0 || rd != sizeof(chg)) { in main() 67 if (rd != sizeof(chg)) in main() 74 switch (chg.event_type) { in main() 91 chg.info.offset, event, (uint64_t)chg.timestamp_ns); in main()
|
| /linux/drivers/net/fddi/skfp/ |
| H A D | ess.c | 474 struct smt_sba_chg *chg ; in ess_send_response() local 492 chg = smtod(mb,struct smt_sba_chg *) ; in ess_send_response() 493 chg->smt.smt_tid = sm->smt_tid ; in ess_send_response() 494 chg->smt.smt_dest = sm->smt_source ; in ess_send_response() 497 chg->s_type.para.p_type = SMT_P0015 ; in ess_send_response() 498 chg->s_type.para.p_len = sizeof(struct smt_p_0015) - PARA_LEN ; in ess_send_response() 499 chg->s_type.res_type = SYNC_BW ; in ess_send_response() 502 chg->cmd.para.p_type = SMT_P0016 ; in ess_send_response() 503 chg->cmd.para.p_len = sizeof(struct smt_p_0016) - PARA_LEN ; in ess_send_response() 504 chg->cmd.sba_cmd = sba_cmd ; in ess_send_response() [all …]
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_flex_pipe.c | 3243 struct list_head *chg) in ice_rem_vsig() argument 3283 list_add(&p->list_entry, chg); in ice_rem_vsig() 3301 struct list_head *chg) in ice_rem_prof_id_vsig() argument 3314 return ice_rem_vsig(hw, blk, vsig, chg); in ice_rem_prof_id_vsig() 3336 struct list_head chg; in ice_rem_flow_all() local 3340 INIT_LIST_HEAD(&chg); in ice_rem_flow_all() 3346 &chg); in ice_rem_flow_all() 3352 status = ice_upd_prof_hw(hw, blk, &chg); in ice_rem_flow_all() 3355 list_for_each_entry_safe(del, tmp, &chg, list_entry) { in ice_rem_flow_all() 3411 struct list_head *chg) in ice_get_prof() argument [all …]
|
| /linux/arch/arm/boot/dts/qcom/ |
| H A D | pm8226.dtsi | 76 interrupt-names = "chg-done", 77 "chg-fast", 78 "chg-trkl", 81 "chg-gone",
|
| H A D | pm8941.dtsi | 91 interrupt-names = "chg-done", 92 "chg-fast", 93 "chg-trkl", 96 "chg-gone",
|
| /linux/mm/ |
| H A D | hugetlb.c | 808 long chg = 0; in region_chg() local 813 chg = add_reservation_in_range(resv, f, t, NULL, NULL, in region_chg() 825 return chg; in region_chg() 995 long chg = 0; in region_count() local 1011 chg += seg_to - seg_from; in region_count() 1015 return chg; in region_count() 6592 long chg = -1, add = -1, spool_resv, gbl_resv; in hugetlb_reserve_pages() local 6628 chg = region_chg(resv_map, from, to, ®ions_needed); in hugetlb_reserve_pages() 6637 chg = to - from; in hugetlb_reserve_pages() 6643 if (chg < 0) { in hugetlb_reserve_pages() [all …]
|
| /linux/drivers/clk/mediatek/ |
| H A D | clk-pll.c | 103 u32 chg, val; in mtk_pll_set_rate_regs() local 124 chg = readl(pll->pcw_chg_addr) | in mtk_pll_set_rate_regs() 126 writel(chg, pll->pcw_chg_addr); in mtk_pll_set_rate_regs()
|
| /linux/tools/perf/scripts/python/ |
| H A D | parallel-perf.py | 197 chg = False 200 if chg and verbosity.normal: 205 chg = False 214 chg = True 229 chg = True
|
| /linux/drivers/scsi/sym53c8xx_2/ |
| H A D | sym_hipd.c | 3948 u_char chg, ofs, per, fak, div; local 3957 chg = 0; 3966 {chg = 1; ofs = np->maxoffs;} 3971 {chg = 1; per = np->minsync;} 3984 ofs, per, div, fak, chg); 3991 if (!req && chg) 4064 int dt, chg = 0; local 4079 chg = 1; 4086 chg = 1; 4093 chg = 1; [all …]
|
| /linux/Documentation/translations/zh_CN/mm/ |
| H A D | hugetlbfs_reserv.rst | 167 - chg,尽管这个参数的类型是long,但只有0或1的值被传递给dequeue_huge_page_vma。如果该值为0,
|
| /linux/drivers/scsi/ |
| H A D | ncr53c8xx.c | 6520 u_char chg, ofs, per, fak, wide; in ncr_int_sir() local 6706 chg = 0; in ncr_int_sir() 6724 {chg = 1; per = np->minsync;} in ncr_int_sir() 6726 {chg = 1; per = tp->minsync;} in ncr_int_sir() 6728 {chg = 1; ofs = tp->maxoffs;} in ncr_int_sir() 6738 chg = 1; in ncr_int_sir() 6751 "fak=%d chg=%d.\n", per, scntl3, ofs, fak, chg); in ncr_int_sir() 6760 if (chg) { in ncr_int_sir() 6818 chg = 0; in ncr_int_sir() 6834 {chg = 1; wide = tp->usrwide;} in ncr_int_sir() [all …]
|
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imx6sll-kobo-librah2o.dts | 177 MX6SLL_PAD_GPIO4_IO20__GPIO4_IO20 0x1b8b1 /* ricoh619 chg */
|
| H A D | imx6sl-tolino-vision5.dts | 167 MX6SL_PAD_FEC_MDIO__GPIO4_IO20 0x1b8b1 /* ricoh619 chg */
|
| H A D | imx6sl-kobo-aura2.dts | 430 MX6SL_PAD_SD1_CLK__GPIO5_IO15 0x1b8b1 /* ricoh619 chg */
|
| /linux/drivers/hid/ |
| H A D | wacom_wac.c | 1497 bool chg = data[284] & 0x80; in wacom_intuos_pro2_bt_battery() local 1501 battery_status, chg, 1, chg); in wacom_intuos_pro2_bt_battery() 1524 bool chg = data[45] & 0x80; in wacom_intuos_gen3_bt_battery() local 1528 battery_status, chg, 1, chg); in wacom_intuos_gen3_bt_battery()
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | sm7325-nothing-spacewar.dts | 170 chg-skin-thermal { 1108 chg-skin-therm@6 {
|
| H A D | qcm6490-shift-otter.dts | 149 chg-skin-thermal {
|
| H A D | qcm6490-fairphone-fp5.dts | 252 chg-skin-thermal {
|
| /linux/arch/arm64/boot/dts/hisilicon/ |
| H A D | hi3660-hikey960.dts | 674 snps,dis-del-phy-power-chg-quirk;
|
| /linux/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3399-orangepi.dts | 691 chg_cc_int_l: chg-cc-int-l {
|
| H A D | rk3399-base.dtsi | 559 snps,dis-del-phy-power-chg-quirk; 595 snps,dis-del-phy-power-chg-quirk;
|
| /linux/arch/arm64/boot/dts/mediatek/ |
| H A D | mt8395-genio-common.dtsi | 391 compatible = "mediatek,mt6360-chg";
|