/linux/drivers/mtd/spi-nor/ |
H A D | otp.c | 38 u8 addr_nbytes, read_opcode, read_dummy; in spi_nor_otp_read_secr() local 44 addr_nbytes = nor->addr_nbytes; in spi_nor_otp_read_secr() 57 nor->addr_nbytes = addr_nbytes; in spi_nor_otp_read_secr() 88 u8 addr_nbytes, program_opcode; in spi_nor_otp_write_secr() local 92 addr_nbytes = nor->addr_nbytes; in spi_nor_otp_write_secr() 116 nor->addr_nbytes = addr_nbytes; in spi_nor_otp_write_secr()
|
H A D | sfdp.c | 185 u8 addr_nbytes, read_opcode, read_dummy; in spi_nor_read_sfdp() local 189 addr_nbytes = nor->addr_nbytes; in spi_nor_read_sfdp() 193 nor->addr_nbytes = 3; in spi_nor_read_sfdp() 199 nor->addr_nbytes = addr_nbytes; in spi_nor_read_sfdp() 467 params->addr_nbytes = 3; in spi_nor_parse_bfpt() 472 params->addr_nbytes = 4; in spi_nor_parse_bfpt() 735 u8 addr_nbytes, read_opcode, read_dummy; in spi_nor_get_map_in_use() local 743 addr_nbytes = nor->addr_nbytes; in spi_nor_get_map_in_use() 754 nor->addr_nbytes = spi_nor_smpt_addr_nbytes(nor, smpt[i]); in spi_nor_get_map_in_use() 801 nor->addr_nbytes = addr_nbytes; in spi_nor_get_map_in_use() [all …]
|
H A D | everspin.c | 16 .addr_nbytes = 2, 22 .addr_nbytes = 2,
|
H A D | core.h | 88 #define SPI_NOR_DIE_ERASE_OP(opcode, addr_nbytes, addr, dice) \ argument 90 SPI_MEM_OP_ADDR(dice ? addr_nbytes : 0, addr, 0), \ 94 #define SPI_NOR_SECTOR_ERASE_OP(opcode, addr_nbytes, addr) \ argument 96 SPI_MEM_OP_ADDR(addr_nbytes, addr, 0), \ 381 u8 addr_nbytes; member 512 u8 addr_nbytes; member
|
H A D | core.c | 204 SPI_MEM_OP_ADDR(nor->addr_nbytes, from, 0), in spi_nor_spimem_read_data() 268 SPI_MEM_OP_ADDR(nor->addr_nbytes, to, 0), in spi_nor_spimem_write_data() 1083 nor->addr_nbytes, addr, multi_die); in spi_nor_erase_die() 1479 nor->addr_nbytes, addr); in spi_nor_erase_sector() 1492 for (i = nor->addr_nbytes - 1; i >= 0; i--) { in spi_nor_erase_sector() 1498 nor->bouncebuf, nor->addr_nbytes); in spi_nor_erase_sector() 2562 if (nor->params->addr_nbytes) { in spi_nor_set_addr_nbytes() 2563 nor->addr_nbytes = nor->params->addr_nbytes; in spi_nor_set_addr_nbytes() 2577 nor->addr_nbytes = 4; in spi_nor_set_addr_nbytes() 2578 } else if (nor->info->addr_nbytes) { in spi_nor_set_addr_nbytes() [all …]
|
H A D | spansion.c | 109 op.addr.nbytes = nor->addr_nbytes; in cypress_nor_sr_ready_and_clear_reg() 226 ret = spi_nor_read_id(nor, nor->addr_nbytes, 3, buf, in cypress_nor_octal_dtr_en() 252 CYPRESS_NOR_WR_ANY_REG_OP(nor->addr_nbytes, addr, 2, buf); in cypress_nor_set_single_spi_bits() 464 nor->params->addr_nbytes = addr_mode; in cypress_nor_set_addr_mode_nbytes()
|
H A D | issi.c | 23 nor->params->addr_nbytes = 4; in is25lp256_post_bfpt_fixups()
|
H A D | debugfs.c | 92 seq_printf(s, "address nbytes\t%u\n", nor->addr_nbytes); in spi_nor_params_show()
|
H A D | micron-st.c | 105 MICRON_ST_NOR_WR_ANY_REG_OP(nor->addr_nbytes, in micron_st_nor_octal_dtr_dis()
|
/linux/drivers/mtd/spi-nor/controllers/ |
H A D | nxp-spifi.c | 205 SPIFI_CMD_FRAMEFORM(spifi->nor.addr_nbytes + 1); in nxp_spifi_write() 232 SPIFI_CMD_FRAMEFORM(spifi->nor.addr_nbytes + 1); in nxp_spifi_erase() 254 if (spifi->nor.addr_nbytes < 1 || spifi->nor.addr_nbytes > 4) in nxp_spifi_setup_memory_cmd() 259 SPIFI_CMD_FRAMEFORM(spifi->nor.addr_nbytes + 1); in nxp_spifi_setup_memory_cmd()
|
H A D | hisi-sfc.c | 240 reg |= (nor->addr_nbytes == 4) ? SPI_NOR_ADDR_MODE_4BYTES in hisi_spi_nor_dma_transfer()
|
/linux/include/linux/mtd/ |
H A D | spi-nor.h | 399 u8 addr_nbytes; member
|
/linux/drivers/spi/ |
H A D | spi-aspeed-smc.c | 181 static int aspeed_spi_send_cmd_addr(struct aspeed_spi_chip *chip, u8 addr_nbytes, in aspeed_spi_send_cmd_addr() argument 187 switch (addr_nbytes) { in aspeed_spi_send_cmd_addr() 201 WARN_ONCE(1, "Unexpected address width %u", addr_nbytes); in aspeed_spi_send_cmd_addr()
|