Searched refs:macio (Results 1 – 4 of 4) sorted by relevance
/arch/powerpc/platforms/powermac/ |
D | feature.c | 141 struct macio_chip* macio; in simple_feature_tweak() local 144 macio = macio_find(node, type); in simple_feature_tweak() 145 if (!macio) in simple_feature_tweak() 163 struct macio_chip* macio; in ohare_htw_scc_enable() local 170 macio = macio_find(node, 0); in ohare_htw_scc_enable() 171 if (!macio) in ohare_htw_scc_enable() 180 htw = (macio->type == macio_heathrow || macio->type == macio_paddington in ohare_htw_scc_enable() 181 || macio->type == macio_gatwick); in ohare_htw_scc_enable() 222 macio->flags |= chan_mask; in ohare_htw_scc_enable() 225 macio->flags |= MACIO_FLAG_SCC_LOCKED; in ohare_htw_scc_enable() [all …]
|
D | pfunc_base.c | 94 static void macio_gpio_init_one(struct macio_chip *macio) in macio_gpio_init_one() argument 103 (gparent = of_get_next_child(macio->of_node, gparent)) != NULL;) in macio_gpio_init_one() 110 macio->of_node->full_name); in macio_gpio_init_one() 127 offset += (unsigned long)macio->base; in macio_gpio_init_one() 132 macio->of_node->full_name); in macio_gpio_init_one() 145 struct macio_chip *macio = func->driver_data; in macio_do_write_reg32() local 156 struct macio_chip *macio = func->driver_data; in macio_do_read_reg32() local 168 struct macio_chip *macio = func->driver_data; in macio_do_write_reg8() local 179 struct macio_chip *macio = func->driver_data; in macio_do_read_reg8() local 192 struct macio_chip *macio = func->driver_data; in macio_do_read_reg32_msrx() local [all …]
|
D | udbg_scc.c | 73 struct device_node *stdout = NULL, *escc = NULL, *macio = NULL; in udbg_scc_init() local 81 macio = of_get_parent(escc); in udbg_scc_init() 82 if (macio == NULL) in udbg_scc_init() 105 reg = of_get_property(macio, "assigned-addresses", NULL); in udbg_scc_init() 158 of_node_put(macio); in udbg_scc_init()
|
/arch/powerpc/include/asm/ |
D | pmac_feature.h | 367 #define MACIO_FCR32(macio, r) ((macio)->base + ((r) >> 2)) argument 368 #define MACIO_FCR8(macio, r) (((volatile u8 __iomem *)((macio)->base)) + (r)) argument 370 #define MACIO_IN32(r) (in_le32(MACIO_FCR32(macio,r))) 371 #define MACIO_OUT32(r,v) (out_le32(MACIO_FCR32(macio,r), (v))) 374 #define MACIO_IN8(r) (in_8(MACIO_FCR8(macio,r))) 375 #define MACIO_OUT8(r,v) (out_8(MACIO_FCR8(macio,r), (v)))
|