Home
last modified time | relevance | path

Searched refs:cur_cs (Results 1 – 22 of 22) sorted by relevance

/linux-6.12.1/drivers/mtd/nand/raw/
Darasan-nand-controller.c219 int cur_cs; member
317 if (nfc->cur_cs == nfc_cs_idx) in anfc_assert_cs()
321 if (anfc_is_gpio_cs(nfc, nfc->cur_cs)) in anfc_assert_cs()
322 gpiod_set_value_cansleep(nfc->cs_array[nfc->cur_cs], 1); in anfc_assert_cs()
332 nfc->cur_cs = nfc_cs_idx; in anfc_assert_cs()
503 ret = anfc_select_target(chip, chip->cur_cs); in anfc_sel_read_page_hw_ecc()
587 ret = anfc_select_target(chip, chip->cur_cs); in anfc_sel_write_page_hw_ecc()
1392 nfc->cur_cs = -1; in anfc_reset()
Dcadence-nand-controller.c1375 u8 thread_nr = cdns_chip->cs[chip->cur_cs]; in cadence_nand_erase()
1378 cdns_chip->cs[chip->cur_cs], in cadence_nand_erase()
1410 cdns_chip->cs[chip->cur_cs], in cadence_nand_read_bbm()
1466 cdns_chip->cs[chip->cur_cs], in cadence_nand_write_page()
1490 cdns_chip->cs[chip->cur_cs], in cadence_nand_write_page()
1601 cdns_chip->cs[chip->cur_cs], in cadence_nand_write_page_raw()
1646 cdns_chip->cs[chip->cur_cs], in cadence_nand_read_page()
1655 cdns_chip->cs[chip->cur_cs], in cadence_nand_read_page()
1724 cdns_chip->cs[chip->cur_cs], in cadence_nand_read_page_raw()
2059 cdns_chip->cs[chip->cur_cs], in cadence_nand_cmd_opcode()
[all …]
Dnand_base.c180 chip->cur_cs = cs; in nand_select_target()
199 chip->cur_cs = -1; in nand_deselect_target()
1153 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_sp_exec_read_page_op()
1196 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_lp_exec_read_page_op()
1275 struct nand_operation start_op = NAND_OPERATION(chip->cur_cs, start_instrs); in nand_lp_exec_cont_read_page_op()
1276 struct nand_operation cont_op = NAND_OPERATION(chip->cur_cs, cont_instrs); in nand_lp_exec_cont_read_page_op()
1409 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_read_param_page_op()
1468 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_change_read_column_op()
1551 struct nand_operation op = NAND_DESTRUCTIVE_OPERATION(chip->cur_cs, in nand_exec_prog_page_op()
1657 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_prog_page_end_op()
[all …]
Dtegra_nand.c178 int cur_cs; member
425 cmd |= COMMAND_GO | COMMAND_CE(ctrl->cur_cs); in tegra_nand_cmd()
466 ctrl->cur_cs = nand->cs[die_nr]; in tegra_nand_select_target()
506 tegra_nand_select_target(chip, chip->cur_cs); in tegra_nand_page_xfer()
574 COMMAND_CE(ctrl->cur_cs); in tegra_nand_page_xfer()
Dmarvell_nand.c1090 marvell_nfc_select_target(chip, chip->cur_cs); in marvell_nfc_hw_ecc_hmg_read_page_raw()
1103 marvell_nfc_select_target(chip, chip->cur_cs); in marvell_nfc_hw_ecc_hmg_read_page()
1139 marvell_nfc_select_target(chip, chip->cur_cs); in marvell_nfc_hw_ecc_hmg_read_oob_raw()
1217 marvell_nfc_select_target(chip, chip->cur_cs); in marvell_nfc_hw_ecc_hmg_write_page_raw()
1228 marvell_nfc_select_target(chip, chip->cur_cs); in marvell_nfc_hw_ecc_hmg_write_page()
1250 marvell_nfc_select_target(chip, chip->cur_cs); in marvell_nfc_hw_ecc_hmg_write_oob_raw()
1270 marvell_nfc_select_target(chip, chip->cur_cs); in marvell_nfc_hw_ecc_bch_read_page_raw()
1382 marvell_nfc_select_target(chip, chip->cur_cs); in marvell_nfc_hw_ecc_bch_read_page()
1525 marvell_nfc_select_target(chip, chip->cur_cs); in marvell_nfc_hw_ecc_bch_write_page_raw()
1641 marvell_nfc_select_target(chip, chip->cur_cs); in marvell_nfc_hw_ecc_bch_write_page()
Dnand_hynix.c77 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in hynix_nand_cmd_op()
96 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in hynix_nand_reg_write_op()
Dsunxi_nand.c1100 sunxi_nfc_select_chip(nand, nand->cur_cs); in sunxi_nfc_hw_ecc_read_page()
1136 sunxi_nfc_select_chip(nand, nand->cur_cs); in sunxi_nfc_hw_ecc_read_page_dma()
1158 sunxi_nfc_select_chip(nand, nand->cur_cs); in sunxi_nfc_hw_ecc_read_subpage()
1192 sunxi_nfc_select_chip(nand, nand->cur_cs); in sunxi_nfc_hw_ecc_read_subpage_dma()
1213 sunxi_nfc_select_chip(nand, nand->cur_cs); in sunxi_nfc_hw_ecc_write_page()
1250 sunxi_nfc_select_chip(nand, nand->cur_cs); in sunxi_nfc_hw_ecc_write_subpage()
1286 sunxi_nfc_select_chip(nand, nand->cur_cs); in sunxi_nfc_hw_ecc_write_page_dma()
Dnand_toshiba.c42 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in toshiba_nand_benand_read_eccstatus_op()
Drenesas-nand-controller.c420 rnandc_select_target(chip, chip->cur_cs); in rnandc_read_page_hw_ecc()
514 rnandc_select_target(chip, chip->cur_cs); in rnandc_read_subpage_hw_ecc()
600 rnandc_select_target(chip, chip->cur_cs); in rnandc_write_page_hw_ecc()
654 rnandc_select_target(chip, chip->cur_cs); in rnandc_write_subpage_hw_ecc()
Dvf610_nfc.c558 vf610_nfc_select_target(chip, chip->cur_cs); in vf610_nfc_read_page()
607 vf610_nfc_select_target(chip, chip->cur_cs); in vf610_nfc_write_page()
Dnand_macronix.c268 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_power_down_op()
Dstm32_fmc2_nand.c1014 ret = stm32_fmc2_nfc_select_chip(chip, chip->cur_cs); in stm32_fmc2_nfc_seq_write_page()
1027 ret = stm32_fmc2_nfc_select_chip(chip, chip->cur_cs); in stm32_fmc2_nfc_seq_write_page_raw()
1113 ret = stm32_fmc2_nfc_select_chip(chip, chip->cur_cs); in stm32_fmc2_nfc_seq_read_page()
1158 ret = stm32_fmc2_nfc_select_chip(chip, chip->cur_cs); in stm32_fmc2_nfc_seq_read_page_raw()
Dmeson_nand.c757 meson_nfc_select_chip(nand, nand->cur_cs); in meson_nfc_write_page_sub()
836 meson_nfc_select_chip(nand, nand->cur_cs); in meson_nfc_read_page_sub()
Dmtk_nand.c835 mtk_nfc_select_target(chip, chip->cur_cs); in mtk_nfc_write_page()
953 mtk_nfc_select_target(chip, chip->cur_cs); in mtk_nfc_read_subpage()
Ddenali.c715 denali_select_target(chip, chip->cur_cs); in denali_page_xfer()
/linux-6.12.1/drivers/spi/
Dspi-cadence-xspi.c361 int cur_cs; member
703 cdns_xspi->cur_cs); in cdns_xspi_send_stig_command()
713 cdns_xspi->cur_cs); in cdns_xspi_send_stig_command()
744 if (cdns_xspi->cur_cs != spi_get_chipselect(mem->spi, 0)) in cdns_xspi_mem_op()
745 cdns_xspi->cur_cs = spi_get_chipselect(mem->spi, 0); in cdns_xspi_mem_op()
1184 cdns_xspi->cur_cs = 0; in cdns_xspi_probe()
Dspi-pl022.c388 int cur_cs; member
434 tmp &= ~BIT(pl022->cur_cs); in internal_cs_control()
436 tmp |= BIT(pl022->cur_cs); in internal_cs_control()
1338 pl022->cur_cs = spi_get_chipselect(spi, 0); in pl022_transfer_one()
/linux-6.12.1/drivers/mtd/nand/raw/gpmi-nand/
Dgpmi-nand.c2352 int chip = this->nand.cur_cs; in gpmi_chain_command()
2396 | BF_GPMI_CTRL0_CS(this->nand.cur_cs, this) in gpmi_chain_wait_ready()
2425 | BF_GPMI_CTRL0_CS(this->nand.cur_cs, this) in gpmi_chain_data_read()
2471 | BF_GPMI_CTRL0_CS(this->nand.cur_cs, this) in gpmi_chain_data_write()
/linux-6.12.1/include/linux/mtd/
Drawnand.h1331 int cur_cs; member
/linux-6.12.1/drivers/scsi/aic7xxx/
Daic7xxx_core.c6790 u_int cur_cs; in ahc_loadseq() local
6802 cur_cs = 0; in ahc_loadseq()
6852 for (; cur_cs < NUM_CRITICAL_SECTIONS; cur_cs++) { in ahc_loadseq()
6853 if (critical_sections[cur_cs].end <= i) { in ahc_loadseq()
6862 if (critical_sections[cur_cs].begin <= i in ahc_loadseq()
Daic79xx_core.c9263 u_int cur_cs; in ahd_loadseq() local
9286 cur_cs = 0; in ahd_loadseq()
9376 for (; cur_cs < NUM_CRITICAL_SECTIONS; cur_cs++) { in ahd_loadseq()
9377 if (critical_sections[cur_cs].end <= i) { in ahd_loadseq()
9386 if (critical_sections[cur_cs].begin <= i in ahd_loadseq()
/linux-6.12.1/drivers/mtd/nand/raw/atmel/
Dnand-controller.c991 atmel_hsmc_nand_select_target(nand, chip->cur_cs); in atmel_hsmc_nand_pmecc_write_pg()
1052 atmel_hsmc_nand_select_target(nand, chip->cur_cs); in atmel_hsmc_nand_pmecc_read_pg()