/linux/drivers/net/ethernet/meta/fbnic/ |
H A D | fbnic_fw.c | 15 static void __fbnic_mbx_wr_desc(struct fbnic_dev *fbd, int mbx_idx, in __fbnic_mbx_wr_desc() 29 static void __fbnic_mbx_invalidate_desc(struct fbnic_dev *fbd, int mbx_idx, in __fbnic_mbx_invalidate_desc() 43 static u64 __fbnic_mbx_rd_desc(struct fbnic_dev *fbd, int mbx_idx, int desc_idx) in __fbnic_mbx_rd_desc() 54 static void fbnic_mbx_reset_desc_ring(struct fbnic_dev *fbd, int mbx_idx) in fbnic_mbx_reset_desc_ring() 91 void fbnic_mbx_init(struct fbnic_dev *fbd) in fbnic_mbx_init() 112 static int fbnic_mbx_map_msg(struct fbnic_dev *fbd, int mbx_idx, in fbnic_mbx_map_msg() 149 static void fbnic_mbx_unmap_and_free_msg(struct fbnic_dev *fbd, int mbx_idx, in fbnic_mbx_unmap_and_free_msg() 167 static void fbnic_mbx_clean_desc_ring(struct fbnic_dev *fbd, int mbx_idx) in fbnic_mbx_clean_desc_ring() 177 void fbnic_mbx_clean(struct fbnic_dev *fbd) in fbnic_mbx_clean() 188 static int fbnic_mbx_alloc_rx_msgs(struct fbnic_dev *fbd) in fbnic_mbx_alloc_rx_msgs() [all …]
|
H A D | fbnic_mac.c | 11 static void fbnic_init_readrq(struct fbnic_dev *fbd, unsigned int offset, in fbnic_init_readrq() 27 static void fbnic_init_mps(struct fbnic_dev *fbd, unsigned int offset, in fbnic_init_mps() 41 static void fbnic_mac_init_axi(struct fbnic_dev *fbd) in fbnic_mac_init_axi() 84 static void fbnic_mac_init_qm(struct fbnic_dev *fbd) in fbnic_mac_init_qm() 170 static void fbnic_mac_init_rxb(struct fbnic_dev *fbd) in fbnic_mac_init_rxb() 300 static void fbnic_mac_init_txb(struct fbnic_dev *fbd) in fbnic_mac_init_txb() 392 static void fbnic_mac_init_regs(struct fbnic_dev *fbd) in fbnic_mac_init_regs() 400 static void __fbnic_mac_stat_rd64(struct fbnic_dev *fbd, bool reset, u32 reg, in __fbnic_mac_stat_rd64() 412 #define fbnic_mac_stat_rd64(fbd, reset, __stat, __CSR) \ argument 415 static void fbnic_mac_tx_pause_config(struct fbnic_dev *fbd, bool tx_pause) in fbnic_mac_tx_pause_config() [all …]
|
H A D | fbnic_irq.c | 13 struct fbnic_dev *fbd = (struct fbnic_dev *)data; in fbnic_fw_msix_intr() local 22 static int __fbnic_fw_enable_mbx(struct fbnic_dev *fbd, int vector) in __fbnic_fw_enable_mbx() 50 int fbnic_fw_request_mbx(struct fbnic_dev *fbd) in fbnic_fw_request_mbx() 85 static void fbnic_fw_disable_mbx(struct fbnic_dev *fbd) in fbnic_fw_disable_mbx() 108 void fbnic_fw_free_mbx(struct fbnic_dev *fbd) in fbnic_fw_free_mbx() 123 struct fbnic_dev *fbd = data; in fbnic_pcs_msix_intr() local 148 int fbnic_pcs_request_irq(struct fbnic_dev *fbd) in fbnic_pcs_request_irq() 183 void fbnic_pcs_free_irq(struct fbnic_dev *fbd) in fbnic_pcs_free_irq() 205 void fbnic_synchronize_irq(struct fbnic_dev *fbd, int nr) in fbnic_synchronize_irq() 216 int fbnic_request_irq(struct fbnic_dev *fbd, int nr, irq_handler_t handler, in fbnic_request_irq() [all …]
|
H A D | fbnic_rpc.c | 53 void fbnic_rss_disable_hw(struct fbnic_dev *fbd) in fbnic_rss_disable_hw() 78 void fbnic_rss_reinit_hw(struct fbnic_dev *fbd, struct fbnic_net *fbn) in fbnic_rss_reinit_hw() 103 void fbnic_bmc_rpc_all_multi_config(struct fbnic_dev *fbd, in fbnic_bmc_rpc_all_multi_config() 177 void fbnic_bmc_rpc_init(struct fbnic_dev *fbd) in fbnic_bmc_rpc_init() 255 void fbnic_rss_reinit(struct fbnic_dev *fbd, struct fbnic_net *fbn) in fbnic_rss_reinit() 359 struct fbnic_mac_addr *__fbnic_uc_sync(struct fbnic_dev *fbd, in __fbnic_uc_sync() 390 struct fbnic_mac_addr *__fbnic_mc_sync(struct fbnic_dev *fbd, in __fbnic_mc_sync() 455 void fbnic_sift_macda(struct fbnic_dev *fbd) in fbnic_sift_macda() 497 static void fbnic_clear_macda_entry(struct fbnic_dev *fbd, unsigned int idx) in fbnic_clear_macda_entry() 506 static void fbnic_clear_macda(struct fbnic_dev *fbd) in fbnic_clear_macda() [all …]
|
H A D | fbnic_pci.c | 37 u32 fbnic_rd32(struct fbnic_dev *fbd, u32 reg) in fbnic_rd32() 70 bool fbnic_fw_present(struct fbnic_dev *fbd) in fbnic_fw_present() 75 void fbnic_fw_wr32(struct fbnic_dev *fbd, u32 reg, u32 val) in fbnic_fw_wr32() 83 u32 fbnic_fw_rd32(struct fbnic_dev *fbd, u32 reg) in fbnic_fw_rd32() 118 struct fbnic_dev *fbd = fbn->fbd; in fbnic_service_task_start() local 126 struct fbnic_dev *fbd = fbn->fbd; in fbnic_service_task_stop() local 172 static void fbnic_health_check(struct fbnic_dev *fbd) in fbnic_health_check() 198 struct fbnic_dev *fbd = container_of(to_delayed_work(work), in fbnic_service_task() local 233 struct fbnic_dev *fbd; in fbnic_probe() local 354 struct fbnic_dev *fbd = pci_get_drvdata(pdev); in fbnic_remove() local [all …]
|
H A D | fbnic_debugfs.c | 23 struct fbnic_dev *fbd = s->private; in fbnic_dbg_mac_addr_show() local 49 struct fbnic_dev *fbd = s->private; in fbnic_dbg_tce_tcam_show() local 83 struct fbnic_dev *fbd = s->private; in fbnic_dbg_act_tcam_show() local 143 struct fbnic_dev *fbd = s->private; in fbnic_dbg_ip_src_show() local 151 struct fbnic_dev *fbd = s->private; in fbnic_dbg_ip_dst_show() local 159 struct fbnic_dev *fbd = s->private; in fbnic_dbg_ipo_src_show() local 167 struct fbnic_dev *fbd = s->private; in fbnic_dbg_ipo_dst_show() local 175 struct fbnic_dev *fbd = s->private; in fbnic_dbg_pcie_stats_show() local 203 void fbnic_dbg_fbd_init(struct fbnic_dev *fbd) in fbnic_dbg_fbd_init() 227 void fbnic_dbg_fbd_exit(struct fbnic_dev *fbd) in fbnic_dbg_fbd_exit()
|
H A D | fbnic_netdev.c | 15 struct fbnic_dev *fbd = fbn->fbd; in __fbnic_open() local 119 struct fbnic_dev *fbd = fbn->fbd; in fbnic_uc_unsync() local 160 struct fbnic_dev *fbd = fbn->fbd; in fbnic_mc_unsync() local 184 struct fbnic_dev *fbd = fbn->fbd; in __fbnic_set_rx_mode() local 301 struct fbnic_dev *fbd = fbn->fbd; in fbnic_clear_rx_mode() local 410 struct fbnic_dev *fbd = fbn->fbd; in fbnic_get_stats64() local 525 struct fbnic_dev *fbd = fbn->fbd; in fbnic_get_queue_stats_rx() local 621 struct fbnic_dev *fbd = fbn->fbd; in fbnic_reset_queues() local 642 void fbnic_netdev_free(struct fbnic_dev *fbd) in fbnic_netdev_free() 662 struct net_device *fbnic_netdev_alloc(struct fbnic_dev *fbd) in fbnic_netdev_alloc() [all …]
|
H A D | fbnic_phylink.c | 22 struct fbnic_dev *fbd = fbn->fbd; in fbnic_phylink_pcs_get_state() local 52 struct fbnic_dev *fbd = fbn->fbd; in fbnic_phylink_pcs_enable() local 61 struct fbnic_dev *fbd = fbn->fbd; in fbnic_phylink_pcs_disable() local 104 struct fbnic_dev *fbd = fbn->fbd; in fbnic_phylink_mac_link_down() local 119 struct fbnic_dev *fbd = fbn->fbd; in fbnic_phylink_mac_link_up() local
|
H A D | fbnic_hwmon.c | 34 struct fbnic_dev *fbd = dev_get_drvdata(dev); in fbnic_hwmon_read() local 58 void fbnic_hwmon_register(struct fbnic_dev *fbd) in fbnic_hwmon_register() 74 void fbnic_hwmon_unregister(struct fbnic_dev *fbd) in fbnic_hwmon_unregister()
|
H A D | fbnic.h | 101 static inline bool fbnic_present(struct fbnic_dev *fbd) in fbnic_present() 106 static inline void fbnic_wr32(struct fbnic_dev *fbd, u32 reg, u32 val) in fbnic_wr32() 116 static inline void fbnic_wrfl(struct fbnic_dev *fbd) in fbnic_wrfl() 122 fbnic_rmw32(struct fbnic_dev *fbd, u32 reg, u32 mask, u32 val) in fbnic_rmw32() 144 static inline bool fbnic_bmc_present(struct fbnic_dev *fbd) in fbnic_bmc_present() 149 static inline bool fbnic_init_failure(struct fbnic_dev *fbd) in fbnic_init_failure()
|
H A D | fbnic_csr.c | 60 static void fbnic_csr_get_regs_rpc_ram(struct fbnic_dev *fbd, u32 **data_p) in fbnic_csr_get_regs_rpc_ram() 115 void fbnic_csr_get_regs(struct fbnic_dev *fbd, u32 *data, u32 *regs_version) in fbnic_csr_get_regs() 138 int fbnic_csr_regs_len(struct fbnic_dev *fbd) in fbnic_csr_regs_len()
|
H A D | fbnic_txrx.c | 1165 struct fbnic_dev *fbd = nv->fbd; in fbnic_nv_irq_disable() local 1173 struct fbnic_dev *fbd = nv->fbd; in fbnic_nv_irq_rearm() local 1275 struct fbnic_dev *fbd = nv->fbd; in fbnic_free_napi_vector() local 1355 static int fbnic_alloc_napi_vector(struct fbnic_dev *fbd, struct fbnic_net *fbn, in fbnic_alloc_napi_vector() 1481 struct fbnic_dev *fbd = fbn->fbd; in fbnic_alloc_napi_vectors() local 1908 struct fbnic_dev *fbd = fbn->fbd; in fbnic_disable() local 1934 static void fbnic_tx_flush(struct fbnic_dev *fbd) in fbnic_tx_flush() 1942 static void fbnic_tx_flush_off(struct fbnic_dev *fbd) in fbnic_tx_flush_off() 1952 static bool fbnic_all_idle(struct fbnic_dev *fbd, in fbnic_all_idle() 1967 static void fbnic_idle_dump(struct fbnic_dev *fbd, in fbnic_idle_dump() [all …]
|
H A D | fbnic_netdev.h | 27 struct fbnic_dev *fbd; member
|
H A D | fbnic_txrx.h | 135 struct fbnic_dev *fbd; member
|
/linux/drivers/media/i2c/ |
H A D | tc358743_regs.h | 86 #define SET_PLL_FBD(fbd) (((fbd) - 1) & MASK_PLL_FBD) argument
|