Searched refs:fbn (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_netdev.c | 13 int __fbnic_open(struct fbnic_net *fbn) in __fbnic_open() argument 15 struct fbnic_dev *fbd = fbn->fbd; in __fbnic_open() 18 err = fbnic_alloc_napi_vectors(fbn); in __fbnic_open() 22 err = fbnic_alloc_resources(fbn); in __fbnic_open() 26 err = fbnic_set_netif_queues(fbn); in __fbnic_open() 39 err = fbnic_time_start(fbn); in __fbnic_open() 53 fbnic_rss_reinit(fbd, fbn); in __fbnic_open() 55 phylink_resume(fbn->phylink); in __fbnic_open() 59 fbnic_time_stop(fbn); in __fbnic_open() 61 fbnic_fw_xmit_ownership_msg(fbn->fbd, false); in __fbnic_open() [all …]
|
| H A D | fbnic_txrx.c | 75 static __maybe_unused u64 fbnic_ts40_to_ns(struct fbnic_net *fbn, u64 ts40) in fbnic_ts40_to_ns() argument 84 s = u64_stats_fetch_begin(&fbn->time_seq); in fbnic_ts40_to_ns() 85 offset = READ_ONCE(fbn->time_offset); in fbnic_ts40_to_ns() 86 } while (u64_stats_fetch_retry(&fbn->time_seq, s)); in fbnic_ts40_to_ns() 88 high = READ_ONCE(fbn->time_high); in fbnic_ts40_to_ns() 179 struct fbnic_net *fbn; in fbnic_tx_tstamp() local 184 fbn = netdev_priv(skb->dev); in fbnic_tx_tstamp() 185 if (fbn->hwtstamp_config.tx_type == HWTSTAMP_TX_OFF) in fbnic_tx_tstamp() 457 struct fbnic_net *fbn = netdev_priv(dev); in fbnic_xmit_frame() local 460 return fbnic_xmit_frame_ring(skb, fbn->tx[q_map]); in fbnic_xmit_frame() [all …]
|
| H A D | fbnic_ethtool.c | 132 struct fbnic_net *fbn = netdev_priv(netdev); in fbnic_get_drvinfo() local 133 struct fbnic_dev *fbd = fbn->fbd; in fbnic_get_drvinfo() 141 struct fbnic_net *fbn = netdev_priv(netdev); in fbnic_get_regs_len() local 143 return fbnic_csr_regs_len(fbn->fbd) * sizeof(u32); in fbnic_get_regs_len() 149 struct fbnic_net *fbn = netdev_priv(netdev); in fbnic_get_regs() local 151 fbnic_csr_get_regs(fbn->fbd, data, ®s->version); in fbnic_get_regs() 181 static void fbnic_aggregate_vector_counters(struct fbnic_net *fbn, in fbnic_aggregate_vector_counters() argument 187 fbnic_aggregate_ring_tx_counters(fbn, &nv->qt[i].sub0); in fbnic_aggregate_vector_counters() 188 fbnic_aggregate_ring_xdp_counters(fbn, &nv->qt[i].sub1); in fbnic_aggregate_vector_counters() 189 fbnic_aggregate_ring_tx_counters(fbn, &nv->qt[i].cmpl); in fbnic_aggregate_vector_counters() [all …]
|
| H A D | fbnic_txrx.h | 170 void fbnic_aggregate_ring_rx_counters(struct fbnic_net *fbn, 172 void fbnic_aggregate_ring_bdq_counters(struct fbnic_net *fbn, 174 void fbnic_aggregate_ring_tx_counters(struct fbnic_net *fbn, 176 void fbnic_aggregate_ring_xdp_counters(struct fbnic_net *fbn, 179 int fbnic_alloc_napi_vectors(struct fbnic_net *fbn); 180 void fbnic_free_napi_vectors(struct fbnic_net *fbn); 181 int fbnic_alloc_resources(struct fbnic_net *fbn); 182 void fbnic_free_resources(struct fbnic_net *fbn); 183 int fbnic_set_netif_queues(struct fbnic_net *fbn); 184 void fbnic_reset_netif_queues(struct fbnic_net *fbn); [all …]
|
| H A D | fbnic_pci.c | 116 static void fbnic_service_task_start(struct fbnic_net *fbn) in fbnic_service_task_start() argument 118 struct fbnic_dev *fbd = fbn->fbd; in fbnic_service_task_start() 123 static void fbnic_service_task_stop(struct fbnic_net *fbn) in fbnic_service_task_stop() argument 125 struct fbnic_dev *fbd = fbn->fbd; in fbnic_service_task_stop() 130 void fbnic_up(struct fbnic_net *fbn) in fbnic_up() argument 132 fbnic_enable(fbn); in fbnic_up() 134 fbnic_fill(fbn); in fbnic_up() 136 fbnic_rss_reinit_hw(fbn->fbd, fbn); in fbnic_up() 138 __fbnic_set_rx_mode(fbn->fbd); in fbnic_up() 141 fbnic_napi_enable(fbn); in fbnic_up() [all …]
|
| H A D | fbnic_rpc.c | 13 void fbnic_reset_indir_tbl(struct fbnic_net *fbn) in fbnic_reset_indir_tbl() argument 15 unsigned int num_rx = fbn->num_rx_queues; in fbnic_reset_indir_tbl() 18 if (netif_is_rxfh_configured(fbn->netdev)) in fbnic_reset_indir_tbl() 22 fbn->indir_tbl[0][i] = ethtool_rxfh_indir_default(i, num_rx); in fbnic_reset_indir_tbl() 41 void fbnic_rss_init_en_mask(struct fbnic_net *fbn) in fbnic_rss_init_en_mask() argument 43 fbn->rss_flow_hash[FBNIC_TCP4_HASH_OPT] = RX_HASH_OPT_L4; in fbnic_rss_init_en_mask() 44 fbn->rss_flow_hash[FBNIC_TCP6_HASH_OPT] = RX_HASH_OPT_L4; in fbnic_rss_init_en_mask() 46 fbn->rss_flow_hash[FBNIC_UDP4_HASH_OPT] = RX_HASH_OPT_L3; in fbnic_rss_init_en_mask() 47 fbn->rss_flow_hash[FBNIC_UDP6_HASH_OPT] = RX_HASH_OPT_L3; in fbnic_rss_init_en_mask() 48 fbn->rss_flow_hash[FBNIC_IPV4_HASH_OPT] = RX_HASH_OPT_L3; in fbnic_rss_init_en_mask() [all …]
|
| /linux/drivers/s390/char/ |
| H A D | sclp_sdias.h | 35 u32 fbn; member
|
| /linux/drivers/hwmon/ |
| H A D | lm93.c | 881 static void lm93_read_block(struct i2c_client *client, u8 fbn, u8 *values) in lm93_read_block() argument 887 lm93_block_read_cmds[fbn].cmd, lm93_block_buffer); in lm93_read_block() 889 if (result == lm93_block_read_cmds[fbn].len) { in lm93_read_block() 894 lm93_block_read_cmds[fbn].cmd); in lm93_read_block() 899 if (result == lm93_block_read_cmds[fbn].len) { in lm93_read_block() 901 lm93_block_read_cmds[fbn].len); in lm93_read_block()
|