mah 170 drivers/infiniband/hw/mlx4/ah.c struct mlx4_ib_ah *mah = to_mah(ah); mah 182 drivers/infiniband/hw/mlx4/ah.c mah->av.ib.port_pd &= cpu_to_be32(0x7FFFFFFF); mah 185 drivers/infiniband/hw/mlx4/ah.c memcpy(mah->av.eth.s_mac, s_mac, 6); mah 189 drivers/infiniband/hw/mlx4/ah.c mah->av.eth.vlan = cpu_to_be16(vlan_tag); mah 631 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c struct mlx5_ib_ah *mah = to_mah(address); mah 634 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c return mlx5i_sq_xmit(sq, skb, &mah->av, dqpn, ipriv->qkey, netdev_xmit_more()); mah 125 drivers/power/supply/ab8500_fg.c int mah; mah 1036 drivers/power/supply/ab8500_fg.c di->bat_cap.mah, mah 1040 drivers/power/supply/ab8500_fg.c if (di->bat_cap.mah + di->accu_charge > 0) mah 1041 drivers/power/supply/ab8500_fg.c di->bat_cap.mah += di->accu_charge; mah 1043 drivers/power/supply/ab8500_fg.c di->bat_cap.mah = 0; mah 1048 drivers/power/supply/ab8500_fg.c if (di->bat_cap.mah >= di->bat_cap.max_mah_design || mah 1050 drivers/power/supply/ab8500_fg.c di->bat_cap.mah = di->bat_cap.max_mah_design; mah 1053 drivers/power/supply/ab8500_fg.c ab8500_fg_fill_cap_sample(di, di->bat_cap.mah); mah 1055 drivers/power/supply/ab8500_fg.c ab8500_fg_convert_mah_to_permille(di, di->bat_cap.mah); mah 1061 drivers/power/supply/ab8500_fg.c return di->bat_cap.mah; mah 1075 drivers/power/supply/ab8500_fg.c int permille, mah; mah 1082 drivers/power/supply/ab8500_fg.c mah = ab8500_fg_convert_permille_to_mah(di, permille); mah 1084 drivers/power/supply/ab8500_fg.c di->bat_cap.mah = ab8500_fg_add_cap_sample(di, mah); mah 1086 drivers/power/supply/ab8500_fg.c ab8500_fg_convert_mah_to_permille(di, di->bat_cap.mah); mah 1088 drivers/power/supply/ab8500_fg.c return di->bat_cap.mah; mah 1105 drivers/power/supply/ab8500_fg.c di->bat_cap.mah, mah 1109 drivers/power/supply/ab8500_fg.c if (di->bat_cap.mah + di->accu_charge > 0) mah 1110 drivers/power/supply/ab8500_fg.c di->bat_cap.mah += di->accu_charge; mah 1112 drivers/power/supply/ab8500_fg.c di->bat_cap.mah = 0; mah 1114 drivers/power/supply/ab8500_fg.c if (di->bat_cap.mah >= di->bat_cap.max_mah_design) mah 1115 drivers/power/supply/ab8500_fg.c di->bat_cap.mah = di->bat_cap.max_mah_design; mah 1121 drivers/power/supply/ab8500_fg.c permille = ab8500_fg_convert_mah_to_permille(di, di->bat_cap.mah); mah 1126 drivers/power/supply/ab8500_fg.c di->bat_cap.mah = ab8500_fg_convert_permille_to_mah(di, mah 1134 drivers/power/supply/ab8500_fg.c ab8500_fg_fill_cap_sample(di, di->bat_cap.mah); mah 1136 drivers/power/supply/ab8500_fg.c ab8500_fg_fill_cap_sample(di, di->bat_cap.mah); mah 1138 drivers/power/supply/ab8500_fg.c ab8500_fg_convert_mah_to_permille(di, di->bat_cap.mah); mah 1141 drivers/power/supply/ab8500_fg.c return di->bat_cap.mah; mah 1309 drivers/power/supply/ab8500_fg.c di->bat_cap.mah = 0; mah 1318 drivers/power/supply/ab8500_fg.c di->bat_cap.prev_mah = di->bat_cap.mah; mah 1336 drivers/power/supply/ab8500_fg.c di->bat_cap.prev_mah = di->bat_cap.mah; mah 1363 drivers/power/supply/ab8500_fg.c di->bat_cap.prev_mah = di->bat_cap.mah; mah 1485 drivers/power/supply/ab8500_fg.c di->bat_cap.mah = cap; mah 1510 drivers/power/supply/ab8500_fg.c lower, cap_permille, upper, cap, di->bat_cap.mah); mah 1762 drivers/power/supply/ab8500_fg.c di->bat_cap.mah, mah 2211 drivers/power/supply/ab8500_fg.c di->bat_cap.max_mah = di->bat_cap.mah;