Searched refs:fbd (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_netdev.c | 15 struct fbnic_dev *fbd = fbn->fbd; in __fbnic_open() local 31 err = fbnic_fw_xmit_ownership_msg(fbd, true); in __fbnic_open() 33 dev_warn(fbd->dev, in __fbnic_open() 43 err = fbnic_fw_init_heartbeat(fbd, false); in __fbnic_open() 47 err = fbnic_mac_request_irq(fbd); in __fbnic_open() 52 fbnic_bmc_rpc_init(fbd); in __fbnic_open() 53 fbnic_rss_reinit(fbd, fbn); in __fbnic_open() 61 fbnic_fw_xmit_ownership_msg(fbn->fbd, false); in __fbnic_open() 76 fbnic_napi_name_irqs(fbn->fbd); in fbnic_open() 89 fbnic_mac_free_irq(fbn->fbd); in fbnic_stop() [all …]
|
| H A D | fbnic_debugfs.c | 320 struct fbnic_dev *fbd = nv->fbd; in fbnic_dbg_nv_init() local 327 nv->dbg_nv = debugfs_create_dir(name, fbd->dbg_fbd); in fbnic_dbg_nv_init() 335 &fbd->uc_addr0[FBNIC_QUEUE(0)]; in fbnic_dbg_nv_init() 357 &fbd->uc_addr0[FBNIC_QUEUE(0)]; in fbnic_dbg_nv_init() 382 struct fbnic_dev *fbd = s->private; in fbnic_dbg_mac_addr_show() local 393 struct fbnic_mac_addr *mac_addr = &fbd->mac_addr[i]; in fbnic_dbg_mac_addr_show() 408 struct fbnic_dev *fbd = s->private; in fbnic_dbg_tce_tcam_show() local 418 for (i = 0; i < ARRAY_SIZE(fbd->mac_addr); i++) { in fbnic_dbg_tce_tcam_show() 419 struct fbnic_mac_addr *mac_addr = &fbd->mac_addr[i]; in fbnic_dbg_tce_tcam_show() 442 struct fbnic_dev *fbd = s->private; in fbnic_dbg_act_tcam_show() local [all …]
|
| H A D | fbnic_fw_log.c | 11 void fbnic_fw_log_enable(struct fbnic_dev *fbd, bool send_hist) in fbnic_fw_log_enable() argument 15 if (!fbnic_fw_log_ready(fbd)) in fbnic_fw_log_enable() 18 if (fbd->fw_cap.running.mgmt.version < MIN_FW_VER_CODE_HIST) in fbnic_fw_log_enable() 21 err = fbnic_fw_xmit_send_logs(fbd, true, send_hist); in fbnic_fw_log_enable() 23 dev_warn(fbd->dev, "Unable to enable firmware logs: %d\n", err); in fbnic_fw_log_enable() 26 void fbnic_fw_log_disable(struct fbnic_dev *fbd) in fbnic_fw_log_disable() argument 30 err = fbnic_fw_xmit_send_logs(fbd, false, false); in fbnic_fw_log_disable() 32 dev_warn(fbd->dev, "Unable to disable firmware logs: %d\n", in fbnic_fw_log_disable() 36 int fbnic_fw_log_init(struct fbnic_dev *fbd) in fbnic_fw_log_init() argument 38 struct fbnic_fw_log *log = &fbd->fw_log; in fbnic_fw_log_init() [all …]
|
| H A D | fbnic_hwmon.c | 34 struct fbnic_dev *fbd = dev_get_drvdata(dev); in fbnic_hwmon_read() local 35 const struct fbnic_mac *mac = fbd->mac; in fbnic_hwmon_read() 39 return id < 0 ? id : mac->get_sensor(fbd, id, val); in fbnic_hwmon_read() 58 void fbnic_hwmon_register(struct fbnic_dev *fbd) in fbnic_hwmon_register() argument 63 fbd->hwmon = hwmon_device_register_with_info(fbd->dev, "fbnic", in fbnic_hwmon_register() 64 fbd, &fbnic_chip_info, in fbnic_hwmon_register() 66 if (IS_ERR(fbd->hwmon)) { in fbnic_hwmon_register() 67 dev_notice(fbd->dev, in fbnic_hwmon_register() 69 fbd->hwmon); in fbnic_hwmon_register() 70 fbd->hwmon = NULL; in fbnic_hwmon_register() [all …]
|
| H A D | fbnic_txrx.c | 1356 struct fbnic_dev *fbd = nv->fbd; in fbnic_nv_irq_disable() local 1359 fbnic_wr32(fbd, FBNIC_INTR_MASK_SET(v_idx / 32), 1 << (v_idx % 32)); in fbnic_nv_irq_disable() 1364 struct fbnic_dev *fbd = nv->fbd; in fbnic_nv_irq_rearm() local 1367 fbnic_wr32(fbd, FBNIC_INTR_CQ_REARM(v_idx), in fbnic_nv_irq_rearm() 1520 struct fbnic_dev *fbd = nv->fbd; in fbnic_free_napi_vector() local 1535 fbnic_napi_free_irq(fbd, nv); in fbnic_free_napi_vector() 1615 static int fbnic_alloc_napi_vector(struct fbnic_dev *fbd, struct fbnic_net *fbn, in fbnic_alloc_napi_vector() argument 1621 u32 __iomem *uc_addr = fbd->uc_addr0; in fbnic_alloc_napi_vector() 1652 nv->fbd = fbd; in fbnic_alloc_napi_vector() 1662 pci_irq_vector(to_pci_dev(fbd->dev), in fbnic_alloc_napi_vector() [all …]
|
| H A D | fbnic_txrx.h | 153 struct fbnic_dev *fbd; member 198 int fbnic_wait_all_queues_idle(struct fbnic_dev *fbd, bool may_fail);
|