| /linux/drivers/scsi/libfc/ |
| H A D | fc_fcp.c | 80 static void fc_fcp_complete_locked(struct fc_fcp_pkt *fsp) 81 __must_hold(&fsp->scsi_pkt_lock); 135 struct fc_fcp_pkt *fsp; in fc_fcp_pkt_alloc() 137 fsp = mempool_alloc(si->scsi_pkt_pool, gfp); in fc_fcp_pkt_alloc() 138 if (fsp) { in fc_fcp_pkt_alloc() 139 memset(fsp, 0, sizeof(*fsp)); in fc_fcp_pkt_alloc() 140 fsp->lp = lport; in fc_fcp_pkt_alloc() 141 fsp->xfer_ddp = FC_XID_UNKNOWN; in fc_fcp_pkt_alloc() 142 refcount_set(&fsp in fc_fcp_pkt_alloc() 134 struct fc_fcp_pkt *fsp; fc_fcp_pkt_alloc() local 158 fc_fcp_pkt_release(struct fc_fcp_pkt * fsp) fc_fcp_pkt_release() argument 171 fc_fcp_pkt_hold(struct fc_fcp_pkt * fsp) fc_fcp_pkt_hold() argument 187 fc_fcp_pkt_destroy(struct fc_seq * seq,void * fsp) fc_fcp_pkt_destroy() argument 209 fc_fcp_lock_pkt(struct fc_fcp_pkt * fsp) fc_fcp_lock_pkt() argument 226 fc_fcp_unlock_pkt(struct fc_fcp_pkt * fsp) fc_fcp_unlock_pkt() argument 237 fc_fcp_timer_set(struct fc_fcp_pkt * fsp,unsigned long delay) fc_fcp_timer_set() argument 245 fc_fcp_abort_done(struct fc_fcp_pkt * fsp) fc_fcp_abort_done() argument 261 fc_fcp_send_abort(struct fc_fcp_pkt * fsp) fc_fcp_send_abort() argument 298 fc_fcp_retry_cmd(struct fc_fcp_pkt * fsp,int status_code) fc_fcp_retry_cmd() argument 316 fc_fcp_ddp_setup(struct fc_fcp_pkt * fsp,u16 xid) fc_fcp_ddp_setup() argument 334 fc_fcp_ddp_done(struct fc_fcp_pkt * fsp) fc_fcp_ddp_done() argument 457 get_fsp_rec_tov(struct fc_fcp_pkt * fsp) get_fsp_rec_tov() argument 472 fc_fcp_recv_data(struct fc_fcp_pkt * fsp,struct fc_frame * fp) fc_fcp_recv_data() argument 589 fc_fcp_send_data(struct fc_fcp_pkt * fsp,struct fc_seq * seq,size_t offset,size_t seq_blen) fc_fcp_send_data() argument 736 fc_fcp_abts_resp(struct fc_fcp_pkt * fsp,struct fc_frame * fp) fc_fcp_abts_resp() argument 775 struct fc_fcp_pkt *fsp = (struct fc_fcp_pkt *)arg; fc_fcp_recv() local 848 fc_fcp_resp(struct fc_fcp_pkt * fsp,struct fc_frame * fp) fc_fcp_resp() argument 978 fc_fcp_complete_locked(struct fc_fcp_pkt * fsp) fc_fcp_complete_locked() argument 1041 fc_fcp_cleanup_cmd(struct fc_fcp_pkt * fsp,int error) fc_fcp_cleanup_cmd() argument 1063 struct fc_fcp_pkt *fsp; fc_fcp_cleanup_each_cmd() local 1129 fc_fcp_pkt_send(struct fc_lport * lport,struct fc_fcp_pkt * fsp) fc_fcp_pkt_send() argument 1162 fc_fcp_cmd_send(struct fc_lport * lport,struct fc_fcp_pkt * fsp,void (* resp)(struct fc_seq *,struct fc_frame * fp,void * arg)) fc_fcp_cmd_send() argument 1215 fc_fcp_error(struct fc_fcp_pkt * fsp,struct fc_frame * fp) fc_fcp_error() argument 1244 fc_fcp_pkt_abort(struct fc_fcp_pkt * fsp) fc_fcp_pkt_abort() argument 1286 struct fc_fcp_pkt *fsp = timer_container_of(fsp, t, timer); fc_lun_reset_send() local 1308 fc_lun_reset(struct fc_lport * lport,struct fc_fcp_pkt * fsp,unsigned int id,unsigned int lun) fc_lun_reset() argument 1364 struct fc_fcp_pkt *fsp = arg; fc_tm_done() local 1419 struct fc_fcp_pkt *fsp = timer_container_of(fsp, t, timer); fc_fcp_timeout() local 1455 fc_fcp_rec(struct fc_fcp_pkt * fsp) fc_fcp_rec() argument 1506 struct fc_fcp_pkt *fsp = (struct fc_fcp_pkt *)arg; fc_fcp_rec_resp() local 1648 fc_fcp_rec_error(struct fc_fcp_pkt * fsp,struct fc_frame * fp) fc_fcp_rec_error() argument 1692 fc_fcp_recovery(struct fc_fcp_pkt * fsp,u8 code) fc_fcp_recovery() argument 1714 fc_fcp_srr(struct fc_fcp_pkt * fsp,enum fc_rctl r_ctl,u32 offset) fc_fcp_srr() argument 1770 struct fc_fcp_pkt *fsp = arg; fc_fcp_srr_resp() local 1815 fc_fcp_srr_error(struct fc_fcp_pkt * fsp,struct fc_frame * fp) fc_fcp_srr_error() argument 1862 struct fc_fcp_pkt *fsp; fc_queuecommand() local 1952 fc_io_compl(struct fc_fcp_pkt * fsp) fc_io_compl() argument 2099 struct fc_fcp_pkt *fsp; fc_eh_abort() local 2153 struct fc_fcp_pkt *fsp; fc_eh_device_reset() local [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 | 2190 struct fc_fcp_pkt *fsp = NULL; in fc_exch_seq_send() 2216 fsp = fr_fsp(fp); in fc_exch_seq_send() 2232 if (fsp) in fc_exch_seq_send() 2233 fc_fcp_ddp_done(fsp); in fc_exch_seq_send() 2186 struct fc_fcp_pkt *fsp = NULL; fc_exch_seq_send() local
|
| /linux/drivers/net/ethernet/google/gve/ |
| H A D | gve_flow_rule.c | 11 int gve_fill_ethtool_flow_spec(struct ethtool_rx_flow_spec *fsp, in gve_fill_ethtool_flow_spec() argument 31 fsp->flow_type = flow_type_lut[be16_to_cpu(flow_rule->flow_type)]; in gve_fill_ethtool_flow_spec() 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 in gve_fill_ethtool_flow_spec() 106 gve_generate_flow_rule(struct gve_priv * priv,struct ethtool_rx_flow_spec * fsp,struct gve_adminq_flow_rule * rule) gve_generate_flow_rule() argument 199 struct ethtool_rx_flow_spec *fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; gve_get_flow_rule_entry() local 265 struct ethtool_rx_flow_spec *fsp = &cmd->fs; gve_add_flow_rule() local 292 struct ethtool_rx_flow_spec *fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; gve_del_flow_rule() local [all...] |
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/fsp/ |
| H A D | base.c | 8 nvkm_fsp_boot_gsp_fmc(struct nvkm_fsp *fsp, u64 args_addr, u32 rsvd_size, bool resume, in nvkm_fsp_boot_gsp_fmc() argument 11 return fsp->func->cot.boot_gsp_fmc(fsp, args_addr, rsvd_size, resume, in nvkm_fsp_boot_gsp_fmc() 16 nvkm_fsp_verify_gsp_fmc(struct nvkm_fsp *fsp, u32 hash_size, u32 pkey_size, u32 sig_size) in nvkm_fsp_verify_gsp_fmc() argument 18 return hash_size == fsp->func->cot.size_hash && in nvkm_fsp_verify_gsp_fmc() 19 pkey_size == fsp->func->cot.size_pkey && in nvkm_fsp_verify_gsp_fmc() 20 sig_size == fsp->func->cot.size_sig; in nvkm_fsp_verify_gsp_fmc() 26 struct nvkm_fsp *fsp = nvkm_fsp(subdev); in nvkm_fsp_preinit() local 28 return fsp->func->wait_secure_boot(fsp); in nvkm_fsp_preinit() 34 struct nvkm_fsp *fsp = nvkm_fsp(subdev); in nvkm_fsp_dtor() local 36 nvkm_falcon_dtor(&fsp->falcon); in nvkm_fsp_dtor() [all …]
|
| /linux/drivers/net/ethernet/intel/iavf/ |
| H A D | iavf_ethtool.c | 845 * @fsp: pointer to ethtool Rx flow specification 851 iavf_parse_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in iavf_parse_rx_flow_user_data() argument 857 if (!(fsp->flow_type & FLOW_EXT)) in iavf_parse_rx_flow_user_data() 865 u32 value = be32_to_cpu(fsp->h_ext.data[i]); in iavf_parse_rx_flow_user_data() 866 u32 mask = be32_to_cpu(fsp->m_ext.data[i]); in iavf_parse_rx_flow_user_data() 892 * @fsp: pointer to ethtool Rx flow specification 896 iavf_fill_rx_flow_ext_data(struct ethtool_rx_flow_spec *fsp, in iavf_fill_rx_flow_ext_data() argument 902 fsp->flow_type |= FLOW_EXT; in iavf_fill_rx_flow_ext_data() 904 memcpy(fsp->h_ext.data, fltr->ext_data.usr_def, sizeof(fsp in iavf_fill_rx_flow_ext_data() 919 struct ethtool_rx_flow_spec *fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; iavf_get_ethtool_fdir_entry() local 1099 iavf_add_fdir_fltr_info(struct iavf_adapter * adapter,struct ethtool_rx_flow_spec * fsp,struct iavf_fdir_fltr * fltr) iavf_add_fdir_fltr_info() argument 1255 struct ethtool_rx_flow_spec *fsp = &cmd->fs; iavf_add_fdir_ethtool() local 1298 struct ethtool_rx_flow_spec *fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; iavf_del_fdir_ethtool() local [all...] |
| /linux/drivers/net/ethernet/engleder/ |
| H A D | tsnep_rxnfc.c | 97 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in tsnep_rxnfc_get_rule() local 104 rule = tsnep_get_rule(adapter, fsp->location); in tsnep_rxnfc_get_rule() 111 fsp->flow_type = ETHER_FLOW; in tsnep_rxnfc_get_rule() 112 fsp->ring_cookie = rule->queue_index; in tsnep_rxnfc_get_rule() 115 fsp->h_u.ether_spec.h_proto = htons(rule->filter.ether_type); in tsnep_rxnfc_get_rule() 116 fsp->m_u.ether_spec.h_proto = ETHER_TYPE_FULL_MASK; in tsnep_rxnfc_get_rule() 172 const struct ethtool_rx_flow_spec *fsp) in tsnep_rxnfc_init_rule() argument 176 rule->queue_index = fsp->ring_cookie; in tsnep_rxnfc_init_rule() 177 rule->location = fsp->location; in tsnep_rxnfc_init_rule() 180 rule->filter.ether_type = ntohs(fsp->h_u.ether_spec.h_proto); in tsnep_rxnfc_init_rule() [all …]
|
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_ethtool.c | 676 struct ethtool_rx_flow_spec *fsp; in fbnic_get_cls_rule() 681 fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in fbnic_get_cls_rule() 683 if (fsp->location >= FBNIC_RPC_ACT_TBL_NFC_ENTRIES) in fbnic_get_cls_rule() 686 idx = fsp->location + FBNIC_RPC_ACT_TBL_NFC_OFFSET; in fbnic_get_cls_rule() 697 fsp->flow_type = ETHER_FLOW; in fbnic_get_cls_rule() 706 ether_addr_copy(fsp->h_u.ether_spec.h_dest, in fbnic_get_cls_rule() 708 eth_broadcast_addr(fsp->m_u.ether_spec.h_dest); in fbnic_get_cls_rule() 712 fsp->flow_type = IPV6_USER_FLOW; in fbnic_get_cls_rule() 713 fsp->h_u.usr_ip6_spec.l4_proto = IPPROTO_IPV6; in fbnic_get_cls_rule() 714 fsp in fbnic_get_cls_rule() 664 struct ethtool_rx_flow_spec *fsp; fbnic_get_cls_rule() local 913 struct ethtool_rx_flow_spec *fsp; fbnic_set_cls_rule_ins() local 1252 struct ethtool_rx_flow_spec *fsp; fbnic_set_cls_rule_del() local [all...] |
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_flows.c | 690 static int otx2_prepare_ipv4_flow(struct ethtool_rx_flow_spec *fsp, in otx2_get_all_flows() 694 struct ethtool_usrip4_spec *ipv4_usr_mask = &fsp->m_u.usr_ip4_spec; in otx2_get_all_flows() 695 struct ethtool_usrip4_spec *ipv4_usr_hdr = &fsp->h_u.usr_ip4_spec; in otx2_get_all_flows() 696 struct ethtool_tcpip4_spec *ipv4_l4_mask = &fsp->m_u.tcp_ip4_spec; in otx2_get_all_flows() 697 struct ethtool_tcpip4_spec *ipv4_l4_hdr = &fsp->h_u.tcp_ip4_spec; 698 struct ethtool_ah_espip4_spec *ah_esp_hdr = &fsp->h_u.ah_ip4_spec; in otx2_prepare_ipv4_flow() argument 699 struct ethtool_ah_espip4_spec *ah_esp_mask = &fsp->m_u.ah_ip4_spec; in otx2_prepare_ipv4_flow() 849 static int otx2_prepare_ipv6_flow(struct ethtool_rx_flow_spec *fsp, in otx2_prepare_ipv4_flow() 853 struct ethtool_usrip6_spec *ipv6_usr_mask = &fsp->m_u.usr_ip6_spec; in otx2_prepare_ipv4_flow() 854 struct ethtool_usrip6_spec *ipv6_usr_hdr = &fsp in otx2_prepare_ipv4_flow() 857 otx2_prepare_ipv6_flow(struct ethtool_rx_flow_spec * fsp,struct npc_install_flow_req * req,u32 flow_type) otx2_prepare_ipv6_flow() argument 983 otx2_prepare_flow_request(struct ethtool_rx_flow_spec * fsp,struct npc_install_flow_req * req) otx2_prepare_flow_request() argument 1163 otx2_is_flow_rule_dmacfilter(struct otx2_nic * pfvf,struct ethtool_rx_flow_spec * fsp) otx2_is_flow_rule_dmacfilter() argument 1352 struct ethtool_rx_flow_spec *fsp = &nfc->fs; otx2_add_flow() local [all...] |
| /linux/drivers/net/ethernet/intel/igc/ |
| H A D | igc_ethtool.c | 965 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in igc_ethtool_get_nfc_rule() 972 rule = igc_get_nfc_rule(adapter, fsp->location); in igc_ethtool_get_nfc_rule() 976 fsp->flow_type = ETHER_FLOW; in igc_ethtool_get_nfc_rule() 977 fsp->ring_cookie = rule->action; in igc_ethtool_get_nfc_rule() 980 fsp->h_u.ether_spec.h_proto = htons(rule->filter.etype); in igc_ethtool_get_nfc_rule() 981 fsp->m_u.ether_spec.h_proto = ETHER_TYPE_FULL_MASK; in igc_ethtool_get_nfc_rule() 985 fsp->flow_type |= FLOW_EXT; in igc_ethtool_get_nfc_rule() 986 fsp->h_ext.vlan_etype = htons(rule->filter.vlan_etype); in igc_ethtool_get_nfc_rule() 987 fsp->m_ext.vlan_etype = ETHER_TYPE_FULL_MASK; in igc_ethtool_get_nfc_rule() 991 fsp in igc_ethtool_get_nfc_rule() 966 struct ethtool_rx_flow_spec *fsp = &cmd->fs; igc_ethtool_get_nfc_rule() local 1226 igc_ethtool_init_nfc_rule(struct igc_nfc_rule * rule,const struct ethtool_rx_flow_spec * fsp) igc_ethtool_init_nfc_rule() argument 1353 struct ethtool_rx_flow_spec *fsp = igc_ethtool_add_nfc_rule() local 1430 struct ethtool_rx_flow_spec *fsp = igc_ethtool_del_nfc_rule() local [all...] |
| /linux/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_ethtool.c | 96 struct ethtool_rx_flow_spec *fsp) in idpf_fsteer_fill_ipv4() argument 103 iph->saddr = fsp->h_u.tcp_ip4_spec.ip4src; in idpf_fsteer_fill_ipv4() 104 iph->daddr = fsp->h_u.tcp_ip4_spec.ip4dst; in idpf_fsteer_fill_ipv4() 107 iph->saddr = fsp->m_u.tcp_ip4_spec.ip4src; in idpf_fsteer_fill_ipv4() 108 iph->daddr = fsp->m_u.tcp_ip4_spec.ip4dst; in idpf_fsteer_fill_ipv4() 112 struct ethtool_rx_flow_spec *fsp, in idpf_fsteer_fill_udp() argument 123 udph->source = fsp->h_u.udp_ip4_spec.psrc; in idpf_fsteer_fill_udp() 124 udph->dest = fsp->h_u.udp_ip4_spec.pdst; in idpf_fsteer_fill_udp() 125 udpm->source = fsp->m_u.udp_ip4_spec.psrc; in idpf_fsteer_fill_udp() 126 udpm->dest = fsp->m_u.udp_ip4_spec.pdst; in idpf_fsteer_fill_udp() [all …]
|
| H A D | idpf_virtchnl.h | 42 struct ethtool_rx_flow_spec *fsp);
|
| H A D | idpf_virtchnl.c | 3756 * @fsp: flow spec 3758 * Return: true if sideband filters are allowed for @fsp, false otherwise 3761 struct ethtool_rx_flow_spec *fsp) 3770 if (fsp->ring_cookie == RX_CLS_FLOW_DISC || in idpf_mac_filter_async_handler() 3771 fsp->ring_cookie == RX_CLS_FLOW_WAKE) in idpf_mac_filter_async_handler() 3703 idpf_sideband_action_ena(struct idpf_vport * vport,struct ethtool_rx_flow_spec * fsp) idpf_sideband_action_ena() argument
|
| /linux/tools/perf/util/ |
| H A D | probe-finder.c | 671 struct find_scope_param *fsp = data; in find_best_scope_cb() 676 if (fsp->file) { in find_best_scope_cb() 678 if (!file || strcmp(fsp->file, file) != 0) in find_best_scope_cb() 682 if (fsp->function) { in find_inner_scope_cb() 683 if (die_match_name(fn_die, fsp->function)) { in find_inner_scope_cb() 684 memcpy(fsp->die_mem, fn_die, sizeof(Dwarf_Die)); in find_inner_scope_cb() local 685 fsp->found = true; in find_inner_scope_cb() 690 if (dwarf_decl_line(fn_die, &lno) == 0 && lno < fsp->line && 691 fsp->diff > fsp 651 struct find_scope_param *fsp = data; find_best_scope_cb() local 694 struct find_scope_param fsp = { find_best_scope() local [all...] |
| /linux/drivers/net/ethernet/qlogic/qede/ |
| H A D | qede_filter.c | 1317 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in qede_get_cls_rule_entry() local 1331 fsp->location); in qede_get_cls_rule_entry() 1334 fsp->location); in qede_get_cls_rule_entry() 1341 fsp->flow_type = TCP_V4_FLOW; in qede_get_cls_rule_entry() 1343 fsp->flow_type = UDP_V4_FLOW; in qede_get_cls_rule_entry() 1345 fsp->h_u.tcp_ip4_spec.psrc = fltr->tuple.src_port; in qede_get_cls_rule_entry() 1346 fsp->h_u.tcp_ip4_spec.pdst = fltr->tuple.dst_port; in qede_get_cls_rule_entry() 1347 fsp->h_u.tcp_ip4_spec.ip4src = fltr->tuple.src_ipv4; in qede_get_cls_rule_entry() 1348 fsp->h_u.tcp_ip4_spec.ip4dst = fltr->tuple.dst_ipv4; in qede_get_cls_rule_entry() 1351 fsp in qede_get_cls_rule_entry() 2040 struct ethtool_rx_flow_spec *fsp = &info->fs; qede_add_cls_rule() local [all...] |
| /linux/drivers/net/ethernet/intel/igb/ |
| H A D | igb_ethtool.c | 2429 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in igb_get_ethtool_nfc_entry() 2436 if (fsp->location <= rule->sw_idx) in igb_get_ethtool_nfc_entry() 2440 if (!rule || fsp->location != rule->sw_idx) in igb_get_ethtool_nfc_entry() 2444 fsp->flow_type = ETHER_FLOW; in igb_get_ethtool_nfc_entry() 2445 fsp->ring_cookie = rule->action; in igb_get_ethtool_nfc_entry() 2447 fsp->h_u.ether_spec.h_proto = rule->filter.etype; in igb_get_ethtool_nfc_entry() 2448 fsp->m_u.ether_spec.h_proto = ETHER_TYPE_FULL_MASK; in igb_get_ethtool_nfc_entry() 2451 fsp->flow_type |= FLOW_EXT; in igb_get_ethtool_nfc_entry() 2452 fsp->h_ext.vlan_tci = rule->filter.vlan_tci; in igb_get_ethtool_nfc_entry() 2453 fsp in igb_get_ethtool_nfc_entry() 2430 struct ethtool_rx_flow_spec *fsp = &cmd->fs; igb_get_ethtool_nfc_entry() local 2896 struct ethtool_rx_flow_spec *fsp = igb_add_ethtool_nfc_entry() local 2992 struct ethtool_rx_flow_spec *fsp = igb_del_ethtool_nfc_entry() local [all...] |
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ |
| H A D | gh100.c | 105 ret = nvkm_fsp_boot_gsp_fmc(device->fsp, gsp->fmc.args.addr, rsvd_size, resume, in gh100_gsp_init() 267 struct nvkm_fsp *fsp = device->fsp; in gh100_gsp_oneinit() local 290 if (!nvkm_fsp_verify_gsp_fmc(fsp, hash_len, pkey_len, sig_len)) in gh100_gsp_oneinit()
|
| /linux/drivers/net/ethernet/sun/ |
| H A D | niu.c | 7115 struct ethtool_rx_flow_spec *fsp) in niu_get_ip4fs_from_tcam_key() argument 7121 fsp->h_u.tcp_ip4_spec.ip4src = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key() 7124 fsp->h_u.tcp_ip4_spec.ip4dst = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key() 7127 fsp->m_u.tcp_ip4_spec.ip4src = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key() 7130 fsp->m_u.tcp_ip4_spec.ip4dst = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key() 7132 fsp->h_u.tcp_ip4_spec.tos = (tp->key[2] & TCAM_V4KEY2_TOS) >> in niu_get_ip4fs_from_tcam_key() 7134 fsp->m_u.tcp_ip4_spec.tos = (tp->key_mask[2] & TCAM_V4KEY2_TOS) >> in niu_get_ip4fs_from_tcam_key() 7137 switch (fsp->flow_type) { in niu_get_ip4fs_from_tcam_key() 7143 fsp->h_u.tcp_ip4_spec.psrc = cpu_to_be16(prt); in niu_get_ip4fs_from_tcam_key() 7147 fsp in niu_get_ip4fs_from_tcam_key() 7195 struct ethtool_rx_flow_spec *fsp = &nfc->fs; niu_get_ethtool_tcam_entry() local 7385 niu_get_tcamkey_from_ip4fs(struct ethtool_rx_flow_spec * fsp,struct niu_tcam_entry * tp,int l2_rdc_tab,u64 class) niu_get_tcamkey_from_ip4fs() argument 7458 struct ethtool_rx_flow_spec *fsp = &nfc->fs; niu_add_ethtool_tcam_entry() local [all...] |
| /linux/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/drivers/net/ethernet/mediatek/ |
| H A D | mtk_eth_soc.c | 3093 struct ethtool_rx_flow_spec *fsp = in mtk_hwlro_add_ipaddr() 3099 if ((fsp->flow_type != TCP_V4_FLOW) || in mtk_hwlro_add_ipaddr() 3100 (!fsp->h_u.tcp_ip4_spec.ip4dst) || in mtk_hwlro_add_ipaddr() 3101 (fsp->location > 1)) in mtk_hwlro_add_ipaddr() 3104 mac->hwlro_ip[fsp->location] = htonl(fsp->h_u.tcp_ip4_spec.ip4dst); in mtk_hwlro_add_ipaddr() 3105 hwlro_idx = (mac->id * MTK_MAX_LRO_IP_CNT) + fsp->location; in mtk_hwlro_add_ipaddr() 3109 mtk_hwlro_val_ipaddr(eth, hwlro_idx, mac->hwlro_ip[fsp->location]); in mtk_hwlro_add_ipaddr() 3117 struct ethtool_rx_flow_spec *fsp = in mtk_hwlro_del_ipaddr() 3123 if (fsp in mtk_hwlro_del_ipaddr() 3094 struct ethtool_rx_flow_spec *fsp = mtk_hwlro_add_ipaddr() local 3118 struct ethtool_rx_flow_spec *fsp = mtk_hwlro_del_ipaddr() local 3157 struct ethtool_rx_flow_spec *fsp = mtk_hwlro_get_fdir_entry() local [all...] |
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
| H A D | base.c | 2692 .fsp = { 0x00000001, gh100_fsp_new }, 2812 .fsp = { 0x00000001, gb100_fsp_new }, 2827 .fsp = { 0x00000001, gb100_fsp_new }, 2842 .fsp = { 0x00000001, gb202_fsp_new }, 2858 .fsp = { 0x00000001, gb202_fsp_new }, 2874 .fsp = { 0x00000001, gb202_fsp_new }, 2890 .fsp = { 0x00000001, gb202_fsp_new }, 2906 .fsp = { 0x00000001, gb202_fsp_new },
|
| /linux/drivers/scsi/ |
| H A D | scsi_debug.c | 4310 u8 *fsp; in dif_verify() 4335 fsp = sip->storep; in dif_copy_prot() 4364 fsp + (block * sdebug_sector_size), 4402 u8 *fsp = sip->storep; in prot_verify_read() 4408 res = !memcmp(fsp + (block * lb_size), arr, (num - rest) * lb_size); in resp_read_tape() 4412 res = !memcmp(fsp, arr + ((num - rest) * lb_size), in resp_read_tape() 4419 memcpy(fsp + (block * lb_size), arr, (num - rest) * lb_size); in resp_read_tape() 4421 memcpy(fsp, arr + ((num - rest) * lb_size), rest * lb_size); in resp_read_tape() 4967 u8 *fsp = sip->storep; in resp_write_dt0() 4977 memset(fsp in resp_write_dt0() 4184 u8 *fsp; do_device_access() local 4257 u8 *fsp = sip->storep; comp_write_worker() local 4779 u8 *fsp = sip->storep; unmap_region() local 5206 u8 *fsp; resp_write_same() local 5623 u8 *fsp = sip->storep; resp_pre_fetch() local [all...] |