rfse 242 drivers/net/ethernet/freescale/enetc/enetc.h int enetc_set_fs_entry(struct enetc_si *si, struct enetc_cmd_rfse *rfse, rfse 114 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c int enetc_set_fs_entry(struct enetc_si *si, struct enetc_cmd_rfse *rfse, rfse 126 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c cbd.length = cpu_to_le16(sizeof(*rfse)); rfse 129 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c tmp = dma_alloc_coherent(&si->pdev->dev, sizeof(*rfse) + RFSE_ALIGN, rfse 138 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c memcpy(tmp_align, rfse, sizeof(*rfse)); rfse 147 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c dma_free_coherent(&si->pdev->dev, sizeof(*rfse) + RFSE_ALIGN, rfse 315 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c struct enetc_cmd_rfse rfse = { {0} }; rfse 333 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c rfse.sip_h[0] = l4ip4_h->ip4src; rfse 334 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c rfse.sip_m[0] = l4ip4_m->ip4src; rfse 335 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c rfse.dip_h[0] = l4ip4_h->ip4dst; rfse 336 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c rfse.dip_m[0] = l4ip4_m->ip4dst; rfse 337 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c rfse.sport_h = ntohs(l4ip4_h->psrc); rfse 338 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c rfse.sport_m = ntohs(l4ip4_m->psrc); rfse 339 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c rfse.dport_h = ntohs(l4ip4_h->pdst); rfse 340 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c rfse.dport_m = ntohs(l4ip4_m->pdst); rfse 343 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c rfse.ethtype_h = ETH_P_IP; /* IPv4 */ rfse 344 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c rfse.ethtype_m = 0xffff; rfse 350 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c rfse.sip_h[0] = l3ip4_h->ip4src; rfse 351 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c rfse.sip_m[0] = l3ip4_m->ip4src; rfse 352 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c rfse.dip_h[0] = l3ip4_h->ip4dst; rfse 353 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c rfse.dip_m[0] = l3ip4_m->ip4dst; rfse 356 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c rfse.ethtype_h = ETH_P_IP; /* IPv4 */ rfse 357 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c rfse.ethtype_m = 0xffff; rfse 363 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c ether_addr_copy_swap(rfse.smac_h, eth_h->h_source); rfse 364 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c ether_addr_copy_swap(rfse.smac_m, eth_m->h_source); rfse 365 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c ether_addr_copy_swap(rfse.dmac_h, eth_h->h_dest); rfse 366 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c ether_addr_copy_swap(rfse.dmac_m, eth_m->h_dest); rfse 367 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c rfse.ethtype_h = ntohs(eth_h->h_proto); rfse 368 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c rfse.ethtype_m = ntohs(eth_m->h_proto); rfse 374 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c rfse.mode |= ENETC_RFSE_EN; rfse 376 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c rfse.mode |= ENETC_RFSE_MODE_BD; rfse 377 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c rfse.result = fs->ring_cookie; rfse 380 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c return enetc_set_fs_entry(si, &rfse, fs->location);