Home
last modified time | relevance | path

Searched refs:sect_buf (Results 1 – 4 of 4) sorted by relevance

/openbmc/u-boot/include/
H A Dide.h47 void ide_read_data(int dev, ulong *sect_buf, int words);
48 void ide_write_data(int dev, const ulong *sect_buf, int words);
56 void ide_input_swap_data(int dev, ulong *sect_buf, int words);
57 void ide_input_data(int dev, ulong *sect_buf, int words);
58 void ide_output_data(int dev, const ulong *sect_buf, int words);
59 void ide_input_data_shorts(int dev, ushort *sect_buf, int shorts);
60 void ide_output_data_shorts(int dev, ushort *sect_buf, int shorts);
/openbmc/u-boot/drivers/block/
H A Dide.c132 __weak void ide_output_data_shorts(int dev, ushort *sect_buf, int shorts) in ide_output_data_shorts() argument
138 dbuf = (ushort *)sect_buf; in ide_output_data_shorts()
149 __weak void ide_input_data_shorts(int dev, ushort *sect_buf, int shorts) in ide_input_data_shorts() argument
155 dbuf = (ushort *)sect_buf; in ide_input_data_shorts()
167 __weak void ide_output_data_shorts(int dev, ushort *sect_buf, int shorts) in ide_output_data_shorts() argument
169 outsw(ATA_CURR_BASE(dev) + ATA_DATA_REG, sect_buf, shorts); in ide_output_data_shorts()
172 __weak void ide_input_data_shorts(int dev, ushort *sect_buf, int shorts) in ide_input_data_shorts() argument
174 insw(ATA_CURR_BASE(dev) + ATA_DATA_REG, sect_buf, shorts); in ide_input_data_shorts()
847 __weak void ide_input_swap_data(int dev, ulong *sect_buf, int words) in ide_input_swap_data() argument
849 ide_input_data(dev, sect_buf, words); in ide_input_swap_data()
[all …]
/openbmc/linux/drivers/mtd/
H A Dssfdc.c108 uint8_t *sect_buf; in get_valid_cis_sector() local
112 sect_buf = kmalloc(SECTOR_SIZE, GFP_KERNEL); in get_valid_cis_sector()
113 if (!sect_buf) in get_valid_cis_sector()
124 sect_buf); in get_valid_cis_sector()
130 } else if (!memcmp(sect_buf, cis_numbers, in get_valid_cis_sector()
143 kfree(sect_buf); in get_valid_cis_sector()
149 static int read_physical_sector(struct mtd_info *mtd, uint8_t *sect_buf, in read_physical_sector() argument
156 ret = mtd_read(mtd, offset, SECTOR_SIZE, &retlen, sect_buf); in read_physical_sector()
/openbmc/u-boot/drivers/ata/
H A Dsata_sil3114.c41 static void output_data (struct sata_ioports *ioaddr, u16 * sect_buf, int words) in output_data() argument
44 __raw_writew (*sect_buf++, (void *)ioaddr->data_addr); in output_data()
48 static int input_data (struct sata_ioports *ioaddr, u16 * sect_buf, int words) in input_data() argument
51 *sect_buf++ = __raw_readw ((void *)ioaddr->data_addr); in input_data()