Home
last modified time | relevance | path

Searched refs:fwd (Results 1 – 25 of 38) sorted by relevance

12

/linux-6.1.9/drivers/gpio/
Dgpio-aggregator.c250 #define fwd_tmp_values(fwd) &(fwd)->tmp[0] argument
251 #define fwd_tmp_descs(fwd) (void *)&(fwd)->tmp[BITS_TO_LONGS((fwd)->chip.ngpio)] argument
257 struct gpiochip_fwd *fwd = gpiochip_get_data(chip); in gpio_fwd_get_direction() local
259 return gpiod_get_direction(fwd->descs[offset]); in gpio_fwd_get_direction()
264 struct gpiochip_fwd *fwd = gpiochip_get_data(chip); in gpio_fwd_direction_input() local
266 return gpiod_direction_input(fwd->descs[offset]); in gpio_fwd_direction_input()
272 struct gpiochip_fwd *fwd = gpiochip_get_data(chip); in gpio_fwd_direction_output() local
274 return gpiod_direction_output(fwd->descs[offset], value); in gpio_fwd_direction_output()
279 struct gpiochip_fwd *fwd = gpiochip_get_data(chip); in gpio_fwd_get() local
281 return chip->can_sleep ? gpiod_get_value_cansleep(fwd->descs[offset]) in gpio_fwd_get()
[all …]
/linux-6.1.9/net/x25/
Dx25_forward.c130 struct x25_forward *fwd, *tmp; in x25_clear_forward_by_lci() local
134 list_for_each_entry_safe(fwd, tmp, &x25_forward_list, node) { in x25_clear_forward_by_lci()
135 if (fwd->lci == lci) { in x25_clear_forward_by_lci()
136 list_del(&fwd->node); in x25_clear_forward_by_lci()
137 kfree(fwd); in x25_clear_forward_by_lci()
146 struct x25_forward *fwd, *tmp; in x25_clear_forward_by_dev() local
150 list_for_each_entry_safe(fwd, tmp, &x25_forward_list, node) { in x25_clear_forward_by_dev()
151 if ((fwd->dev1 == dev) || (fwd->dev2 == dev)){ in x25_clear_forward_by_dev()
152 list_del(&fwd->node); in x25_clear_forward_by_dev()
153 kfree(fwd); in x25_clear_forward_by_dev()
/linux-6.1.9/drivers/crypto/marvell/octeontx2/
Dotx2_cptpf_mbox.c294 struct mbox_msghdr *fwd; in forward_to_vf() local
318 fwd = otx2_mbox_alloc_msg(vfpf_mbox, vf_id, size); in forward_to_vf()
319 if (!fwd) { in forward_to_vf()
324 memcpy((uint8_t *)fwd + sizeof(struct mbox_msghdr), in forward_to_vf()
326 fwd->id = msg->id; in forward_to_vf()
327 fwd->pcifunc = msg->pcifunc; in forward_to_vf()
328 fwd->sig = msg->sig; in forward_to_vf()
329 fwd->ver = msg->ver; in forward_to_vf()
330 fwd->rc = msg->rc; in forward_to_vf()
/linux-6.1.9/tools/testing/selftests/net/
Dxfrm_policy.sh41 …ip -net $ns xfrm policy add src $rnet dst $lnet dir fwd tmpl src $remote dst $me proto esp mode tu…
76 ip -net $ns xfrm policy add src 10.1.0.0/24 dst 10.0.0.0/24 dir fwd priority 200 action block
79 ip -net $ns xfrm policy add src 10.2.0.0/24 dst 10.0.0.0/24 dir fwd priority 200 action block
82 ip -net $ns xfrm policy add src 10.2.0.0/23 dst 10.0.1.0/24 dir fwd priority 200 action block
108 ip -net $ns xfrm policy add src 10.1.0.0/24 dst 10.0.0.0/23 dir fwd priority 200 action block
113 …cy add src 10.253.1.$((RANDOM%255))/$p dst 10.254.1.$((RANDOM%255))/$p dir fwd priority $((200+k))…
130 ip -net $ns xfrm policy get src $rnet dst $lnet dir fwd > /dev/null
166 … echo netns exec $ns ip xfrm policy add src 10.$i.$j.0/24 dst 10.$i.1.0/24 dir fwd action block
177 … echo netns exec $ns ip xfrm policy add src dead:$i:$j::/64 dst dead:$i::/24 dir fwd action block
/linux-6.1.9/net/ax25/
Dax25_dev.c144 int ax25_fwd_ioctl(unsigned int cmd, struct ax25_fwd_struct *fwd) in ax25_fwd_ioctl() argument
148 if ((ax25_dev = ax25_addr_ax25dev(&fwd->port_from)) == NULL) in ax25_fwd_ioctl()
153 fwd_dev = ax25_addr_ax25dev(&fwd->port_to); in ax25_fwd_ioctl()
/linux-6.1.9/drivers/clk/
Dclk-apple-nco.c63 u16 fwd[LFSR_TBLSIZE]; member
116 tbl->fwd[i] = state; in applnco_compute_tables()
121 tbl->fwd[0] = 0; in applnco_compute_tables()
140 return FIELD_PREP(DIV_COARSE, tbl->fwd[coarse - COARSE_DIV_OFFSET]) | in applnco_div_translate()
/linux-6.1.9/fs/jfs/
Djfs_imap.c848 int back, fwd; in diFree() local
951 if ((fwd = imap->im_agctl[agno].inofree) >= 0) { in diFree()
955 if ((rc = diIAGRead(imap, fwd, &amp))) { in diFree()
1023 fwd = back = -1; in diFree()
1035 if ((fwd = imap->im_agctl[agno].extfree) >= 0) { in diFree()
1036 if ((rc = diIAGRead(imap, fwd, &amp))) in diFree()
1052 if ((fwd = le32_to_cpu(iagp->extfreefwd)) >= 0) { in diFree()
1053 if ((rc = diIAGRead(imap, fwd, &amp))) in diFree()
1083 if (inofreefwd == fwd) in diFree()
1097 if (inofreeback == fwd) in diFree()
[all …]
/linux-6.1.9/drivers/net/ethernet/microchip/sparx5/
Dsparx5_packet.c40 u32 fwd = in sparx5_ifh_parse() local
45 fwd = (fwd >> 5); in sparx5_ifh_parse()
46 info->src_port = FIELD_GET(GENMASK(7, 1), fwd); in sparx5_ifh_parse()
/linux-6.1.9/tools/testing/selftests/net/forwarding/
Dip6_forward_instats_vrf.sh149 ip xfrm policy add dst 2001:1:2::2/128 dir fwd action block
152 ip xfrm policy del dst 2001:1:2::2/128 dir fwd
/linux-6.1.9/include/net/
Dip_vs.h1555 char fwd; in ip_vs_fwd_tag() local
1559 fwd = 'M'; break; in ip_vs_fwd_tag()
1561 fwd = 'L'; break; in ip_vs_fwd_tag()
1563 fwd = 'T'; break; in ip_vs_fwd_tag()
1565 fwd = 'R'; break; in ip_vs_fwd_tag()
1567 fwd = 'B'; break; in ip_vs_fwd_tag()
1569 fwd = '?'; break; in ip_vs_fwd_tag()
1571 return fwd; in ip_vs_fwd_tag()
/linux-6.1.9/Documentation/devicetree/bindings/interrupt-controller/
Dbrcm,bcm7120-l2-intc.yaml111 brcm,int-fwd-mask:
139 brcm,int-fwd-mask = <0x7>;
Dbrcm,bcm7038-l1-intc.yaml66 brcm,int-fwd-mask:
/linux-6.1.9/drivers/net/dsa/xrs700x/
Dxrs700x.c559 bool fwd = false; in xrs700x_hsr_join() local
605 fwd = true; in xrs700x_hsr_join()
620 ret = xrs700x_port_add_hsrsup_ipf(ds, partner->index, fwd ? port : -1); in xrs700x_hsr_join()
624 ret = xrs700x_port_add_hsrsup_ipf(ds, port, fwd ? partner->index : -1); in xrs700x_hsr_join()
/linux-6.1.9/arch/arm/boot/dts/
Dbcm7445.dtsi108 brcm,int-fwd-mask = <0x70000>;
121 brcm,int-fwd-mask = <0x0>;
Dam3517-evm-ui.dtsi91 key-fwd {
/linux-6.1.9/arch/mips/boot/dts/brcm/
Dbcm7358.dtsi90 brcm,int-fwd-mask = <0x70000>;
105 brcm,int-fwd-mask = <0>;
Dbcm7362.dtsi96 brcm,int-fwd-mask = <0x70000>;
111 brcm,int-fwd-mask = <0>;
Dbcm7360.dtsi90 brcm,int-fwd-mask = <0x70000>;
105 brcm,int-fwd-mask = <0>;
Dbcm7346.dtsi96 brcm,int-fwd-mask = <0x70000>;
111 brcm,int-fwd-mask = <0>;
Dbcm7125.dtsi96 brcm,int-fwd-mask = <0x70000>;
/linux-6.1.9/scripts/
Dbpf_doc.py767 for fwd in self.type_fwds:
768 print('%s;' % fwd)
/linux-6.1.9/include/linux/
Dfilter.h961 static inline int xdp_ok_fwd_dev(const struct net_device *fwd, in xdp_ok_fwd_dev() argument
966 if (unlikely(!(fwd->flags & IFF_UP))) in xdp_ok_fwd_dev()
969 len = fwd->mtu + fwd->hard_header_len + VLAN_HLEN; in xdp_ok_fwd_dev()
/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e.h441 struct i40e_fwd_adapter *fwd; member
451 return !!ch->fwd; in i40e_is_channel_macvlan()
457 return ch->fwd->netdev->dev_addr; in i40e_channel_mac()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c847 bool push, bool pop, bool fwd) in esw_add_vlan_action_check() argument
851 if ((push || pop) && !fwd) in esw_add_vlan_action_check()
864 if (!push && !pop && fwd) in esw_add_vlan_action_check()
886 bool push, pop, fwd; in mlx5_eswitch_add_vlan_action() local
895 fwd = !!((attr->action & MLX5_FLOW_CONTEXT_ACTION_FWD_DEST) && in mlx5_eswitch_add_vlan_action()
900 err = esw_add_vlan_action_check(esw_attr, push, pop, fwd); in mlx5_eswitch_add_vlan_action()
908 if (!push && !pop && fwd) { in mlx5_eswitch_add_vlan_action()
955 bool push, pop, fwd; in mlx5_eswitch_del_vlan_action() local
967 fwd = !!(attr->action & MLX5_FLOW_CONTEXT_ACTION_FWD_DEST); in mlx5_eswitch_del_vlan_action()
973 if (!push && !pop && fwd) { in mlx5_eswitch_del_vlan_action()
/linux-6.1.9/drivers/net/ethernet/freescale/enetc/
Denetc_qos.c1344 struct actions_fwd *fwd; in enetc_config_clsflower() local
1356 fwd = enetc_check_flow_actions(actions, dissector->used_keys); in enetc_config_clsflower()
1357 if (!fwd) { in enetc_config_clsflower()
1362 if (fwd->output & FILTER_ACTION_TYPE_PSFP) { in enetc_config_clsflower()

12