Home
last modified time | relevance | path

Searched refs:port_res (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/ibm/ehea/
Dehea_ethtool.c234 data[i++] = port->port_res[0].swqe_refill_th; in ehea_get_ethtool_stats()
238 tmp += port->port_res[k].p_stats.poll_receive_errors; in ehea_get_ethtool_stats()
242 tmp += port->port_res[k].p_stats.err_tcp_cksum; in ehea_get_ethtool_stats()
246 tmp += port->port_res[k].p_stats.err_ip_cksum; in ehea_get_ethtool_stats()
250 tmp += port->port_res[k].p_stats.err_frame_crc; in ehea_get_ethtool_stats()
254 tmp += port->port_res[k].p_stats.queue_stopped; in ehea_get_ethtool_stats()
258 data[i++] = atomic_read(&port->port_res[k].swqe_avail); in ehea_get_ethtool_stats()
Dehea_main.c194 struct ehea_port_res *pr = &port->port_res[l]; in ehea_update_firmware_handles()
329 rx_packets += port->port_res[i].rx_packets; in ehea_get_stats64()
330 rx_bytes += port->port_res[i].rx_bytes; in ehea_get_stats64()
334 tx_packets += port->port_res[i].tx_packets; in ehea_get_stats64()
335 tx_bytes += port->port_res[i].tx_bytes; in ehea_get_stats64()
560 skb_record_rx_queue(skb, pr - &pr->port->port_res[0]); in ehea_fill_skb()
761 struct ehea_port_res *pr = &port->port_res[i]; in reset_sq_restart_flag()
774 struct ehea_port_res *pr = &port->port_res[i]; in check_sqs()
811 pr - &pr->port->port_res[0]); in ehea_proc_cqes()
938 qp = port->port_res[qp_token].qp; in ehea_qp_aff_irq_handler()
[all …]
Dehea.h432 struct ehea_port_res port_res[EHEA_MAX_PORT_RES]; member
/linux-6.6.21/drivers/usb/typec/tcpm/qcom/
Dqcom_pmic_typec.c28 struct pmic_typec_port_resources *port_res; member
232 res->port_res, regmap, base[0]); in qcom_pmic_typec_probe()
360 .port_res = &pm8150b_port_res,
/linux-6.6.21/drivers/net/ethernet/emulex/benet/
Dbe_cmds.c4436 struct be_port_resources *port_res, in be_cmd_get_profile_config() argument
4481 if (port_res) { in be_cmd_get_profile_config()
4493 port_res->nic_pfs++; in be_cmd_get_profile_config()
4497 port_res->max_vfs += le16_to_cpu(pcie->num_vfs); in be_cmd_get_profile_config()
Dbe_main.c4424 struct be_port_resources port_res = {0}; in be_calculate_pf_pool_rss_tables() local
4428 be_cmd_get_profile_config(adapter, NULL, &port_res, SAVED_PROFILE_TYPE, in be_calculate_pf_pool_rss_tables()
4431 rss_tables_on_port = MAX_PORT_RSS_TABLES - port_res.nic_pfs; in be_calculate_pf_pool_rss_tables()
4437 max_vfs * rss_tables_on_port / port_res.max_vfs; in be_calculate_pf_pool_rss_tables()
Dbe_cmds.h2497 struct be_port_resources *port_res,