/drivers/infiniband/hw/hfi1/ |
D | mad.h | 360 #define OPA_AM_NPORT(am) (((am) >> OPA_AM_NPORT_SHIFT) & \ argument 366 #define OPA_AM_NBLK(am) (((am) >> OPA_AM_NBLK_SHIFT) & \ argument 373 #define OPA_AM_START_BLK(am) (((am) >> OPA_AM_START_BLK_SHIFT) & \ argument 379 #define OPA_AM_PORTNUM(am) (((am) >> OPA_AM_PORTNUM_SHIFT) & \ argument 385 #define OPA_AM_ASYNC(am) (((am) >> OPA_AM_ASYNC_SHIFT) & \ argument 392 #define OPA_AM_START_SM_CFG(am) (((am) >> OPA_AM_START_SM_CFG_SHIFT) \ argument 398 #define OPA_AM_CI_ADDR(am) (((am) >> OPA_AM_CI_ADDR_SHIFT) & \ argument 404 #define OPA_AM_CI_LEN(am) (((am) >> OPA_AM_CI_LEN_SHIFT) & \ argument
|
D | mad.c | 582 static int __subn_get_opa_nodedesc(struct opa_smp *smp, u32 am, in __subn_get_opa_nodedesc() argument 588 if (am || smp_length_check(sizeof(*nd), max_len)) { in __subn_get_opa_nodedesc() 603 static int __subn_get_opa_nodeinfo(struct opa_smp *smp, u32 am, u8 *data, in __subn_get_opa_nodeinfo() argument 614 if (am || pidx >= dd->num_pports || ibdev->node_guid == 0 || in __subn_get_opa_nodeinfo() 796 static int __subn_get_opa_portinfo(struct opa_smp *smp, u32 am, u8 *data, in __subn_get_opa_portinfo() argument 809 u32 num_ports = OPA_AM_NPORT(am); in __subn_get_opa_portinfo() 810 u32 start_of_sm_config = OPA_AM_START_SM_CFG(am); in __subn_get_opa_portinfo() 1021 static int __subn_get_opa_pkeytable(struct opa_smp *smp, u32 am, u8 *data, in __subn_get_opa_pkeytable() argument 1026 u32 n_blocks_req = OPA_AM_NBLK(am); in __subn_get_opa_pkeytable() 1027 u32 start_block = am & 0x7ff; in __subn_get_opa_pkeytable() [all …]
|
/drivers/media/tuners/ |
D | fc0012.c | 125 unsigned char reg[7], am, pm, multi, tmp; in fc0012_set_params() local 207 am = (unsigned char)(xdiv - (8 * pm)); in fc0012_set_params() 209 if (am < 2) { in fc0012_set_params() 210 reg[1] = am + 8; in fc0012_set_params() 213 reg[1] = am; in fc0012_set_params()
|
D | fc0013.c | 216 unsigned char reg[7], am, pm, multi, tmp; in fc0013_set_params() local 360 am = (unsigned char)(xdiv - (8 * pm)); in fc0013_set_params() 362 if (am < 2) { in fc0013_set_params() 363 reg[1] = am + 8; in fc0013_set_params() 366 reg[1] = am; in fc0013_set_params()
|
/drivers/clk/ |
D | clk-stm32f4.c | 422 struct clk_apb_mul *am = to_clk_apb_mul(hw); in clk_apb_mul_recalc_rate() local 424 if (readl(base + STM32F4_RCC_CFGR) & BIT(am->bit_idx)) in clk_apb_mul_recalc_rate() 433 struct clk_apb_mul *am = to_clk_apb_mul(hw); in clk_apb_mul_round_rate() local 436 if (readl(base + STM32F4_RCC_CFGR) & BIT(am->bit_idx)) in clk_apb_mul_round_rate() 470 struct clk_apb_mul *am; in clk_register_apb_mul() local 474 am = kzalloc(sizeof(*am), GFP_KERNEL); in clk_register_apb_mul() 475 if (!am) in clk_register_apb_mul() 478 am->bit_idx = bit_idx; in clk_register_apb_mul() 479 am->hw.init = &init; in clk_register_apb_mul() 487 clk = clk_register(dev, &am->hw); in clk_register_apb_mul() [all …]
|
/drivers/video/fbdev/core/ |
D | svgalib.c | 383 u16 am, an, ar; in svga_compute_pll() local 412 am = pll->m_min; in svga_compute_pll() 415 while ((am <= pll->m_max) && (an <= pll->n_max)) { in svga_compute_pll() 416 f_current = (pll->f_base * am) / an; in svga_compute_pll() 421 *m = am; in svga_compute_pll() 426 am ++; in svga_compute_pll()
|
/drivers/vme/ |
D | vme_bridge.h | 179 unsigned long long address, int am);
|
D | vme.c | 246 static u32 vme_get_aspace(int am) in vme_get_aspace() argument 248 switch (am) { in vme_get_aspace() 1255 unsigned long long address, int am) in vme_bus_error_handler() argument 1260 u32 aspace = vme_get_aspace(am); in vme_bus_error_handler()
|
/drivers/input/misc/ |
D | yealink.c | 61 #define _SEG(t, a, am, b, bm, c, cm, d, dm, e, em, f, fm, g, gm) \ argument 63 .u = { .s = { _LOC(a, am), _LOC(b, bm), _LOC(c, cm), \
|
/drivers/gpu/drm/i915/gvt/ |
D | handlers.c | 1810 #define MMIO_F(reg, s, f, am, rm, d, r, w) do { \ argument 1812 f, s, am, rm, d, r, w); \ 1835 #define MMIO_RING_F(prefix, s, f, am, rm, d, r, w) do { \ argument 1836 MMIO_F(prefix(RENDER_RING_BASE), s, f, am, rm, d, r, w); \ 1837 MMIO_F(prefix(BLT_RING_BASE), s, f, am, rm, d, r, w); \ 1838 MMIO_F(prefix(GEN6_BSD_RING_BASE), s, f, am, rm, d, r, w); \ 1839 MMIO_F(prefix(VEBOX_RING_BASE), s, f, am, rm, d, r, w); \ 1841 MMIO_F(prefix(GEN8_BSD2_RING_BASE), s, f, am, rm, d, r, w); \
|
/drivers/gpu/drm/exynos/ |
D | exynos_hdmi.c | 1278 struct drm_display_mode *am = in hdmi_v14_mode_apply() local 1287 if ((m->vdisplay != am->vdisplay) && in hdmi_v14_mode_apply()
|