Searched refs:macio (Results 1 – 4 of 4) sorted by relevance
/arch/powerpc/platforms/powermac/ |
D | feature.c | 144 struct macio_chip* macio; in simple_feature_tweak() local 147 macio = macio_find(node, type); in simple_feature_tweak() 148 if (!macio) in simple_feature_tweak() 166 struct macio_chip* macio; in ohare_htw_scc_enable() local 173 macio = macio_find(node, 0); in ohare_htw_scc_enable() 174 if (!macio) in ohare_htw_scc_enable() 183 htw = (macio->type == macio_heathrow || macio->type == macio_paddington in ohare_htw_scc_enable() 184 || macio->type == macio_gatwick); in ohare_htw_scc_enable() 225 macio->flags |= chan_mask; in ohare_htw_scc_enable() 228 macio->flags |= MACIO_FLAG_SCC_LOCKED; in ohare_htw_scc_enable() [all …]
|
D | pfunc_base.c | 95 static void macio_gpio_init_one(struct macio_chip *macio) in macio_gpio_init_one() argument 104 (gparent = of_get_next_child(macio->of_node, gparent)) != NULL;) in macio_gpio_init_one() 111 macio->of_node->full_name); in macio_gpio_init_one() 128 offset += (unsigned long)macio->base; in macio_gpio_init_one() 133 macio->of_node->full_name); in macio_gpio_init_one() 146 struct macio_chip *macio = func->driver_data; in macio_do_write_reg32() local 157 struct macio_chip *macio = func->driver_data; in macio_do_read_reg32() local 169 struct macio_chip *macio = func->driver_data; in macio_do_write_reg8() local 180 struct macio_chip *macio = func->driver_data; in macio_do_read_reg8() local 193 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)))
|