flow_type 309 arch/arm/mach-pxa/pxa3xx.c static int pxa_set_ext_wakeup_type(struct irq_data *d, unsigned int flow_type) flow_type 311 arch/arm/mach-pxa/pxa3xx.c if (flow_type & IRQ_TYPE_EDGE_RISING) flow_type 314 arch/arm/mach-pxa/pxa3xx.c if (flow_type & IRQ_TYPE_EDGE_FALLING) flow_type 426 arch/mips/alchemy/common/irq.c static int au1x_ic_settype(struct irq_data *d, unsigned int flow_type) flow_type 450 arch/mips/alchemy/common/irq.c switch (flow_type) { /* cfgregs 2:1:0 */ flow_type 278 arch/mips/bcm63xx/irq.c unsigned int flow_type) flow_type 285 arch/mips/bcm63xx/irq.c flow_type &= IRQ_TYPE_SENSE_MASK; flow_type 287 arch/mips/bcm63xx/irq.c if (flow_type == IRQ_TYPE_NONE) flow_type 288 arch/mips/bcm63xx/irq.c flow_type = IRQ_TYPE_LEVEL_LOW; flow_type 291 arch/mips/bcm63xx/irq.c switch (flow_type) { flow_type 365 arch/mips/bcm63xx/irq.c irqd_set_trigger_type(d, flow_type); flow_type 366 arch/mips/bcm63xx/irq.c if (flow_type & (IRQ_TYPE_LEVEL_LOW | IRQ_TYPE_LEVEL_HIGH)) flow_type 112 arch/mips/kernel/irq_txx9.c static int txx9_irq_set_type(struct irq_data *d, unsigned int flow_type) flow_type 120 arch/mips/kernel/irq_txx9.c if (flow_type & IRQF_TRIGGER_PROBE) flow_type 122 arch/mips/kernel/irq_txx9.c switch (flow_type & IRQF_TRIGGER_MASK) { flow_type 196 arch/mips/pnx833x/common/interrupts.c static int pnx833x_set_type_gpio_irq(struct irq_data *d, unsigned int flow_type) flow_type 201 arch/mips/pnx833x/common/interrupts.c switch (flow_type) { flow_type 104 arch/mips/txx9/generic/irq_tx4939.c static int tx4939_irq_set_type(struct irq_data *d, unsigned int flow_type) flow_type 112 arch/mips/txx9/generic/irq_tx4939.c if (flow_type & IRQF_TRIGGER_PROBE) flow_type 114 arch/mips/txx9/generic/irq_tx4939.c switch (flow_type & IRQF_TRIGGER_MASK) { flow_type 164 arch/powerpc/include/asm/xics.h extern int xics_set_irq_type(struct irq_data *d, unsigned int flow_type); flow_type 118 arch/powerpc/platforms/4xx/uic.c static int uic_set_irq_type(struct irq_data *d, unsigned int flow_type) flow_type 126 arch/powerpc/platforms/4xx/uic.c switch (flow_type & IRQ_TYPE_SENSE_MASK) { flow_type 162 arch/powerpc/platforms/52xx/mpc52xx_gpt.c static int mpc52xx_gpt_irq_set_type(struct irq_data *d, unsigned int flow_type) flow_type 168 arch/powerpc/platforms/52xx/mpc52xx_gpt.c dev_dbg(gpt->dev, "%s: virq=%i type=%x\n", __func__, d->irq, flow_type); flow_type 172 arch/powerpc/platforms/52xx/mpc52xx_gpt.c if (flow_type & IRQF_TRIGGER_RISING) flow_type 174 arch/powerpc/platforms/52xx/mpc52xx_gpt.c if (flow_type & IRQF_TRIGGER_FALLING) flow_type 176 arch/powerpc/platforms/52xx/mpc52xx_pic.c static int mpc52xx_extirq_set_type(struct irq_data *d, unsigned int flow_type) flow_type 183 arch/powerpc/platforms/52xx/mpc52xx_pic.c (int) irqd_to_hwirq(d), l2irq, flow_type); flow_type 185 arch/powerpc/platforms/52xx/mpc52xx_pic.c switch (flow_type) { flow_type 215 arch/powerpc/platforms/52xx/mpc52xx_pic.c static int mpc52xx_null_set_type(struct irq_data *d, unsigned int flow_type) flow_type 187 arch/powerpc/platforms/85xx/socrates_fpga_pic.c unsigned int flow_type) flow_type 197 arch/powerpc/platforms/85xx/socrates_fpga_pic.c switch (flow_type & IRQ_TYPE_SENSE_MASK) { flow_type 51 arch/powerpc/platforms/8xx/pic.c static int mpc8xx_set_irq_type(struct irq_data *d, unsigned int flow_type) flow_type 54 arch/powerpc/platforms/8xx/pic.c if ((flow_type & IRQ_TYPE_EDGE_FALLING) && !(irqd_to_hwirq(d) & 1)) { flow_type 92 arch/powerpc/platforms/powernv/opal-irqchip.c static int opal_event_set_type(struct irq_data *d, unsigned int flow_type) flow_type 99 arch/powerpc/platforms/powernv/opal-irqchip.c if (flow_type != IRQ_TYPE_LEVEL_HIGH) flow_type 132 arch/powerpc/sysdev/cpm2_pic.c static int cpm2_set_irq_type(struct irq_data *d, unsigned int flow_type) flow_type 142 arch/powerpc/sysdev/cpm2_pic.c if (flow_type == IRQ_TYPE_NONE) flow_type 143 arch/powerpc/sysdev/cpm2_pic.c flow_type = IRQ_TYPE_EDGE_BOTH; flow_type 145 arch/powerpc/sysdev/cpm2_pic.c if (flow_type != IRQ_TYPE_EDGE_BOTH && flow_type 146 arch/powerpc/sysdev/cpm2_pic.c flow_type != IRQ_TYPE_EDGE_FALLING) flow_type 149 arch/powerpc/sysdev/cpm2_pic.c if (flow_type == IRQ_TYPE_NONE) flow_type 150 arch/powerpc/sysdev/cpm2_pic.c flow_type = IRQ_TYPE_LEVEL_LOW; flow_type 152 arch/powerpc/sysdev/cpm2_pic.c if (flow_type & (IRQ_TYPE_EDGE_RISING | IRQ_TYPE_LEVEL_HIGH)) flow_type 156 arch/powerpc/sysdev/cpm2_pic.c irqd_set_trigger_type(d, flow_type); flow_type 157 arch/powerpc/sysdev/cpm2_pic.c if (flow_type & IRQ_TYPE_LEVEL_LOW) flow_type 171 arch/powerpc/sysdev/cpm2_pic.c return (flow_type & IRQ_TYPE_LEVEL_LOW) ? flow_type 176 arch/powerpc/sysdev/cpm2_pic.c if ((flow_type & IRQ_TYPE_SENSE_MASK) == IRQ_TYPE_EDGE_FALLING) flow_type 186 arch/powerpc/sysdev/cpm2_pic.c pr_err("CPM2 PIC: sense type 0x%x not supported\n", flow_type); flow_type 111 arch/powerpc/sysdev/ehv_pic.c int ehv_pic_set_irq_type(struct irq_data *d, unsigned int flow_type) flow_type 117 arch/powerpc/sysdev/ehv_pic.c if (flow_type == IRQ_TYPE_NONE) flow_type 118 arch/powerpc/sysdev/ehv_pic.c flow_type = IRQ_TYPE_LEVEL_LOW; flow_type 120 arch/powerpc/sysdev/ehv_pic.c irqd_set_trigger_type(d, flow_type); flow_type 122 arch/powerpc/sysdev/ehv_pic.c vecpri = ehv_pic_type_to_vecpri(flow_type); flow_type 598 arch/powerpc/sysdev/ipic.c static int ipic_set_irq_type(struct irq_data *d, unsigned int flow_type) flow_type 604 arch/powerpc/sysdev/ipic.c if (flow_type == IRQ_TYPE_NONE) flow_type 605 arch/powerpc/sysdev/ipic.c flow_type = IRQ_TYPE_LEVEL_LOW; flow_type 609 arch/powerpc/sysdev/ipic.c if (!(flow_type & (IRQ_TYPE_LEVEL_LOW | IRQ_TYPE_EDGE_FALLING))) { flow_type 611 arch/powerpc/sysdev/ipic.c flow_type); flow_type 615 arch/powerpc/sysdev/ipic.c if ((flow_type & IRQ_TYPE_EDGE_FALLING) && !ipic_info[src].ack) { flow_type 622 arch/powerpc/sysdev/ipic.c irqd_set_trigger_type(d, flow_type); flow_type 623 arch/powerpc/sysdev/ipic.c if (flow_type & IRQ_TYPE_LEVEL_LOW) { flow_type 640 arch/powerpc/sysdev/ipic.c return (flow_type & IRQ_TYPE_LEVEL_LOW) ? 0 : -EINVAL; flow_type 643 arch/powerpc/sysdev/ipic.c if ((flow_type & IRQ_TYPE_SENSE_MASK) == IRQ_TYPE_EDGE_FALLING) { flow_type 867 arch/powerpc/sysdev/mpic.c int mpic_set_irq_type(struct irq_data *d, unsigned int flow_type) flow_type 874 arch/powerpc/sysdev/mpic.c mpic, d->irq, src, flow_type); flow_type 882 arch/powerpc/sysdev/mpic.c if (flow_type == IRQ_TYPE_NONE) flow_type 883 arch/powerpc/sysdev/mpic.c flow_type = IRQ_TYPE_DEFAULT; flow_type 886 arch/powerpc/sysdev/mpic.c if (flow_type == IRQ_TYPE_DEFAULT) { flow_type 894 arch/powerpc/sysdev/mpic.c flow_type = IRQ_TYPE_EDGE_RISING; flow_type 897 arch/powerpc/sysdev/mpic.c flow_type = IRQ_TYPE_EDGE_FALLING; flow_type 900 arch/powerpc/sysdev/mpic.c flow_type = IRQ_TYPE_LEVEL_HIGH; flow_type 903 arch/powerpc/sysdev/mpic.c flow_type = IRQ_TYPE_LEVEL_LOW; flow_type 909 arch/powerpc/sysdev/mpic.c irqd_set_trigger_type(d, flow_type); flow_type 916 arch/powerpc/sysdev/mpic.c vecpri = mpic_type_to_vecpri(mpic, flow_type); flow_type 32 arch/powerpc/sysdev/mpic.h extern int mpic_set_irq_type(struct irq_data *d, unsigned int flow_type); flow_type 381 arch/powerpc/sysdev/xics/xics-common.c int xics_set_irq_type(struct irq_data *d, unsigned int flow_type) flow_type 390 arch/powerpc/sysdev/xics/xics-common.c if (flow_type == IRQ_TYPE_DEFAULT || flow_type == IRQ_TYPE_NONE) flow_type 391 arch/powerpc/sysdev/xics/xics-common.c flow_type = IRQ_TYPE_EDGE_RISING; flow_type 393 arch/powerpc/sysdev/xics/xics-common.c if (flow_type != IRQ_TYPE_EDGE_RISING && flow_type 394 arch/powerpc/sysdev/xics/xics-common.c flow_type != IRQ_TYPE_LEVEL_LOW) flow_type 397 arch/powerpc/sysdev/xics/xics-common.c irqd_set_trigger_type(d, flow_type); flow_type 781 arch/powerpc/sysdev/xive/common.c static int xive_irq_set_type(struct irq_data *d, unsigned int flow_type) flow_type 792 arch/powerpc/sysdev/xive/common.c if (flow_type == IRQ_TYPE_DEFAULT || flow_type == IRQ_TYPE_NONE) flow_type 793 arch/powerpc/sysdev/xive/common.c flow_type = IRQ_TYPE_EDGE_RISING; flow_type 795 arch/powerpc/sysdev/xive/common.c if (flow_type != IRQ_TYPE_EDGE_RISING && flow_type 796 arch/powerpc/sysdev/xive/common.c flow_type != IRQ_TYPE_LEVEL_LOW) flow_type 799 arch/powerpc/sysdev/xive/common.c irqd_set_trigger_type(d, flow_type); flow_type 809 arch/powerpc/sysdev/xive/common.c if ((flow_type == IRQ_TYPE_LEVEL_LOW) != flow_type 813 arch/powerpc/sysdev/xive/common.c (flow_type == IRQ_TYPE_LEVEL_LOW) ? "Level" : "Edge", flow_type 337 drivers/gpio/gpio-104-dio-48e.c static int dio48e_irq_set_type(struct irq_data *data, unsigned flow_type) flow_type 345 drivers/gpio/gpio-104-dio-48e.c if (flow_type != IRQ_TYPE_NONE && flow_type != IRQ_TYPE_EDGE_RISING) flow_type 199 drivers/gpio/gpio-104-idi-48.c static int idi_48_irq_set_type(struct irq_data *data, unsigned flow_type) flow_type 202 drivers/gpio/gpio-104-idi-48.c if (flow_type != IRQ_TYPE_NONE && flow_type 203 drivers/gpio/gpio-104-idi-48.c (flow_type & IRQ_TYPE_EDGE_BOTH) != IRQ_TYPE_EDGE_BOTH) flow_type 183 drivers/gpio/gpio-104-idio-16.c static int idio_16_irq_set_type(struct irq_data *data, unsigned flow_type) flow_type 186 drivers/gpio/gpio-104-idio-16.c if (flow_type != IRQ_TYPE_NONE && flow_type 187 drivers/gpio/gpio-104-idio-16.c (flow_type & IRQ_TYPE_EDGE_BOTH) != IRQ_TYPE_EDGE_BOTH) flow_type 115 drivers/gpio/gpio-ath79.c unsigned int flow_type) flow_type 123 drivers/gpio/gpio-ath79.c switch (flow_type) { flow_type 143 drivers/gpio/gpio-ath79.c if (flow_type == IRQ_TYPE_EDGE_BOTH) { flow_type 309 drivers/gpio/gpio-eic-sprd.c static int sprd_eic_irq_set_type(struct irq_data *data, unsigned int flow_type) flow_type 318 drivers/gpio/gpio-eic-sprd.c switch (flow_type) { flow_type 343 drivers/gpio/gpio-eic-sprd.c switch (flow_type) { flow_type 368 drivers/gpio/gpio-eic-sprd.c switch (flow_type) { flow_type 403 drivers/gpio/gpio-eic-sprd.c switch (flow_type) { flow_type 152 drivers/gpio/gpio-hlwd.c unsigned int flow_type) flow_type 166 drivers/gpio/gpio-hlwd.c if (flow_type & IRQ_TYPE_EDGE_RISING) flow_type 168 drivers/gpio/gpio-hlwd.c if (flow_type & IRQ_TYPE_EDGE_FALLING) flow_type 172 drivers/gpio/gpio-hlwd.c static int hlwd_gpio_irq_set_type(struct irq_data *data, unsigned int flow_type) flow_type 183 drivers/gpio/gpio-hlwd.c switch (flow_type) { flow_type 197 drivers/gpio/gpio-hlwd.c hlwd_gpio_irq_setup_emulation(hlwd, data->hwirq, flow_type); flow_type 185 drivers/gpio/gpio-mpc8xxx.c static int mpc8xxx_irq_set_type(struct irq_data *d, unsigned int flow_type) flow_type 191 drivers/gpio/gpio-mpc8xxx.c switch (flow_type) { flow_type 215 drivers/gpio/gpio-mpc8xxx.c static int mpc512x_irq_set_type(struct irq_data *d, unsigned int flow_type) flow_type 232 drivers/gpio/gpio-mpc8xxx.c switch (flow_type) { flow_type 248 drivers/gpio/gpio-pci-idio-16.c static int idio_16_irq_set_type(struct irq_data *data, unsigned int flow_type) flow_type 251 drivers/gpio/gpio-pci-idio-16.c if (flow_type != IRQ_TYPE_NONE && flow_type 252 drivers/gpio/gpio-pci-idio-16.c (flow_type & IRQ_TYPE_EDGE_BOTH) != IRQ_TYPE_EDGE_BOTH) flow_type 414 drivers/gpio/gpio-pcie-idio-24.c static int idio_24_irq_set_type(struct irq_data *data, unsigned int flow_type) flow_type 417 drivers/gpio/gpio-pcie-idio-24.c if (flow_type != IRQ_TYPE_NONE && flow_type 418 drivers/gpio/gpio-pcie-idio-24.c (flow_type & IRQ_TYPE_EDGE_BOTH) != IRQ_TYPE_EDGE_BOTH) flow_type 169 drivers/gpio/gpio-pmic-eic-sprd.c unsigned int flow_type) flow_type 174 drivers/gpio/gpio-pmic-eic-sprd.c switch (flow_type) { flow_type 142 drivers/gpio/gpio-sprd.c unsigned int flow_type) flow_type 147 drivers/gpio/gpio-sprd.c switch (flow_type) { flow_type 319 drivers/gpio/gpio-thunderx.c unsigned int flow_type) flow_type 325 drivers/gpio/gpio-thunderx.c irqd_set_trigger_type(data, flow_type); flow_type 329 drivers/gpio/gpio-thunderx.c if (flow_type & IRQ_TYPE_EDGE_BOTH) { flow_type 337 drivers/gpio/gpio-thunderx.c if (flow_type & (IRQ_TYPE_EDGE_FALLING | IRQ_TYPE_LEVEL_LOW)) { flow_type 308 drivers/gpio/gpio-ws16c48.c static int ws16c48_irq_set_type(struct irq_data *data, unsigned flow_type) flow_type 323 drivers/gpio/gpio-ws16c48.c switch (flow_type) { flow_type 1527 drivers/infiniband/hw/mlx4/main.c enum mlx4_net_trans_promisc_mode flow_type, flow_type 1555 drivers/infiniband/hw/mlx4/main.c if (mlx4_map_sw_to_hw_steering_mode(mdev->dev, flow_type) < 0) flow_type 1565 drivers/infiniband/hw/mlx4/main.c ctrl->type = mlx4_map_sw_to_hw_steering_mode(mdev->dev, flow_type); flow_type 1594 drivers/infiniband/hw/mlx4/main.c if (mlx4_is_master(mdev->dev) && flow_type == MLX4_FS_REGULAR && flow_type 298 drivers/infiniband/hw/mlx5/flow.c obj->flow_type = uverbs_attr_get_enum_id( flow_type 301 drivers/infiniband/hw/mlx5/flow.c if (obj->flow_type == MLX5_IB_FLOW_TYPE_NORMAL) { flow_type 4108 drivers/infiniband/hw/mlx5/main.c if (fs_matcher->flow_type != MLX5_IB_FLOW_TYPE_NORMAL) flow_type 189 drivers/infiniband/hw/mlx5/mlx5_ib.h enum mlx5_ib_flow_type flow_type; flow_type 64 drivers/irqchip/irq-al-fic.c static int al_fic_irq_set_type(struct irq_data *data, unsigned int flow_type) flow_type 73 drivers/irqchip/irq-al-fic.c if (((flow_type & IRQ_TYPE_SENSE_MASK) != IRQ_TYPE_LEVEL_HIGH) && flow_type 74 drivers/irqchip/irq-al-fic.c ((flow_type & IRQ_TYPE_SENSE_MASK) != IRQ_TYPE_EDGE_RISING)) { flow_type 75 drivers/irqchip/irq-al-fic.c pr_debug("fic doesn't support flow type %d\n", flow_type); flow_type 80 drivers/irqchip/irq-al-fic.c new_state = (flow_type & IRQ_TYPE_LEVEL_HIGH) ? flow_type 74 drivers/irqchip/irq-davinci-cp-intc.c unsigned int flow_type) flow_type 83 drivers/irqchip/irq-davinci-cp-intc.c switch (flow_type) { flow_type 151 drivers/irqchip/irq-imgpdc.c static int syswake_irq_set_type(struct irq_data *data, unsigned int flow_type) flow_type 159 drivers/irqchip/irq-imgpdc.c switch (flow_type) { flow_type 189 drivers/irqchip/irq-imgpdc.c irq_setup_alt_chip(data, flow_type); flow_type 78 drivers/irqchip/irq-pic32-evic.c unsigned int flow_type) flow_type 84 drivers/irqchip/irq-pic32-evic.c if (!(flow_type & IRQ_TYPE_EDGE_BOTH)) flow_type 90 drivers/irqchip/irq-pic32-evic.c ret = pic32_set_ext_polarity(i, flow_type); flow_type 96 drivers/irqchip/irq-pic32-evic.c irqd_set_trigger_type(data, flow_type); flow_type 40 drivers/irqchip/irq-rda-intc.c static int rda_intc_set_type(struct irq_data *data, unsigned int flow_type) flow_type 43 drivers/irqchip/irq-rda-intc.c if ((flow_type & (IRQF_TRIGGER_HIGH | IRQF_TRIGGER_LOW)) == flow_type) flow_type 110 drivers/irqchip/irq-sunxi-nmi.c static int sunxi_sc_nmi_set_type(struct irq_data *data, unsigned int flow_type) flow_type 121 drivers/irqchip/irq-sunxi-nmi.c switch (flow_type & IRQF_TRIGGER_MASK) { flow_type 142 drivers/irqchip/irq-sunxi-nmi.c irqd_set_trigger_type(data, flow_type); flow_type 143 drivers/irqchip/irq-sunxi-nmi.c irq_setup_alt_chip(data, flow_type); flow_type 146 drivers/irqchip/irq-sunxi-nmi.c if (ct->type & flow_type) flow_type 88 drivers/irqchip/irq-tango.c static int tangox_irq_set_type(struct irq_data *d, unsigned int flow_type) flow_type 94 drivers/irqchip/irq-tango.c switch (flow_type & IRQ_TYPE_SENSE_MASK) { flow_type 117 drivers/irqchip/irq-tango.c flow_type, d->irq); flow_type 121 drivers/irqchip/irq-tango.c return irq_setup_alt_chip(d, flow_type); flow_type 42 drivers/irqchip/irq-tb10x.c static int tb10x_irq_set_type(struct irq_data *data, unsigned int flow_type) flow_type 54 drivers/irqchip/irq-tb10x.c switch (flow_type & IRQF_TRIGGER_MASK) { flow_type 62 drivers/irqchip/irq-tb10x.c flow_type = IRQ_TYPE_LEVEL_LOW; flow_type 76 drivers/irqchip/irq-tb10x.c irqd_set_trigger_type(data, flow_type); flow_type 77 drivers/irqchip/irq-tb10x.c irq_setup_alt_chip(data, flow_type); flow_type 102 drivers/irqchip/irq-vt8500.c static int vt8500_irq_set_type(struct irq_data *d, unsigned int flow_type) flow_type 111 drivers/irqchip/irq-vt8500.c switch (flow_type) { flow_type 47 drivers/mfd/htc-i2cpld.c unsigned int flow_type; flow_type 96 drivers/mfd/htc-i2cpld.c chip->flow_type = flags; flow_type 177 drivers/mfd/htc-i2cpld.c unsigned oldb, newb, type = chip->flow_type; flow_type 295 drivers/mfd/qcom-pm8xxx.c static int pm8xxx_irq_set_type(struct irq_data *d, unsigned int flow_type) flow_type 307 drivers/mfd/qcom-pm8xxx.c if (flow_type & (IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING)) { flow_type 308 drivers/mfd/qcom-pm8xxx.c if (flow_type & IRQF_TRIGGER_RISING) flow_type 310 drivers/mfd/qcom-pm8xxx.c if (flow_type & IRQF_TRIGGER_FALLING) flow_type 315 drivers/mfd/qcom-pm8xxx.c if (flow_type & IRQF_TRIGGER_HIGH) flow_type 350 drivers/net/dsa/bcm_sf2_cfp.c switch (fs->flow_type & ~FLOW_EXT) { flow_type 570 drivers/net/dsa/bcm_sf2_cfp.c if (rule->fs.flow_type != fs->flow_type || flow_type 575 drivers/net/dsa/bcm_sf2_cfp.c switch (fs->flow_type & ~FLOW_EXT) { flow_type 613 drivers/net/dsa/bcm_sf2_cfp.c switch (fs->flow_type & ~FLOW_EXT) { flow_type 854 drivers/net/dsa/bcm_sf2_cfp.c switch (fs->flow_type & ~FLOW_EXT) { flow_type 881 drivers/net/dsa/bcm_sf2_cfp.c if ((fs->flow_type & FLOW_EXT) && (fs->m_ext.vlan_etype || flow_type 1596 drivers/net/dsa/mv88e6xxx/chip.c switch (fs->flow_type & ~FLOW_EXT) { flow_type 1615 drivers/net/dsa/mv88e6xxx/chip.c if ((fs->flow_type & FLOW_EXT) && fs->m_ext.vlan_tci) { flow_type 497 drivers/net/ethernet/amazon/ena/ena_ethtool.c switch (cmd->flow_type) { flow_type 545 drivers/net/ethernet/amazon/ena/ena_ethtool.c switch (cmd->flow_type) { flow_type 11 drivers/net/ethernet/aquantia/atlantic/aq_filters.c if (fsp->flow_type & FLOW_MAC_EXT) flow_type 14 drivers/net/ethernet/aquantia/atlantic/aq_filters.c switch (fsp->flow_type & ~FLOW_EXT) { flow_type 56 drivers/net/ethernet/aquantia/atlantic/aq_filters.c if (fsp1->flow_type != fsp2->flow_type || flow_type 184 drivers/net/ethernet/aquantia/atlantic/aq_filters.c if (fsp->flow_type & FLOW_EXT) { flow_type 196 drivers/net/ethernet/aquantia/atlantic/aq_filters.c switch (fsp->flow_type & ~FLOW_EXT) { flow_type 241 drivers/net/ethernet/aquantia/atlantic/aq_filters.c } else if ((fsp->flow_type & ~FLOW_EXT) != ETHER_FLOW && flow_type 247 drivers/net/ethernet/aquantia/atlantic/aq_filters.c } else if (fsp->flow_type & FLOW_MAC_EXT) { flow_type 485 drivers/net/ethernet/aquantia/atlantic/aq_filters.c switch (fsp->flow_type) { flow_type 522 drivers/net/ethernet/aquantia/atlantic/aq_filters.c if (fsp->flow_type != IP_USER_FLOW && flow_type 523 drivers/net/ethernet/aquantia/atlantic/aq_filters.c fsp->flow_type != IPV6_USER_FLOW) { flow_type 585 drivers/net/ethernet/aquantia/atlantic/aq_filters.c if (aq_rx_fltr->aq_fsp.flow_type & FLOW_EXT) { flow_type 596 drivers/net/ethernet/aquantia/atlantic/aq_filters.c switch (aq_rx_fltr->aq_fsp.flow_type & ~FLOW_EXT) { flow_type 3329 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c switch (info->flow_type) { flow_type 3384 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c info->flow_type, info->data); flow_type 3386 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c switch (info->flow_type) { flow_type 3415 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if ((info->flow_type == UDP_V4_FLOW) && flow_type 3424 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c } else if ((info->flow_type == UDP_V6_FLOW) && flow_type 952 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c fs->flow_type = TCP_V4_FLOW; flow_type 954 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c fs->flow_type = UDP_V4_FLOW; flow_type 973 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c fs->flow_type = TCP_V6_FLOW; flow_type 975 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c fs->flow_type = UDP_V6_FLOW; flow_type 1021 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c switch (cmd->flow_type) { flow_type 1080 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c if (cmd->flow_type == TCP_V4_FLOW) { flow_type 1084 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c } else if (cmd->flow_type == UDP_V4_FLOW) { flow_type 1090 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c } else if (cmd->flow_type == TCP_V6_FLOW) { flow_type 1094 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c } else if (cmd->flow_type == UDP_V6_FLOW) { flow_type 1104 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c switch (cmd->flow_type) { flow_type 3005 drivers/net/ethernet/cadence/macb_main.c fs->flow_type, (int)fs->ring_cookie, fs->location, flow_type 3058 drivers/net/ethernet/cadence/macb_main.c fs->flow_type, (int)fs->ring_cookie, fs->location, flow_type 519 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c switch (info->flow_type) { flow_type 569 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c info->flow_type, info->data); flow_type 574 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c switch (info->flow_type) { flow_type 1340 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c switch (info->flow_type) { flow_type 450 drivers/net/ethernet/cisco/enic/enic_ethtool.c fsp->flow_type = TCP_V4_FLOW; flow_type 453 drivers/net/ethernet/cisco/enic/enic_ethtool.c fsp->flow_type = UDP_V4_FLOW; flow_type 485 drivers/net/ethernet/cisco/enic/enic_ethtool.c switch (cmd->flow_type) { flow_type 1071 drivers/net/ethernet/emulex/benet/be_ethtool.c static u64 be_get_rss_hash_opts(struct be_adapter *adapter, u64 flow_type) flow_type 1075 drivers/net/ethernet/emulex/benet/be_ethtool.c switch (flow_type) { flow_type 1118 drivers/net/ethernet/emulex/benet/be_ethtool.c cmd->data = be_get_rss_hash_opts(adapter, cmd->flow_type); flow_type 1140 drivers/net/ethernet/emulex/benet/be_ethtool.c switch (cmd->flow_type) { flow_type 388 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c switch (cmd->flow_type) { flow_type 457 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c switch (nfc->flow_type) { flow_type 449 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c switch (fs->flow_type & 0xFF) { flow_type 478 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c if (fs->flow_type & FLOW_EXT) { flow_type 484 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c if (fs->flow_type & FLOW_MAC_EXT) { flow_type 292 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c if (rxnfc->flow_type >= ARRAY_SIZE(rsshash)) flow_type 295 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c rxnfc->data = rsshash[rxnfc->flow_type]; flow_type 320 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c switch (fs->flow_type & 0xff) { flow_type 809 drivers/net/ethernet/freescale/gianfar_ethtool.c if (!gfar_ethflow_to_filer_table(priv, cmd->data, cmd->flow_type)) flow_type 1105 drivers/net/ethernet/freescale/gianfar_ethtool.c if ((rule->flow_type & FLOW_EXT) && flow_type 1128 drivers/net/ethernet/freescale/gianfar_ethtool.c switch (rule->flow_type & ~FLOW_EXT) { flow_type 1230 drivers/net/ethernet/freescale/gianfar_ethtool.c if (flow->flow_type & FLOW_EXT) { flow_type 1238 drivers/net/ethernet/freescale/gianfar_ethtool.c if (flow->flow_type == IP_USER_FLOW) flow_type 4245 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (nfc->flow_type == SCTP_V4_FLOW || nfc->flow_type == SCTP_V6_FLOW) flow_type 4278 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c switch (nfc->flow_type) { flow_type 4338 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c switch (nfc->flow_type) { flow_type 5146 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (!(fs->flow_type & hdev->fd_cfg.proto_support)) flow_type 5149 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if ((fs->flow_type & FLOW_EXT) && flow_type 5155 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { flow_type 5273 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if ((fs->flow_type & FLOW_EXT)) { flow_type 5287 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (fs->flow_type & FLOW_MAC_EXT) { flow_type 5372 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u32 flow_type = fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT); flow_type 5374 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c switch (flow_type) { flow_type 5488 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c switch (flow_type) { flow_type 5508 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if ((fs->flow_type & FLOW_EXT)) { flow_type 5513 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (fs->flow_type & FLOW_MAC_EXT) { flow_type 5618 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c rule->flow_type = fs->flow_type; flow_type 5794 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c fs->flow_type = rule->flow_type; flow_type 5795 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { flow_type 5939 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (fs->flow_type & FLOW_EXT) { flow_type 5947 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (fs->flow_type & FLOW_MAC_EXT) { flow_type 6055 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c rule->flow_type = TCP_V4_FLOW; flow_type 6057 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c rule->flow_type = UDP_V4_FLOW; flow_type 6060 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c rule->flow_type = TCP_V6_FLOW; flow_type 6062 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c rule->flow_type = UDP_V6_FLOW; flow_type 614 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h u32 flow_type; flow_type 816 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c if (nfc->flow_type == SCTP_V4_FLOW || nfc->flow_type == SCTP_V6_FLOW) flow_type 852 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c switch (nfc->flow_type) { flow_type 915 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c switch (nfc->flow_type) { flow_type 177 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c switch (cmd->flow_type) { flow_type 221 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c switch (cmd->flow_type) { flow_type 268 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c switch (cmd->flow_type) { flow_type 2119 drivers/net/ethernet/intel/e1000e/ethtool.c switch (info->flow_type) { flow_type 693 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c switch (cmd->flow_type) { flow_type 764 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c switch (nfc->flow_type) { flow_type 221 drivers/net/ethernet/intel/i40e/i40e.h u8 flow_type; flow_type 2988 drivers/net/ethernet/intel/i40e/i40e_ethtool.c switch (cmd->flow_type) { flow_type 3033 drivers/net/ethernet/intel/i40e/i40e_ethtool.c if (cmd->flow_type == TCP_V4_FLOW || flow_type 3034 drivers/net/ethernet/intel/i40e/i40e_ethtool.c cmd->flow_type == UDP_V4_FLOW) { flow_type 3039 drivers/net/ethernet/intel/i40e/i40e_ethtool.c } else if (cmd->flow_type == TCP_V6_FLOW || flow_type 3040 drivers/net/ethernet/intel/i40e/i40e_ethtool.c cmd->flow_type == UDP_V6_FLOW) { flow_type 3099 drivers/net/ethernet/intel/i40e/i40e_ethtool.c if (!(fsp->flow_type & FLOW_EXT)) flow_type 3142 drivers/net/ethernet/intel/i40e/i40e_ethtool.c fsp->flow_type |= FLOW_EXT; flow_type 3214 drivers/net/ethernet/intel/i40e/i40e_ethtool.c fsp->flow_type = rule->flow_type; flow_type 3215 drivers/net/ethernet/intel/i40e/i40e_ethtool.c if (fsp->flow_type == IP_USER_FLOW) { flow_type 3229 drivers/net/ethernet/intel/i40e/i40e_ethtool.c switch (rule->flow_type) { flow_type 3249 drivers/net/ethernet/intel/i40e/i40e_ethtool.c rule->flow_type); flow_type 3364 drivers/net/ethernet/intel/i40e/i40e_ethtool.c if (nfc->flow_type == TCP_V6_FLOW || nfc->flow_type == UDP_V6_FLOW) { flow_type 3367 drivers/net/ethernet/intel/i40e/i40e_ethtool.c } else if (nfc->flow_type == TCP_V4_FLOW || flow_type 3368 drivers/net/ethernet/intel/i40e/i40e_ethtool.c nfc->flow_type == UDP_V4_FLOW) { flow_type 3416 drivers/net/ethernet/intel/i40e/i40e_ethtool.c switch (nfc->flow_type) { flow_type 3584 drivers/net/ethernet/intel/i40e/i40e_ethtool.c if (rule->flow_type != IP_USER_FLOW) flow_type 3610 drivers/net/ethernet/intel/i40e/i40e_ethtool.c if (rule->flow_type == IP_USER_FLOW) flow_type 3911 drivers/net/ethernet/intel/i40e/i40e_ethtool.c switch (fsp->flow_type & ~FLOW_EXT) { flow_type 4066 drivers/net/ethernet/intel/i40e/i40e_ethtool.c switch (fsp->flow_type & ~FLOW_EXT) { flow_type 4101 drivers/net/ethernet/intel/i40e/i40e_ethtool.c switch (fsp->flow_type & ~FLOW_EXT) { flow_type 4368 drivers/net/ethernet/intel/i40e/i40e_ethtool.c a->flow_type != b->flow_type || flow_type 4474 drivers/net/ethernet/intel/i40e/i40e_ethtool.c if (fsp->flow_type & FLOW_MAC_EXT) flow_type 4526 drivers/net/ethernet/intel/i40e/i40e_ethtool.c input->flow_type = fsp->flow_type & ~FLOW_EXT; flow_type 8805 drivers/net/ethernet/intel/i40e/i40e_main.c switch (filter->flow_type) { flow_type 475 drivers/net/ethernet/intel/i40e/i40e_txrx.c switch (input->flow_type & ~FLOW_EXT) { flow_type 508 drivers/net/ethernet/intel/i40e/i40e_txrx.c input->flow_type); flow_type 3231 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c if (tc_filter->flow_type != VIRTCHNL_TCP_V6_FLOW && flow_type 3232 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c tc_filter->flow_type != VIRTCHNL_TCP_V4_FLOW) { flow_type 3365 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c switch (vcf->flow_type) { flow_type 3499 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c switch (vcf->flow_type) { flow_type 2739 drivers/net/ethernet/intel/iavf/iavf_main.c vf->flow_type = VIRTCHNL_TCP_V6_FLOW; flow_type 2986 drivers/net/ethernet/intel/iavf/iavf_main.c filter->f.flow_type = VIRTCHNL_TCP_V4_FLOW; flow_type 1036 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c switch (f->flow_type) { flow_type 2469 drivers/net/ethernet/intel/igb/igb_ethtool.c fsp->flow_type = ETHER_FLOW; flow_type 2476 drivers/net/ethernet/intel/igb/igb_ethtool.c fsp->flow_type |= FLOW_EXT; flow_type 2530 drivers/net/ethernet/intel/igb/igb_ethtool.c switch (cmd->flow_type) { flow_type 2611 drivers/net/ethernet/intel/igb/igb_ethtool.c switch (nfc->flow_type) { flow_type 2940 drivers/net/ethernet/intel/igb/igb_ethtool.c if ((fsp->flow_type & ~FLOW_EXT) != ETHER_FLOW) flow_type 2966 drivers/net/ethernet/intel/igb/igb_ethtool.c if ((fsp->flow_type & FLOW_EXT) && fsp->m_ext.vlan_tci) { flow_type 896 drivers/net/ethernet/intel/igc/igc_ethtool.c fsp->flow_type = ETHER_FLOW; flow_type 903 drivers/net/ethernet/intel/igc/igc_ethtool.c fsp->flow_type |= FLOW_EXT; flow_type 957 drivers/net/ethernet/intel/igc/igc_ethtool.c switch (cmd->flow_type) { flow_type 1046 drivers/net/ethernet/intel/igc/igc_ethtool.c switch (nfc->flow_type) { flow_type 1375 drivers/net/ethernet/intel/igc/igc_ethtool.c if ((fsp->flow_type & ~FLOW_EXT) != ETHER_FLOW) flow_type 1401 drivers/net/ethernet/intel/igc/igc_ethtool.c if ((fsp->flow_type & FLOW_EXT) && fsp->m_ext.vlan_tci) { flow_type 1369 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c u8 flow_type; flow_type 1377 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c tunnel = !!(input.formatted.flow_type & IXGBE_ATR_L4TYPE_TUNNEL_MASK); flow_type 1378 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c flow_type = input.formatted.flow_type & flow_type 1380 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c switch (flow_type) { flow_type 1396 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c fdircmd |= (u32)flow_type << IXGBE_FDIRCMD_FLOW_TYPE_SHIFT; flow_type 1552 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c switch (input_mask->formatted.flow_type & IXGBE_ATR_L4TYPE_MASK) { flow_type 1679 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c fdircmd |= input->formatted.flow_type << IXGBE_FDIRCMD_FLOW_TYPE_SHIFT; flow_type 2434 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c switch (rule->filter.formatted.flow_type) { flow_type 2436 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c fsp->flow_type = TCP_V4_FLOW; flow_type 2439 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c fsp->flow_type = UDP_V4_FLOW; flow_type 2442 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c fsp->flow_type = SCTP_V4_FLOW; flow_type 2445 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c fsp->flow_type = IP_USER_FLOW; flow_type 2468 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c fsp->flow_type |= FLOW_EXT; flow_type 2509 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c switch (cmd->flow_type) { flow_type 2634 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c u8 *flow_type) flow_type 2636 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c switch (fsp->flow_type & ~FLOW_EXT) { flow_type 2638 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c *flow_type = IXGBE_ATR_FLOW_TYPE_TCPV4; flow_type 2641 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c *flow_type = IXGBE_ATR_FLOW_TYPE_UDPV4; flow_type 2644 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c *flow_type = IXGBE_ATR_FLOW_TYPE_SCTPV4; flow_type 2649 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c *flow_type = IXGBE_ATR_FLOW_TYPE_TCPV4; flow_type 2652 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c *flow_type = IXGBE_ATR_FLOW_TYPE_UDPV4; flow_type 2655 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c *flow_type = IXGBE_ATR_FLOW_TYPE_SCTPV4; flow_type 2659 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c *flow_type = IXGBE_ATR_FLOW_TYPE_IPV4; flow_type 2729 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c &input->filter.formatted.flow_type)) { flow_type 2734 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c mask.formatted.flow_type = IXGBE_ATR_L4TYPE_IPV6_MASK | flow_type 2737 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c if (input->filter.formatted.flow_type == IXGBE_ATR_FLOW_TYPE_IPV4) flow_type 2738 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c mask.formatted.flow_type &= IXGBE_ATR_L4TYPE_IPV6_MASK; flow_type 2750 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c if (fsp->flow_type & FLOW_EXT) { flow_type 2833 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c switch (nfc->flow_type) { flow_type 8475 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c input.formatted.flow_type = IXGBE_ATR_FLOW_TYPE_TCPV4; flow_type 8479 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c input.formatted.flow_type = IXGBE_ATR_FLOW_TYPE_TCPV6; flow_type 8494 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c input.formatted.flow_type |= IXGBE_ATR_L4TYPE_TUNNEL_MASK; flow_type 9371 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c input->filter.formatted.flow_type |= flow_type 9395 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c mask->formatted.flow_type = IXGBE_ATR_L4TYPE_IPV6_MASK | flow_type 9398 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (input->filter.formatted.flow_type == IXGBE_ATR_FLOW_TYPE_IPV4) flow_type 9399 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c mask->formatted.flow_type &= IXGBE_ATR_L4TYPE_IPV6_MASK; flow_type 3068 drivers/net/ethernet/intel/ixgbe/ixgbe_type.h u8 flow_type; flow_type 3084 drivers/net/ethernet/intel/ixgbe/ixgbe_type.h u8 flow_type; flow_type 859 drivers/net/ethernet/marvell/mvpp2/mvpp2.h int flow_type; flow_type 16 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c .flow_type = _type, \ flow_type 548 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c static int mvpp2_cls_ethtool_flow_to_type(int flow_type) flow_type 550 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c switch (flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS)) { flow_type 734 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c static int mvpp2_port_rss_hash_opts_set(struct mvpp2_port *port, int flow_type, flow_type 742 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c for_each_cls_flow_id_with_type(i, flow_type) { flow_type 823 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c static u16 mvpp2_port_rss_hash_opts_get(struct mvpp2_port *port, int flow_type) flow_type 830 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c for_each_cls_flow_id_with_type(i, flow_type) { flow_type 1178 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c for_each_cls_flow_id_containing_type(i, rule->flow_type) { flow_type 1211 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c for_each_cls_flow_id_containing_type(i, rule->flow_type) { flow_type 1367 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c if (info->fs.flow_type & FLOW_RSS) flow_type 1377 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c efs->rule.flow_type = mvpp2_cls_ethtool_flow_to_type(info->fs.flow_type); flow_type 1378 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c if (efs->rule.flow_type < 0) { flow_type 1379 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c ret = efs->rule.flow_type; flow_type 1565 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c if (!(rxnfc->fs.flow_type & FLOW_RSS) || flow_type 1622 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c u32 flow_type; flow_type 1624 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c flow_type = mvpp2_cls_ethtool_flow_to_type(info->flow_type); flow_type 1626 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c switch (flow_type) { flow_type 1654 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c return mvpp2_port_rss_hash_opts_set(port, flow_type, hash_opts); flow_type 1660 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c u32 flow_type; flow_type 1663 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c flow_type = mvpp2_cls_ethtool_flow_to_type(info->flow_type); flow_type 1665 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c hash_opts = mvpp2_port_rss_hash_opts_get(port, flow_type); flow_type 197 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.h int flow_type; flow_type 241 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.h if (cls_flows[(i)].flow_type != (type)) \ flow_type 247 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.h if ((cls_flows[(i)].flow_type & (type)) != (type)) \ flow_type 94 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c switch (f->flow_type) { flow_type 1875 drivers/net/ethernet/mediatek/mtk_eth_soc.c if ((fsp->flow_type != TCP_V4_FLOW) || flow_type 1936 drivers/net/ethernet/mediatek/mtk_eth_soc.c fsp->flow_type = TCP_V4_FLOW; flow_type 1328 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c if (cmd->fs.flow_type & FLOW_MAC_EXT) { flow_type 1334 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c switch (cmd->fs.flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { flow_type 1373 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c if ((cmd->fs.flow_type & FLOW_EXT)) { flow_type 1403 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c if ((cmd->fs.flow_type & FLOW_EXT) && flow_type 1424 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c if (cmd->fs.flow_type & FLOW_MAC_EXT) flow_type 1557 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c switch (cmd->fs.flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { flow_type 761 drivers/net/ethernet/mellanox/mlx4/mcg.c enum mlx4_net_trans_promisc_mode flow_type) flow_type 763 drivers/net/ethernet/mellanox/mlx4/mcg.c if (flow_type >= MLX4_FS_MODE_NUM) { flow_type 764 drivers/net/ethernet/mellanox/mlx4/mcg.c mlx4_err(dev, "Invalid flow type. type = %d\n", flow_type); flow_type 767 drivers/net/ethernet/mellanox/mlx4/mcg.c return __promisc_mode[flow_type]; flow_type 68 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { flow_type 329 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c u32 flow_type = fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT); flow_type 331 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c switch (flow_type) { flow_type 357 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c if ((fs->flow_type & FLOW_EXT) && flow_type 361 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c if (fs->flow_type & FLOW_MAC_EXT && flow_type 618 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { flow_type 651 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c if ((fs->flow_type & FLOW_EXT)) { flow_type 658 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c if (fs->flow_type & FLOW_MAC_EXT && flow_type 785 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c static enum mlx5e_traffic_types flow_type_to_traffic_type(u32 flow_type) flow_type 787 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c switch (flow_type) { flow_type 821 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c tt = flow_type_to_traffic_type(nfc->flow_type); flow_type 829 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c if (nfc->flow_type != TCP_V4_FLOW && flow_type 830 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c nfc->flow_type != TCP_V6_FLOW && flow_type 831 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c nfc->flow_type != UDP_V4_FLOW && flow_type 832 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c nfc->flow_type != UDP_V6_FLOW) flow_type 872 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c tt = flow_type_to_traffic_type(nfc->flow_type); flow_type 547 drivers/net/ethernet/microchip/lan743x_ethtool.c switch (rxnfc->flow_type) { flow_type 781 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c static u32 ethtool_flow_to_nfp_flag(u32 flow_type) flow_type 792 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c if (flow_type >= ARRAY_SIZE(xlate_ethtool_to_nfp)) flow_type 795 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c return xlate_ethtool_to_nfp[flow_type]; flow_type 808 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c nfp_rss_flag = ethtool_flow_to_nfp_flag(cmd->flow_type); flow_type 855 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c nfp_rss_flag = ethtool_flow_to_nfp_flag(nfc->flow_type); flow_type 1202 drivers/net/ethernet/qlogic/qede/qede_ethtool.c switch (info->flow_type) { flow_type 1265 drivers/net/ethernet/qlogic/qede/qede_ethtool.c info->flow_type, info->data); flow_type 1267 drivers/net/ethernet/qlogic/qede/qede_ethtool.c switch (info->flow_type) { flow_type 1426 drivers/net/ethernet/qlogic/qede/qede_filter.c fsp->flow_type = TCP_V4_FLOW; flow_type 1428 drivers/net/ethernet/qlogic/qede/qede_filter.c fsp->flow_type = UDP_V4_FLOW; flow_type 1436 drivers/net/ethernet/qlogic/qede/qede_filter.c fsp->flow_type = TCP_V6_FLOW; flow_type 1438 drivers/net/ethernet/qlogic/qede/qede_filter.c fsp->flow_type = UDP_V6_FLOW; flow_type 1585 drivers/net/ethernet/qlogic/qede/qede_filter.c if (fs->flow_type & FLOW_MAC_EXT) { flow_type 1590 drivers/net/ethernet/qlogic/qede/qede_filter.c if ((fs->flow_type & FLOW_EXT) && flow_type 1596 drivers/net/ethernet/qlogic/qede/qede_filter.c if ((fs->flow_type & FLOW_EXT) && flow_type 2059 drivers/net/ethernet/qlogic/qede/qede_filter.c switch ((fs->flow_type & ~FLOW_EXT)) { flow_type 2070 drivers/net/ethernet/qlogic/qede/qede_filter.c "Can't support flow of type %08x\n", fs->flow_type); flow_type 315 drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c switch (cmd->flow_type) { flow_type 374 drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c switch (cmd->flow_type) { flow_type 843 drivers/net/ethernet/sfc/ethtool.c rule->flow_type = ((spec.ip_proto == IPPROTO_TCP) ? flow_type 870 drivers/net/ethernet/sfc/ethtool.c rule->flow_type = ((spec.ip_proto == IPPROTO_TCP) ? flow_type 894 drivers/net/ethernet/sfc/ethtool.c rule->flow_type = ETHER_FLOW; flow_type 918 drivers/net/ethernet/sfc/ethtool.c rule->flow_type = IPV4_USER_FLOW; flow_type 938 drivers/net/ethernet/sfc/ethtool.c rule->flow_type = IPV6_USER_FLOW; flow_type 960 drivers/net/ethernet/sfc/ethtool.c rule->flow_type |= FLOW_EXT; flow_type 966 drivers/net/ethernet/sfc/ethtool.c rule->flow_type |= FLOW_RSS; flow_type 990 drivers/net/ethernet/sfc/ethtool.c if (info->flow_type & FLOW_RSS && info->rss_context) { flow_type 1000 drivers/net/ethernet/sfc/ethtool.c switch (info->flow_type & ~FLOW_RSS) { flow_type 1046 drivers/net/ethernet/sfc/ethtool.c if (info->fs.flow_type & FLOW_RSS) flow_type 1088 drivers/net/ethernet/sfc/ethtool.c u32 flow_type = rule->flow_type & ~(FLOW_EXT | FLOW_RSS); flow_type 1105 drivers/net/ethernet/sfc/ethtool.c if ((rule->flow_type & FLOW_EXT) && flow_type 1112 drivers/net/ethernet/sfc/ethtool.c if (rule->flow_type & FLOW_RSS) flow_type 1119 drivers/net/ethernet/sfc/ethtool.c if (rule->flow_type & FLOW_RSS) flow_type 1122 drivers/net/ethernet/sfc/ethtool.c switch (flow_type) { flow_type 1128 drivers/net/ethernet/sfc/ethtool.c spec.ip_proto = flow_type == TCP_V4_FLOW ? IPPROTO_TCP flow_type 1163 drivers/net/ethernet/sfc/ethtool.c spec.ip_proto = flow_type == TCP_V6_FLOW ? IPPROTO_TCP flow_type 1273 drivers/net/ethernet/sfc/ethtool.c if ((rule->flow_type & FLOW_EXT) && rule->m_ext.vlan_tci) { flow_type 820 drivers/net/ethernet/sfc/falcon/ethtool.c rule->flow_type = ((spec.ip_proto == IPPROTO_TCP) ? flow_type 847 drivers/net/ethernet/sfc/falcon/ethtool.c rule->flow_type = ((spec.ip_proto == IPPROTO_TCP) ? flow_type 871 drivers/net/ethernet/sfc/falcon/ethtool.c rule->flow_type = ETHER_FLOW; flow_type 895 drivers/net/ethernet/sfc/falcon/ethtool.c rule->flow_type = IPV4_USER_FLOW; flow_type 915 drivers/net/ethernet/sfc/falcon/ethtool.c rule->flow_type = IPV6_USER_FLOW; flow_type 937 drivers/net/ethernet/sfc/falcon/ethtool.c rule->flow_type |= FLOW_EXT; flow_type 960 drivers/net/ethernet/sfc/falcon/ethtool.c switch (info->flow_type) { flow_type 1047 drivers/net/ethernet/sfc/falcon/ethtool.c if ((rule->flow_type & FLOW_EXT) && flow_type 1057 drivers/net/ethernet/sfc/falcon/ethtool.c switch (rule->flow_type & ~FLOW_EXT) { flow_type 1063 drivers/net/ethernet/sfc/falcon/ethtool.c spec.ip_proto = ((rule->flow_type & ~FLOW_EXT) == TCP_V4_FLOW ? flow_type 1098 drivers/net/ethernet/sfc/falcon/ethtool.c spec.ip_proto = ((rule->flow_type & ~FLOW_EXT) == TCP_V6_FLOW ? flow_type 1208 drivers/net/ethernet/sfc/falcon/ethtool.c if ((rule->flow_type & FLOW_EXT) && rule->m_ext.vlan_tci) { flow_type 6903 drivers/net/ethernet/sun/niu.c static void niu_ethflow_to_l3proto(int flow_type, u8 *pid) flow_type 6905 drivers/net/ethernet/sun/niu.c switch (flow_type) { flow_type 6932 drivers/net/ethernet/sun/niu.c static int niu_class_to_ethflow(u64 class, int *flow_type) flow_type 6936 drivers/net/ethernet/sun/niu.c *flow_type = TCP_V4_FLOW; flow_type 6939 drivers/net/ethernet/sun/niu.c *flow_type = UDP_V4_FLOW; flow_type 6942 drivers/net/ethernet/sun/niu.c *flow_type = AH_V4_FLOW; flow_type 6945 drivers/net/ethernet/sun/niu.c *flow_type = SCTP_V4_FLOW; flow_type 6948 drivers/net/ethernet/sun/niu.c *flow_type = TCP_V6_FLOW; flow_type 6951 drivers/net/ethernet/sun/niu.c *flow_type = UDP_V6_FLOW; flow_type 6954 drivers/net/ethernet/sun/niu.c *flow_type = AH_V6_FLOW; flow_type 6957 drivers/net/ethernet/sun/niu.c *flow_type = SCTP_V6_FLOW; flow_type 6963 drivers/net/ethernet/sun/niu.c *flow_type = IP_USER_FLOW; flow_type 6972 drivers/net/ethernet/sun/niu.c static int niu_ethflow_to_class(int flow_type, u64 *class) flow_type 6974 drivers/net/ethernet/sun/niu.c switch (flow_type) { flow_type 7064 drivers/net/ethernet/sun/niu.c if (!niu_ethflow_to_class(nfc->flow_type, &class)) flow_type 7099 drivers/net/ethernet/sun/niu.c switch (fsp->flow_type) { flow_type 7174 drivers/net/ethernet/sun/niu.c ret = niu_class_to_ethflow(class, &fsp->flow_type); flow_type 7181 drivers/net/ethernet/sun/niu.c if (fsp->flow_type == AH_V4_FLOW || fsp->flow_type == AH_V6_FLOW) { flow_type 7185 drivers/net/ethernet/sun/niu.c if (fsp->flow_type == AH_V4_FLOW) flow_type 7186 drivers/net/ethernet/sun/niu.c fsp->flow_type = ESP_V4_FLOW; flow_type 7188 drivers/net/ethernet/sun/niu.c fsp->flow_type = ESP_V6_FLOW; flow_type 7192 drivers/net/ethernet/sun/niu.c switch (fsp->flow_type) { flow_type 7300 drivers/net/ethernet/sun/niu.c if (!niu_ethflow_to_class(nfc->flow_type, &class)) flow_type 7371 drivers/net/ethernet/sun/niu.c switch (fsp->flow_type) { flow_type 7382 drivers/net/ethernet/sun/niu.c niu_ethflow_to_l3proto(fsp->flow_type, &pid); flow_type 7391 drivers/net/ethernet/sun/niu.c niu_ethflow_to_l3proto(fsp->flow_type, &pid); flow_type 7430 drivers/net/ethernet/sun/niu.c if (fsp->flow_type == IP_USER_FLOW) { flow_type 7493 drivers/net/ethernet/sun/niu.c if (!niu_ethflow_to_class(fsp->flow_type, &class)) { flow_type 7506 drivers/net/ethernet/sun/niu.c switch (fsp->flow_type) { flow_type 7521 drivers/net/ethernet/sun/niu.c parent->index, __func__, fsp->flow_type); flow_type 7529 drivers/net/ethernet/sun/niu.c parent->index, __func__, fsp->flow_type); flow_type 1510 drivers/net/hyperv/netvsc_drv.c switch (info->flow_type) { flow_type 1572 drivers/net/hyperv/netvsc_drv.c switch (info->flow_type) { flow_type 1597 drivers/net/hyperv/netvsc_drv.c switch (info->flow_type) { flow_type 519 drivers/pinctrl/pinctrl-sx150x.c static int sx150x_irq_set_type(struct irq_data *d, unsigned int flow_type) flow_type 525 drivers/pinctrl/pinctrl-sx150x.c if (flow_type & (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_LEVEL_LOW)) flow_type 530 drivers/pinctrl/pinctrl-sx150x.c if (flow_type & IRQ_TYPE_EDGE_RISING) flow_type 532 drivers/pinctrl/pinctrl-sx150x.c if (flow_type & IRQ_TYPE_EDGE_FALLING) flow_type 602 drivers/spmi/spmi-pmic-arb.c static int qpnpint_irq_set_type(struct irq_data *d, unsigned int flow_type) flow_type 610 drivers/spmi/spmi-pmic-arb.c if (flow_type & (IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING)) { flow_type 612 drivers/spmi/spmi-pmic-arb.c if (flow_type & IRQF_TRIGGER_RISING) flow_type 614 drivers/spmi/spmi-pmic-arb.c if (flow_type & IRQF_TRIGGER_FALLING) flow_type 619 drivers/spmi/spmi-pmic-arb.c if ((flow_type & (IRQF_TRIGGER_HIGH)) && flow_type 620 drivers/spmi/spmi-pmic-arb.c (flow_type & (IRQF_TRIGGER_LOW))) flow_type 624 drivers/spmi/spmi-pmic-arb.c if (flow_type & IRQF_TRIGGER_HIGH) flow_type 151 drivers/vlynq/vlynq.c static int vlynq_irq_type(struct irq_data *d, unsigned int flow_type) flow_type 160 drivers/vlynq/vlynq.c switch (flow_type & IRQ_TYPE_SENSE_MASK) { flow_type 571 include/linux/avf/virtchnl.h enum virtchnl_flow_type flow_type; flow_type 23 include/linux/ethtool.h u32 flow_type; flow_type 34 include/linux/ethtool.h u32 flow_type; flow_type 483 include/linux/irq.h int (*irq_set_type)(struct irq_data *data, unsigned int flow_type); flow_type 1454 include/linux/mlx4/device.h enum mlx4_net_trans_promisc_mode flow_type); flow_type 906 include/uapi/linux/ethtool.h __u32 flow_type; flow_type 1003 include/uapi/linux/ethtool.h __u32 flow_type; flow_type 1092 include/uapi/linux/ethtool.h __u32 flow_type; flow_type 929 net/core/ethtool.c if (cmd == ETHTOOL_GRXFH && info.flow_type & FLOW_RSS) { flow_type 936 net/core/ethtool.c if (!(info.flow_type & FLOW_RSS)) flow_type 2893 net/core/ethtool.c switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS)) { flow_type 3024 net/core/ethtool.c switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS)) { flow_type 3040 net/core/ethtool.c if (fs->flow_type & FLOW_EXT) { flow_type 3074 net/core/ethtool.c if (fs->flow_type & FLOW_MAC_EXT) { flow_type 3099 net/core/ethtool.c if (fs->flow_type & FLOW_RSS)