Home
last modified time | relevance | path

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

12

/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 …]
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.c227 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_select_chip() local
255 static void meson_nfc_cmd_idle(struct meson_nfc *nfc, u32 time) in meson_nfc_cmd_idle()
261 static void meson_nfc_cmd_seed(struct meson_nfc *nfc, u32 seed) in meson_nfc_cmd_seed()
271 struct meson_nfc *nfc = nand_get_controller_data(mtd_to_nand(mtd)); in meson_nfc_cmd_access() local
293 static void meson_nfc_drain_cmd(struct meson_nfc *nfc) in meson_nfc_drain_cmd()
310 static int meson_nfc_wait_cmd_finish(struct meson_nfc *nfc, in meson_nfc_wait_cmd_finish()
326 static int meson_nfc_wait_dma_finish(struct meson_nfc *nfc) in meson_nfc_wait_dma_finish()
392 static int meson_nfc_queue_rb(struct meson_nfc *nfc, int timeout_ms) in meson_nfc_queue_rb()
479 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_dma_buffer_setup() local
519 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_dma_buffer_release() 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()
278 struct arasan_nfc *nfc = to_anfc(chip->controller); in anfc_select_target() local
331 struct arasan_nfc *nfc = to_anfc(chip->controller); in anfc_read_page_hw_ecc() local
450 struct arasan_nfc *nfc = to_anfc(chip->controller); in anfc_write_page_hw_ecc() local
615 static int anfc_rw_pio_op(struct arasan_nfc *nfc, struct anfc_op *nfc_op) in anfc_rw_pio_op()
662 struct arasan_nfc *nfc = to_anfc(chip->controller); in anfc_misc_data_type_exec() local
710 struct arasan_nfc *nfc = to_anfc(chip->controller); in anfc_misc_zerolen_type_exec() local
734 struct arasan_nfc *nfc = to_anfc(chip->controller); in anfc_status_type_exec() 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
/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
/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ethtool.c424 struct ethtool_rxnfc *nfc) in otx2_get_rss_hash_opts()
469 struct ethtool_rxnfc *nfc) in otx2_set_rss_hash_opts()
547 struct ethtool_rxnfc *nfc, u32 *rules) in otx2_get_rxnfc()
565 static int otx2_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *nfc) in otx2_set_rxnfc()
/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()
/drivers/net/ethernet/broadcom/
Dbcmsysport.c2148 struct ethtool_rxnfc *nfc) in bcm_sysport_rule_get()
2163 struct ethtool_rxnfc *nfc) in bcm_sysport_rule_set()
2222 struct ethtool_rxnfc *nfc, u32 *rule_locs) in bcm_sysport_get_rxnfc()
2239 struct ethtool_rxnfc *nfc) in bcm_sysport_set_rxnfc()
/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()
/drivers/clk/imx/
Dclk-imx31.c40 dummy, ckih, ckil, mpll, spll, upll, mcu_main, hsp, ahb, nfc, ipg, enumerator
/drivers/net/ethernet/intel/ice/
Dice_ethtool.c2430 static u32 ice_parse_hdrs(struct ethtool_rxnfc *nfc) in ice_parse_hdrs()
2479 static u64 ice_parse_hash_flds(struct ethtool_rxnfc *nfc) in ice_parse_hash_flds()
2545 ice_set_rss_hash_opt(struct ice_vsi *vsi, struct ethtool_rxnfc *nfc) in ice_set_rss_hash_opt()
2590 ice_get_rss_hash_opt(struct ice_vsi *vsi, struct ethtool_rxnfc *nfc) in ice_get_rss_hash_opt()
/drivers/net/ethernet/freescale/dpaa/
Ddpaa_ethtool.c431 struct ethtool_rxnfc *nfc) in dpaa_set_hash_opts()
/drivers/net/vmxnet3/
Dvmxnet3_ethtool.c819 struct ethtool_rxnfc *nfc) in vmxnet3_set_rss_hash_opt()
/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c848 static u8 hclgevf_get_rss_hash_bits(struct ethtool_rxnfc *nfc) in hclgevf_get_rss_hash_bits()
874 struct ethtool_rxnfc *nfc) in hclgevf_set_rss_tuple()
955 struct ethtool_rxnfc *nfc) in hclgevf_get_rss_tuple()
/drivers/net/ethernet/intel/fm10k/
Dfm10k_ethtool.c748 struct ethtool_rxnfc *nfc) in fm10k_set_rss_hash_opt()
/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c936 struct ethtool_rxnfc *nfc) in nfp_net_set_rss_hash_opt()
/drivers/net/ethernet/intel/igc/
Digc_ethtool.c1080 struct ethtool_rxnfc *nfc) in igc_ethtool_set_rss_hash_opt()
/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c3410 struct ethtool_rxnfc *nfc, in i40e_get_rss_hash_bits()
3462 static int i40e_set_rss_hash_opt(struct i40e_pf *pf, struct ethtool_rxnfc *nfc) in i40e_set_rss_hash_opt()
/drivers/net/ethernet/sun/
Dniu.c7056 static int niu_get_hash_opts(struct niu *np, struct ethtool_rxnfc *nfc) in niu_get_hash_opts()
7151 struct ethtool_rxnfc *nfc) in niu_get_ethtool_tcam_entry()
7230 struct ethtool_rxnfc *nfc, in niu_get_ethtool_tcam_all()
7292 static int niu_set_hash_opts(struct niu *np, struct ethtool_rxnfc *nfc) in niu_set_hash_opts()
7410 struct ethtool_rxnfc *nfc) in niu_add_ethtool_tcam_entry()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c2929 struct ethtool_rxnfc *nfc) in ixgbe_set_rss_hash_opt()

12