Home
last modified time | relevance | path

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

12

/linux-6.6.21/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.c216 struct mtk_nfc *nfc = nand_get_controller_data(chip); in mtk_data_ptr() local
223 struct mtk_nfc *nfc = nand_get_controller_data(chip); in mtk_oob_ptr() local
228 static inline void nfi_writel(struct mtk_nfc *nfc, u32 val, u32 reg) in nfi_writel()
233 static inline void nfi_writew(struct mtk_nfc *nfc, u16 val, u32 reg) in nfi_writew()
238 static inline void nfi_writeb(struct mtk_nfc *nfc, u8 val, u32 reg) in nfi_writeb()
243 static inline u32 nfi_readl(struct mtk_nfc *nfc, u32 reg) in nfi_readl()
248 static inline u16 nfi_readw(struct mtk_nfc *nfc, u32 reg) in nfi_readw()
253 static inline u8 nfi_readb(struct mtk_nfc *nfc, u32 reg) in nfi_readb()
258 static void mtk_nfc_hw_reset(struct mtk_nfc *nfc) in mtk_nfc_hw_reset()
280 static int mtk_nfc_send_command(struct mtk_nfc *nfc, u8 command) in mtk_nfc_send_command()
[all …]
Dpl35x-nand-controller.c214 static void pl35x_smc_update_regs(struct pl35x_nandc *nfc) in pl35x_smc_update_regs()
221 static int pl35x_smc_set_buswidth(struct pl35x_nandc *nfc, unsigned int bw) in pl35x_smc_set_buswidth()
232 static void pl35x_smc_clear_irq(struct pl35x_nandc *nfc) in pl35x_smc_clear_irq()
238 static int pl35x_smc_wait_for_irq(struct pl35x_nandc *nfc) in pl35x_smc_wait_for_irq()
256 static int pl35x_smc_wait_for_ecc_done(struct pl35x_nandc *nfc) in pl35x_smc_wait_for_ecc_done()
271 static int pl35x_smc_set_ecc_mode(struct pl35x_nandc *nfc, in pl35x_smc_set_ecc_mode()
297 struct pl35x_nandc *nfc = to_pl35x_nandc(chip->controller); in pl35x_smc_force_byte_access() local
315 struct pl35x_nandc *nfc = to_pl35x_nandc(chip->controller); in pl35x_nand_select_target() local
335 struct pl35x_nandc *nfc = to_pl35x_nandc(chip->controller); in pl35x_nand_read_data_op() local
367 struct pl35x_nandc *nfc = to_pl35x_nandc(chip->controller); in pl35x_nand_write_data_op() local
[all …]
Dstm32_fmc2_nand.c283 struct stm32_fmc2_nfc *nfc = to_stm32_nfc(chip->controller); in stm32_fmc2_nfc_timings_init() local
311 struct stm32_fmc2_nfc *nfc = to_stm32_nfc(chip->controller); in stm32_fmc2_nfc_setup() local
338 struct stm32_fmc2_nfc *nfc = to_stm32_nfc(chip->controller); in stm32_fmc2_nfc_select_chip() local
397 static void stm32_fmc2_nfc_set_buswidth_16(struct stm32_fmc2_nfc *nfc, bool set) in stm32_fmc2_nfc_set_buswidth_16()
407 static void stm32_fmc2_nfc_set_ecc(struct stm32_fmc2_nfc *nfc, bool enable) in stm32_fmc2_nfc_set_ecc()
413 static void stm32_fmc2_nfc_enable_seq_irq(struct stm32_fmc2_nfc *nfc) in stm32_fmc2_nfc_enable_seq_irq()
421 static void stm32_fmc2_nfc_disable_seq_irq(struct stm32_fmc2_nfc *nfc) in stm32_fmc2_nfc_disable_seq_irq()
428 static void stm32_fmc2_nfc_clear_seq_irq(struct stm32_fmc2_nfc *nfc) in stm32_fmc2_nfc_clear_seq_irq()
433 static void stm32_fmc2_nfc_enable_bch_irq(struct stm32_fmc2_nfc *nfc, int mode) in stm32_fmc2_nfc_enable_bch_irq()
445 static void stm32_fmc2_nfc_disable_bch_irq(struct stm32_fmc2_nfc *nfc) in stm32_fmc2_nfc_disable_bch_irq()
[all …]
Drockchip-nand-controller.c226 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_data_ptr() local
233 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_oob_ptr() local
240 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_hw_ecc_setup() local
263 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_select_chip() local
303 static inline int rk_nfc_wait_ioready(struct rk_nfc *nfc) in rk_nfc_wait_ioready()
314 static void rk_nfc_read_buf(struct rk_nfc *nfc, u8 *buf, int len) in rk_nfc_read_buf()
323 static void rk_nfc_write_buf(struct rk_nfc *nfc, const u8 *buf, int len) in rk_nfc_write_buf()
334 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_cmd() local
418 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_setup_interface() local
468 static void rk_nfc_xfer_start(struct rk_nfc *nfc, u8 rw, u8 n_KB, in rk_nfc_xfer_start()
[all …]
Dmarvell_nand.c516 static void marvell_nfc_disable_int(struct marvell_nfc *nfc, u32 int_mask) in marvell_nfc_disable_int()
525 static void marvell_nfc_enable_int(struct marvell_nfc *nfc, u32 int_mask) in marvell_nfc_enable_int()
534 static u32 marvell_nfc_clear_int(struct marvell_nfc *nfc, u32 int_mask) in marvell_nfc_clear_int()
547 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nfc_force_byte_access() local
571 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nfc_wait_ndrun() local
609 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nfc_prepare_cmd() local
643 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nfc_send_cmd() local
669 struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); in marvell_nfc_end_cmd() local
705 static int marvell_nfc_poll_status(struct marvell_nfc *nfc, u32 mask, in marvell_nfc_poll_status()
728 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.c259 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_select_chip() local
287 static void meson_nfc_cmd_idle(struct meson_nfc *nfc, u32 time) in meson_nfc_cmd_idle()
293 static void meson_nfc_cmd_seed(struct meson_nfc *nfc, u32 seed) in meson_nfc_cmd_seed()
303 struct meson_nfc *nfc = nand_get_controller_data(mtd_to_nand(mtd)); in meson_nfc_cmd_access() local
325 static void meson_nfc_drain_cmd(struct meson_nfc *nfc) in meson_nfc_drain_cmd()
342 static int meson_nfc_wait_cmd_finish(struct meson_nfc *nfc, in meson_nfc_wait_cmd_finish()
358 static int meson_nfc_wait_dma_finish(struct meson_nfc *nfc) in meson_nfc_wait_dma_finish()
427 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_wait_no_rb_pin() local
455 static int meson_nfc_wait_rb_pin(struct meson_nfc *nfc, int timeout_ms) in meson_nfc_wait_rb_pin()
486 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_queue_rb() local
[all …]
Dsunxi_nand.c262 struct sunxi_nfc *nfc = dev_id; in sunxi_nfc_interrupt() local
278 static int sunxi_nfc_wait_events(struct sunxi_nfc *nfc, u32 events, in sunxi_nfc_wait_events()
318 static int sunxi_nfc_wait_cmd_fifo_empty(struct sunxi_nfc *nfc) in sunxi_nfc_wait_cmd_fifo_empty()
332 static int sunxi_nfc_rst(struct sunxi_nfc *nfc) in sunxi_nfc_rst()
349 static int sunxi_nfc_dma_op_prepare(struct sunxi_nfc *nfc, const void *buf, in sunxi_nfc_dma_op_prepare()
406 static void sunxi_nfc_dma_op_cleanup(struct sunxi_nfc *nfc, in sunxi_nfc_dma_op_cleanup()
419 struct sunxi_nfc *nfc = to_sunxi_nfc(sunxi_nand->nand.controller); in sunxi_nfc_select_chip() local
449 struct sunxi_nfc *nfc = to_sunxi_nfc(sunxi_nand->nand.controller); in sunxi_nfc_read_buf() local
487 struct sunxi_nfc *nfc = to_sunxi_nfc(sunxi_nand->nand.controller); in sunxi_nfc_write_buf() local
625 struct sunxi_nfc *nfc = to_sunxi_nfc(nand->controller); in sunxi_nfc_randomizer_config() local
[all …]
/linux-6.6.21/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
262 struct ingenic_nfc *nfc = to_ingenic_nfc(chip->controller); in ingenic_nand_exec_instr() local
316 struct ingenic_nfc *nfc = to_ingenic_nfc(nand->chip.controller); in ingenic_nand_exec_op() local
345 struct ingenic_nfc *nfc, in ingenic_nand_init_chip()
432 static void ingenic_nand_cleanup_chips(struct ingenic_nfc *nfc) in ingenic_nand_cleanup_chips()
449 static int ingenic_nand_init_chips(struct ingenic_nfc *nfc, in ingenic_nand_init_chips()
482 struct ingenic_nfc *nfc; in ingenic_nand_probe() local
526 struct ingenic_nfc *nfc = platform_get_drvdata(pdev); in ingenic_nand_remove() local
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3_common/
Dhclge_comm_rss.c150 struct ethtool_rxnfc *nfc) in hclge_comm_set_rss_tuple()
412 static u8 hclge_comm_get_rss_hash_bits(struct ethtool_rxnfc *nfc) in hclge_comm_get_rss_hash_bits()
438 struct ethtool_rxnfc *nfc, in hclge_comm_init_rss_tuple_cmd()
/linux-6.6.21/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()
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ethtool.c573 struct ethtool_rxnfc *nfc) in otx2_get_rss_hash_opts()
623 struct ethtool_rxnfc *nfc) in otx2_set_rss_hash_opts()
731 struct ethtool_rxnfc *nfc, u32 *rules) in otx2_get_rxnfc()
764 static int otx2_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *nfc) in otx2_set_rxnfc()
Dotx2_flows.c489 int otx2_get_flow(struct otx2_nic *pfvf, struct ethtool_rxnfc *nfc, in otx2_get_flow()
508 int otx2_get_all_flows(struct otx2_nic *pfvf, struct ethtool_rxnfc *nfc, in otx2_get_all_flows()
1083 int otx2_add_flow(struct otx2_nic *pfvf, struct ethtool_rxnfc *nfc) in otx2_add_flow()
/linux-6.6.21/arch/arm/boot/dts/nxp/imx/
Dimx31.dtsi343 nfc: nand@b8000000 { label
Dimx35.dtsi366 nfc: nand@bb000000 { label
Dimx27.dtsi561 nfc: nand-controller@d8000000 { label
Dimx25.dtsi606 nfc: nand@bb000000 { label
Dimx51.dtsi598 nfc: nand@83fdb000 { label
/linux-6.6.21/arch/arm/boot/dts/rockchip/
Drk3xxx.dtsi249 nfc: nand-controller@10500000 { label
/linux-6.6.21/arch/arm64/boot/dts/qcom/
Dmsm8996-xiaomi-common.dtsi190 nfc: nfc@28 { label
/linux-6.6.21/arch/arm/boot/dts/nxp/vf/
Dvfxxx.dtsi689 nfc: nand@400e0000 { label
/linux-6.6.21/arch/arm/boot/dts/allwinner/
Dsun8i-a23-a33.dtsi165 nfc: nand-controller@1c03000 { label
/linux-6.6.21/drivers/net/ethernet/broadcom/
Dbcmsysport.c2167 struct ethtool_rxnfc *nfc) in bcm_sysport_rule_get()
2182 struct ethtool_rxnfc *nfc) in bcm_sysport_rule_set()
2237 struct ethtool_rxnfc *nfc, u32 *rule_locs) in bcm_sysport_get_rxnfc()
2254 struct ethtool_rxnfc *nfc) in bcm_sysport_set_rxnfc()

12