Home
last modified time | relevance | path

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

/drivers/gpio/
Dgpio-aggregator.c252 struct gpiochip_fwd *fwd = gpiochip_get_data(chip); in gpio_fwd_get_direction() local
254 return gpiod_get_direction(fwd->descs[offset]); in gpio_fwd_get_direction()
259 struct gpiochip_fwd *fwd = gpiochip_get_data(chip); in gpio_fwd_direction_input() local
261 return gpiod_direction_input(fwd->descs[offset]); in gpio_fwd_direction_input()
267 struct gpiochip_fwd *fwd = gpiochip_get_data(chip); in gpio_fwd_direction_output() local
269 return gpiod_direction_output(fwd->descs[offset], value); in gpio_fwd_direction_output()
274 struct gpiochip_fwd *fwd = gpiochip_get_data(chip); in gpio_fwd_get() local
276 return chip->can_sleep ? gpiod_get_value_cansleep(fwd->descs[offset]) in gpio_fwd_get()
277 : gpiod_get_value(fwd->descs[offset]); in gpio_fwd_get()
280 static int gpio_fwd_get_multiple(struct gpiochip_fwd *fwd, unsigned long *mask, in gpio_fwd_get_multiple() argument
[all …]
/drivers/crypto/marvell/octeontx2/
Dotx2_cptpf_mbox.c283 struct mbox_msghdr *fwd; in forward_to_vf() local
307 fwd = otx2_mbox_alloc_msg(vfpf_mbox, vf_id, size); in forward_to_vf()
308 if (!fwd) { in forward_to_vf()
313 memcpy((uint8_t *)fwd + sizeof(struct mbox_msghdr), in forward_to_vf()
315 fwd->id = msg->id; in forward_to_vf()
316 fwd->pcifunc = msg->pcifunc; in forward_to_vf()
317 fwd->sig = msg->sig; in forward_to_vf()
318 fwd->ver = msg->ver; in forward_to_vf()
319 fwd->rc = msg->rc; in forward_to_vf()
/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()
/drivers/net/dsa/xrs700x/
Dxrs700x.c566 bool fwd = false; in xrs700x_hsr_join() local
612 fwd = true; in xrs700x_hsr_join()
627 ret = xrs700x_port_add_hsrsup_ipf(ds, partner->index, fwd ? port : -1); in xrs700x_hsr_join()
631 ret = xrs700x_port_add_hsrsup_ipf(ds, port, fwd ? partner->index : -1); in xrs700x_hsr_join()
/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c764 bool push, bool pop, bool fwd) in esw_add_vlan_action_check() argument
768 if ((push || pop) && !fwd) in esw_add_vlan_action_check()
781 if (!push && !pop && fwd) in esw_add_vlan_action_check()
803 bool push, pop, fwd; in mlx5_eswitch_add_vlan_action() local
812 fwd = !!((attr->action & MLX5_FLOW_CONTEXT_ACTION_FWD_DEST) && in mlx5_eswitch_add_vlan_action()
817 err = esw_add_vlan_action_check(esw_attr, push, pop, fwd); in mlx5_eswitch_add_vlan_action()
825 if (!push && !pop && fwd) { in mlx5_eswitch_add_vlan_action()
872 bool push, pop, fwd; in mlx5_eswitch_del_vlan_action() local
884 fwd = !!(attr->action & MLX5_FLOW_CONTEXT_ACTION_FWD_DEST); in mlx5_eswitch_del_vlan_action()
890 if (!push && !pop && fwd) { in mlx5_eswitch_del_vlan_action()
/drivers/net/ethernet/intel/i40e/
Di40e.h427 struct i40e_fwd_adapter *fwd; member
437 return !!ch->fwd; in i40e_is_channel_macvlan()
443 return ch->fwd->netdev->dev_addr; in i40e_channel_mac()
Di40e_main.c7742 clear_bit(ch->fwd->bit_no, vsi->fwd_bitmask); in i40e_free_macvlan_channels()
7743 netdev_unbind_sb_channel(vsi->netdev, ch->fwd->netdev); in i40e_free_macvlan_channels()
7744 netdev_set_sb_channel(ch->fwd->netdev, 0); in i40e_free_macvlan_channels()
7745 kfree(ch->fwd); in i40e_free_macvlan_channels()
7746 ch->fwd = NULL; in i40e_free_macvlan_channels()
7775 struct i40e_fwd_adapter *fwd) in i40e_fwd_ring_up() argument
7785 iter->fwd = fwd; in i40e_fwd_ring_up()
7956 struct i40e_fwd_adapter *fwd; in i40e_fwd_add() local
8030 fwd = kzalloc(sizeof(*fwd), GFP_KERNEL); in i40e_fwd_add()
8031 if (!fwd) in i40e_fwd_add()
[all …]
/drivers/net/ethernet/freescale/enetc/
Denetc_qos.c1359 struct actions_fwd *fwd; in enetc_config_clsflower() local
1371 fwd = enetc_check_flow_actions(actions, dissector->used_keys); in enetc_config_clsflower()
1372 if (!fwd) { in enetc_config_clsflower()
1377 if (fwd->output & FILTER_ACTION_TYPE_PSFP) { in enetc_config_clsflower()
/drivers/scsi/
Dadvansys.c334 uchar fwd; member
352 uchar fwd; member