Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/spi/
Dspi-cadence-xspi.c218 int cur_cs; member
371 cdns_xspi->cur_cs); in cdns_xspi_send_stig_command()
381 cdns_xspi->cur_cs); in cdns_xspi_send_stig_command()
412 if (cdns_xspi->cur_cs != mem->spi->chip_select) in cdns_xspi_mem_op()
413 cdns_xspi->cur_cs = mem->spi->chip_select; in cdns_xspi_mem_op()
553 cdns_xspi->cur_cs = 0; in cdns_xspi_probe()
Dspi-pl022.c399 int cur_cs; member
446 tmp &= ~BIT(pl022->cur_cs); in internal_cs_control()
448 tmp |= BIT(pl022->cur_cs); in internal_cs_control()
1590 pl022->cur_cs = msg->spi->chip_select; in pl022_transfer_one_message()
/linux-6.1.9/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()
575 ret = anfc_select_target(chip, chip->cur_cs); in anfc_sel_write_page_hw_ecc()
1396 nfc->cur_cs = -1; in anfc_reset()
Dcadence-nand-controller.c1370 u8 thread_nr = cdns_chip->cs[chip->cur_cs]; in cadence_nand_erase()
1373 cdns_chip->cs[chip->cur_cs], in cadence_nand_erase()
1405 cdns_chip->cs[chip->cur_cs], in cadence_nand_read_bbm()
1461 cdns_chip->cs[chip->cur_cs], in cadence_nand_write_page()
1485 cdns_chip->cs[chip->cur_cs], in cadence_nand_write_page()
1596 cdns_chip->cs[chip->cur_cs], in cadence_nand_write_page_raw()
1641 cdns_chip->cs[chip->cur_cs], in cadence_nand_read_page()
1650 cdns_chip->cs[chip->cur_cs], in cadence_nand_read_page()
1719 cdns_chip->cs[chip->cur_cs], in cadence_nand_read_page_raw()
2016 cdns_chip->cs[chip->cur_cs], in cadence_nand_cmd_opcode()
[all …]
Dnand_base.c181 chip->cur_cs = cs; in nand_select_target()
200 chip->cur_cs = -1; in nand_deselect_target()
1146 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_sp_exec_read_page_op()
1189 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_lp_exec_read_page_op()
1285 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_read_param_page_op()
1341 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_change_read_column_op()
1424 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_exec_prog_page_op()
1529 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_prog_page_end_op()
1648 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_change_write_column_op()
1703 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_readid_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.c1082 marvell_nfc_select_target(chip, chip->cur_cs); in marvell_nfc_hw_ecc_hmg_read_page_raw()
1095 marvell_nfc_select_target(chip, chip->cur_cs); in marvell_nfc_hw_ecc_hmg_read_page()
1131 marvell_nfc_select_target(chip, chip->cur_cs); in marvell_nfc_hw_ecc_hmg_read_oob_raw()
1197 marvell_nfc_select_target(chip, chip->cur_cs); in marvell_nfc_hw_ecc_hmg_write_page_raw()
1208 marvell_nfc_select_target(chip, chip->cur_cs); in marvell_nfc_hw_ecc_hmg_write_page()
1230 marvell_nfc_select_target(chip, chip->cur_cs); in marvell_nfc_hw_ecc_hmg_write_oob_raw()
1250 marvell_nfc_select_target(chip, chip->cur_cs); in marvell_nfc_hw_ecc_bch_read_page_raw()
1362 marvell_nfc_select_target(chip, chip->cur_cs); in marvell_nfc_hw_ecc_bch_read_page()
1505 marvell_nfc_select_target(chip, chip->cur_cs); in marvell_nfc_hw_ecc_bch_write_page_raw()
1620 marvell_nfc_select_target(chip, chip->cur_cs); in marvell_nfc_hw_ecc_bch_write_page()
Dnand_hynix.c78 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in hynix_nand_cmd_op()
97 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in hynix_nand_reg_write_op()
Dsunxi_nand.c1112 sunxi_nfc_select_chip(nand, nand->cur_cs); in sunxi_nfc_hw_ecc_read_page()
1148 sunxi_nfc_select_chip(nand, nand->cur_cs); in sunxi_nfc_hw_ecc_read_page_dma()
1170 sunxi_nfc_select_chip(nand, nand->cur_cs); in sunxi_nfc_hw_ecc_read_subpage()
1204 sunxi_nfc_select_chip(nand, nand->cur_cs); in sunxi_nfc_hw_ecc_read_subpage_dma()
1225 sunxi_nfc_select_chip(nand, nand->cur_cs); in sunxi_nfc_hw_ecc_write_page()
1262 sunxi_nfc_select_chip(nand, nand->cur_cs); in sunxi_nfc_hw_ecc_write_subpage()
1298 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()
Dnand_macronix.c258 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_power_down_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.c557 vf610_nfc_select_target(chip, chip->cur_cs); in vf610_nfc_read_page()
606 vf610_nfc_select_target(chip, chip->cur_cs); in vf610_nfc_write_page()
Dstm32_fmc2_nand.c997 ret = stm32_fmc2_nfc_select_chip(chip, chip->cur_cs); in stm32_fmc2_nfc_seq_write_page()
1010 ret = stm32_fmc2_nfc_select_chip(chip, chip->cur_cs); in stm32_fmc2_nfc_seq_write_page_raw()
1096 ret = stm32_fmc2_nfc_select_chip(chip, chip->cur_cs); in stm32_fmc2_nfc_seq_read_page()
1141 ret = stm32_fmc2_nfc_select_chip(chip, chip->cur_cs); in stm32_fmc2_nfc_seq_read_page_raw()
Dmeson_nand.c642 meson_nfc_select_chip(nand, nand->cur_cs); in meson_nfc_write_page_sub()
726 meson_nfc_select_chip(nand, nand->cur_cs); in meson_nfc_read_page_sub()
Dmtk_nand.c836 mtk_nfc_select_target(chip, chip->cur_cs); in mtk_nfc_write_page()
954 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.1.9/drivers/mtd/nand/raw/gpmi-nand/
Dgpmi-nand.c2337 int chip = this->nand.cur_cs; in gpmi_chain_command()
2381 | BF_GPMI_CTRL0_CS(this->nand.cur_cs, this) in gpmi_chain_wait_ready()
2410 | BF_GPMI_CTRL0_CS(this->nand.cur_cs, this) in gpmi_chain_data_read()
2456 | BF_GPMI_CTRL0_CS(this->nand.cur_cs, this) in gpmi_chain_data_write()
/linux-6.1.9/include/linux/mtd/
Drawnand.h1299 int cur_cs; member
/linux-6.1.9/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.1.9/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()