| /OK3568_Linux_fs/kernel/drivers/scsi/libfc/ |
| H A D | fc_fcp.c | 138 struct fc_fcp_pkt *fsp; in fc_fcp_pkt_alloc() local 140 fsp = mempool_alloc(si->scsi_pkt_pool, gfp); in fc_fcp_pkt_alloc() 141 if (fsp) { in fc_fcp_pkt_alloc() 142 memset(fsp, 0, sizeof(*fsp)); in fc_fcp_pkt_alloc() 143 fsp->lp = lport; in fc_fcp_pkt_alloc() 144 fsp->xfer_ddp = FC_XID_UNKNOWN; in fc_fcp_pkt_alloc() 145 refcount_set(&fsp->ref_cnt, 1); in fc_fcp_pkt_alloc() 146 timer_setup(&fsp->timer, NULL, 0); in fc_fcp_pkt_alloc() 147 INIT_LIST_HEAD(&fsp->list); in fc_fcp_pkt_alloc() 148 spin_lock_init(&fsp->scsi_pkt_lock); in fc_fcp_pkt_alloc() [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);
|
| /OK3568_Linux_fs/u-boot/doc/device-tree-bindings/misc/ |
| H A D | intel,baytrail-fsp.txt | 8 arch/x86/include/asm/arch-baytrail/fsp/fsp_vpd.h, under the same names, and in 14 - fsp,enable-sdio 15 - fsp,enable-sdcard 16 - fsp,enable-hsuart0 17 - fsp,enable-hsuart1 18 - fsp,enable-spi 19 - fsp,enable-sata 20 - fsp,enable-azalia 21 - fsp,enable-xhci 22 - fsp,enable-dma0 [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/aquantia/atlantic/ |
| H A D | aq_filters.c | 9 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 …]
|
| /OK3568_Linux_fs/u-boot/arch/x86/dts/ |
| H A D | dfi-bt700.dtsi | 8 #include <asm/arch-baytrail/fsp/fsp_configs.h> 259 fsp { 260 compatible = "intel,baytrail-fsp"; 261 fsp,mrc-init-tseg-size = <MRC_INIT_TSEG_SIZE_1MB>; 262 fsp,mrc-init-mmio-size = <MRC_INIT_MMIO_SIZE_2048MB>; 263 fsp,mrc-init-spd-addr1 = <0xa0>; 264 fsp,mrc-init-spd-addr2 = <0xa2>; 265 fsp,emmc-boot-mode = <EMMC_BOOT_MODE_AUTO>; 266 fsp,enable-sdio; 267 fsp,enable-sdcard; [all …]
|
| H A D | minnowmax.dts | 9 #include <asm/arch-baytrail/fsp/fsp_configs.h> 262 fsp { 263 compatible = "intel,baytrail-fsp"; 264 fsp,mrc-init-tseg-size = <MRC_INIT_TSEG_SIZE_1MB>; 265 fsp,mrc-init-mmio-size = <MRC_INIT_MMIO_SIZE_2048MB>; 266 fsp,mrc-init-spd-addr1 = <0xa0>; 267 fsp,mrc-init-spd-addr2 = <0xa2>; 268 fsp,emmc-boot-mode = <EMMC_BOOT_MODE_AUTO>; 269 fsp,enable-sdio; 270 fsp,enable-sdcard; [all …]
|
| H A D | conga-qeval20-qa3-e3845.dts | 10 #include <asm/arch-baytrail/fsp/fsp_configs.h> 248 fsp { 249 compatible = "intel,baytrail-fsp"; 250 fsp,mrc-init-tseg-size = <MRC_INIT_TSEG_SIZE_1MB>; 251 fsp,mrc-init-mmio-size = <MRC_INIT_MMIO_SIZE_2048MB>; 252 fsp,mrc-init-spd-addr1 = <0xa0>; 253 fsp,mrc-init-spd-addr2 = <0xa2>; 254 fsp,emmc-boot-mode = <EMMC_BOOT_MODE_AUTO>; 255 fsp,enable-sdio; 256 fsp,enable-sdcard; [all …]
|
| H A D | bayleybay.dts | 9 #include <asm/arch-baytrail/fsp/fsp_configs.h> 238 fsp { 239 compatible = "intel,baytrail-fsp"; 240 fsp,mrc-init-tseg-size = <MRC_INIT_TSEG_SIZE_1MB>; 241 fsp,mrc-init-mmio-size = <MRC_INIT_MMIO_SIZE_2048MB>; 242 fsp,mrc-init-spd-addr1 = <0xa0>; 243 fsp,mrc-init-spd-addr2 = <0xa2>; 244 fsp,emmc-boot-mode = <EMMC_BOOT_MODE_AUTO>; 245 fsp,enable-sdio; 246 fsp,enable-sdcard; [all …]
|
| H A D | baytrail_som-db5800-som-6867.dts | 10 #include <asm/arch-baytrail/fsp/fsp_configs.h> 261 fsp { 262 compatible = "intel,baytrail-fsp"; 263 fsp,mrc-init-tseg-size = <MRC_INIT_TSEG_SIZE_1MB>; 264 fsp,mrc-init-mmio-size = <MRC_INIT_MMIO_SIZE_2048MB>; 265 fsp,mrc-init-spd-addr1 = <0xa0>; 266 fsp,mrc-init-spd-addr2 = <0xa2>; 267 fsp,enable-spi; 268 fsp,enable-sata; 269 fsp,sata-mode = <SATA_MODE_AHCI>; [all …]
|
| H A D | cougarcanyon2.dts | 49 fsp { 50 compatible = "intel,ivybridge-fsp"; 51 fsp,enable-ht;
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ice/ |
| H A D | ice_ethtool_fdir.c | 117 struct ethtool_rx_flow_spec *fsp; in ice_get_ethtool_fdir_entry() local 122 fsp = (struct ethtool_rx_flow_spec *)&cmd->fs; in ice_get_ethtool_fdir_entry() 126 rule = ice_fdir_find_fltr_by_idx(hw, fsp->location); in ice_get_ethtool_fdir_entry() 128 if (!rule || fsp->location != rule->fltr_id) { in ice_get_ethtool_fdir_entry() 133 fsp->flow_type = ice_fltr_to_ethtool_flow(rule->flow_type); in ice_get_ethtool_fdir_entry() 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() 140 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in ice_get_ethtool_fdir_entry() 141 fsp->h_u.usr_ip4_spec.proto = 0; in ice_get_ethtool_fdir_entry() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/x86/lib/fsp/ |
| H A D | fsp_support.c | 45 volatile register u8 *fsp asm("eax"); in find_fsp_header() 48 fsp = (u8 *)CONFIG_FSP_ADDR; in find_fsp_header() 51 if (((struct fv_header *)fsp)->sign == EFI_FVH_SIGNATURE) { in find_fsp_header() 53 fsp += ((struct fv_header *)fsp)->ext_hdr_off; in find_fsp_header() 54 fsp += ((struct fv_ext_header *)fsp)->ext_hdr_size; in find_fsp_header() 55 fsp = (u8 *)(((u32)fsp + 7) & 0xFFFFFFF8); in find_fsp_header() 57 fsp = 0; in find_fsp_header() 61 if (fsp && in find_fsp_header() 62 ((struct ffs_file_header *)fsp)->name.data1 == FSP_GUID_DATA1 && in find_fsp_header() 63 ((struct ffs_file_header *)fsp)->name.data2 == FSP_GUID_DATA2 && in find_fsp_header() [all …]
|
| /OK3568_Linux_fs/u-boot/cmd/ddr_tool/ddr_dq_eye/ |
| H A D | ddr_dq_eye.c | 180 u8 fsp = 0; in do_ddr_dq_eye() local 208 if (result.fsp_mhz[i] > result.fsp_mhz[fsp]) in do_ddr_dq_eye() 209 fsp = i; in do_ddr_dq_eye() 217 fsp = (u8)freq_mhz; in do_ddr_dq_eye() 219 for (fsp = 0; fsp < FSP_NUM; fsp++) in do_ddr_dq_eye() 220 if (result.fsp_mhz[fsp] == freq_mhz || in do_ddr_dq_eye() 221 result.fsp_mhz[fsp] == (u16)(freq_mhz / MHZ)) in do_ddr_dq_eye() 224 if (fsp >= FSP_NUM) in do_ddr_dq_eye() 234 if (result.fsp_mhz[fsp] < in do_ddr_dq_eye() 247 if (result.fsp_mhz[fsp] < in do_ddr_dq_eye() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/cisco/enic/ |
| H A D | enic_ethtool.c | 421 struct ethtool_rx_flow_spec *fsp = in enic_grxclsrule() local 425 n = htbl_fltr_search(enic, (u16)fsp->location); in enic_grxclsrule() 430 fsp->flow_type = TCP_V4_FLOW; in enic_grxclsrule() 433 fsp->flow_type = UDP_V4_FLOW; in enic_grxclsrule() 439 fsp->h_u.tcp_ip4_spec.ip4src = flow_get_u32_src(&n->keys); in enic_grxclsrule() 440 fsp->m_u.tcp_ip4_spec.ip4src = (__u32)~0; in enic_grxclsrule() 442 fsp->h_u.tcp_ip4_spec.ip4dst = flow_get_u32_dst(&n->keys); in enic_grxclsrule() 443 fsp->m_u.tcp_ip4_spec.ip4dst = (__u32)~0; in enic_grxclsrule() 445 fsp->h_u.tcp_ip4_spec.psrc = n->keys.ports.src; in enic_grxclsrule() 446 fsp->m_u.tcp_ip4_spec.psrc = (__u16)~0; in enic_grxclsrule() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igc/ |
| H A D | igc_ethtool.c | 940 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in igc_ethtool_get_nfc_rule() local 947 rule = igc_get_nfc_rule(adapter, fsp->location); in igc_ethtool_get_nfc_rule() 951 fsp->flow_type = ETHER_FLOW; in igc_ethtool_get_nfc_rule() 952 fsp->ring_cookie = rule->action; in igc_ethtool_get_nfc_rule() 955 fsp->h_u.ether_spec.h_proto = htons(rule->filter.etype); in igc_ethtool_get_nfc_rule() 956 fsp->m_u.ether_spec.h_proto = ETHER_TYPE_FULL_MASK; in igc_ethtool_get_nfc_rule() 960 fsp->flow_type |= FLOW_EXT; in igc_ethtool_get_nfc_rule() 961 fsp->h_ext.vlan_tci = htons(rule->filter.vlan_tci); in igc_ethtool_get_nfc_rule() 962 fsp->m_ext.vlan_tci = htons(VLAN_PRIO_MASK); in igc_ethtool_get_nfc_rule() 966 ether_addr_copy(fsp->h_u.ether_spec.h_dest, in igc_ethtool_get_nfc_rule() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_ethtool.c | 2513 struct ethtool_rx_flow_spec *fsp = in ixgbe_get_ethtool_fdir_entry() local 2523 if (fsp->location <= rule->sw_idx) in ixgbe_get_ethtool_fdir_entry() 2527 if (!rule || fsp->location != rule->sw_idx) in ixgbe_get_ethtool_fdir_entry() 2535 fsp->flow_type = TCP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry() 2538 fsp->flow_type = UDP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry() 2541 fsp->flow_type = SCTP_V4_FLOW; in ixgbe_get_ethtool_fdir_entry() 2544 fsp->flow_type = IP_USER_FLOW; in ixgbe_get_ethtool_fdir_entry() 2545 fsp->h_u.usr_ip4_spec.ip_ver = ETH_RX_NFC_IP4; in ixgbe_get_ethtool_fdir_entry() 2546 fsp->h_u.usr_ip4_spec.proto = 0; in ixgbe_get_ethtool_fdir_entry() 2547 fsp->m_u.usr_ip4_spec.proto = 0; in ixgbe_get_ethtool_fdir_entry() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_ethtool.c | 3148 static int i40e_parse_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in i40e_parse_rx_flow_user_data() argument 3157 if (!(fsp->flow_type & FLOW_EXT)) in i40e_parse_rx_flow_user_data() 3160 value = be64_to_cpu(*((__be64 *)fsp->h_ext.data)); in i40e_parse_rx_flow_user_data() 3161 mask = be64_to_cpu(*((__be64 *)fsp->m_ext.data)); in i40e_parse_rx_flow_user_data() 3188 static void i40e_fill_rx_flow_user_data(struct ethtool_rx_flow_spec *fsp, in i40e_fill_rx_flow_user_data() argument 3200 fsp->flow_type |= FLOW_EXT; in i40e_fill_rx_flow_user_data() 3202 *((__be64 *)fsp->h_ext.data) = cpu_to_be64(value); in i40e_fill_rx_flow_user_data() 3203 *((__be64 *)fsp->m_ext.data) = cpu_to_be64(mask); in i40e_fill_rx_flow_user_data() 3255 struct ethtool_rx_flow_spec *fsp = in i40e_get_ethtool_fdir_entry() local 3265 if (fsp->location <= rule->fd_id) in i40e_get_ethtool_fdir_entry() [all …]
|
| /OK3568_Linux_fs/u-boot/tools/binman/test/ |
| H A D | 42_intel-fsp.dts | 10 intel-fsp { 11 filename = "fsp.bin";
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | probe-finder.c | 755 struct find_scope_param *fsp = data; in find_best_scope_cb() local 760 if (fsp->file) { in find_best_scope_cb() 762 if (!file || strcmp(fsp->file, file) != 0) in find_best_scope_cb() 766 if (fsp->function) { in find_best_scope_cb() 767 if (die_match_name(fn_die, fsp->function)) { in find_best_scope_cb() 768 memcpy(fsp->die_mem, fn_die, sizeof(Dwarf_Die)); in find_best_scope_cb() 769 fsp->found = true; in find_best_scope_cb() 775 if (lno < fsp->line && fsp->diff > fsp->line - lno) { in find_best_scope_cb() 777 fsp->diff = fsp->line - lno; in find_best_scope_cb() 778 memcpy(fsp->die_mem, fn_die, sizeof(Dwarf_Die)); in find_best_scope_cb() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qede/ |
| H A D | qede_filter.c | 1329 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in qede_get_cls_rule_entry() local 1343 fsp->location); in qede_get_cls_rule_entry() 1346 fsp->location); in qede_get_cls_rule_entry() 1353 fsp->flow_type = TCP_V4_FLOW; in qede_get_cls_rule_entry() 1355 fsp->flow_type = UDP_V4_FLOW; in qede_get_cls_rule_entry() 1357 fsp->h_u.tcp_ip4_spec.psrc = fltr->tuple.src_port; in qede_get_cls_rule_entry() 1358 fsp->h_u.tcp_ip4_spec.pdst = fltr->tuple.dst_port; in qede_get_cls_rule_entry() 1359 fsp->h_u.tcp_ip4_spec.ip4src = fltr->tuple.src_ipv4; in qede_get_cls_rule_entry() 1360 fsp->h_u.tcp_ip4_spec.ip4dst = fltr->tuple.dst_ipv4; in qede_get_cls_rule_entry() 1363 fsp->flow_type = TCP_V6_FLOW; in qede_get_cls_rule_entry() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igb/ |
| H A D | igb_ethtool.c | 2447 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in igb_get_ethtool_nfc_entry() local 2454 if (fsp->location <= rule->sw_idx) in igb_get_ethtool_nfc_entry() 2458 if (!rule || fsp->location != rule->sw_idx) in igb_get_ethtool_nfc_entry() 2462 fsp->flow_type = ETHER_FLOW; in igb_get_ethtool_nfc_entry() 2463 fsp->ring_cookie = rule->action; in igb_get_ethtool_nfc_entry() 2465 fsp->h_u.ether_spec.h_proto = rule->filter.etype; in igb_get_ethtool_nfc_entry() 2466 fsp->m_u.ether_spec.h_proto = ETHER_TYPE_FULL_MASK; in igb_get_ethtool_nfc_entry() 2469 fsp->flow_type |= FLOW_EXT; in igb_get_ethtool_nfc_entry() 2470 fsp->h_ext.vlan_tci = rule->filter.vlan_tci; in igb_get_ethtool_nfc_entry() 2471 fsp->m_ext.vlan_tci = htons(VLAN_PRIO_MASK); in igb_get_ethtool_nfc_entry() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mediatek/ |
| H A D | mtk_eth_soc.c | 1920 struct ethtool_rx_flow_spec *fsp = in mtk_hwlro_add_ipaddr() local 1926 if ((fsp->flow_type != TCP_V4_FLOW) || in mtk_hwlro_add_ipaddr() 1927 (!fsp->h_u.tcp_ip4_spec.ip4dst) || in mtk_hwlro_add_ipaddr() 1928 (fsp->location > 1)) in mtk_hwlro_add_ipaddr() 1931 mac->hwlro_ip[fsp->location] = htonl(fsp->h_u.tcp_ip4_spec.ip4dst); in mtk_hwlro_add_ipaddr() 1932 hwlro_idx = (mac->id * MTK_MAX_LRO_IP_CNT) + fsp->location; in mtk_hwlro_add_ipaddr() 1936 mtk_hwlro_val_ipaddr(eth, hwlro_idx, mac->hwlro_ip[fsp->location]); in mtk_hwlro_add_ipaddr() 1944 struct ethtool_rx_flow_spec *fsp = in mtk_hwlro_del_ipaddr() local 1950 if (fsp->location > 1) in mtk_hwlro_del_ipaddr() 1953 mac->hwlro_ip[fsp->location] = 0; in mtk_hwlro_del_ipaddr() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/sun/ |
| H A D | niu.c | 7075 struct ethtool_rx_flow_spec *fsp) in niu_get_ip4fs_from_tcam_key() argument 7081 fsp->h_u.tcp_ip4_spec.ip4src = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key() 7084 fsp->h_u.tcp_ip4_spec.ip4dst = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key() 7087 fsp->m_u.tcp_ip4_spec.ip4src = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key() 7090 fsp->m_u.tcp_ip4_spec.ip4dst = cpu_to_be32(tmp); in niu_get_ip4fs_from_tcam_key() 7092 fsp->h_u.tcp_ip4_spec.tos = (tp->key[2] & TCAM_V4KEY2_TOS) >> in niu_get_ip4fs_from_tcam_key() 7094 fsp->m_u.tcp_ip4_spec.tos = (tp->key_mask[2] & TCAM_V4KEY2_TOS) >> in niu_get_ip4fs_from_tcam_key() 7097 switch (fsp->flow_type) { in niu_get_ip4fs_from_tcam_key() 7103 fsp->h_u.tcp_ip4_spec.psrc = cpu_to_be16(prt); in niu_get_ip4fs_from_tcam_key() 7107 fsp->h_u.tcp_ip4_spec.pdst = cpu_to_be16(prt); in niu_get_ip4fs_from_tcam_key() [all …]
|
| /OK3568_Linux_fs/kernel/include/scsi/ |
| H 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()
|
| /OK3568_Linux_fs/rkbin/tools/ |
| H A D | ddrbin_tool_user_guide.txt | 210 ddr2_f1_freq_mhz: ddr2 frequency fsp 1, unit:MHz. 211 ddr2_f2_freq_mhz: ddr2 frequency fsp 2, unit:MHz. 212 ddr2_f3_freq_mhz: ddr2 frequency fsp 3, unit:MHz. 213 ddr2_f4_freq_mhz: ddr2 frequency fsp 4, unit:MHz. 214 ddr2_f5_freq_mhz: ddr2 frequency fsp 5, unit:MHz.
|