am 18 arch/mips/kernel/segment.c unsigned int am; am 24 arch/mips/kernel/segment.c am = (cfg & MIPS_SEGCFG_AM) >> MIPS_SEGCFG_AM_SHIFT; am 25 arch/mips/kernel/segment.c str += sprintf(str, "%-5s", am_str[am]); am 32 arch/mips/kernel/segment.c if ((am == 0) || (am > 3) || (cfg & MIPS_SEGCFG_EU)) am 38 arch/mips/kernel/segment.c if ((am == 0) || (am > 3)) am 642 arch/mips/kvm/vz.c static bool is_eva_am_mapped(struct kvm_vcpu *vcpu, unsigned int am, bool eu) am 663 arch/mips/kvm/vz.c am_lookup = 0x70080000 << am; am 422 drivers/clk/clk-stm32f4.c struct clk_apb_mul *am = to_clk_apb_mul(hw); am 424 drivers/clk/clk-stm32f4.c if (readl(base + STM32F4_RCC_CFGR) & BIT(am->bit_idx)) am 433 drivers/clk/clk-stm32f4.c struct clk_apb_mul *am = to_clk_apb_mul(hw); am 436 drivers/clk/clk-stm32f4.c if (readl(base + STM32F4_RCC_CFGR) & BIT(am->bit_idx)) am 470 drivers/clk/clk-stm32f4.c struct clk_apb_mul *am; am 474 drivers/clk/clk-stm32f4.c am = kzalloc(sizeof(*am), GFP_KERNEL); am 475 drivers/clk/clk-stm32f4.c if (!am) am 478 drivers/clk/clk-stm32f4.c am->bit_idx = bit_idx; am 479 drivers/clk/clk-stm32f4.c am->hw.init = &init; am 487 drivers/clk/clk-stm32f4.c clk = clk_register(dev, &am->hw); am 490 drivers/clk/clk-stm32f4.c kfree(am); am 1278 drivers/gpu/drm/exynos/exynos_hdmi.c struct drm_display_mode *am = am 1287 drivers/gpu/drm/exynos/exynos_hdmi.c if ((m->vdisplay != am->vdisplay) && am 1810 drivers/gpu/drm/i915/gvt/handlers.c #define MMIO_F(reg, s, f, am, rm, d, r, w) do { \ am 1812 drivers/gpu/drm/i915/gvt/handlers.c f, s, am, rm, d, r, w); \ am 1835 drivers/gpu/drm/i915/gvt/handlers.c #define MMIO_RING_F(prefix, s, f, am, rm, d, r, w) do { \ am 1836 drivers/gpu/drm/i915/gvt/handlers.c MMIO_F(prefix(RENDER_RING_BASE), s, f, am, rm, d, r, w); \ am 1837 drivers/gpu/drm/i915/gvt/handlers.c MMIO_F(prefix(BLT_RING_BASE), s, f, am, rm, d, r, w); \ am 1838 drivers/gpu/drm/i915/gvt/handlers.c MMIO_F(prefix(GEN6_BSD_RING_BASE), s, f, am, rm, d, r, w); \ am 1839 drivers/gpu/drm/i915/gvt/handlers.c MMIO_F(prefix(VEBOX_RING_BASE), s, f, am, rm, d, r, w); \ am 1841 drivers/gpu/drm/i915/gvt/handlers.c MMIO_F(prefix(GEN8_BSD2_RING_BASE), s, f, am, rm, d, r, w); \ am 582 drivers/infiniband/hw/hfi1/mad.c static int __subn_get_opa_nodedesc(struct opa_smp *smp, u32 am, am 588 drivers/infiniband/hw/hfi1/mad.c if (am || smp_length_check(sizeof(*nd), max_len)) { am 603 drivers/infiniband/hw/hfi1/mad.c static int __subn_get_opa_nodeinfo(struct opa_smp *smp, u32 am, u8 *data, am 614 drivers/infiniband/hw/hfi1/mad.c if (am || pidx >= dd->num_pports || ibdev->node_guid == 0 || am 796 drivers/infiniband/hw/hfi1/mad.c static int __subn_get_opa_portinfo(struct opa_smp *smp, u32 am, u8 *data, am 809 drivers/infiniband/hw/hfi1/mad.c u32 num_ports = OPA_AM_NPORT(am); am 810 drivers/infiniband/hw/hfi1/mad.c u32 start_of_sm_config = OPA_AM_START_SM_CFG(am); am 1021 drivers/infiniband/hw/hfi1/mad.c static int __subn_get_opa_pkeytable(struct opa_smp *smp, u32 am, u8 *data, am 1026 drivers/infiniband/hw/hfi1/mad.c u32 n_blocks_req = OPA_AM_NBLK(am); am 1027 drivers/infiniband/hw/hfi1/mad.c u32 start_block = am & 0x7ff; am 1351 drivers/infiniband/hw/hfi1/mad.c static int __subn_set_opa_portinfo(struct opa_smp *smp, u32 am, u8 *data, am 1369 drivers/infiniband/hw/hfi1/mad.c u32 num_ports = OPA_AM_NPORT(am); am 1370 drivers/infiniband/hw/hfi1/mad.c u32 start_of_sm_config = OPA_AM_START_SM_CFG(am); am 1642 drivers/infiniband/hw/hfi1/mad.c ret = __subn_get_opa_portinfo(smp, am, data, ibdev, port, resp_len, am 1660 drivers/infiniband/hw/hfi1/mad.c return __subn_get_opa_portinfo(smp, am, data, ibdev, port, resp_len, am 1720 drivers/infiniband/hw/hfi1/mad.c static int __subn_set_opa_pkeytable(struct opa_smp *smp, u32 am, u8 *data, am 1725 drivers/infiniband/hw/hfi1/mad.c u32 n_blocks_sent = OPA_AM_NBLK(am); am 1726 drivers/infiniband/hw/hfi1/mad.c u32 start_block = am & 0x7ff; am 1767 drivers/infiniband/hw/hfi1/mad.c return __subn_get_opa_pkeytable(smp, am, data, ibdev, port, resp_len, am 1827 drivers/infiniband/hw/hfi1/mad.c static int __subn_get_opa_sl_to_sc(struct opa_smp *smp, u32 am, u8 *data, am 1836 drivers/infiniband/hw/hfi1/mad.c if (am || smp_length_check(size, max_len)) { am 1850 drivers/infiniband/hw/hfi1/mad.c static int __subn_set_opa_sl_to_sc(struct opa_smp *smp, u32 am, u8 *data, am 1860 drivers/infiniband/hw/hfi1/mad.c if (am || smp_length_check(size, max_len)) { am 1875 drivers/infiniband/hw/hfi1/mad.c return __subn_get_opa_sl_to_sc(smp, am, data, ibdev, port, resp_len, am 1879 drivers/infiniband/hw/hfi1/mad.c static int __subn_get_opa_sc_to_sl(struct opa_smp *smp, u32 am, u8 *data, am 1888 drivers/infiniband/hw/hfi1/mad.c if (am || smp_length_check(size, max_len)) { am 1902 drivers/infiniband/hw/hfi1/mad.c static int __subn_set_opa_sc_to_sl(struct opa_smp *smp, u32 am, u8 *data, am 1911 drivers/infiniband/hw/hfi1/mad.c if (am || smp_length_check(size, max_len)) { am 1919 drivers/infiniband/hw/hfi1/mad.c return __subn_get_opa_sc_to_sl(smp, am, data, ibdev, port, resp_len, am 1923 drivers/infiniband/hw/hfi1/mad.c static int __subn_get_opa_sc_to_vlt(struct opa_smp *smp, u32 am, u8 *data, am 1927 drivers/infiniband/hw/hfi1/mad.c u32 n_blocks = OPA_AM_NBLK(am); am 1945 drivers/infiniband/hw/hfi1/mad.c static int __subn_set_opa_sc_to_vlt(struct opa_smp *smp, u32 am, u8 *data, am 1949 drivers/infiniband/hw/hfi1/mad.c u32 n_blocks = OPA_AM_NBLK(am); am 1950 drivers/infiniband/hw/hfi1/mad.c int async_update = OPA_AM_ASYNC(am); am 1983 drivers/infiniband/hw/hfi1/mad.c return __subn_get_opa_sc_to_vlt(smp, am, data, ibdev, port, resp_len, am 1987 drivers/infiniband/hw/hfi1/mad.c static int __subn_get_opa_sc_to_vlnt(struct opa_smp *smp, u32 am, u8 *data, am 1991 drivers/infiniband/hw/hfi1/mad.c u32 n_blocks = OPA_AM_NPORT(am); am 2012 drivers/infiniband/hw/hfi1/mad.c static int __subn_set_opa_sc_to_vlnt(struct opa_smp *smp, u32 am, u8 *data, am 2016 drivers/infiniband/hw/hfi1/mad.c u32 n_blocks = OPA_AM_NPORT(am); am 2040 drivers/infiniband/hw/hfi1/mad.c return __subn_get_opa_sc_to_vlnt(smp, am, data, ibdev, port, am 2044 drivers/infiniband/hw/hfi1/mad.c static int __subn_get_opa_psi(struct opa_smp *smp, u32 am, u8 *data, am 2048 drivers/infiniband/hw/hfi1/mad.c u32 nports = OPA_AM_NPORT(am); am 2049 drivers/infiniband/hw/hfi1/mad.c u32 start_of_sm_config = OPA_AM_START_SM_CFG(am); am 2086 drivers/infiniband/hw/hfi1/mad.c static int __subn_set_opa_psi(struct opa_smp *smp, u32 am, u8 *data, am 2090 drivers/infiniband/hw/hfi1/mad.c u32 nports = OPA_AM_NPORT(am); am 2091 drivers/infiniband/hw/hfi1/mad.c u32 start_of_sm_config = OPA_AM_START_SM_CFG(am); am 2130 drivers/infiniband/hw/hfi1/mad.c return __subn_get_opa_psi(smp, am, data, ibdev, port, resp_len, am 2134 drivers/infiniband/hw/hfi1/mad.c static int __subn_get_opa_cable_info(struct opa_smp *smp, u32 am, u8 *data, am 2139 drivers/infiniband/hw/hfi1/mad.c u32 addr = OPA_AM_CI_ADDR(am); am 2140 drivers/infiniband/hw/hfi1/mad.c u32 len = OPA_AM_CI_LEN(am) + 1; am 2186 drivers/infiniband/hw/hfi1/mad.c static int __subn_get_opa_bct(struct opa_smp *smp, u32 am, u8 *data, am 2190 drivers/infiniband/hw/hfi1/mad.c u32 num_ports = OPA_AM_NPORT(am); am 2210 drivers/infiniband/hw/hfi1/mad.c static int __subn_set_opa_bct(struct opa_smp *smp, u32 am, u8 *data, am 2214 drivers/infiniband/hw/hfi1/mad.c u32 num_ports = OPA_AM_NPORT(am); am 2230 drivers/infiniband/hw/hfi1/mad.c return __subn_get_opa_bct(smp, am, data, ibdev, port, resp_len, am 2234 drivers/infiniband/hw/hfi1/mad.c static int __subn_get_opa_vl_arb(struct opa_smp *smp, u32 am, u8 *data, am 2239 drivers/infiniband/hw/hfi1/mad.c u32 num_ports = OPA_AM_NPORT(am); am 2240 drivers/infiniband/hw/hfi1/mad.c u8 section = (am & 0x00ff0000) >> 16; am 2276 drivers/infiniband/hw/hfi1/mad.c static int __subn_set_opa_vl_arb(struct opa_smp *smp, u32 am, u8 *data, am 2281 drivers/infiniband/hw/hfi1/mad.c u32 num_ports = OPA_AM_NPORT(am); am 2282 drivers/infiniband/hw/hfi1/mad.c u8 section = (am & 0x00ff0000) >> 16; am 2314 drivers/infiniband/hw/hfi1/mad.c return __subn_get_opa_vl_arb(smp, am, data, ibdev, port, resp_len, am 3705 drivers/infiniband/hw/hfi1/mad.c static int __subn_get_opa_cong_info(struct opa_smp *smp, u32 am, u8 *data, am 3729 drivers/infiniband/hw/hfi1/mad.c static int __subn_get_opa_cong_setting(struct opa_smp *smp, u32 am, am 3822 drivers/infiniband/hw/hfi1/mad.c static int __subn_set_opa_cong_setting(struct opa_smp *smp, u32 am, u8 *data, am 3858 drivers/infiniband/hw/hfi1/mad.c return __subn_get_opa_cong_setting(smp, am, data, ibdev, port, am 3862 drivers/infiniband/hw/hfi1/mad.c static int __subn_get_opa_hfi1_cong_log(struct opa_smp *smp, u32 am, am 3872 drivers/infiniband/hw/hfi1/mad.c if (am || smp_length_check(sizeof(*cong_log), max_len)) { am 3928 drivers/infiniband/hw/hfi1/mad.c static int __subn_get_opa_cc_table(struct opa_smp *smp, u32 am, u8 *data, am 3936 drivers/infiniband/hw/hfi1/mad.c u32 start_block = OPA_AM_START_BLK(am); am 3937 drivers/infiniband/hw/hfi1/mad.c u32 n_blocks = OPA_AM_NBLK(am); am 3980 drivers/infiniband/hw/hfi1/mad.c static int __subn_set_opa_cc_table(struct opa_smp *smp, u32 am, u8 *data, am 3987 drivers/infiniband/hw/hfi1/mad.c u32 start_block = OPA_AM_START_BLK(am); am 3988 drivers/infiniband/hw/hfi1/mad.c u32 n_blocks = OPA_AM_NBLK(am); am 4027 drivers/infiniband/hw/hfi1/mad.c return __subn_get_opa_cc_table(smp, am, data, ibdev, port, resp_len, am 4039 drivers/infiniband/hw/hfi1/mad.c static int __subn_get_opa_led_info(struct opa_smp *smp, u32 am, u8 *data, am 4046 drivers/infiniband/hw/hfi1/mad.c u32 nport = OPA_AM_NPORT(am); am 4069 drivers/infiniband/hw/hfi1/mad.c static int __subn_set_opa_led_info(struct opa_smp *smp, u32 am, u8 *data, am 4075 drivers/infiniband/hw/hfi1/mad.c u32 nport = OPA_AM_NPORT(am); am 4088 drivers/infiniband/hw/hfi1/mad.c return __subn_get_opa_led_info(smp, am, data, ibdev, port, resp_len, am 4092 drivers/infiniband/hw/hfi1/mad.c static int subn_get_opa_sma(__be16 attr_id, struct opa_smp *smp, u32 am, am 4101 drivers/infiniband/hw/hfi1/mad.c ret = __subn_get_opa_nodedesc(smp, am, data, ibdev, port, am 4105 drivers/infiniband/hw/hfi1/mad.c ret = __subn_get_opa_nodeinfo(smp, am, data, ibdev, port, am 4109 drivers/infiniband/hw/hfi1/mad.c ret = __subn_get_opa_portinfo(smp, am, data, ibdev, port, am 4113 drivers/infiniband/hw/hfi1/mad.c ret = __subn_get_opa_pkeytable(smp, am, data, ibdev, port, am 4117 drivers/infiniband/hw/hfi1/mad.c ret = __subn_get_opa_sl_to_sc(smp, am, data, ibdev, port, am 4121 drivers/infiniband/hw/hfi1/mad.c ret = __subn_get_opa_sc_to_sl(smp, am, data, ibdev, port, am 4125 drivers/infiniband/hw/hfi1/mad.c ret = __subn_get_opa_sc_to_vlt(smp, am, data, ibdev, port, am 4129 drivers/infiniband/hw/hfi1/mad.c ret = __subn_get_opa_sc_to_vlnt(smp, am, data, ibdev, port, am 4133 drivers/infiniband/hw/hfi1/mad.c ret = __subn_get_opa_psi(smp, am, data, ibdev, port, am 4137 drivers/infiniband/hw/hfi1/mad.c ret = __subn_get_opa_bct(smp, am, data, ibdev, port, am 4141 drivers/infiniband/hw/hfi1/mad.c ret = __subn_get_opa_cable_info(smp, am, data, ibdev, port, am 4145 drivers/infiniband/hw/hfi1/mad.c ret = __subn_get_opa_vl_arb(smp, am, data, ibdev, port, am 4149 drivers/infiniband/hw/hfi1/mad.c ret = __subn_get_opa_cong_info(smp, am, data, ibdev, port, am 4153 drivers/infiniband/hw/hfi1/mad.c ret = __subn_get_opa_cong_setting(smp, am, data, ibdev, am 4157 drivers/infiniband/hw/hfi1/mad.c ret = __subn_get_opa_hfi1_cong_log(smp, am, data, ibdev, am 4161 drivers/infiniband/hw/hfi1/mad.c ret = __subn_get_opa_cc_table(smp, am, data, ibdev, port, am 4165 drivers/infiniband/hw/hfi1/mad.c ret = __subn_get_opa_led_info(smp, am, data, ibdev, port, am 4182 drivers/infiniband/hw/hfi1/mad.c static int subn_set_opa_sma(__be16 attr_id, struct opa_smp *smp, u32 am, am 4191 drivers/infiniband/hw/hfi1/mad.c ret = __subn_set_opa_portinfo(smp, am, data, ibdev, port, am 4195 drivers/infiniband/hw/hfi1/mad.c ret = __subn_set_opa_pkeytable(smp, am, data, ibdev, port, am 4199 drivers/infiniband/hw/hfi1/mad.c ret = __subn_set_opa_sl_to_sc(smp, am, data, ibdev, port, am 4203 drivers/infiniband/hw/hfi1/mad.c ret = __subn_set_opa_sc_to_sl(smp, am, data, ibdev, port, am 4207 drivers/infiniband/hw/hfi1/mad.c ret = __subn_set_opa_sc_to_vlt(smp, am, data, ibdev, port, am 4211 drivers/infiniband/hw/hfi1/mad.c ret = __subn_set_opa_sc_to_vlnt(smp, am, data, ibdev, port, am 4215 drivers/infiniband/hw/hfi1/mad.c ret = __subn_set_opa_psi(smp, am, data, ibdev, port, am 4219 drivers/infiniband/hw/hfi1/mad.c ret = __subn_set_opa_bct(smp, am, data, ibdev, port, am 4223 drivers/infiniband/hw/hfi1/mad.c ret = __subn_set_opa_vl_arb(smp, am, data, ibdev, port, am 4227 drivers/infiniband/hw/hfi1/mad.c ret = __subn_set_opa_cong_setting(smp, am, data, ibdev, am 4231 drivers/infiniband/hw/hfi1/mad.c ret = __subn_set_opa_cc_table(smp, am, data, ibdev, port, am 4235 drivers/infiniband/hw/hfi1/mad.c ret = __subn_set_opa_led_info(smp, am, data, ibdev, port, am 4274 drivers/infiniband/hw/hfi1/mad.c u32 am; am 4279 drivers/infiniband/hw/hfi1/mad.c am = be32_to_cpu(agg->attr_mod); am 4291 drivers/infiniband/hw/hfi1/mad.c (void)subn_get_opa_sma(agg->attr_id, smp, am, agg->data, am 4323 drivers/infiniband/hw/hfi1/mad.c u32 am; am 4328 drivers/infiniband/hw/hfi1/mad.c am = be32_to_cpu(agg->attr_mod); am 4337 drivers/infiniband/hw/hfi1/mad.c (void)subn_set_opa_sma(agg->attr_id, smp, am, agg->data, am 4520 drivers/infiniband/hw/hfi1/mad.c u32 am, data_size; am 4528 drivers/infiniband/hw/hfi1/mad.c am = be32_to_cpu(smp->attr_mod); am 4569 drivers/infiniband/hw/hfi1/mad.c ret = subn_get_opa_sma(attr_id, smp, am, data, am 4582 drivers/infiniband/hw/hfi1/mad.c ret = subn_set_opa_sma(attr_id, smp, am, data, am 360 drivers/infiniband/hw/hfi1/mad.h #define OPA_AM_NPORT(am) (((am) >> OPA_AM_NPORT_SHIFT) & \ am 366 drivers/infiniband/hw/hfi1/mad.h #define OPA_AM_NBLK(am) (((am) >> OPA_AM_NBLK_SHIFT) & \ am 373 drivers/infiniband/hw/hfi1/mad.h #define OPA_AM_START_BLK(am) (((am) >> OPA_AM_START_BLK_SHIFT) & \ am 379 drivers/infiniband/hw/hfi1/mad.h #define OPA_AM_PORTNUM(am) (((am) >> OPA_AM_PORTNUM_SHIFT) & \ am 385 drivers/infiniband/hw/hfi1/mad.h #define OPA_AM_ASYNC(am) (((am) >> OPA_AM_ASYNC_SHIFT) & \ am 392 drivers/infiniband/hw/hfi1/mad.h #define OPA_AM_START_SM_CFG(am) (((am) >> OPA_AM_START_SM_CFG_SHIFT) \ am 398 drivers/infiniband/hw/hfi1/mad.h #define OPA_AM_CI_ADDR(am) (((am) >> OPA_AM_CI_ADDR_SHIFT) & \ am 404 drivers/infiniband/hw/hfi1/mad.h #define OPA_AM_CI_LEN(am) (((am) >> OPA_AM_CI_LEN_SHIFT) & \ am 61 drivers/input/misc/yealink.c #define _SEG(t, a, am, b, bm, c, cm, d, dm, e, em, f, fm, g, gm) \ am 63 drivers/input/misc/yealink.c .u = { .s = { _LOC(a, am), _LOC(b, bm), _LOC(c, cm), \ am 125 drivers/media/tuners/fc0012.c unsigned char reg[7], am, pm, multi, tmp; am 207 drivers/media/tuners/fc0012.c am = (unsigned char)(xdiv - (8 * pm)); am 209 drivers/media/tuners/fc0012.c if (am < 2) { am 210 drivers/media/tuners/fc0012.c reg[1] = am + 8; am 213 drivers/media/tuners/fc0012.c reg[1] = am; am 216 drivers/media/tuners/fc0013.c unsigned char reg[7], am, pm, multi, tmp; am 360 drivers/media/tuners/fc0013.c am = (unsigned char)(xdiv - (8 * pm)); am 362 drivers/media/tuners/fc0013.c if (am < 2) { am 363 drivers/media/tuners/fc0013.c reg[1] = am + 8; am 366 drivers/media/tuners/fc0013.c reg[1] = am; am 383 drivers/video/fbdev/core/svgalib.c u16 am, an, ar; am 412 drivers/video/fbdev/core/svgalib.c am = pll->m_min; am 415 drivers/video/fbdev/core/svgalib.c while ((am <= pll->m_max) && (an <= pll->n_max)) { am 416 drivers/video/fbdev/core/svgalib.c f_current = (pll->f_base * am) / an; am 421 drivers/video/fbdev/core/svgalib.c *m = am; am 426 drivers/video/fbdev/core/svgalib.c am ++; am 246 drivers/vme/vme.c static u32 vme_get_aspace(int am) am 248 drivers/vme/vme.c switch (am) { am 1255 drivers/vme/vme.c unsigned long long address, int am) am 1260 drivers/vme/vme.c u32 aspace = vme_get_aspace(am); am 179 drivers/vme/vme_bridge.h unsigned long long address, int am); am 234 fs/ocfs2/dlm/dlmcommon.h struct dlm_assert_master_priv am; am 2063 fs/ocfs2/dlm/dlmmaster.c item->u.am.lockres = res; /* already have a ref */ am 2065 fs/ocfs2/dlm/dlmmaster.c item->u.am.ignore_higher = ignore_higher; am 2066 fs/ocfs2/dlm/dlmmaster.c item->u.am.request_from = request_from; am 2067 fs/ocfs2/dlm/dlmmaster.c item->u.am.flags = flags; am 2093 fs/ocfs2/dlm/dlmmaster.c res = item->u.am.lockres; am 2094 fs/ocfs2/dlm/dlmmaster.c ignore_higher = item->u.am.ignore_higher; am 2095 fs/ocfs2/dlm/dlmmaster.c request_from = item->u.am.request_from; am 2096 fs/ocfs2/dlm/dlmmaster.c flags = item->u.am.flags; am 331 include/linux/intel-iommu.h #define QI_IOTLB_AM(am) (((u8)am)) am 355 include/linux/intel-iommu.h #define QI_EIOTLB_AM(am) (((u64)am)) am 46 include/uapi/sound/asound_fm.h unsigned char am; /* amplitude modulation */ am 470 sound/drivers/opl3/opl3_synth.c if (voice->am)