Searched refs:mah (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/drivers/power/supply/ |
D | ab8500_fg.c | 127 int mah; member 1060 di->bat_cap.mah, in ab8500_fg_calc_cap_charging() 1064 if (di->bat_cap.mah + di->accu_charge > 0) in ab8500_fg_calc_cap_charging() 1065 di->bat_cap.mah += di->accu_charge; in ab8500_fg_calc_cap_charging() 1067 di->bat_cap.mah = 0; in ab8500_fg_calc_cap_charging() 1072 if (di->bat_cap.mah >= di->bat_cap.max_mah_design || in ab8500_fg_calc_cap_charging() 1074 di->bat_cap.mah = di->bat_cap.max_mah_design; in ab8500_fg_calc_cap_charging() 1077 ab8500_fg_fill_cap_sample(di, di->bat_cap.mah); in ab8500_fg_calc_cap_charging() 1079 ab8500_fg_convert_mah_to_permille(di, di->bat_cap.mah); in ab8500_fg_calc_cap_charging() 1085 return di->bat_cap.mah; in ab8500_fg_calc_cap_charging() [all …]
|
/linux-6.6.21/drivers/infiniband/hw/mlx4/ |
D | ah.c | 172 struct mlx4_ib_ah *mah = to_mah(ah); in mlx4_ib_create_ah_slave() local 185 mah->av.ib.port_pd &= cpu_to_be32(0x7FFFFFFF); in mlx4_ib_create_ah_slave() 188 memcpy(mah->av.eth.s_mac, s_mac, 6); in mlx4_ib_create_ah_slave() 192 mah->av.eth.vlan = cpu_to_be16(vlan_tag); in mlx4_ib_create_ah_slave()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
D | ipoib.c | 703 struct mlx5_ib_ah *mah = to_mah(address); in mlx5i_xmit() local 706 mlx5i_sq_xmit(sq, skb, &mah->av, dqpn, ipriv->qkey, netdev_xmit_more()); in mlx5i_xmit()
|