Home
last modified time | relevance | path

Searched refs:macio (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/arch/powerpc/platforms/powermac/
Dfeature.c139 struct macio_chip* macio; in simple_feature_tweak() local
142 macio = macio_find(node, type); in simple_feature_tweak()
143 if (!macio) in simple_feature_tweak()
161 struct macio_chip* macio; in ohare_htw_scc_enable() local
168 macio = macio_find(node, 0); in ohare_htw_scc_enable()
169 if (!macio) in ohare_htw_scc_enable()
178 htw = (macio->type == macio_heathrow || macio->type == macio_paddington in ohare_htw_scc_enable()
179 || macio->type == macio_gatwick); in ohare_htw_scc_enable()
220 macio->flags |= chan_mask; in ohare_htw_scc_enable()
223 macio->flags |= MACIO_FLAG_SCC_LOCKED; in ohare_htw_scc_enable()
[all …]
Dpfunc_base.c96 static void macio_gpio_init_one(struct macio_chip *macio) in macio_gpio_init_one() argument
104 for_each_child_of_node(macio->of_node, gparent) in macio_gpio_init_one()
111 macio->of_node); in macio_gpio_init_one()
128 offset += (unsigned long)macio->base; in macio_gpio_init_one()
133 macio->of_node); 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 …]
Dudbg_scc.c69 struct device_node *stdout = NULL, *escc = NULL, *macio = NULL; in udbg_scc_init() local
77 macio = of_get_parent(escc); in udbg_scc_init()
78 if (macio == NULL) in udbg_scc_init()
101 reg = of_get_property(macio, "assigned-addresses", NULL); in udbg_scc_init()
154 of_node_put(macio); in udbg_scc_init()
/Linux-v5.4/sound/aoa/soundbus/i2sbus/
Dcontrol.c29 (*c)->macio = dev->bus->chip; in i2sbus_control_init()
86 struct macio_chip *macio = c->macio; in i2sbus_control_enable() local
91 if (macio == NULL || macio->base == NULL) in i2sbus_control_enable()
114 struct macio_chip *macio = c->macio; in i2sbus_control_cell() local
130 if (macio == NULL || macio->base == NULL) in i2sbus_control_cell()
157 struct macio_chip *macio = c->macio; in i2sbus_control_clock() local
173 if (macio == NULL || macio->base == NULL) in i2sbus_control_clock()
Dcore.c49 r->space = dma_alloc_coherent(&macio_get_pci_dev(i2sdev->macio)->dev, in alloc_dbdma_descriptor_ring()
66 dma_free_coherent(&macio_get_pci_dev(i2sdev->macio)->dev, in free_dbdma_descriptor_ring()
151 static int i2sbus_add_dev(struct macio_dev *macio, in i2sbus_add_dev() argument
221 dev->sound.ofdev.archdata.dma_mask = macio->ofdev.archdata.dma_mask; in i2sbus_add_dev()
224 dev->sound.ofdev.dev.parent = &macio->ofdev.dev; in i2sbus_add_dev()
229 dev->macio = macio; in i2sbus_add_dev()
Di2sbus.h25 struct macio_chip *macio; member
60 struct macio_dev *macio; member
Dpcm.c1031 snd_dma_pci_data(macio_get_pci_dev(i2sdev->macio)), in i2sbus_attach_codec()
/Linux-v5.4/arch/powerpc/include/asm/
Dpmac_feature.h367 #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)))
/Linux-v5.4/drivers/macintosh/
DMakefile25 obj-$(CONFIG_ADB_MACIO) += macio-adb.o
Drack-meter.c97 struct macio_chip *macio = rm->mdev->bus->chip; in rackmeter_setup_i2s() local
/Linux-v5.4/sound/ppc/
Dpmac.c924 struct macio_chip* macio; in snd_pmac_detect() local
1046 macio = macio_find(chip->node, macio_unknown); in snd_pmac_detect()
1047 if (macio == NULL) in snd_pmac_detect()
1054 if (np && np == macio->of_node) { in snd_pmac_detect()