Home
last modified time | relevance | path

Searched refs:block1 (Results 1 – 7 of 7) sorted by relevance

/drivers/mtd/devices/
Ddocg3.c470 static int doc_read_seek(struct docg3 *docg3, int block0, int block1, int page, in doc_read_seek() argument
476 block0, block1, page, ofs, wear); in doc_read_seek()
499 sector = (block1 << DOC_ADDR_BLOCK_SHIFT) + (page & DOC_ADDR_PAGE_MASK); in doc_read_seek()
519 static int doc_write_seek(struct docg3 *docg3, int block0, int block1, int page, in doc_write_seek() argument
525 block0, block1, page, ofs); in doc_write_seek()
552 sector = (block1 << DOC_ADDR_BLOCK_SHIFT) + (page & DOC_ADDR_PAGE_MASK); in doc_write_seek()
709 static int doc_read_page_prepare(struct docg3 *docg3, int block0, int block1, in doc_read_page_prepare() argument
715 block0, block1, page, offset); in doc_read_page_prepare()
727 ret = doc_read_seek(docg3, block0, block1, page, wear_area, offset); in doc_read_page_prepare()
846 static void calc_block_sector(loff_t from, int *block0, int *block1, int *page, in calc_block_sector() argument
[all …]
/drivers/mtd/
Dinftlmount.c440 unsigned int block = first_block, block1; in format_chain() local
446 block1 = inftl->PUtable[block]; in format_chain()
459 block = block1; in format_chain()
Dnftlmount.c464 unsigned int block = first_block, block1; in format_chain() local
469 block1 = nftl->ReplUnitTable[block]; in format_chain()
480 block = block1; in format_chain()
/drivers/block/mtip32xx/
Dmtip32xx.h397 void *block1; member
Dmtip32xx.c3069 if (port->block1) in mtip_dma_free()
3071 port->block1, port->block1_dma); in mtip_dma_free()
3092 port->block1 = in mtip_dma_alloc()
3095 if (!port->block1) in mtip_dma_alloc()
3097 memset(port->block1, 0, BLOCK_DMA_ALLOC_SZ); in mtip_dma_alloc()
3105 port->block1, port->block1_dma); in mtip_dma_alloc()
3106 port->block1 = NULL; in mtip_dma_alloc()
3113 port->rxfis = port->block1 + AHCI_RX_FIS_OFFSET; in mtip_dma_alloc()
3115 port->identify = port->block1 + AHCI_IDFY_OFFSET; in mtip_dma_alloc()
3117 port->log_buf = port->block1 + AHCI_SECTBUF_OFFSET; in mtip_dma_alloc()
[all …]
/drivers/mtd/onenand/
DKconfig61 while Plane2 has only odd blocks such as block1, block3, block5.
/drivers/hwmon/
Dlm93.c221 struct block1_t block1; member
1007 for (i = 0, ptr = (u8 *)(&data->block1); i < 8; i++) in lm93_update_client_common()
1035 lm93_read_block(client, 1, (u8 *)(&data->block1)); in lm93_update_client_full()
1093 for (i = 0, ptr = (u8 *)(&data->block1); i < 8; i++) { in lm93_update_client_min()
2454 data->block1.host_status_1 & (1 << (nr + 4)) ? 1 : 0); in show_vrdhot()
2473 return sprintf(buf, "%d\n", LM93_ALARMS_FROM_REG(data->block1)); in show_alarms()