Home
last modified time | relevance | path

Searched refs:fiu (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/drivers/spi/
H A Dspi-wpcm-fiu.c207 wpcm_fiu_set_addr(fiu, 0); in wpcm_fiu_4ba_exec()
247 wpcm_fiu_set_addr(fiu, 0); in wpcm_fiu_rdid_exec()
253 wpcm_fiu_set_addr(fiu, 0); in wpcm_fiu_rdid_exec()
291 wpcm_fiu_set_addr(fiu, 0); in wpcm_fiu_dummy_exec()
343 if (fiu->shm_regmap) { in wpcm_fiu_stall_host()
409 if (!fiu->memory || offs >= fiu->memory_size) in wpcm_fiu_direct_read()
441 struct wpcm_fiu_spi *fiu; in wpcm_fiu_probe() local
449 fiu->dev = dev; in wpcm_fiu_probe()
453 if (IS_ERR(fiu->regs)) { in wpcm_fiu_probe()
459 if (IS_ERR(fiu->clk)) in wpcm_fiu_probe()
[all …]
H A Dspi-npcm-fiu.c241 struct npcm_fiu_spi *fiu; member
297 if (fiu->spix_mode) { in npcm_fiu_direct_read()
324 if (fiu->spix_mode) in npcm_fiu_direct_write()
612 if (!fiu->res_mem) { in npcm_fiu_dirmap_create()
618 if (!fiu->spix_mode && in npcm_fiu_dirmap_create()
626 devm_ioremap(fiu->dev, (fiu->res_mem->start + in npcm_fiu_dirmap_create()
655 if (!fiu->spix_mode) in npcm_fiu_dirmap_create()
674 chip->fiu = fiu; in npcm_fiu_setup()
678 fiu->clkrate = clk_get_rate(fiu->clk); in npcm_fiu_setup()
726 fiu->dev = dev; in npcm_fiu_probe()
[all …]
H A DMakefile92 obj-$(CONFIG_SPI_WPCM_FIU) += spi-wpcm-fiu.o
93 obj-$(CONFIG_SPI_NPCM_FIU) += spi-npcm-fiu.o
/openbmc/qemu/hw/ssi/
H A Dnpcm7xx_fiu.c150 NPCM7xxFIUState *fiu = f->fiu; in npcm7xx_fiu_flash_read() local
156 if (fiu->active_cs != -1) { in npcm7xx_fiu_flash_read()
159 DEVICE(fiu)->canonical_path, fiu->active_cs); in npcm7xx_fiu_flash_read()
162 npcm7xx_fiu_select(fiu, npcm7xx_fiu_cs_index(fiu, f)); in npcm7xx_fiu_flash_read()
194 trace_npcm7xx_fiu_flash_read(DEVICE(fiu)->canonical_path, fiu->active_cs, in npcm7xx_fiu_flash_read()
197 npcm7xx_fiu_deselect(fiu); in npcm7xx_fiu_flash_read()
207 NPCM7xxFIUState *fiu = f->fiu; in npcm7xx_fiu_flash_write() local
212 if (fiu->active_cs != -1) { in npcm7xx_fiu_flash_write()
215 DEVICE(fiu)->canonical_path, fiu->active_cs); in npcm7xx_fiu_flash_write()
246 npcm7xx_fiu_deselect(fiu); in npcm7xx_fiu_flash_write()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/spi/
H A Dnuvoton,npcm-fiu.txt14 - compatible : "nuvoton,npcm750-fiu" for Poleg NPCM7XX BMC
15 "nuvoton,npcm845-fiu" for Arbel NPCM8XX BMC
32 the following format 'fiu{n}' where n is a unique number for the alias.
34 fiu0 represent fiu 0 controller
35 fiu1 represent fiu 3 controller
36 fiu2 represent fiu x controller
39 fiu0 represent fiu 0 controller
40 fiu1 represent fiu 1 controller
41 fiu2 represent fiu 3 controller
42 fiu3 represent fiu x controller
[all …]
H A Dnuvoton,wpcm450-fiu.yaml4 $id: http://devicetree.org/schemas/spi/nuvoton,wpcm450-fiu.yaml#
17 const: nuvoton,wpcm450-fiu
49 compatible = "nuvoton,wpcm450-fiu";
/openbmc/qemu/hw/arm/
H A Dnpcm7xx_boards.c80 static void npcm7xx_connect_flash(NPCM7xxFIUState *fiu, int cs_no, in npcm7xx_connect_flash() argument
90 qdev_realize_and_unref(flash, BUS(fiu->spi), &error_fatal); in npcm7xx_connect_flash()
93 qdev_connect_gpio_out_named(DEVICE(fiu), "cs", cs_no, flash_cs); in npcm7xx_connect_flash()
373 npcm7xx_connect_flash(&soc->fiu[0], 0, "w25q256", drive_get(IF_MTD, 0, 0)); in npcm750_evb_init()
388 npcm7xx_connect_flash(&soc->fiu[0], 0, "mx25l25635e", in quanta_gsj_init()
405 npcm7xx_connect_flash(&soc->fiu[0], 0, "mx66u51235f", in quanta_gbs_init()
422 npcm7xx_connect_flash(&soc->fiu[0], 0, "mx66u51235f", in kudo_bmc_init()
424 npcm7xx_connect_flash(&soc->fiu[1], 0, "mx66u51235f", in kudo_bmc_init()
441 npcm7xx_connect_flash(&soc->fiu[1], 0, "mx66u51235f", in mori_bmc_init()
H A Dnpcm7xx.c447 QEMU_BUILD_BUG_ON(ARRAY_SIZE(npcm7xx_fiu) != ARRAY_SIZE(s->fiu)); in npcm7xx_init()
448 for (i = 0; i < ARRAY_SIZE(s->fiu); i++) { in npcm7xx_init()
449 object_initialize_child(obj, npcm7xx_fiu[i].name, &s->fiu[i], in npcm7xx_init()
731 QEMU_BUILD_BUG_ON(ARRAY_SIZE(npcm7xx_fiu) != ARRAY_SIZE(s->fiu)); in npcm7xx_realize()
732 for (i = 0; i < ARRAY_SIZE(s->fiu); i++) { in npcm7xx_realize()
733 SysBusDevice *sbd = SYS_BUS_DEVICE(&s->fiu[i]); in npcm7xx_realize()
/openbmc/qemu/include/hw/ssi/
H A Dnpcm7xx_fiu.h37 NPCM7xxFIUState *fiu; member
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-gbs/gbs-bios-update/files/
H A Dbios-update.sh31 if ls "$KERNEL_SYSFS_FIU"/*.fiu 1> /dev/null 2>&1; then
/openbmc/qemu/include/hw/arm/
H A Dnpcm7xx.h106 NPCM7xxFIUState fiu[2]; member
/openbmc/linux/arch/arm/boot/dts/nuvoton/
H A Dnuvoton-wpcm450-supermicro-x9sci-ln4f.dts61 &fiu {
H A Dnuvoton-wpcm450.dtsi478 fiu: spi-controller@c8000000 { label
479 compatible = "nuvoton,wpcm450-fiu";
H A Dnuvoton-common-npcm7xx.dtsi148 compatible = "nuvoton,npcm750-fiu";
159 compatible = "nuvoton,npcm750-fiu";
172 compatible = "nuvoton,npcm750-fiu";
H A Dnuvoton-npcm750-runbmc-olympus.dts147 npcm,fiu-rx-bus-width = <2>;
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-gbs/gbs-sysinit/files/
H A Dgbs-sysinit.sh135 if ls "$KERNEL_SYSFS_FIU"/*.fiu 1> /dev/null 2>&1; then