Searched refs:mah (Results 1 – 3 of 3) sorted by relevance
125 int mah; member1036 di->bat_cap.mah, in ab8500_fg_calc_cap_charging()1040 if (di->bat_cap.mah + di->accu_charge > 0) in ab8500_fg_calc_cap_charging()1041 di->bat_cap.mah += di->accu_charge; in ab8500_fg_calc_cap_charging()1043 di->bat_cap.mah = 0; in ab8500_fg_calc_cap_charging()1048 if (di->bat_cap.mah >= di->bat_cap.max_mah_design || in ab8500_fg_calc_cap_charging()1050 di->bat_cap.mah = di->bat_cap.max_mah_design; in ab8500_fg_calc_cap_charging()1053 ab8500_fg_fill_cap_sample(di, di->bat_cap.mah); in ab8500_fg_calc_cap_charging()1055 ab8500_fg_convert_mah_to_permille(di, di->bat_cap.mah); in ab8500_fg_calc_cap_charging()1061 return di->bat_cap.mah; in ab8500_fg_calc_cap_charging()[all …]
187 struct mlx4_ib_ah *mah; in mlx4_ib_create_ah_slave() local199 mah = to_mah(ah); in mlx4_ib_create_ah_slave()202 mah->av.ib.port_pd &= cpu_to_be32(0x7FFFFFFF); in mlx4_ib_create_ah_slave()205 memcpy(mah->av.eth.s_mac, s_mac, 6); in mlx4_ib_create_ah_slave()209 mah->av.eth.vlan = cpu_to_be16(vlan_tag); in mlx4_ib_create_ah_slave()
561 struct mlx5_ib_ah *mah = to_mah(address); in mlx5i_xmit() local564 return mlx5i_sq_xmit(sq, skb, &mah->av, dqpn, ipriv->qkey); in mlx5i_xmit()