Searched refs:macio (Results 1 – 11 of 11) sorted by relevance
/Linux-v5.4/arch/powerpc/platforms/powermac/ |
D | feature.c | 139 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 …]
|
D | pfunc_base.c | 96 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 …]
|
D | udbg_scc.c | 69 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/ |
D | control.c | 29 (*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()
|
D | core.c | 49 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()
|
D | i2sbus.h | 25 struct macio_chip *macio; member 60 struct macio_dev *macio; member
|
D | pcm.c | 1031 snd_dma_pci_data(macio_get_pci_dev(i2sdev->macio)), in i2sbus_attach_codec()
|
/Linux-v5.4/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)))
|
/Linux-v5.4/drivers/macintosh/ |
D | Makefile | 25 obj-$(CONFIG_ADB_MACIO) += macio-adb.o
|
D | rack-meter.c | 97 struct macio_chip *macio = rm->mdev->bus->chip; in rackmeter_setup_i2s() local
|
/Linux-v5.4/sound/ppc/ |
D | pmac.c | 924 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()
|