Home
last modified time | relevance | path

Searched refs:drvdata (Results 1 – 2 of 2) sorted by relevance

/external/blktrace/
Dblkiomon.c90 static struct output drvdata, human, binary, debug; variable
433 if (!drvdata.fn) in blkiomon_dump_drvdata()
436 if (fwrite(bit, sizeof(*bit), 1, drvdata.fp) != 1) in blkiomon_dump_drvdata()
438 if (fwrite(pdu_buf, bit->pdu_len, 1, drvdata.fp) != 1) in blkiomon_dump_drvdata()
440 if (drvdata.pipe && fflush(drvdata.fp)) in blkiomon_dump_drvdata()
445 fprintf(stderr, "blkiomon: could not write to %s\n", drvdata.fn); in blkiomon_dump_drvdata()
446 fclose(drvdata.fp); in blkiomon_dump_drvdata()
447 drvdata.fn = NULL; in blkiomon_dump_drvdata()
700 drvdata.fn = optarg; in main()
741 if (blkiomon_open_output(&drvdata)) in main()
/external/u-boot/drivers/spi/
Dkirkwood_spi.c312 const struct mvebu_spi_dev *drvdata; in mvebu_spi_set_mode() local
326 drvdata = (struct mvebu_spi_dev *)dev_get_driver_data(bus); in mvebu_spi_set_mode()
327 if (drvdata->is_errata_50mhz_ac) in mvebu_spi_set_mode()