| /linux-6.15/drivers/scsi/libfc/ |
| H A D | fc_fcp.c | 138 memset(fsp, 0, sizeof(*fsp)); in fc_fcp_pkt_alloc() 567 fsp->xfer_len == fsp->data_len - fsp->scsi_resid) { in fc_fcp_recv_data() 997 fsp->xfer_len < fsp->data_len && !fsp->io_status && in fc_fcp_complete_locked() 999 fsp->xfer_len < fsp->data_len - fsp->scsi_resid)) { in fc_fcp_complete_locked() 1001 fsp->xfer_len, fsp->data_len); in fc_fcp_complete_locked() 1135 libfc_priv(fsp->cmd)->fsp = fsp; in fc_fcp_pkt_send() 1140 memcpy(fsp->cdb_cmd.fc_cdb, fsp->cmd->cmnd, fsp->cmd->cmd_len); in fc_fcp_pkt_send() 1148 libfc_priv(fsp->cmd)->fsp = NULL; in fc_fcp_pkt_send() 1658 fsp, fsp->rport->port_id); in fc_fcp_rec_error() 1674 fsp, fsp->rport->port_id, fsp->recov_retry, in fc_fcp_rec_error() [all …]
|
| H A D | fc_libfc.h | 98 void fc_fcp_ddp_setup(struct fc_fcp_pkt *fsp, u16 xid); 99 void fc_fcp_ddp_done(struct fc_fcp_pkt *fsp);
|
| H A D | fc_exch.c | 2186 struct fc_fcp_pkt *fsp = NULL; in fc_exch_seq_send() local 2210 fsp = fr_fsp(fp); in fc_exch_seq_send() 2226 if (fsp) in fc_exch_seq_send() 2227 fc_fcp_ddp_done(fsp); in fc_exch_seq_send()
|
| /linux-6.15/drivers/net/ethernet/google/gve/ |
| H A D | gve_flow_rule.c | 33 memset(&fsp->h_u, 0, sizeof(fsp->h_u)); in gve_fill_ethtool_flow_spec() 34 memset(&fsp->h_ext, 0, sizeof(fsp->h_ext)); in gve_fill_ethtool_flow_spec() 35 memset(&fsp->m_u, 0, sizeof(fsp->m_u)); in gve_fill_ethtool_flow_spec() 36 memset(&fsp->m_ext, 0, sizeof(fsp->m_ext)); in gve_fill_ethtool_flow_spec() 38 switch (fsp->flow_type) { in gve_fill_ethtool_flow_spec() 123 if (fsp->ring_cookie == RX_CLS_FLOW_DISC) in gve_generate_flow_rule() 129 rule->action = cpu_to_be16(fsp->ring_cookie); in gve_generate_flow_rule() 154 rule->key.spi = fsp->h_u.ah_ip4_spec.spi; in gve_generate_flow_rule() 157 rule->mask.spi = fsp->m_u.ah_ip4_spec.spi; in gve_generate_flow_rule() 181 rule->key.spi = fsp->h_u.ah_ip6_spec.spi; in gve_generate_flow_rule() [all …]
|
| /linux-6.15/drivers/net/ethernet/aquantia/atlantic/ |
| H A D | aq_filters.c | 11 if (fsp->flow_type & FLOW_MAC_EXT) in aq_rule_is_approve() 14 switch (fsp->flow_type & ~FLOW_EXT) { in aq_rule_is_approve() 26 switch (fsp->h_u.usr_ip4_spec.proto) { in aq_rule_is_approve() 186 struct ethtool_rx_flow_spec *fsp) in aq_check_filter() argument 191 if (fsp->flow_type & FLOW_EXT) { in aq_check_filter() 249 (fsp->h_u.tcp_ip4_spec.tos || in aq_rule_is_not_support() 275 fsp->location); in aq_rule_is_not_correct() 319 data->queue = fsp->ring_cookie; in aq_set_data_fl2() 493 switch (fsp->flow_type) { in aq_set_data_fl3l4() 697 memcpy(&aq_rx_fltr->aq_fsp, fsp, sizeof(*fsp)); in aq_add_rxnfc_rule() [all …]
|
| /linux-6.15/drivers/net/ethernet/intel/iavf/ |
| H A D | iavf_ethtool.c | 859 if (!(fsp->flow_type & FLOW_EXT)) in iavf_parse_rx_flow_user_data() 904 fsp->flow_type |= FLOW_EXT; in iavf_fill_rx_flow_ext_data() 906 memcpy(fsp->h_ext.data, fltr->ext_data.usr_def, sizeof(fsp->h_ext.data)); in iavf_fill_rx_flow_ext_data() 907 memcpy(fsp->m_ext.data, fltr->ext_mask.usr_def, sizeof(fsp->m_ext.data)); in iavf_fill_rx_flow_ext_data() 938 memset(&fsp->m_u, 0, sizeof(fsp->m_u)); in iavf_get_ethtool_fdir_entry() 939 memset(&fsp->m_ext, 0, sizeof(fsp->m_ext)); in iavf_get_ethtool_fdir_entry() 941 switch (fsp->flow_type) { in iavf_get_ethtool_fdir_entry() 1044 fsp->ring_cookie = rule->q_index; in iavf_get_ethtool_fdir_entry() 1111 q_index = fsp->ring_cookie; in iavf_add_fdir_fltr_info() 1119 fltr->loc = fsp->location; in iavf_add_fdir_fltr_info() [all …]
|
| /linux-6.15/drivers/net/ethernet/intel/ice/ |
| H A D | ice_ethtool_fdir.c | 122 struct ethtool_rx_flow_spec *fsp; in ice_get_ethtool_fdir_entry() local 140 memset(&fsp->m_u, 0, sizeof(fsp->m_u)); in ice_get_ethtool_fdir_entry() 141 memset(&fsp->m_ext, 0, sizeof(fsp->m_ext)); in ice_get_ethtool_fdir_entry() 143 switch (fsp->flow_type) { in ice_get_ethtool_fdir_entry() 145 fsp->h_u.ether_spec = rule->eth; in ice_get_ethtool_fdir_entry() 1214 if (fsp->m_ext.vlan_etype && !eth_type_vlan(fsp->h_ext.vlan_etype)) in ice_fdir_vlan_valid() 1217 if (fsp->m_ext.vlan_tci && ntohs(fsp->h_ext.vlan_tci) >= VLAN_N_VID) in ice_fdir_vlan_valid() 1221 if (fsp->m_u.ether_spec.h_proto && fsp->m_ext.vlan_tci && in ice_fdir_vlan_valid() 1222 !fsp->m_ext.vlan_etype) { in ice_fdir_vlan_valid() 1391 if (!ret && (fsp->m_ext.vlan_etype || fsp->m_ext.vlan_tci)) { in ice_cfg_fdir_xtrct_seq() [all …]
|
| /linux-6.15/drivers/net/ethernet/wangxun/txgbe/ |
| H A D | txgbe_ethtool.c | 86 struct ethtool_rx_flow_spec *fsp = in txgbe_get_ethtool_fdir_entry() local 107 fsp->flow_type = TCP_V4_FLOW; in txgbe_get_ethtool_fdir_entry() 110 fsp->flow_type = UDP_V4_FLOW; in txgbe_get_ethtool_fdir_entry() 113 fsp->flow_type = SCTP_V4_FLOW; in txgbe_get_ethtool_fdir_entry() 116 fsp->flow_type = IP_USER_FLOW; in txgbe_get_ethtool_fdir_entry() 118 fsp->h_u.usr_ip4_spec.proto = 0; in txgbe_get_ethtool_fdir_entry() 119 fsp->m_u.usr_ip4_spec.proto = 0; in txgbe_get_ethtool_fdir_entry() 137 fsp->flow_type |= FLOW_EXT; in txgbe_get_ethtool_fdir_entry() 143 fsp->ring_cookie = rule->action; in txgbe_get_ethtool_fdir_entry() 366 input->sw_idx = fsp->location; in txgbe_add_ethtool_fdir_entry() [all …]
|
| /linux-6.15/drivers/net/ethernet/engleder/ |
| H A D | tsnep_rxnfc.c | 111 fsp->flow_type = ETHER_FLOW; in tsnep_rxnfc_get_rule() 112 fsp->ring_cookie = rule->queue_index; in tsnep_rxnfc_get_rule() 176 rule->queue_index = fsp->ring_cookie; in tsnep_rxnfc_init_rule() 177 rule->location = fsp->location; in tsnep_rxnfc_init_rule() 205 struct ethtool_rx_flow_spec *fsp = in tsnep_rxnfc_add_rule() local 211 if (fsp->flow_type != ETHER_FLOW || in tsnep_rxnfc_add_rule() 220 if (fsp->ring_cookie > in tsnep_rxnfc_add_rule() 227 if (fsp->location != RX_CLS_LOC_ANY && in tsnep_rxnfc_add_rule() 244 fsp->location = retval; in tsnep_rxnfc_add_rule() 247 tsnep_rxnfc_init_rule(rule, fsp); in tsnep_rxnfc_add_rule() [all …]
|
| /linux-6.15/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_ethtool.c | 438 fsp->flow_type = ETHER_FLOW; in fbnic_get_cls_rule() 497 fsp->h_u.tcp_ip6_spec.psrc = in fbnic_get_cls_rule() 499 fsp->m_u.tcp_ip6_spec.psrc = in fbnic_get_cls_rule() 501 fsp->h_u.tcp_ip6_spec.pdst = in fbnic_get_cls_rule() 503 fsp->m_u.tcp_ip6_spec.pdst = in fbnic_get_cls_rule() 549 fsp->h_u.tcp_ip4_spec.psrc = in fbnic_get_cls_rule() 551 fsp->m_u.tcp_ip4_spec.psrc = in fbnic_get_cls_rule() 553 fsp->h_u.tcp_ip4_spec.pdst = in fbnic_get_cls_rule() 555 fsp->m_u.tcp_ip4_spec.pdst = in fbnic_get_cls_rule() 598 fsp->flow_type |= FLOW_RSS; in fbnic_get_cls_rule() [all …]
|
| /linux-6.15/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_flows.c | 876 if (fsp->flow_type & FLOW_EXT) { in otx2_prepare_flow_request() 879 if (fsp->m_ext.vlan_etype) { in otx2_prepare_flow_request() 909 if (fsp->m_ext.vlan_tci) { in otx2_prepare_flow_request() 917 if (fsp->m_ext.data[1]) { in otx2_prepare_flow_request() 925 } else if (fsp->h_ext.data[1] == in otx2_prepare_flow_request() 935 if (fsp->flow_type & FLOW_MAC_EXT && in otx2_prepare_flow_request() 953 u64 ring_cookie = fsp->ring_cookie; in otx2_is_flow_rule_dmacfilter() 1137 flow->location = fsp->location; in otx2_add_flow() 1142 flow->flow_spec = *fsp; in otx2_add_flow() 1144 if (fsp->flow_type & FLOW_RSS) in otx2_add_flow() [all …]
|
| /linux-6.15/drivers/net/ethernet/intel/igc/ |
| H A D | igc_ethtool.c | 974 fsp->flow_type = ETHER_FLOW; in igc_ethtool_get_nfc_rule() 983 fsp->flow_type |= FLOW_EXT; in igc_ethtool_get_nfc_rule() 989 fsp->flow_type |= FLOW_EXT; in igc_ethtool_get_nfc_rule() 1008 memcpy(fsp->h_ext.data, rule->filter.user_data, sizeof(fsp->h_ext.data)); in igc_ethtool_get_nfc_rule() 1009 memcpy(fsp->m_ext.data, rule->filter.user_mask, sizeof(fsp->m_ext.data)); in igc_ethtool_get_nfc_rule() 1224 if ((fsp->flow_type & FLOW_EXT) && fsp->m_ext.vlan_tci) { in igc_ethtool_init_nfc_rule() 1251 if ((fsp->flow_type & FLOW_EXT) && fsp->h_ext.vlan_etype) { in igc_ethtool_init_nfc_rule() 1258 (fsp->h_ext.data[0] || fsp->h_ext.data[1])) { in igc_ethtool_init_nfc_rule() 1260 memcpy(rule->filter.user_data, fsp->h_ext.data, sizeof(fsp->h_ext.data)); in igc_ethtool_init_nfc_rule() 1261 memcpy(rule->filter.user_mask, fsp->m_ext.data, sizeof(fsp->m_ext.data)); in igc_ethtool_init_nfc_rule() [all …]
|
| /linux-6.15/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_ethtool.c | 3265 if (!(fsp->flow_type & FLOW_EXT)) in i40e_parse_rx_flow_user_data() 3308 fsp->flow_type |= FLOW_EXT; in i40e_fill_rx_flow_user_data() 3381 fsp->flow_type = rule->flow_type; in i40e_get_ethtool_fdir_entry() 3489 fsp->flow_type |= FLOW_EXT; in i40e_get_ethtool_fdir_entry() 3502 fsp->ring_cookie |= ring_vf; in i40e_get_ethtool_fdir_entry() 4532 if (fsp->flow_type & FLOW_EXT) { in i40e_check_fdir_input_set() 4537 fsp->h_ext.vlan_etype != 0) in i40e_check_fdir_input_set() 4640 i40e_flow_str(fsp)); in i40e_check_fdir_input_set() 4667 i40e_flow_str(fsp), in i40e_check_fdir_input_set() 4875 input->fd_id = fsp->location; in i40e_add_fdir_ethtool() [all …]
|
| /linux-6.15/drivers/net/ethernet/cisco/enic/ |
| H A D | enic_ethtool.c | 496 struct ethtool_rx_flow_spec *fsp = in enic_grxclsrule() local 500 n = htbl_fltr_search(enic, (u16)fsp->location); in enic_grxclsrule() 505 fsp->flow_type = TCP_V4_FLOW; in enic_grxclsrule() 508 fsp->flow_type = UDP_V4_FLOW; in enic_grxclsrule() 515 fsp->m_u.tcp_ip4_spec.ip4src = (__u32)~0; in enic_grxclsrule() 518 fsp->m_u.tcp_ip4_spec.ip4dst = (__u32)~0; in enic_grxclsrule() 520 fsp->h_u.tcp_ip4_spec.psrc = n->keys.ports.src; in enic_grxclsrule() 521 fsp->m_u.tcp_ip4_spec.psrc = (__u16)~0; in enic_grxclsrule() 523 fsp->h_u.tcp_ip4_spec.pdst = n->keys.ports.dst; in enic_grxclsrule() 524 fsp->m_u.tcp_ip4_spec.pdst = (__u16)~0; in enic_grxclsrule() [all …]
|
| /linux-6.15/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_ethtool.c | 2564 fsp->flow_type = TCP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry() 2567 fsp->flow_type = UDP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry() 2570 fsp->flow_type = SCTP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry() 2573 fsp->flow_type = IP_USER_FLOW; in ixgbe_get_ethtool_fdir_entry() 2575 fsp->h_u.usr_ip4_spec.proto = 0; in ixgbe_get_ethtool_fdir_entry() 2576 fsp->m_u.usr_ip4_spec.proto = 0; in ixgbe_get_ethtool_fdir_entry() 2596 fsp->flow_type |= FLOW_EXT; in ixgbe_get_ethtool_fdir_entry() 2602 fsp->ring_cookie = rule->action; in ixgbe_get_ethtool_fdir_entry() 2862 input->sw_idx = fsp->location; in ixgbe_add_ethtool_fdir_entry() 2887 if (fsp->flow_type & FLOW_EXT) { in ixgbe_add_ethtool_fdir_entry() [all …]
|
| /linux-6.15/tools/perf/util/ |
| H A D | probe-finder.c | 656 if (fsp->file) { in find_best_scope_cb() 662 if (fsp->function) { in find_best_scope_cb() 665 fsp->found = true; in find_best_scope_cb() 671 if (lno < fsp->line && fsp->diff > fsp->line - lno) { in find_best_scope_cb() 673 fsp->diff = fsp->line - lno; in find_best_scope_cb() 675 fsp->found = true; in find_best_scope_cb() 687 fsp->found = true; in find_inner_scope_cb() 694 struct find_scope_param fsp = { in find_best_scope() local 705 &fsp); in find_best_scope() 706 if (!ret && !fsp.found) in find_best_scope() [all …]
|
| /linux-6.15/drivers/net/ethernet/qlogic/qede/ |
| H A D | qede_filter.c | 1334 fsp->location); in qede_get_cls_rule_entry() 1337 fsp->location); in qede_get_cls_rule_entry() 1344 fsp->flow_type = TCP_V4_FLOW; in qede_get_cls_rule_entry() 1346 fsp->flow_type = UDP_V4_FLOW; in qede_get_cls_rule_entry() 1354 fsp->flow_type = TCP_V6_FLOW; in qede_get_cls_rule_entry() 1356 fsp->flow_type = UDP_V6_FLOW; in qede_get_cls_rule_entry() 1359 memcpy(&fsp->h_u.tcp_ip6_spec.ip6src, in qede_get_cls_rule_entry() 1361 memcpy(&fsp->h_u.tcp_ip6_spec.ip6dst, in qede_get_cls_rule_entry() 1365 fsp->ring_cookie = fltr->rxq_id; in qede_get_cls_rule_entry() 1373 fsp->ring_cookie = RX_CLS_FLOW_DISC; in qede_get_cls_rule_entry() [all …]
|
| /linux-6.15/drivers/net/ethernet/intel/igb/ |
| H A D | igb_ethtool.c | 2440 if (fsp->location <= rule->sw_idx) in igb_get_ethtool_nfc_entry() 2448 fsp->flow_type = ETHER_FLOW; in igb_get_ethtool_nfc_entry() 2449 fsp->ring_cookie = rule->action; in igb_get_ethtool_nfc_entry() 2455 fsp->flow_type |= FLOW_EXT; in igb_get_ethtool_nfc_entry() 2895 struct ethtool_rx_flow_spec *fsp = in igb_add_ethtool_nfc_entry() local 2934 fsp->h_u.ether_spec.h_source); in igb_add_ethtool_nfc_entry() 2941 fsp->h_u.ether_spec.h_dest); in igb_add_ethtool_nfc_entry() 2944 if ((fsp->flow_type & FLOW_EXT) && fsp->m_ext.vlan_tci) { in igb_add_ethtool_nfc_entry() 2953 input->action = fsp->ring_cookie; in igb_add_ethtool_nfc_entry() 2954 input->sw_idx = fsp->location; in igb_add_ethtool_nfc_entry() [all …]
|
| /linux-6.15/include/scsi/ |
| H A D | libfc.h | 364 struct fc_fcp_pkt *fsp; member 899 static inline bool fc_fcp_is_read(const struct fc_fcp_pkt *fsp) in fc_fcp_is_read() argument 901 if (fsp && fsp->cmd) in fc_fcp_is_read() 902 return fsp->cmd->sc_data_direction == DMA_FROM_DEVICE; in fc_fcp_is_read()
|
| /linux-6.15/drivers/net/ethernet/sun/ |
| H A D | niu.c | 7121 switch (fsp->flow_type) { in niu_get_ip4fs_from_tcam_key() 7160 fsp->h_u.usr_ip4_spec.proto = in niu_get_ip4fs_from_tcam_key() 7163 fsp->m_u.usr_ip4_spec.proto = in niu_get_ip4fs_from_tcam_key() 7203 if (fsp->flow_type == AH_V4_FLOW || fsp->flow_type == AH_V6_FLOW) { in niu_get_ethtool_tcam_entry() 7207 if (fsp->flow_type == AH_V4_FLOW) in niu_get_ethtool_tcam_entry() 7208 fsp->flow_type = ESP_V4_FLOW; in niu_get_ethtool_tcam_entry() 7210 fsp->flow_type = ESP_V6_FLOW; in niu_get_ethtool_tcam_entry() 7214 switch (fsp->flow_type) { in niu_get_ethtool_tcam_entry() 7393 switch (fsp->flow_type) { in niu_get_tcamkey_from_ip4fs() 7528 switch (fsp->flow_type) { in niu_add_ethtool_tcam_entry() [all …]
|
| /linux-6.15/drivers/infiniband/hw/cxgb4/ |
| H A D | restrack.c | 139 struct t4_swsqe *fsp = NULL, *lsp = NULL; in c4iw_fill_res_qp_entry() local 162 fsp = &first_sqe; in c4iw_fill_res_qp_entry() 176 if (fill_swsqes(msg, &wq.sq, first_sq_idx, fsp, last_sq_idx, lsp)) in c4iw_fill_res_qp_entry()
|
| /linux-6.15/drivers/net/ethernet/mediatek/ |
| H A D | mtk_eth_soc.c | 2983 (fsp->location > 1)) in mtk_hwlro_add_ipaddr() 2986 mac->hwlro_ip[fsp->location] = htonl(fsp->h_u.tcp_ip4_spec.ip4dst); in mtk_hwlro_add_ipaddr() 3005 if (fsp->location > 1) in mtk_hwlro_del_ipaddr() 3008 mac->hwlro_ip[fsp->location] = 0; in mtk_hwlro_del_ipaddr() 3045 fsp->flow_type = TCP_V4_FLOW; in mtk_hwlro_get_fdir_entry() 3046 fsp->h_u.tcp_ip4_spec.ip4dst = ntohl(mac->hwlro_ip[fsp->location]); in mtk_hwlro_get_fdir_entry() 3047 fsp->m_u.tcp_ip4_spec.ip4dst = 0; in mtk_hwlro_get_fdir_entry() 3049 fsp->h_u.tcp_ip4_spec.ip4src = 0; in mtk_hwlro_get_fdir_entry() 3051 fsp->h_u.tcp_ip4_spec.psrc = 0; in mtk_hwlro_get_fdir_entry() 3053 fsp->h_u.tcp_ip4_spec.pdst = 0; in mtk_hwlro_get_fdir_entry() [all …]
|
| /linux-6.15/drivers/hwmon/pmbus/ |
| H A D | Makefile | 15 obj-$(CONFIG_SENSORS_FSP_3Y) += fsp-3y.o
|
| /linux-6.15/Documentation/hwmon/ |
| H A D | index.rst | 78 fsp-3y
|
| /linux-6.15/drivers/scsi/ |
| H A D | scsi_debug.c | 4146 u8 *fsp; in do_device_access() local 4171 fsp = sip->storep; in do_device_access() 4181 fsp + (block * sdebug_sector_size), in do_device_access() 4219 u8 *fsp = sip->storep; in comp_write_worker() local 4744 u8 *fsp = sip->storep; in unmap_region() local 4754 memset(fsp + lba * sdebug_sector_size, in unmap_region() 5168 u8 *fsp; in resp_write_same() local 5187 fsp = sip->storep; in resp_write_same() 5188 fs1p = fsp + (block * lb_size); in resp_write_same() 5586 u8 *fsp = sip->storep; in resp_pre_fetch() local [all …]
|