/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | vf610_nfc.c | 173 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 …]
|
H A D | mtk_nand.c | 216 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 …]
|
H A D | pl35x-nand-controller.c | 214 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 …]
|
H A D | stm32_fmc2_nand.c | 283 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 …]
|
H A D | rockchip-nand-controller.c | 226 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 …]
|
H A D | marvell_nand.c | 516 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 …]
|
H A D | arasan-nand-controller.c | 234 static int anfc_wait_for_event(struct arasan_nfc *nfc, unsigned int event) in anfc_wait_for_event() argument 252 static int anfc_wait_for_rb(struct arasan_nfc *nfc, struct nand_chip *chip, in anfc_wait_for_rb() argument 272 static void anfc_trigger_op(struct arasan_nfc *nfc, struct anfc_op *nfc_op) in anfc_trigger_op() argument 304 anfc_is_gpio_cs(struct arasan_nfc * nfc,int nfc_cs) anfc_is_gpio_cs() argument 314 anfc_assert_cs(struct arasan_nfc * nfc,unsigned int nfc_cs_idx) anfc_assert_cs() argument 338 struct arasan_nfc *nfc = to_anfc(chip->controller); anfc_select_target() local 395 struct arasan_nfc *nfc = to_anfc(chip->controller); anfc_read_page_hw_ecc() local 514 struct arasan_nfc *nfc = to_anfc(chip->controller); anfc_write_page_hw_ecc() local 599 struct arasan_nfc *nfc = to_anfc(chip->controller); anfc_parse_instructions() local 680 anfc_rw_pio_op(struct arasan_nfc * nfc,struct anfc_op * nfc_op) anfc_rw_pio_op() argument 727 struct arasan_nfc *nfc = to_anfc(chip->controller); anfc_misc_data_type_exec() local 791 struct arasan_nfc *nfc = to_anfc(chip->controller); anfc_misc_zerolen_type_exec() local 815 struct arasan_nfc *nfc = to_anfc(chip->controller); anfc_status_type_exec() local 848 struct arasan_nfc *nfc = to_anfc(chip->controller); anfc_wait_type_exec() local 978 struct arasan_nfc *nfc = to_anfc(chip->controller); anfc_setup_interface() local 1107 anfc_init_hw_ecc_controller(struct arasan_nfc * nfc,struct nand_chip * chip) anfc_init_hw_ecc_controller() argument 1199 struct arasan_nfc *nfc = to_anfc(chip->controller); anfc_attach_chip() local 1272 anfc_chip_init(struct arasan_nfc * nfc,struct device_node * np) anfc_chip_init() argument 1346 anfc_chips_cleanup(struct arasan_nfc * nfc) anfc_chips_cleanup() argument 1361 anfc_chips_init(struct arasan_nfc * nfc) anfc_chips_init() argument 1385 anfc_reset(struct arasan_nfc * nfc) anfc_reset() argument 1396 anfc_parse_cs(struct arasan_nfc * nfc) anfc_parse_cs() argument 1437 struct arasan_nfc *nfc; anfc_probe() local 1482 struct arasan_nfc *nfc = platform_get_drvdata(pdev); anfc_remove() local [all...] |
H A D | mxic_nand.c | 184 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 …]
|
H A D | meson_nand.c | 259 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 …]
|
H A D | sunxi_nand.c | 262 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 …]
|
/openbmc/linux/drivers/mtd/nand/raw/ingenic/ |
H A D | ingenic_nand_drv.c | 152 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
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | vf610_nfc.c | 199 struct vf610_nfc *nfc = mtd_to_nfc(mtd); in vf610_nfc_read() local 206 struct vf610_nfc *nfc = mtd_to_nfc(mtd); in vf610_nfc_write() local 253 struct vf610_nfc *nfc = mtd_to_nfc(mtd); in vf610_nfc_done() local 328 struct vf610_nfc *nfc = mtd_to_nfc(mtd); in vf610_nfc_addr_cycle() local 355 struct vf610_nfc *nfc = mtd_to_nfc(mtd); in vf610_nfc_command() local 448 struct vf610_nfc *nfc = mtd_to_nfc(mtd); in vf610_nfc_read_buf() local 464 struct vf610_nfc *nfc = mtd_to_nfc(mtd); in vf610_nfc_write_buf() local 478 struct vf610_nfc *nfc = mtd_to_nfc(mtd); in vf610_nfc_read_byte() local 555 struct vf610_nfc *nfc = mtd_to_nfc(mtd); in vf610_nfc_correct_data() local 615 struct vf610_nfc *nfc = mtd_to_nfc(mtd); in vf610_nfc_write_page() local [all …]
|
H A D | sunxi_nand.c | 315 static int sunxi_nfc_wait_int(struct sunxi_nfc *nfc, u32 flags, in sunxi_nfc_wait_int() 344 static int sunxi_nfc_wait_cmd_fifo_empty(struct sunxi_nfc *nfc) in sunxi_nfc_wait_cmd_fifo_empty() 360 static int sunxi_nfc_rst(struct sunxi_nfc *nfc) in sunxi_nfc_rst() 383 struct sunxi_nfc *nfc = to_sunxi_nfc(sunxi_nand->nand.controller); in sunxi_nfc_dev_ready() local 421 struct sunxi_nfc *nfc = to_sunxi_nfc(sunxi_nand->nand.controller); in sunxi_nfc_select_chip() local 466 struct sunxi_nfc *nfc = to_sunxi_nfc(sunxi_nand->nand.controller); in sunxi_nfc_read_buf() local 499 struct sunxi_nfc *nfc = to_sunxi_nfc(sunxi_nand->nand.controller); in sunxi_nfc_write_buf() local 540 struct sunxi_nfc *nfc = to_sunxi_nfc(sunxi_nand->nand.controller); in sunxi_nfc_cmd_ctrl() local 706 struct sunxi_nfc *nfc = to_sunxi_nfc(nand->controller); in sunxi_nfc_randomizer_config() local 722 struct sunxi_nfc *nfc = to_sunxi_nfc(nand->controller); in sunxi_nfc_randomizer_enable() local [all …]
|
H A D | mxc_nand_spl.c | 20 static struct mxc_nand_regs *const nfc = (void *)NFC_BASE_ADDR; variable 22 static struct mxc_nand_regs *const nfc = (void *)NFC_BASE_ADDR_AXI; variable
|
/openbmc/qemu/net/ |
H A D | filter.c | 158 NetFilterClass *nfc = NETFILTER_GET_CLASS(obj); in netfilter_set_status() local 222 NetFilterClass *nfc = NETFILTER_GET_CLASS(uc); in netfilter_complete() local 309 NetFilterClass *nfc = NETFILTER_GET_CLASS(obj); in netfilter_finalize() local 339 NetFilterClass *nfc = NETFILTER_CLASS(oc); in netfilter_class_init() local
|
H A D | filter-replay.c | 70 NetFilterClass *nfc = NETFILTER_CLASS(oc); in filter_replay_class_init() local
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3_common/ |
H A D | hclge_comm_rss.c | 150 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()
|
/openbmc/linux/drivers/net/dsa/ |
H A D | bcm_sf2_cfp.c | 1065 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()
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx31.dtsi | 343 nfc: nand@b8000000 { label
|
H A D | imx35.dtsi | 366 nfc: nand@bb000000 { label
|
H A D | imx27.dtsi | 561 nfc: nand-controller@d8000000 { label
|
H A D | imx25.dtsi | 606 nfc: nand@bb000000 { label
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_ethtool.c | 578 struct ethtool_rxnfc *nfc) in otx2_get_rss_hash_opts() 628 struct ethtool_rxnfc *nfc) in otx2_set_rss_hash_opts() 736 struct ethtool_rxnfc *nfc, u32 *rules) in otx2_get_rxnfc() 769 static int otx2_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *nfc) in otx2_set_rxnfc()
|
H A D | otx2_flows.c | 499 int otx2_get_flow(struct otx2_nic *pfvf, struct ethtool_rxnfc *nfc, in otx2_get_flow() 518 int otx2_get_all_flows(struct otx2_nic *pfvf, struct ethtool_rxnfc *nfc, in otx2_get_all_flows() 1093 int otx2_add_flow(struct otx2_nic *pfvf, struct ethtool_rxnfc *nfc) in otx2_add_flow()
|
/openbmc/linux/arch/arm/boot/dts/rockchip/ |
H A D | rk3xxx.dtsi | 249 nfc: nand-controller@10500000 { label
|