Home
last modified time | relevance | path

Searched refs:fsp (Results 1 – 25 of 35) sorted by relevance

12

/linux/drivers/scsi/libfc/
H A Dfc_fcp.c134 struct fc_fcp_pkt *fsp; in fc_fcp_pkt_alloc() local
136 fsp = mempool_alloc(si->scsi_pkt_pool, gfp); in fc_fcp_pkt_alloc()
137 if (fsp) { in fc_fcp_pkt_alloc()
138 memset(fsp, 0, sizeof(*fsp)); in fc_fcp_pkt_alloc()
139 fsp->lp = lport; in fc_fcp_pkt_alloc()
140 fsp->xfer_ddp = FC_XID_UNKNOWN; in fc_fcp_pkt_alloc()
141 refcount_set(&fsp->ref_cnt, 1); in fc_fcp_pkt_alloc()
142 timer_setup(&fsp->timer, NULL, 0); in fc_fcp_pkt_alloc()
143 INIT_LIST_HEAD(&fsp->list); in fc_fcp_pkt_alloc()
144 spin_lock_init(&fsp->scsi_pkt_lock); in fc_fcp_pkt_alloc()
[all …]
H A Dfc_libfc.h98 void fc_fcp_ddp_setup(struct fc_fcp_pkt *fsp, u16 xid);
99 void fc_fcp_ddp_done(struct fc_fcp_pkt *fsp);
/linux/drivers/net/ethernet/google/gve/
H A Dgve_flow_rule.c11 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->m_ext)); in gve_fill_ethtool_flow_spec()
38 switch (fsp->flow_type) { in gve_fill_ethtool_flow_spec()
42 fsp->h_u.tcp_ip4_spec.ip4src = flow_rule->key.src_ip[0]; in gve_fill_ethtool_flow_spec()
43 fsp->h_u.tcp_ip4_spec.ip4dst = flow_rule->key.dst_ip[0]; in gve_fill_ethtool_flow_spec()
44 fsp->h_u.tcp_ip4_spec.psrc = flow_rule->key.src_port; in gve_fill_ethtool_flow_spec()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fsp/
H A Dbase.c8 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 …]
H A Dgh100.c69 gh100_fsp_poll(struct nvkm_fsp *fsp) in gh100_fsp_poll() argument
71 struct nvkm_device *device = fsp->subdev.device; in gh100_fsp_poll()
84 gh100_fsp_recv(struct nvkm_fsp *fsp, u8 *packet, u32 max_packet_size) in gh100_fsp_recv() argument
86 struct nvkm_device *device = fsp->subdev.device; in gh100_fsp_recv()
90 packet_size = gh100_fsp_poll(fsp); in gh100_fsp_recv()
94 ret = nvkm_falcon_pio_rd(&fsp->falcon, 0, EMEM, 0, packet, 0, packet_size); in gh100_fsp_recv()
105 gh100_fsp_wait(struct nvkm_fsp *fsp) in gh100_fsp_wait() argument
110 if (gh100_fsp_poll(fsp)) in gh100_fsp_wait()
120 gh100_fsp_send(struct nvkm_fsp *fsp, const u8 *packet, u32 packet_size) in gh100_fsp_send() argument
122 struct nvkm_device *device = fsp->subdev.device; in gh100_fsp_send()
[all …]
H A DKbuild5 nvkm-y += nvkm/subdev/fsp/base.o
6 nvkm-y += nvkm/subdev/fsp/gh100.o
7 nvkm-y += nvkm/subdev/fsp/gb100.o
8 nvkm-y += nvkm/subdev/fsp/gb202.o
H A Dgb202.c11 gb202_fsp_wait_secure_boot(struct nvkm_fsp *fsp) in gb202_fsp_wait_secure_boot() argument
13 struct nvkm_device *device = fsp->subdev.device; in gb202_fsp_wait_secure_boot()
/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_filters.c9 aq_rule_is_approve(struct ethtool_rx_flow_spec *fsp) in aq_rule_is_approve() argument
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()
36 switch (fsp->h_u.usr_ip6_spec.l4_proto) { in aq_rule_is_approve()
68 struct ethtool_rx_flow_spec *fsp) in aq_rule_already_exists() argument
76 if (rule->aq_fsp.location == fsp->location) in aq_rule_already_exists()
78 if (aq_match_filter(&rule->aq_fsp, fsp)) { in aq_rule_already_exists()
90 struct ethtool_rx_flow_spec *fsp) in aq_check_approve_fl3l4() argument
95 if (fsp->location < AQ_RX_FIRST_LOC_FL3L4 || in aq_check_approve_fl3l4()
[all …]
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_ethtool.c851 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()
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->h_ext.data)); in iavf_fill_rx_flow_ext_data()
905 memcpy(fsp->m_ext.data, fltr->ext_mask.usr_def, sizeof(fsp->m_ext.data)); in iavf_fill_rx_flow_ext_data()
919 struct ethtool_rx_flow_spec *fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in iavf_get_ethtool_fdir_entry() local
928 rule = iavf_find_fdir_fltr(adapter, false, fsp->location); in iavf_get_ethtool_fdir_entry()
[all …]
/linux/drivers/net/ethernet/intel/ice/
H A Dice_ethtool_fdir.c122 struct ethtool_rx_flow_spec *fsp; in ice_get_ethtool_fdir_entry() local
127 fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in ice_get_ethtool_fdir_entry()
131 rule = ice_fdir_find_fltr_by_idx(hw, fsp->location); in ice_get_ethtool_fdir_entry()
133 if (!rule || fsp->location != rule->fltr_id) { in ice_get_ethtool_fdir_entry()
138 fsp->flow_type = ice_fltr_to_ethtool_flow(rule->flow_type); in ice_get_ethtool_fdir_entry()
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()
146 fsp->m_u.ether_spec = rule->eth_mask; in ice_get_ethtool_fdir_entry()
[all …]
/linux/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_ethtool.c110 struct ethtool_rx_flow_spec *fsp = in txgbe_get_ethtool_fdir_entry() local
121 if (fsp->location <= rule->sw_idx) in txgbe_get_ethtool_fdir_entry()
125 if (!rule || fsp->location != rule->sw_idx) in txgbe_get_ethtool_fdir_entry()
131 fsp->flow_type = TCP_V4_FLOW; in txgbe_get_ethtool_fdir_entry()
134 fsp->flow_type = UDP_V4_FLOW; in txgbe_get_ethtool_fdir_entry()
137 fsp->flow_type = SCTP_V4_FLOW; in txgbe_get_ethtool_fdir_entry()
140 fsp->flow_type = IP_USER_FLOW; in txgbe_get_ethtool_fdir_entry()
141 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in txgbe_get_ethtool_fdir_entry()
142 fsp->h_u.usr_ip4_spec.proto = 0; in txgbe_get_ethtool_fdir_entry()
143 fsp->m_u.usr_ip4_spec.proto = 0; in txgbe_get_ethtool_fdir_entry()
[all …]
/linux/drivers/net/ethernet/engleder/
H A Dtsnep_rxnfc.c97 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 Dfbnic_ethtool.c639 struct ethtool_rx_flow_spec *fsp; in fbnic_get_cls_rule() local
644 fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in fbnic_get_cls_rule()
646 if (fsp->location >= FBNIC_RPC_ACT_TBL_NFC_ENTRIES) in fbnic_get_cls_rule()
649 idx = fsp->location + FBNIC_RPC_ACT_TBL_NFC_OFFSET; in fbnic_get_cls_rule()
660 fsp->flow_type = ETHER_FLOW; in fbnic_get_cls_rule()
669 ether_addr_copy(fsp->h_u.ether_spec.h_dest, in fbnic_get_cls_rule()
671 eth_broadcast_addr(fsp->m_u.ether_spec.h_dest); in fbnic_get_cls_rule()
675 fsp->flow_type = IPV6_USER_FLOW; in fbnic_get_cls_rule()
676 fsp->h_u.usr_ip6_spec.l4_proto = IPPROTO_IPV6; in fbnic_get_cls_rule()
677 fsp->m_u.usr_ip6_spec.l4_proto = 0xff; in fbnic_get_cls_rule()
[all …]
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_flows.c536 static int otx2_prepare_ipv4_flow(struct ethtool_rx_flow_spec *fsp, in otx2_prepare_ipv4_flow() argument
540 struct ethtool_usrip4_spec *ipv4_usr_mask = &fsp->m_u.usr_ip4_spec; in otx2_prepare_ipv4_flow()
541 struct ethtool_usrip4_spec *ipv4_usr_hdr = &fsp->h_u.usr_ip4_spec; in otx2_prepare_ipv4_flow()
542 struct ethtool_tcpip4_spec *ipv4_l4_mask = &fsp->m_u.tcp_ip4_spec; in otx2_prepare_ipv4_flow()
543 struct ethtool_tcpip4_spec *ipv4_l4_hdr = &fsp->h_u.tcp_ip4_spec; in otx2_prepare_ipv4_flow()
544 struct ethtool_ah_espip4_spec *ah_esp_hdr = &fsp->h_u.ah_ip4_spec; in otx2_prepare_ipv4_flow()
545 struct ethtool_ah_espip4_spec *ah_esp_mask = &fsp->m_u.ah_ip4_spec; in otx2_prepare_ipv4_flow()
695 static int otx2_prepare_ipv6_flow(struct ethtool_rx_flow_spec *fsp, in otx2_prepare_ipv6_flow() argument
699 struct ethtool_usrip6_spec *ipv6_usr_mask = &fsp->m_u.usr_ip6_spec; in otx2_prepare_ipv6_flow()
700 struct ethtool_usrip6_spec *ipv6_usr_hdr = &fsp->h_u.usr_ip6_spec; in otx2_prepare_ipv6_flow()
[all …]
/linux/drivers/net/ethernet/intel/igc/
H A Digc_ethtool.c966 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in igc_ethtool_get_nfc_rule() local
973 rule = igc_get_nfc_rule(adapter, fsp->location); in igc_ethtool_get_nfc_rule()
977 fsp->flow_type = ETHER_FLOW; in igc_ethtool_get_nfc_rule()
978 fsp->ring_cookie = rule->action; in igc_ethtool_get_nfc_rule()
981 fsp->h_u.ether_spec.h_proto = htons(rule->filter.etype); in igc_ethtool_get_nfc_rule()
982 fsp->m_u.ether_spec.h_proto = ETHER_TYPE_FULL_MASK; in igc_ethtool_get_nfc_rule()
986 fsp->flow_type |= FLOW_EXT; in igc_ethtool_get_nfc_rule()
987 fsp->h_ext.vlan_etype = htons(rule->filter.vlan_etype); in igc_ethtool_get_nfc_rule()
988 fsp->m_ext.vlan_etype = ETHER_TYPE_FULL_MASK; in igc_ethtool_get_nfc_rule()
992 fsp->flow_type |= FLOW_EXT; in igc_ethtool_get_nfc_rule()
[all …]
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_ethtool.c96 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 …]
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c3250 static int i40e_parse_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in i40e_parse_rx_flow_user_data() argument
3259 if (!(fsp->flow_type & FLOW_EXT)) in i40e_parse_rx_flow_user_data()
3262 value = be64_to_cpu(*((__be64 *)fsp->h_ext.data)); in i40e_parse_rx_flow_user_data()
3263 mask = be64_to_cpu(*((__be64 *)fsp->m_ext.data)); in i40e_parse_rx_flow_user_data()
3290 static void i40e_fill_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in i40e_fill_rx_flow_user_data() argument
3302 fsp->flow_type |= FLOW_EXT; in i40e_fill_rx_flow_user_data()
3304 *((__be64 *)fsp->h_ext.data) = cpu_to_be64(value); in i40e_fill_rx_flow_user_data()
3305 *((__be64 *)fsp->m_ext.data) = cpu_to_be64(mask); in i40e_fill_rx_flow_user_data()
3357 struct ethtool_rx_flow_spec *fsp = in i40e_get_ethtool_fdir_entry() local
3368 if (fsp->location <= rule->fd_id) in i40e_get_ethtool_fdir_entry()
[all …]
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c2669 struct ethtool_rx_flow_spec *fsp = in ixgbe_get_ethtool_fdir_entry() local
2679 if (fsp->location <= rule->sw_idx) in ixgbe_get_ethtool_fdir_entry()
2683 if (!rule || fsp->location != rule->sw_idx) in ixgbe_get_ethtool_fdir_entry()
2691 fsp->flow_type = TCP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry()
2694 fsp->flow_type = UDP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry()
2697 fsp->flow_type = SCTP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry()
2700 fsp->flow_type = IP_USER_FLOW; in ixgbe_get_ethtool_fdir_entry()
2701 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in ixgbe_get_ethtool_fdir_entry()
2702 fsp->h_u.usr_ip4_spec.proto = 0; in ixgbe_get_ethtool_fdir_entry()
2703 fsp->m_u.usr_ip4_spec.proto = 0; in ixgbe_get_ethtool_fdir_entry()
[all …]
/linux/drivers/net/ethernet/cisco/enic/
H A Denic_ethtool.c496 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()
514 fsp->h_u.tcp_ip4_spec.ip4src = flow_get_u32_src(&n->keys); in enic_grxclsrule()
515 fsp->m_u.tcp_ip4_spec.ip4src = (__u32)~0; in enic_grxclsrule()
517 fsp->h_u.tcp_ip4_spec.ip4dst = flow_get_u32_dst(&n->keys); 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()
[all …]
/linux/tools/perf/util/
H A Dprobe-finder.c651 struct find_scope_param *fsp = data; in find_best_scope_cb() local
656 if (fsp->file) { in find_best_scope_cb()
658 if (!file || strcmp(fsp->file, file) != 0) in find_best_scope_cb()
662 if (fsp->function) { in find_best_scope_cb()
663 if (die_match_name(fn_die, fsp->function)) { in find_best_scope_cb()
664 memcpy(fsp->die_mem, fn_die, sizeof(Dwarf_Die)); 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()
674 memcpy(fsp->die_mem, fn_die, sizeof(Dwarf_Die)); in find_best_scope_cb()
[all …]
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_filter.c1317 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->flow_type = TCP_V6_FLOW; in qede_get_cls_rule_entry()
[all …]
/linux/drivers/net/ethernet/intel/igb/
H A Digb_ethtool.c2430 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in igb_get_ethtool_nfc_entry() local
2437 if (fsp->location <= rule->sw_idx) in igb_get_ethtool_nfc_entry()
2441 if (!rule || fsp->location != rule->sw_idx) in igb_get_ethtool_nfc_entry()
2445 fsp->flow_type = ETHER_FLOW; in igb_get_ethtool_nfc_entry()
2446 fsp->ring_cookie = rule->action; in igb_get_ethtool_nfc_entry()
2448 fsp->h_u.ether_spec.h_proto = rule->filter.etype; in igb_get_ethtool_nfc_entry()
2449 fsp->m_u.ether_spec.h_proto = ETHER_TYPE_FULL_MASK; in igb_get_ethtool_nfc_entry()
2452 fsp->flow_type |= FLOW_EXT; in igb_get_ethtool_nfc_entry()
2453 fsp->h_ext.vlan_tci = rule->filter.vlan_tci; in igb_get_ethtool_nfc_entry()
2454 fsp->m_ext.vlan_tci = htons(VLAN_PRIO_MASK); in igb_get_ethtool_nfc_entry()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/
H A Dgh100.c105 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/include/scsi/
H A Dlibfc.h364 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/drivers/net/ethernet/sun/
H A Dniu.c7115 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->h_u.tcp_ip4_spec.pdst = cpu_to_be16(prt); in niu_get_ip4fs_from_tcam_key()
[all …]

12