Searched refs:sddev (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/xtensa/platforms/iss/ |
H A D | simdisk.c | 148 static struct simdisk *sddev; variable 313 sddev = kmalloc_array(simdisk_count, sizeof(*sddev), GFP_KERNEL); in simdisk_init() 314 if (sddev == NULL) in simdisk_init() 322 if (simdisk_setup(sddev + i, i, simdisk_procdir) == 0) { in simdisk_init() 325 simdisk_attach(sddev + i, filename[i]); in simdisk_init() 332 kfree(sddev); in simdisk_init() 357 simdisk_teardown(sddev + i, i, simdisk_procdir); in simdisk_exit() 359 kfree(sddev); in simdisk_exit()
|
/openbmc/qemu/hw/arm/ |
H A D | stellaris.c | 1201 DeviceState *sddev; in stellaris_init() local 1271 sddev = ssi_create_peripheral(bus, "ssi-sd"); in stellaris_init() 1278 qdev_get_child_bus(sddev, "sd-bus"), in stellaris_init() 1293 qdev_get_gpio_in_named(sddev, SSI_GPIO_CS, 0)); in stellaris_init()
|