| /linux/drivers/scsi/libfc/ |
| A D | fc_fcp.c | 142 memset(fsp, 0, sizeof(*fsp)); in fc_fcp_pkt_alloc() 572 fsp->xfer_len == fsp->data_len - fsp->scsi_resid) { in fc_fcp_recv_data() 1002 fsp->xfer_len < fsp->data_len && !fsp->io_status && in fc_fcp_complete_locked() 1004 fsp->xfer_len < fsp->data_len - fsp->scsi_resid)) { in fc_fcp_complete_locked() 1006 fsp->xfer_len, fsp->data_len); in fc_fcp_complete_locked() 1140 fsp->cmd->SCp.ptr = (char *)fsp; in fc_fcp_pkt_send() 1145 memcpy(fsp->cdb_cmd.fc_cdb, fsp->cmd->cmnd, fsp->cmd->cmd_len); in fc_fcp_pkt_send() 1663 fsp, fsp->rport->port_id); in fc_fcp_rec_error() 1669 fsp, fsp->rport->port_id, error); in fc_fcp_rec_error() 1679 fsp, fsp->rport->port_id, fsp->recov_retry, in fc_fcp_rec_error() [all …]
|
| 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);
|
| 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/drivers/net/ethernet/aquantia/atlantic/ |
| 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/drivers/net/ethernet/intel/ice/ |
| A D | ice_ethtool_fdir.c | 117 struct ethtool_rx_flow_spec *fsp; in ice_get_ethtool_fdir_entry() local 135 memset(&fsp->m_u, 0, sizeof(fsp->m_u)); in ice_get_ethtool_fdir_entry() 136 memset(&fsp->m_ext, 0, sizeof(fsp->m_ext)); in ice_get_ethtool_fdir_entry() 138 switch (fsp->flow_type) { in ice_get_ethtool_fdir_entry() 141 fsp->h_u.usr_ip4_spec.proto = 0; in ice_get_ethtool_fdir_entry() 149 fsp->m_u.usr_ip4_spec.proto = 0; in ice_get_ethtool_fdir_entry() 208 fsp->ring_cookie = rule->q_index; in ice_get_ethtool_fdir_entry() 412 if (!(fsp->flow_type & FLOW_EXT)) in ice_parse_rx_flow_user_data() 1481 if (!vsi || !fsp || !input) in ice_set_fdir_input_set() 1506 input->fltr_id = fsp->location; in ice_set_fdir_input_set() [all …]
|
| /linux/drivers/net/ethernet/intel/iavf/ |
| A D | iavf_ethtool.c | 993 if (!(fsp->flow_type & FLOW_EXT)) in iavf_parse_rx_flow_user_data() 1039 fsp->flow_type |= FLOW_EXT; in iavf_fill_rx_flow_ext_data() 1041 memcpy(fsp->h_ext.data, fltr->ext_data.usr_def, sizeof(fsp->h_ext.data)); in iavf_fill_rx_flow_ext_data() 1042 memcpy(fsp->m_ext.data, fltr->ext_mask.usr_def, sizeof(fsp->m_ext.data)); in iavf_fill_rx_flow_ext_data() 1073 memset(&fsp->m_u, 0, sizeof(fsp->m_u)); in iavf_get_ethtool_fdir_entry() 1074 memset(&fsp->m_ext, 0, sizeof(fsp->m_ext)); in iavf_get_ethtool_fdir_entry() 1076 switch (fsp->flow_type) { in iavf_get_ethtool_fdir_entry() 1179 fsp->ring_cookie = rule->q_index; in iavf_get_ethtool_fdir_entry() 1243 q_index = fsp->ring_cookie; in iavf_add_fdir_fltr_info() 1251 fltr->loc = fsp->location; in iavf_add_fdir_fltr_info() [all …]
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| A D | otx2_flows.c | 821 if (fsp->flow_type & FLOW_EXT) { in otx2_prepare_flow_request() 824 if (fsp->m_ext.vlan_etype) { in otx2_prepare_flow_request() 846 if (fsp->m_ext.vlan_tci) { in otx2_prepare_flow_request() 855 if (fsp->m_ext.data[1] && in otx2_prepare_flow_request() 860 if (fsp->flow_type & FLOW_MAC_EXT && in otx2_prepare_flow_request() 874 struct ethtool_rx_flow_spec *fsp) in otx2_is_flow_rule_dmacfilter() argument 878 u64 ring_cookie = fsp->ring_cookie; in otx2_is_flow_rule_dmacfilter() 1020 flow->location = fsp->location; in otx2_add_flow() 1025 flow->flow_spec = *fsp; in otx2_add_flow() 1027 if (fsp->flow_type & FLOW_RSS) in otx2_add_flow() [all …]
|
| /linux/drivers/net/ethernet/intel/igc/ |
| A D | igc_ethtool.c | 960 fsp->flow_type = ETHER_FLOW; in igc_ethtool_get_nfc_rule() 969 fsp->flow_type |= FLOW_EXT; in igc_ethtool_get_nfc_rule() 987 fsp->flow_type |= FLOW_EXT; in igc_ethtool_get_nfc_rule() 988 memcpy(fsp->h_ext.data, rule->filter.user_data, sizeof(fsp->h_ext.data)); in igc_ethtool_get_nfc_rule() 989 memcpy(fsp->m_ext.data, rule->filter.user_mask, sizeof(fsp->m_ext.data)); in igc_ethtool_get_nfc_rule() 1202 rule->location = fsp->location; in igc_ethtool_init_nfc_rule() 1204 if ((fsp->flow_type & FLOW_EXT) && fsp->m_ext.vlan_tci) { in igc_ethtool_init_nfc_rule() 1230 if ((fsp->flow_type & FLOW_EXT) && fsp->h_ext.vlan_etype) { in igc_ethtool_init_nfc_rule() 1237 (fsp->h_ext.data[0] || fsp->h_ext.data[1])) { in igc_ethtool_init_nfc_rule() 1239 memcpy(rule->filter.user_data, fsp->h_ext.data, sizeof(fsp->h_ext.data)); in igc_ethtool_init_nfc_rule() [all …]
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| A D | i40e_ethtool.c | 3146 if (!(fsp->flow_type & FLOW_EXT)) in i40e_parse_rx_flow_user_data() 3189 fsp->flow_type |= FLOW_EXT; in i40e_fill_rx_flow_user_data() 3261 fsp->flow_type = rule->flow_type; in i40e_get_ethtool_fdir_entry() 3369 fsp->flow_type |= FLOW_EXT; in i40e_get_ethtool_fdir_entry() 3383 fsp->ring_cookie |= ring_vf; in i40e_get_ethtool_fdir_entry() 4404 if (fsp->flow_type & FLOW_EXT) { in i40e_check_fdir_input_set() 4409 fsp->h_ext.vlan_etype != 0) in i40e_check_fdir_input_set() 4512 i40e_flow_str(fsp)); in i40e_check_fdir_input_set() 4539 i40e_flow_str(fsp), in i40e_check_fdir_input_set() 4747 input->fd_id = fsp->location; in i40e_add_fdir_ethtool() [all …]
|
| /linux/drivers/net/ethernet/cisco/enic/ |
| A D | enic_ethtool.c | 425 struct ethtool_rx_flow_spec *fsp = in enic_grxclsrule() local 429 n = htbl_fltr_search(enic, (u16)fsp->location); in enic_grxclsrule() 434 fsp->flow_type = TCP_V4_FLOW; in enic_grxclsrule() 437 fsp->flow_type = UDP_V4_FLOW; in enic_grxclsrule() 444 fsp->m_u.tcp_ip4_spec.ip4src = (__u32)~0; in enic_grxclsrule() 447 fsp->m_u.tcp_ip4_spec.ip4dst = (__u32)~0; in enic_grxclsrule() 449 fsp->h_u.tcp_ip4_spec.psrc = n->keys.ports.src; in enic_grxclsrule() 450 fsp->m_u.tcp_ip4_spec.psrc = (__u16)~0; in enic_grxclsrule() 452 fsp->h_u.tcp_ip4_spec.pdst = n->keys.ports.dst; in enic_grxclsrule() 453 fsp->m_u.tcp_ip4_spec.pdst = (__u16)~0; in enic_grxclsrule() [all …]
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| A D | ixgbe_ethtool.c | 2526 fsp->flow_type = TCP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry() 2529 fsp->flow_type = UDP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry() 2532 fsp->flow_type = SCTP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry() 2535 fsp->flow_type = IP_USER_FLOW; in ixgbe_get_ethtool_fdir_entry() 2537 fsp->h_u.usr_ip4_spec.proto = 0; in ixgbe_get_ethtool_fdir_entry() 2538 fsp->m_u.usr_ip4_spec.proto = 0; in ixgbe_get_ethtool_fdir_entry() 2558 fsp->flow_type |= FLOW_EXT; in ixgbe_get_ethtool_fdir_entry() 2564 fsp->ring_cookie = rule->action; in ixgbe_get_ethtool_fdir_entry() 2815 input->sw_idx = fsp->location; in ixgbe_add_ethtool_fdir_entry() 2840 if (fsp->flow_type & FLOW_EXT) { in ixgbe_add_ethtool_fdir_entry() [all …]
|
| /linux/tools/perf/util/ |
| A D | probe-finder.c | 765 if (fsp->file) { in find_best_scope_cb() 771 if (fsp->function) { in find_best_scope_cb() 774 fsp->found = true; in find_best_scope_cb() 780 if (lno < fsp->line && fsp->diff > fsp->line - lno) { in find_best_scope_cb() 782 fsp->diff = fsp->line - lno; in find_best_scope_cb() 784 fsp->found = true; in find_best_scope_cb() 796 fsp->found = true; in find_inner_scope_cb() 803 struct find_scope_param fsp = { in find_best_scope() local 814 &fsp); in find_best_scope() 815 if (!ret && !fsp.found) in find_best_scope() [all …]
|
| /linux/drivers/net/ethernet/qlogic/qede/ |
| 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/drivers/net/ethernet/intel/igb/ |
| A D | igb_ethtool.c | 2443 if (fsp->location <= rule->sw_idx) in igb_get_ethtool_nfc_entry() 2451 fsp->flow_type = ETHER_FLOW; in igb_get_ethtool_nfc_entry() 2452 fsp->ring_cookie = rule->action; in igb_get_ethtool_nfc_entry() 2458 fsp->flow_type |= FLOW_EXT; in igb_get_ethtool_nfc_entry() 2899 struct ethtool_rx_flow_spec *fsp = in igb_add_ethtool_nfc_entry() local 2938 fsp->h_u.ether_spec.h_source); in igb_add_ethtool_nfc_entry() 2945 fsp->h_u.ether_spec.h_dest); in igb_add_ethtool_nfc_entry() 2948 if ((fsp->flow_type & FLOW_EXT) && fsp->m_ext.vlan_tci) { in igb_add_ethtool_nfc_entry() 2957 input->action = fsp->ring_cookie; in igb_add_ethtool_nfc_entry() 2958 input->sw_idx = fsp->location; in igb_add_ethtool_nfc_entry() [all …]
|
| /linux/drivers/net/ethernet/mediatek/ |
| A D | mtk_eth_soc.c | 1929 (fsp->location > 1)) in mtk_hwlro_add_ipaddr() 1932 mac->hwlro_ip[fsp->location] = htonl(fsp->h_u.tcp_ip4_spec.ip4dst); in mtk_hwlro_add_ipaddr() 1951 if (fsp->location > 1) in mtk_hwlro_del_ipaddr() 1954 mac->hwlro_ip[fsp->location] = 0; in mtk_hwlro_del_ipaddr() 1988 fsp->flow_type = TCP_V4_FLOW; in mtk_hwlro_get_fdir_entry() 1989 fsp->h_u.tcp_ip4_spec.ip4dst = ntohl(mac->hwlro_ip[fsp->location]); in mtk_hwlro_get_fdir_entry() 1990 fsp->m_u.tcp_ip4_spec.ip4dst = 0; in mtk_hwlro_get_fdir_entry() 1992 fsp->h_u.tcp_ip4_spec.ip4src = 0; in mtk_hwlro_get_fdir_entry() 1994 fsp->h_u.tcp_ip4_spec.psrc = 0; in mtk_hwlro_get_fdir_entry() 1996 fsp->h_u.tcp_ip4_spec.pdst = 0; in mtk_hwlro_get_fdir_entry() [all …]
|
| /linux/drivers/net/ethernet/sun/ |
| A D | niu.c | 7097 switch (fsp->flow_type) { in niu_get_ip4fs_from_tcam_key() 7136 fsp->h_u.usr_ip4_spec.proto = in niu_get_ip4fs_from_tcam_key() 7139 fsp->m_u.usr_ip4_spec.proto = in niu_get_ip4fs_from_tcam_key() 7179 if (fsp->flow_type == AH_V4_FLOW || fsp->flow_type == AH_V6_FLOW) { in niu_get_ethtool_tcam_entry() 7183 if (fsp->flow_type == AH_V4_FLOW) in niu_get_ethtool_tcam_entry() 7184 fsp->flow_type = ESP_V4_FLOW; in niu_get_ethtool_tcam_entry() 7186 fsp->flow_type = ESP_V6_FLOW; in niu_get_ethtool_tcam_entry() 7190 switch (fsp->flow_type) { in niu_get_ethtool_tcam_entry() 7369 switch (fsp->flow_type) { in niu_get_tcamkey_from_ip4fs() 7504 switch (fsp->flow_type) { in niu_add_ethtool_tcam_entry() [all …]
|
| /linux/include/scsi/ |
| A D | libfc.h | 878 static inline bool fc_fcp_is_read(const struct fc_fcp_pkt *fsp) in fc_fcp_is_read() argument 880 if (fsp && fsp->cmd) in fc_fcp_is_read() 881 return fsp->cmd->sc_data_direction == DMA_FROM_DEVICE; in fc_fcp_is_read()
|
| /linux/drivers/infiniband/hw/cxgb4/ |
| 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/drivers/hwmon/pmbus/ |
| A D | Makefile | 12 obj-$(CONFIG_SENSORS_FSP_3Y) += fsp-3y.o
|
| A D | Kconfig | 77 be called fsp-3y.
|
| /linux/Documentation/hwmon/ |
| A D | index.rst | 67 fsp-3y
|
| /linux/drivers/scsi/ |
| A D | scsi_debug.c | 2915 u8 *fsp; in do_device_access() local 2928 fsp = sip->storep; in do_device_access() 2935 fsp + (block * sdebug_sector_size), in do_device_access() 2942 fsp, rest * sdebug_sector_size, in do_device_access() 2973 u8 *fsp = sip->storep; in comp_write_worker() local 3394 u8 *fsp = sip->storep; in unmap_region() local 3732 u8 *fsp; in resp_write_same() local 3749 fsp = sip->storep; in resp_write_same() 3750 fs1p = fsp + (block * lb_size); in resp_write_same() 4095 u8 *fsp = sip->storep; in resp_pre_fetch() local [all …]
|