Home
last modified time | relevance | path

Searched refs:sw_id (Results 1 – 19 of 19) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/sf/
Dhw_table.c46 u16 mlx5_sf_sw_to_hw_id(struct mlx5_core_dev *dev, u32 controller, u16 sw_id) in mlx5_sf_sw_to_hw_id() argument
51 return hwc->start_fn_id + sw_id; in mlx5_sf_sw_to_hw_id()
115 int sw_id; in mlx5_sf_hw_table_sf_alloc() local
122 sw_id = mlx5_sf_hw_table_id_alloc(table, controller, usr_sfnum); in mlx5_sf_hw_table_sf_alloc()
123 if (sw_id < 0) { in mlx5_sf_hw_table_sf_alloc()
124 err = sw_id; in mlx5_sf_hw_table_sf_alloc()
128 hw_fn_id = mlx5_sf_sw_to_hw_id(dev, controller, sw_id); in mlx5_sf_hw_table_sf_alloc()
148 return sw_id; in mlx5_sf_hw_table_sf_alloc()
153 mlx5_sf_hw_table_id_free(table, controller, sw_id); in mlx5_sf_hw_table_sf_alloc()
316 u16 sw_id; in mlx5_sf_hw_vhca_event() local
[all …]
Dpriv.h15 u16 mlx5_sf_sw_to_hw_id(struct mlx5_core_dev *dev, u32 controller, u16 sw_id);
/Linux-v6.1/drivers/input/joystick/
Dfsia6b.c68 int sw_id = BTN_0; in fsia6b_serio_irq() local
103 sw_id++, in fsia6b_serio_irq()
108 sw_id++, in fsia6b_serio_irq()
113 sw_id++, in fsia6b_serio_irq()
133 int sw_id = 0; in fsia6b_serio_connect() local
176 input_set_capability(input_dev, EV_KEY, BTN_0 + sw_id); in fsia6b_serio_connect()
177 sw_id++; in fsia6b_serio_connect()
/Linux-v6.1/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
Dfifo_monitor.c535 fifo_switch_t sw_id; in fifo_monitor_get_state() local
545 for (sw_id = 0; sw_id < N_FIFO_SWITCH; sw_id++) { in fifo_monitor_get_state()
546 fifo_switch_get_state(ID, sw_id, in fifo_monitor_get_state()
547 &state->fifo_switches[sw_id]); in fifo_monitor_get_state()
/Linux-v6.1/drivers/net/ethernet/qlogic/qede/
Dqede_filter.c61 u64 sw_id; member
118 n->sw_id, tuple_buffer, n->vfid, rxq_id); in qede_configure_arfs_fltr()
131 if (fltr->sw_id < QEDE_RFS_MAX_FLTR) in qede_free_arfs_filter()
132 clear_bit(fltr->sw_id, edev->arfs->arfs_fltr_bmap); in qede_free_arfs_filter()
196 fw_rc, fltr->flow_id, fltr->sw_id, in qede_arfs_filter_op()
260 fltr->sw_id); in qede_process_arfs_filters()
426 n->sw_id = (u16)bit_id; in qede_alloc_filter()
483 rc = n->sw_id; in qede_rx_flow_steer()
530 return n->sw_id; in qede_rx_flow_steer()
1277 if (location == fltr->sw_id) in qede_get_arfs_fltr_by_loc()
[all …]
/Linux-v6.1/drivers/soc/mediatek/
Dmtk-svs.c459 u32 sw_id; member
1621 switch (svsb->sw_id) { in svs_bank_resource_setup()
1640 dev_err(svsb->dev, "unknown sw_id: %u\n", svsb->sw_id); in svs_bank_resource_setup()
1827 switch (svsb->sw_id) { in svs_mt8183_efuse_parsing()
1877 dev_err(svsb->dev, "unknown sw_id: %u\n", svsb->sw_id); in svs_mt8183_efuse_parsing()
1950 switch (svsb->sw_id) { in svs_mt8183_efuse_parsing()
1964 dev_err(svsb->dev, "unknown sw_id: %u\n", svsb->sw_id); in svs_mt8183_efuse_parsing()
2116 switch (svsb->sw_id) { in svs_mt8183_platform_probe()
2128 dev_err(svsb->dev, "unknown sw_id: %u\n", svsb->sw_id); in svs_mt8183_platform_probe()
2143 .sw_id = SVSB_GPU,
[all …]
/Linux-v6.1/include/uapi/linux/
Di2o-dev.h78 unsigned int sw_id; /* Software ID */ member
/Linux-v6.1/drivers/net/ethernet/intel/ice/
Dice.h196 u16 sw_id; member
249 u16 sw_id; /* switch ID for this switch */ member
Dice_main.c4807 pf->first_sw->sw_id = hw->port_info->sw_id; in ice_probe()
6769 vsi->vsi_num, vsi->vsw->sw_id); in ice_down()
8011 static int ice_add_channel(struct ice_pf *pf, u16 sw_id, struct ice_channel *ch) in ice_add_channel() argument
8029 ch->sw_id = sw_id; in ice_add_channel()
8130 struct ice_channel *ch, u16 sw_id, u8 type) in ice_setup_hw_channel() argument
8138 ret = ice_add_channel(pf, sw_id, ch); in ice_setup_hw_channel()
8140 dev_err(dev, "failed to add_channel using sw_id %u\n", sw_id); in ice_setup_hw_channel()
8171 u16 sw_id; in ice_setup_channel() local
8179 sw_id = pf->first_sw->sw_id; in ice_setup_channel()
8182 ret = ice_setup_hw_channel(pf, vsi, ch, sw_id, ICE_VSI_CHNL); in ice_setup_channel()
[all …]
Dice_type.h693 u16 sw_id; /* Initial switch ID belongs to port */ member
Dice_adminq_cmd.h382 u8 sw_id; member
Dice_lib.c1204 ctxt->info.sw_id = vsi->port_info->sw_id; in ice_vsi_init()
Dice_switch.c2318 pi->sw_id = swid; in ice_init_port_info()
/Linux-v6.1/arch/parisc/include/uapi/asm/
Dpdc.h470 unsigned long sw_id; member
/Linux-v6.1/arch/parisc/kernel/
Dprocessor.c439 boot_cpu_data.pdc.model.sw_id); in show_cpuinfo()
/Linux-v6.1/drivers/net/ethernet/cortina/
Dgemini.h591 unsigned int sw_id:16; member
/Linux-v6.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.h1159 u16 sw_id; member
Dbnxt_ethtool.c1016 rule_locs[j++] = fltr->sw_id; in bnxt_grxclsrlall()
1043 if (fltr->sw_id == fs->location) in bnxt_grxclsrule()
Dbnxt.c12906 rc = fltr->sw_id; in bnxt_rx_flow_steer()
12922 new_fltr->sw_id = (u16)bit_id; in bnxt_rx_flow_steer()
12933 return new_fltr->sw_id; in bnxt_rx_flow_steer()
12957 fltr->sw_id)) { in bnxt_cfg_ntp_filters()
12977 clear_bit(fltr->sw_id, bp->ntp_fltr_bmap); in bnxt_cfg_ntp_filters()