Searched refs:flow_type (Results 1 - 25 of 127) sorted by relevance

123456

/linux-master/arch/powerpc/sysdev/
H A Dcpm2_pic.c130 static int cpm2_set_irq_type(struct irq_data *d, unsigned int flow_type) argument
140 if (flow_type == IRQ_TYPE_NONE)
141 flow_type = IRQ_TYPE_EDGE_BOTH;
143 if (flow_type != IRQ_TYPE_EDGE_BOTH &&
144 flow_type != IRQ_TYPE_EDGE_FALLING)
147 if (flow_type == IRQ_TYPE_NONE)
148 flow_type = IRQ_TYPE_LEVEL_LOW;
150 if (flow_type & (IRQ_TYPE_EDGE_RISING | IRQ_TYPE_LEVEL_HIGH))
154 irqd_set_trigger_type(d, flow_type);
155 if (flow_type
[all...]
H A Dmpic.h32 extern int mpic_set_irq_type(struct irq_data *d, unsigned int flow_type);
H A Dehv_pic.c112 static int ehv_pic_set_irq_type(struct irq_data *d, unsigned int flow_type) argument
118 if (flow_type == IRQ_TYPE_NONE)
119 flow_type = IRQ_TYPE_LEVEL_LOW;
121 irqd_set_trigger_type(d, flow_type);
123 vecpri = ehv_pic_type_to_vecpri(flow_type);
/linux-master/drivers/irqchip/
H A Dirq-rda-intc.c40 static int rda_intc_set_type(struct irq_data *data, unsigned int flow_type) argument
43 if ((flow_type & (IRQF_TRIGGER_HIGH | IRQF_TRIGGER_LOW)) == flow_type)
H A Dirq-al-fic.c63 static int al_fic_irq_set_type(struct irq_data *data, unsigned int flow_type) argument
72 if (((flow_type & IRQ_TYPE_SENSE_MASK) != IRQ_TYPE_LEVEL_HIGH) &&
73 ((flow_type & IRQ_TYPE_SENSE_MASK) != IRQ_TYPE_EDGE_RISING)) {
74 pr_debug("fic doesn't support flow type %d\n", flow_type);
79 new_state = (flow_type & IRQ_TYPE_LEVEL_HIGH) ?
H A Dirq-sunxi-nmi.c96 static int sunxi_sc_nmi_set_type(struct irq_data *data, unsigned int flow_type) argument
107 switch (flow_type & IRQF_TRIGGER_MASK) {
128 irqd_set_trigger_type(data, flow_type);
129 irq_setup_alt_chip(data, flow_type);
132 if (ct->type & flow_type)
H A Dirq-tb10x.c41 static int tb10x_irq_set_type(struct irq_data *data, unsigned int flow_type) argument
53 switch (flow_type & IRQF_TRIGGER_MASK) {
61 flow_type = IRQ_TYPE_LEVEL_LOW;
76 irqd_set_trigger_type(data, flow_type);
77 irq_setup_alt_chip(data, flow_type);
H A Dirq-wpcm450-aic.c97 static int wpcm450_aic_set_type(struct irq_data *d, unsigned int flow_type) argument
105 if ((flow_type & IRQ_TYPE_SENSE_MASK) != IRQ_TYPE_LEVEL_HIGH)
H A Dirq-pic32-evic.c77 unsigned int flow_type)
83 if (!(flow_type & IRQ_TYPE_EDGE_BOTH))
89 ret = pic32_set_ext_polarity(i, flow_type);
95 irqd_set_trigger_type(data, flow_type);
76 pic32_set_type_edge(struct irq_data *data, unsigned int flow_type) argument
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs_ethtool.c54 static int flow_type_to_traffic_type(u32 flow_type);
56 static u32 flow_type_mask(u32 flow_type) argument
58 return flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS);
94 switch (flow_type_mask(fs->flow_type)) {
353 u32 flow_type = flow_type_mask(fs->flow_type); local
355 switch (flow_type) {
381 if ((fs->flow_type & FLOW_EXT) &&
385 if (fs->flow_type & FLOW_MAC_EXT &&
427 if (fs->flow_type
430 u32 flow_type; local
867 flow_type_to_traffic_type(u32 flow_type) argument
899 u32 flow_type = 0; local
946 u32 flow_type = 0; local
[all...]
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_arfs.h56 enum ice_fltr_ptype flow_type);
80 enum ice_fltr_ptype __always_unused flow_type)
79 ice_is_arfs_using_perfect_flow(struct ice_hw __always_unused *hw, enum ice_fltr_ptype __always_unused flow_type) argument
H A Dice_arfs.c19 * @flow_type: flow type as Flow Director understands it
22 * the specified flow_type for perfect (4-tuple) filters.
25 ice_is_arfs_using_perfect_flow(struct ice_hw *hw, enum ice_fltr_ptype flow_type) argument
39 switch (flow_type) {
65 switch (entry->fltr_info.flow_type) {
92 entry->fltr_info.flow_type);
191 if (arfs_entry->fltr_info.flow_type != ICE_FLTR_PTYPE_NONF_IPV4_UDP &&
192 arfs_entry->fltr_info.flow_type != ICE_FLTR_PTYPE_NONF_IPV6_UDP)
229 enum ice_fltr_ptype flow_type = e->fltr_info.flow_type; local
[all...]
H A Dice_ethtool_fdir.c134 fsp->flow_type = ice_fltr_to_ethtool_flow(rule->flow_type);
139 switch (fsp->flow_type) {
211 idx = ice_ethtool_flow_to_fltr(fsp->flow_type);
213 dev_err(ice_hw_to_dev(hw), "Missing input index for flow_type %d\n",
214 rule->flow_type);
384 * @flow_type: FDir flow type to release
388 enum ice_fltr_ptype flow_type)
390 int flow = (int)flow_type & ~FLOW_EXT;
483 if (!(fsp->flow_type
387 ice_fdir_rem_flow(struct ice_hw *hw, enum ice_block blk, enum ice_fltr_ptype flow_type) argument
1553 ice_fdir_do_rem_flow(struct ice_pf *pf, enum ice_fltr_ptype flow_type) argument
1703 int flow_type; local
[all...]
H A Dice_virtchnl_fdir.c322 enum ice_fltr_ptype flow = conf->input.flow_type;
564 flow_type_a = a->flow_type;
565 flow_type_b = b->flow_type;
748 flow = input->flow_type;
830 input->flow_type = ICE_FLTR_PTYPE_NON_IP_L2;
838 input->flow_type = ICE_FLTR_PTYPE_NONF_IPV4_OTHER;
850 input->flow_type = ICE_FLTR_PTYPE_NONF_IPV6_OTHER;
867 input->flow_type = ICE_FLTR_PTYPE_NONF_IPV4_TCP;
869 input->flow_type = ICE_FLTR_PTYPE_NONF_IPV6_TCP;
884 input->flow_type
[all...]
/linux-master/drivers/gpio/
H A Dgpio-rda.c88 unsigned int flow_type)
94 switch (flow_type) {
161 static int rda_gpio_irq_set_type(struct irq_data *data, unsigned int flow_type) argument
167 ret = rda_gpio_set_irq(chip, offset, flow_type);
171 if (flow_type & (IRQ_TYPE_LEVEL_LOW | IRQ_TYPE_LEVEL_HIGH))
173 else if (flow_type & (IRQ_TYPE_EDGE_FALLING | IRQ_TYPE_EDGE_RISING))
87 rda_gpio_set_irq(struct gpio_chip *chip, u32 offset, unsigned int flow_type) argument
H A Dgpio-hlwd.c152 unsigned int flow_type)
166 if (flow_type & IRQ_TYPE_EDGE_RISING)
168 if (flow_type & IRQ_TYPE_EDGE_FALLING)
172 static int hlwd_gpio_irq_set_type(struct irq_data *data, unsigned int flow_type) argument
183 switch (flow_type) {
197 hlwd_gpio_irq_setup_emulation(hlwd, data->hwirq, flow_type);
151 hlwd_gpio_irq_setup_emulation(struct hlwd_gpio *hlwd, int hwirq, unsigned int flow_type) argument
/linux-master/arch/powerpc/sysdev/xics/
H A Dxics-common.c380 int xics_set_irq_type(struct irq_data *d, unsigned int flow_type) argument
389 if (flow_type == IRQ_TYPE_DEFAULT || flow_type == IRQ_TYPE_NONE)
390 flow_type = IRQ_TYPE_EDGE_RISING;
392 if (flow_type != IRQ_TYPE_EDGE_RISING &&
393 flow_type != IRQ_TYPE_LEVEL_LOW)
396 irqd_set_trigger_type(d, flow_type);
/linux-master/arch/mips/kernel/
H A Dirq_txx9.c99 static int txx9_irq_set_type(struct irq_data *d, unsigned int flow_type) argument
107 if (flow_type & IRQF_TRIGGER_PROBE)
109 switch (flow_type & IRQF_TRIGGER_MASK) {
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_flows.c530 u32 flow_type)
541 switch (flow_type) {
620 if (flow_type == UDP_V4_FLOW)
622 else if (flow_type == TCP_V4_FLOW)
632 if (flow_type == UDP_V4_FLOW)
634 else if (flow_type == TCP_V4_FLOW)
639 if (flow_type == UDP_V4_FLOW)
641 else if (flow_type == TCP_V4_FLOW)
675 if (flow_type == AH_V4_FLOW)
689 u32 flow_type)
528 otx2_prepare_ipv4_flow(struct ethtool_rx_flow_spec *fsp, struct npc_install_flow_req *req, u32 flow_type) argument
687 otx2_prepare_ipv6_flow(struct ethtool_rx_flow_spec *fsp, struct npc_install_flow_req *req, u32 flow_type) argument
820 u32 flow_type; local
946 u32 flow_type; local
[all...]
/linux-master/arch/powerpc/platforms/8xx/
H A Dpic.c50 static int mpc8xx_set_irq_type(struct irq_data *d, unsigned int flow_type) argument
53 if ((flow_type & IRQ_TYPE_EDGE_FALLING) && !(irqd_to_hwirq(d) & 1)) {
/linux-master/arch/mips/bcm63xx/
H A Dirq.c278 unsigned int flow_type)
285 flow_type &= IRQ_TYPE_SENSE_MASK;
287 if (flow_type == IRQ_TYPE_NONE)
288 flow_type = IRQ_TYPE_LEVEL_LOW;
291 switch (flow_type) {
365 irqd_set_trigger_type(d, flow_type);
366 if (flow_type & (IRQ_TYPE_LEVEL_LOW | IRQ_TYPE_LEVEL_HIGH))
277 bcm63xx_external_irq_set_type(struct irq_data *d, unsigned int flow_type) argument
/linux-master/drivers/net/ethernet/sfc/
H A Dethtool_common.c680 rule->flow_type = ((spec.ip_proto == IPPROTO_TCP) ?
707 rule->flow_type = ((spec.ip_proto == IPPROTO_TCP) ?
731 rule->flow_type = ETHER_FLOW;
755 rule->flow_type = IPV4_USER_FLOW;
775 rule->flow_type = IPV6_USER_FLOW;
797 rule->flow_type |= FLOW_EXT;
803 rule->flow_type |= FLOW_RSS;
827 if (info->flow_type & FLOW_RSS && info->rss_context) {
839 switch (info->flow_type & ~FLOW_RSS) {
886 if (info->fs.flow_type
928 u32 flow_type = rule->flow_type & ~(FLOW_EXT | FLOW_RSS); local
[all...]
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dethtool_common.c680 rule->flow_type = ((spec.ip_proto == IPPROTO_TCP) ?
707 rule->flow_type = ((spec.ip_proto == IPPROTO_TCP) ?
731 rule->flow_type = ETHER_FLOW;
755 rule->flow_type = IPV4_USER_FLOW;
775 rule->flow_type = IPV6_USER_FLOW;
797 rule->flow_type |= FLOW_EXT;
803 rule->flow_type |= FLOW_RSS;
827 if (info->flow_type & FLOW_RSS && info->rss_context) {
840 switch (info->flow_type & ~FLOW_RSS) {
887 if (info->fs.flow_type
929 u32 flow_type = rule->flow_type & ~(FLOW_EXT | FLOW_RSS); local
[all...]
/linux-master/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_cls.c16 .flow_type = _type, \
554 static int mvpp2_cls_ethtool_flow_to_type(int flow_type) argument
556 switch (flow_type & ~(FLOW_EXT | FLOW_MAC_EXT | FLOW_RSS)) {
740 static int mvpp2_port_rss_hash_opts_set(struct mvpp2_port *port, int flow_type, argument
748 for_each_cls_flow_id_with_type(i, flow_type) {
829 static u16 mvpp2_port_rss_hash_opts_get(struct mvpp2_port *port, int flow_type) argument
836 for_each_cls_flow_id_with_type(i, flow_type) {
1187 for_each_cls_flow_id_containing_type(i, rule->flow_type) {
1220 for_each_cls_flow_id_containing_type(i, rule->flow_type) {
1379 if (info->fs.flow_type
1634 u32 flow_type; local
1672 u32 flow_type; local
[all...]
/linux-master/drivers/net/ethernet/aquantia/atlantic/
H A Daq_filters.c11 if (fsp->flow_type & FLOW_MAC_EXT)
14 switch (fsp->flow_type & ~FLOW_EXT) {
56 if (fsp1->flow_type != fsp2->flow_type ||
191 if (fsp->flow_type & FLOW_EXT) {
203 switch (fsp->flow_type & ~FLOW_EXT) {
248 } else if ((fsp->flow_type & ~FLOW_EXT) != ETHER_FLOW &&
254 } else if (fsp->flow_type & FLOW_MAC_EXT) {
493 switch (fsp->flow_type) {
530 if (fsp->flow_type !
[all...]

Completed in 277 milliseconds

123456