Home
last modified time | relevance | path

Searched defs:nfc (Results 1 – 25 of 40) sorted by relevance

12

/Linux-v5.10/drivers/mtd/nand/raw/
Dvf610_nfc.c173 static inline u32 vf610_nfc_read(struct vf610_nfc *nfc, uint reg) in vf610_nfc_read()
178 static inline void vf610_nfc_write(struct vf610_nfc *nfc, uint reg, u32 val) in vf610_nfc_write()
183 static inline void vf610_nfc_set(struct vf610_nfc *nfc, uint reg, u32 bits) in vf610_nfc_set()
188 static inline void vf610_nfc_clear(struct vf610_nfc *nfc, uint reg, u32 bits) in vf610_nfc_clear()
193 static inline void vf610_nfc_set_field(struct vf610_nfc *nfc, u32 reg, in vf610_nfc_set_field()
281 static inline void vf610_nfc_clear_status(struct vf610_nfc *nfc) in vf610_nfc_clear_status()
289 static void vf610_nfc_done(struct vf610_nfc *nfc) in vf610_nfc_done()
311 struct vf610_nfc *nfc = data; in vf610_nfc_irq() local
319 static inline void vf610_nfc_ecc_mode(struct vf610_nfc *nfc, int ecc_mode) in vf610_nfc_ecc_mode()
326 static inline void vf610_nfc_run(struct vf610_nfc *nfc, u32 col, u32 row, in vf610_nfc_run()
[all …]
Dmtk_nand.c217 struct mtk_nfc *nfc = nand_get_controller_data(chip); in mtk_data_ptr() local
224 struct mtk_nfc *nfc = nand_get_controller_data(chip); in mtk_oob_ptr() local
229 static inline void nfi_writel(struct mtk_nfc *nfc, u32 val, u32 reg) in nfi_writel()
234 static inline void nfi_writew(struct mtk_nfc *nfc, u16 val, u32 reg) in nfi_writew()
239 static inline void nfi_writeb(struct mtk_nfc *nfc, u8 val, u32 reg) in nfi_writeb()
244 static inline u32 nfi_readl(struct mtk_nfc *nfc, u32 reg) in nfi_readl()
249 static inline u16 nfi_readw(struct mtk_nfc *nfc, u32 reg) in nfi_readw()
254 static inline u8 nfi_readb(struct mtk_nfc *nfc, u32 reg) in nfi_readb()
259 static void mtk_nfc_hw_reset(struct mtk_nfc *nfc) in mtk_nfc_hw_reset()
281 static int mtk_nfc_send_command(struct mtk_nfc *nfc, u8 command) in mtk_nfc_send_command()
[all …]
Dstm32_fmc2_nand.c281 struct stm32_fmc2_nfc *nfc = to_stm32_nfc(chip->controller); in stm32_fmc2_nfc_timings_init() local
309 struct stm32_fmc2_nfc *nfc = to_stm32_nfc(chip->controller); in stm32_fmc2_nfc_setup() local
336 struct stm32_fmc2_nfc *nfc = to_stm32_nfc(chip->controller); in stm32_fmc2_nfc_select_chip() local
395 static void stm32_fmc2_nfc_set_buswidth_16(struct stm32_fmc2_nfc *nfc, bool set) in stm32_fmc2_nfc_set_buswidth_16()
405 static void stm32_fmc2_nfc_set_ecc(struct stm32_fmc2_nfc *nfc, bool enable) in stm32_fmc2_nfc_set_ecc()
411 static void stm32_fmc2_nfc_enable_seq_irq(struct stm32_fmc2_nfc *nfc) in stm32_fmc2_nfc_enable_seq_irq()
419 static void stm32_fmc2_nfc_disable_seq_irq(struct stm32_fmc2_nfc *nfc) in stm32_fmc2_nfc_disable_seq_irq()
426 static void stm32_fmc2_nfc_clear_seq_irq(struct stm32_fmc2_nfc *nfc) in stm32_fmc2_nfc_clear_seq_irq()
431 static void stm32_fmc2_nfc_enable_bch_irq(struct stm32_fmc2_nfc *nfc, int mode) in stm32_fmc2_nfc_enable_bch_irq()
443 static void stm32_fmc2_nfc_disable_bch_irq(struct stm32_fmc2_nfc *nfc) in stm32_fmc2_nfc_disable_bch_irq()
[all …]
Dmarvell_nand.c508 static void marvell_nfc_disable_int(struct marvell_nfc *nfc, u32 int_mask) in marvell_nfc_disable_int()
517 static void marvell_nfc_enable_int(struct marvell_nfc *nfc, u32 int_mask) in marvell_nfc_enable_int()
526 static u32 marvell_nfc_clear_int(struct marvell_nfc *nfc, u32 int_mask) in marvell_nfc_clear_int()
539 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nfc_force_byte_access() local
563 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nfc_wait_ndrun() local
601 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nfc_prepare_cmd() local
635 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nfc_send_cmd() local
661 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nfc_end_cmd() local
697 static int marvell_nfc_poll_status(struct marvell_nfc *nfc, u32 mask, in marvell_nfc_poll_status()
720 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nfc_wait_op() local
[all …]
Darasan-nand-controller.c205 static int anfc_wait_for_event(struct arasan_nfc *nfc, unsigned int event) in anfc_wait_for_event()
223 static int anfc_wait_for_rb(struct arasan_nfc *nfc, struct nand_chip *chip, in anfc_wait_for_rb()
243 static void anfc_trigger_op(struct arasan_nfc *nfc, struct anfc_op *nfc_op) in anfc_trigger_op()
300 struct arasan_nfc *nfc = to_anfc(chip->controller); in anfc_read_page_hw_ecc() local
407 struct arasan_nfc *nfc = to_anfc(chip->controller); in anfc_write_page_hw_ecc() local
548 static int anfc_rw_pio_op(struct arasan_nfc *nfc, struct anfc_op *nfc_op) in anfc_rw_pio_op()
595 struct arasan_nfc *nfc = to_anfc(chip->controller); in anfc_misc_data_type_exec() local
643 struct arasan_nfc *nfc = to_anfc(chip->controller); in anfc_misc_zerolen_type_exec() local
667 struct arasan_nfc *nfc = to_anfc(chip->controller); in anfc_status_type_exec() local
700 struct arasan_nfc *nfc = to_anfc(chip->controller); in anfc_wait_type_exec() local
[all …]
Dmxic_nand.c184 static int mxic_nfc_clk_enable(struct mxic_nand_ctlr *nfc) in mxic_nfc_clk_enable()
210 static void mxic_nfc_clk_disable(struct mxic_nand_ctlr *nfc) in mxic_nfc_clk_disable()
217 static void mxic_nfc_set_input_delay(struct mxic_nand_ctlr *nfc, u8 idly_code) in mxic_nfc_set_input_delay()
231 static int mxic_nfc_clk_setup(struct mxic_nand_ctlr *nfc, unsigned long freq) in mxic_nfc_clk_setup()
264 static int mxic_nfc_set_freq(struct mxic_nand_ctlr *nfc, unsigned long freq) in mxic_nfc_set_freq()
285 struct mxic_nand_ctlr *nfc = dev_id; in mxic_nfc_isr() local
297 static void mxic_nfc_hw_init(struct mxic_nand_ctlr *nfc) in mxic_nfc_hw_init()
310 static void mxic_nfc_cs_enable(struct mxic_nand_ctlr *nfc) in mxic_nfc_cs_enable()
318 static void mxic_nfc_cs_disable(struct mxic_nand_ctlr *nfc) in mxic_nfc_cs_disable()
326 struct mxic_nand_ctlr *nfc = nand_get_controller_data(chip); in mxic_nfc_wait_ready() local
[all …]
Dmeson_nand.c225 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_select_chip() local
253 static void meson_nfc_cmd_idle(struct meson_nfc *nfc, u32 time) in meson_nfc_cmd_idle()
259 static void meson_nfc_cmd_seed(struct meson_nfc *nfc, u32 seed) in meson_nfc_cmd_seed()
269 struct meson_nfc *nfc = nand_get_controller_data(mtd_to_nand(mtd)); in meson_nfc_cmd_access() local
291 static void meson_nfc_drain_cmd(struct meson_nfc *nfc) in meson_nfc_drain_cmd()
308 static int meson_nfc_wait_cmd_finish(struct meson_nfc *nfc, in meson_nfc_wait_cmd_finish()
324 static int meson_nfc_wait_dma_finish(struct meson_nfc *nfc) in meson_nfc_wait_dma_finish()
390 static int meson_nfc_queue_rb(struct meson_nfc *nfc, int timeout_ms) in meson_nfc_queue_rb()
477 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_dma_buffer_setup() local
516 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_dma_buffer_release() local
[all …]
Dsunxi_nand.c259 struct sunxi_nfc *nfc = dev_id; in sunxi_nfc_interrupt() local
275 static int sunxi_nfc_wait_events(struct sunxi_nfc *nfc, u32 events, in sunxi_nfc_wait_events()
315 static int sunxi_nfc_wait_cmd_fifo_empty(struct sunxi_nfc *nfc) in sunxi_nfc_wait_cmd_fifo_empty()
329 static int sunxi_nfc_rst(struct sunxi_nfc *nfc) in sunxi_nfc_rst()
346 static int sunxi_nfc_dma_op_prepare(struct sunxi_nfc *nfc, const void *buf, in sunxi_nfc_dma_op_prepare()
396 static void sunxi_nfc_dma_op_cleanup(struct sunxi_nfc *nfc, in sunxi_nfc_dma_op_cleanup()
409 struct sunxi_nfc *nfc = to_sunxi_nfc(sunxi_nand->nand.controller); in sunxi_nfc_select_chip() local
439 struct sunxi_nfc *nfc = to_sunxi_nfc(sunxi_nand->nand.controller); in sunxi_nfc_read_buf() local
477 struct sunxi_nfc *nfc = to_sunxi_nfc(sunxi_nand->nand.controller); in sunxi_nfc_write_buf() local
615 struct sunxi_nfc *nfc = to_sunxi_nfc(nand->controller); in sunxi_nfc_randomizer_config() local
[all …]
Dtango_nand.c118 struct tango_nfc *nfc = to_tango_nfc(chip->controller); in tango_select_target() local
131 struct tango_nfc *nfc = to_tango_nfc(chip->controller); in tango_waitrdy() local
227 struct tango_nfc *nfc = to_tango_nfc(chip->controller); in decode_error_report() local
250 static int do_dma(struct tango_nfc *nfc, enum dma_data_direction dir, int cmd, in do_dma()
300 struct tango_nfc *nfc = to_tango_nfc(chip->controller); in tango_read_page() local
324 struct tango_nfc *nfc = to_tango_nfc(chip->controller); in tango_write_page() local
521 struct tango_nfc *nfc = to_tango_nfc(chip->controller); in tango_set_timings() local
580 struct tango_nfc *nfc = dev_get_drvdata(dev); in chip_init() local
636 struct tango_nfc *nfc = platform_get_drvdata(pdev); in tango_nand_remove() local
659 struct tango_nfc *nfc; in tango_nand_probe() local
/Linux-v5.10/drivers/mtd/nand/raw/ingenic/
Dingenic_nand_drv.c152 struct ingenic_nfc *nfc = to_ingenic_nfc(nand->chip.controller); in ingenic_nand_ecc_calculate() local
173 struct ingenic_nfc *nfc = to_ingenic_nfc(nand->chip.controller); in ingenic_nand_ecc_correct() local
186 struct ingenic_nfc *nfc = to_ingenic_nfc(chip->controller); in ingenic_nand_attach_chip() local
259 struct ingenic_nfc *nfc = to_ingenic_nfc(chip->controller); in ingenic_nand_exec_instr() local
313 struct ingenic_nfc *nfc = to_ingenic_nfc(nand->chip.controller); in ingenic_nand_exec_op() local
342 struct ingenic_nfc *nfc, in ingenic_nand_init_chip()
429 static void ingenic_nand_cleanup_chips(struct ingenic_nfc *nfc) in ingenic_nand_cleanup_chips()
446 static int ingenic_nand_init_chips(struct ingenic_nfc *nfc, in ingenic_nand_init_chips()
479 struct ingenic_nfc *nfc; in ingenic_nand_probe() local
523 struct ingenic_nfc *nfc = platform_get_drvdata(pdev); in ingenic_nand_remove() local
/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ethtool.c421 struct ethtool_rxnfc *nfc) in otx2_get_rss_hash_opts()
466 struct ethtool_rxnfc *nfc) in otx2_set_rss_hash_opts()
544 struct ethtool_rxnfc *nfc, u32 *rules) in otx2_get_rxnfc()
562 static int otx2_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *nfc) in otx2_set_rxnfc()
/Linux-v5.10/drivers/net/dsa/
Dbcm_sf2_cfp.c1069 struct ethtool_rxnfc *nfc) in bcm_sf2_cfp_rule_get()
1089 int port, struct ethtool_rxnfc *nfc, in bcm_sf2_cfp_rule_get_all()
1107 struct ethtool_rxnfc *nfc, u32 *rule_locs) in bcm_sf2_get_rxnfc()
1150 struct ethtool_rxnfc *nfc) in bcm_sf2_set_rxnfc()
/Linux-v5.10/arch/arm/boot/dts/
Dimx31.dtsi342 nfc: nand@b8000000 { label
Dimx35.dtsi367 nfc: nand@bb000000 { label
Dimx27.dtsi561 nfc: nand-controller@d8000000 { label
Dimx25.dtsi606 nfc: nand@bb000000 { label
Dimx51.dtsi589 nfc: nand@83fdb000 { label
Dvfxxx.dtsi694 nfc: nand@400e0000 { label
Dsun5i.dtsi203 nfc: nand-controller@1c03000 { label
Dsun8i-a23-a33.dtsi164 nfc: nand-controller@1c03000 { label
Dimx53.dtsi778 nfc: nand@63fdb000 { label
/Linux-v5.10/drivers/net/ethernet/broadcom/
Dbcmsysport.c2145 struct ethtool_rxnfc *nfc) in bcm_sysport_rule_get()
2160 struct ethtool_rxnfc *nfc) in bcm_sysport_rule_set()
2219 struct ethtool_rxnfc *nfc, u32 *rule_locs) in bcm_sysport_get_rxnfc()
2236 struct ethtool_rxnfc *nfc) in bcm_sysport_set_rxnfc()
/Linux-v5.10/drivers/clk/imx/
Dclk-imx31.c40 dummy, ckih, ckil, mpll, spll, upll, mcu_main, hsp, ahb, nfc, ipg, enumerator
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c817 struct ethtool_rxnfc *nfc) in mlx5e_set_rss_hash_opt()
870 struct ethtool_rxnfc *nfc) in mlx5e_get_rss_hash_opt()
/Linux-v5.10/drivers/net/ethernet/intel/ice/
Dice_ethtool.c2432 static u32 ice_parse_hdrs(struct ethtool_rxnfc *nfc) in ice_parse_hdrs()
2481 static u64 ice_parse_hash_flds(struct ethtool_rxnfc *nfc) in ice_parse_hash_flds()
2547 ice_set_rss_hash_opt(struct ice_vsi *vsi, struct ethtool_rxnfc *nfc) in ice_set_rss_hash_opt()
2592 ice_get_rss_hash_opt(struct ice_vsi *vsi, struct ethtool_rxnfc *nfc) in ice_get_rss_hash_opt()

12