Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/platforms/powermac/
Dfeature.c138 struct macio_chip* macio; in simple_feature_tweak() local
141 macio = macio_find(node, type); in simple_feature_tweak()
142 if (!macio) in simple_feature_tweak()
160 struct macio_chip* macio; in ohare_htw_scc_enable() local
167 macio = macio_find(node, 0); in ohare_htw_scc_enable()
168 if (!macio) in ohare_htw_scc_enable()
177 htw = (macio->type == macio_heathrow || macio->type == macio_paddington in ohare_htw_scc_enable()
178 || macio->type == macio_gatwick); in ohare_htw_scc_enable()
219 macio->flags |= chan_mask; in ohare_htw_scc_enable()
222 macio->flags |= MACIO_FLAG_SCC_LOCKED; in ohare_htw_scc_enable()
[all …]
Dpfunc_base.c96 static void __init 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()
148 struct macio_chip *macio = func->driver_data; in macio_do_write_reg32() local
159 struct macio_chip *macio = func->driver_data; in macio_do_read_reg32() local
171 struct macio_chip *macio = func->driver_data; in macio_do_write_reg8() local
182 struct macio_chip *macio = func->driver_data; in macio_do_read_reg8() local
195 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()
105 reg = of_get_property(macio, "assigned-addresses", NULL); in udbg_scc_init()
158 of_node_put(macio); in udbg_scc_init()
/linux-6.1.9/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()
152 static int i2sbus_add_dev(struct macio_dev *macio, in i2sbus_add_dev() argument
222 dev->sound.ofdev.archdata.dma_mask = macio->ofdev.archdata.dma_mask; in i2sbus_add_dev()
225 dev->sound.ofdev.dev.parent = &macio->ofdev.dev; in i2sbus_add_dev()
230 dev->macio = macio; in i2sbus_add_dev()
Di2sbus.h25 struct macio_chip *macio; member
60 struct macio_dev *macio; member
Dpcm.c1017 &macio_get_pci_dev(i2sdev->macio)->dev, in i2sbus_attach_codec()
/linux-6.1.9/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-6.1.9/drivers/macintosh/
DMakefile26 obj-$(CONFIG_ADB_MACIO) += macio-adb.o
Drack-meter.c97 struct macio_chip *macio = rm->mdev->bus->chip; in rackmeter_setup_i2s() local
/linux-6.1.9/sound/ppc/
Dpmac.c900 struct macio_chip* macio; in snd_pmac_detect() local
1022 macio = macio_find(chip->node, macio_unknown); in snd_pmac_detect()
1023 if (macio == NULL) in snd_pmac_detect()
1030 if (np && np == macio->of_node) { in snd_pmac_detect()