Home
last modified time | relevance | path

Searched defs:nfc (Results 1 – 25 of 29) 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 …]
Dpl35x-nand-controller.c216 static void pl35x_smc_update_regs(struct pl35x_nandc *nfc) in pl35x_smc_update_regs()
223 static int pl35x_smc_set_buswidth(struct pl35x_nandc *nfc, unsigned int bw) in pl35x_smc_set_buswidth()
234 static void pl35x_smc_clear_irq(struct pl35x_nandc *nfc) in pl35x_smc_clear_irq()
240 static int pl35x_smc_wait_for_irq(struct pl35x_nandc *nfc) in pl35x_smc_wait_for_irq()
258 static int pl35x_smc_wait_for_ecc_done(struct pl35x_nandc *nfc) in pl35x_smc_wait_for_ecc_done()
273 static int pl35x_smc_set_ecc_mode(struct pl35x_nandc *nfc, in pl35x_smc_set_ecc_mode()
299 struct pl35x_nandc *nfc = to_pl35x_nandc(chip->controller); in pl35x_smc_force_byte_access() local
317 struct pl35x_nandc *nfc = to_pl35x_nandc(chip->controller); in pl35x_nand_select_target() local
337 struct pl35x_nandc *nfc = to_pl35x_nandc(chip->controller); in pl35x_nand_read_data_op() local
369 struct pl35x_nandc *nfc = to_pl35x_nandc(chip->controller); in pl35x_nand_write_data_op() local
[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 …]
Drockchip-nand-controller.c227 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_data_ptr() local
234 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_oob_ptr() local
241 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_hw_ecc_setup() local
264 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_select_chip() local
304 static inline int rk_nfc_wait_ioready(struct rk_nfc *nfc) in rk_nfc_wait_ioready()
315 static void rk_nfc_read_buf(struct rk_nfc *nfc, u8 *buf, int len) in rk_nfc_read_buf()
324 static void rk_nfc_write_buf(struct rk_nfc *nfc, const u8 *buf, int len) in rk_nfc_write_buf()
335 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_cmd() local
419 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_setup_interface() local
469 static void rk_nfc_xfer_start(struct rk_nfc *nfc, u8 rw, u8 n_KB, in rk_nfc_xfer_start()
[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.c234 static int anfc_wait_for_event(struct arasan_nfc *nfc, unsigned int event) in anfc_wait_for_event()
252 static int anfc_wait_for_rb(struct arasan_nfc *nfc, struct nand_chip *chip, in anfc_wait_for_rb()
272 static void anfc_trigger_op(struct arasan_nfc *nfc, struct anfc_op *nfc_op) in anfc_trigger_op()
304 static bool anfc_is_gpio_cs(struct arasan_nfc *nfc, int nfc_cs) in anfc_is_gpio_cs()
314 static void anfc_assert_cs(struct arasan_nfc *nfc, unsigned int nfc_cs_idx) in anfc_assert_cs()
338 struct arasan_nfc *nfc = to_anfc(chip->controller); in anfc_select_target() local
395 struct arasan_nfc *nfc = to_anfc(chip->controller); in anfc_read_page_hw_ecc() local
514 struct arasan_nfc *nfc = to_anfc(chip->controller); in anfc_write_page_hw_ecc() local
599 struct arasan_nfc *nfc = to_anfc(chip->controller); in anfc_parse_instructions() local
680 static int anfc_rw_pio_op(struct arasan_nfc *nfc, struct anfc_op *nfc_op) in anfc_rw_pio_op()
[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 …]
Dsunxi_nand.c263 struct sunxi_nfc *nfc = dev_id; in sunxi_nfc_interrupt() local
279 static int sunxi_nfc_wait_events(struct sunxi_nfc *nfc, u32 events, in sunxi_nfc_wait_events()
319 static int sunxi_nfc_wait_cmd_fifo_empty(struct sunxi_nfc *nfc) in sunxi_nfc_wait_cmd_fifo_empty()
333 static int sunxi_nfc_rst(struct sunxi_nfc *nfc) in sunxi_nfc_rst()
350 static int sunxi_nfc_dma_op_prepare(struct sunxi_nfc *nfc, const void *buf, in sunxi_nfc_dma_op_prepare()
407 static void sunxi_nfc_dma_op_cleanup(struct sunxi_nfc *nfc, in sunxi_nfc_dma_op_cleanup()
420 struct sunxi_nfc *nfc = to_sunxi_nfc(sunxi_nand->nand.controller); in sunxi_nfc_select_chip() local
450 struct sunxi_nfc *nfc = to_sunxi_nfc(sunxi_nand->nand.controller); in sunxi_nfc_read_buf() local
488 struct sunxi_nfc *nfc = to_sunxi_nfc(sunxi_nand->nand.controller); in sunxi_nfc_write_buf() local
626 struct sunxi_nfc *nfc = to_sunxi_nfc(nand->controller); in sunxi_nfc_randomizer_config() local
[all …]
/drivers/mtd/nand/raw/ingenic/
Dingenic_nand_drv.c153 struct ingenic_nfc *nfc = to_ingenic_nfc(nand->chip.controller); in ingenic_nand_ecc_calculate() local
174 struct ingenic_nfc *nfc = to_ingenic_nfc(nand->chip.controller); in ingenic_nand_ecc_correct() local
187 struct ingenic_nfc *nfc = to_ingenic_nfc(chip->controller); in ingenic_nand_attach_chip() local
263 struct ingenic_nfc *nfc = to_ingenic_nfc(chip->controller); in ingenic_nand_exec_instr() local
317 struct ingenic_nfc *nfc = to_ingenic_nfc(nand->chip.controller); in ingenic_nand_exec_op() local
346 struct ingenic_nfc *nfc, in ingenic_nand_init_chip()
433 static void ingenic_nand_cleanup_chips(struct ingenic_nfc *nfc) in ingenic_nand_cleanup_chips()
450 static int ingenic_nand_init_chips(struct ingenic_nfc *nfc, in ingenic_nand_init_chips()
483 struct ingenic_nfc *nfc; in ingenic_nand_probe() local
527 struct ingenic_nfc *nfc = platform_get_drvdata(pdev); in ingenic_nand_remove() local
/drivers/net/dsa/
Dbcm_sf2_cfp.c1065 struct ethtool_rxnfc *nfc) in bcm_sf2_cfp_rule_get()
1085 int port, struct ethtool_rxnfc *nfc, in bcm_sf2_cfp_rule_get_all()
1103 struct ethtool_rxnfc *nfc, u32 *rule_locs) in bcm_sf2_get_rxnfc()
1146 struct ethtool_rxnfc *nfc) in bcm_sf2_set_rxnfc()
/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ethtool.c490 struct ethtool_rxnfc *nfc) in otx2_get_rss_hash_opts()
540 struct ethtool_rxnfc *nfc) in otx2_set_rss_hash_opts()
648 struct ethtool_rxnfc *nfc, u32 *rules) in otx2_get_rxnfc()
681 static int otx2_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *nfc) in otx2_set_rxnfc()
Dotx2_flows.c447 int otx2_get_flow(struct otx2_nic *pfvf, struct ethtool_rxnfc *nfc, in otx2_get_flow()
466 int otx2_get_all_flows(struct otx2_nic *pfvf, struct ethtool_rxnfc *nfc, in otx2_get_all_flows()
997 int otx2_add_flow(struct otx2_nic *pfvf, struct ethtool_rxnfc *nfc) in otx2_add_flow()
/drivers/net/ethernet/broadcom/
Dbcmsysport.c2156 struct ethtool_rxnfc *nfc) in bcm_sysport_rule_get()
2171 struct ethtool_rxnfc *nfc) in bcm_sysport_rule_set()
2230 struct ethtool_rxnfc *nfc, u32 *rule_locs) in bcm_sysport_get_rxnfc()
2247 struct ethtool_rxnfc *nfc) in bcm_sysport_set_rxnfc()
/drivers/clk/imx/
Dclk-imx31.c40 dummy, ckih, ckil, mpll, spll, upll, mcu_main, hsp, ahb, nfc, ipg, enumerator
/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c875 struct ethtool_rxnfc *nfc) in mlx5e_set_rss_hash_opt()
916 struct ethtool_rxnfc *nfc) in mlx5e_get_rss_hash_opt()
/drivers/net/ethernet/intel/ice/
Dice_ethtool.c2406 static u32 ice_parse_hdrs(struct ethtool_rxnfc *nfc) in ice_parse_hdrs()
2455 static u64 ice_parse_hash_flds(struct ethtool_rxnfc *nfc) in ice_parse_hash_flds()
2521 ice_set_rss_hash_opt(struct ice_vsi *vsi, struct ethtool_rxnfc *nfc) in ice_set_rss_hash_opt()
2566 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/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c879 static u8 hclgevf_get_rss_hash_bits(struct ethtool_rxnfc *nfc) in hclgevf_get_rss_hash_bits()
905 struct ethtool_rxnfc *nfc, in hclgevf_init_rss_tuple_cmd()
959 struct ethtool_rxnfc *nfc) in hclgevf_set_rss_tuple()
1052 struct ethtool_rxnfc *nfc) in hclgevf_get_rss_tuple()
/drivers/net/vmxnet3/
Dvmxnet3_ethtool.c808 struct ethtool_rxnfc *nfc) in vmxnet3_set_rss_hash_opt()
/drivers/net/ethernet/intel/fm10k/
Dfm10k_ethtool.c753 struct ethtool_rxnfc *nfc) in fm10k_set_rss_hash_opt()
/drivers/net/ethernet/intel/igc/
Digc_ethtool.c1109 struct ethtool_rxnfc *nfc) in igc_ethtool_set_rss_hash_opt()
/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c925 struct ethtool_rxnfc *nfc) in nfp_net_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()

12