/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/ |
H A D | hw_table.c | 47 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 52 return hwc->start_fn_id + sw_id; in mlx5_sf_sw_to_hw_id() 116 int sw_id; in mlx5_sf_hw_table_sf_alloc() local 123 sw_id = mlx5_sf_hw_table_id_alloc(table, controller, usr_sfnum); in mlx5_sf_hw_table_sf_alloc() 124 if (sw_id < 0) { in mlx5_sf_hw_table_sf_alloc() 125 err = sw_id; in mlx5_sf_hw_table_sf_alloc() 129 hw_fn_id = mlx5_sf_sw_to_hw_id(dev, controller, sw_id); in mlx5_sf_hw_table_sf_alloc() 149 return sw_id; in mlx5_sf_hw_table_sf_alloc() 154 mlx5_sf_hw_table_id_free(table, controller, sw_id); in mlx5_sf_hw_table_sf_alloc() 351 u16 sw_id; in mlx5_sf_hw_vhca_event() local [all …]
|
H A D | priv.h | 15 u16 mlx5_sf_sw_to_hw_id(struct mlx5_core_dev *dev, u32 controller, u16 sw_id);
|
/openbmc/linux/drivers/input/joystick/ |
H A D | fsia6b.c | 68 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()
|
/openbmc/linux/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
H A D | fifo_monitor.c | 535 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()
|
/openbmc/linux/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_filter.c | 61 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 …]
|
/openbmc/linux/drivers/soc/mediatek/ |
H A D | mtk-svs.c | 456 u32 sw_id; member 1630 switch (svsb->sw_id) { in svs_bank_resource_setup() 1649 dev_err(svsb->dev, "unknown sw_id: %u\n", svsb->sw_id); in svs_bank_resource_setup() 1839 switch (svsb->sw_id) { in svs_mt8183_efuse_parsing() 1889 dev_err(svsb->dev, "unknown sw_id: %u\n", svsb->sw_id); in svs_mt8183_efuse_parsing() 1960 switch (svsb->sw_id) { in svs_mt8183_efuse_parsing() 1974 dev_err(svsb->dev, "unknown sw_id: %u\n", svsb->sw_id); in svs_mt8183_efuse_parsing() 2091 switch (svsb->sw_id) { in svs_mt8183_platform_probe() 2103 dev_err(svsb->dev, "unknown sw_id: %u\n", svsb->sw_id); in svs_mt8183_platform_probe() 2118 .sw_id = SVSB_GPU, [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | nau8825.c | 544 if (nau8825->sw_id == NAU8825_SOFTWARE_ID_NAU8825) in nau8825_xtalk_prepare() 563 if (nau8825->sw_id == NAU8825_SOFTWARE_ID_NAU8825) in nau8825_xtalk_clean_dac() 943 if (nau8825->sw_id == NAU8825_SOFTWARE_ID_NAU8825) in nau8825_output_dac_event() 954 if (nau8825->sw_id == NAU8825_SOFTWARE_ID_NAU8825) in nau8825_output_dac_event() 2169 if (nau8825->sw_id == NAU8825_SOFTWARE_ID_NAU8825) in nau8825_init_regs() 2374 if (nau8825->sw_id == NAU8825_SOFTWARE_ID_NAU8825) in nau8825_set_pll() 2910 nau8825->sw_id = value & NAU8825_SOFTWARE_ID_MASK; in nau8825_i2c_probe() 2911 switch (nau8825->sw_id) { in nau8825_i2c_probe()
|
H A D | nau8825.h | 503 int sw_id; member
|
/openbmc/linux/include/uapi/linux/ |
H A D | i2o-dev.h | 78 unsigned int sw_id; /* Software ID */ member
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_lag.c | 1044 cpu_to_le16(local_lag->pf->hw.port_info->sw_id); in ice_lag_set_swid() 1059 swid = local_lag->pf->hw.port_info->sw_id; in ice_lag_set_swid() 1097 swid = hw->port_info->sw_id; in ice_lag_primary_swid() 1238 swid = primary_lag->pf->hw.port_info->sw_id; in ice_lag_changeupper_event() 2097 ice_lag_set_swid(prim_lag->pf->hw.port_info->sw_id, lag, true); in ice_lag_rebuild()
|
H A D | ice.h | 214 u16 sw_id; 261 u16 sw_id; /* switch ID for this switch */ 213 u16 sw_id; global() member 260 u16 sw_id; /* switch ID for this switch */ global() member
|
H A D | ice_main.c | 4812 /* record the sw_id available for later use */ in ice_init_pf_sw() 4813 pf->first_sw->sw_id = pf->hw.port_info->sw_id; in ice_init_pf_sw() 6976 vsi->vsi_num, vsi->vsw->sw_id); in ice_down_up() 8205 * @sw_id: underlying HW switching element ID in ice_add_channel() 8210 static int ice_add_channel(struct ice_pf *pf, u16 sw_id, struct ice_channel *ch) in ice_add_channel() 8228 ch->sw_id = sw_id; in ice_add_channel() 8321 * @sw_id: underlying HW switching element ID in ice_setup_hw_channel() 8329 struct ice_channel *ch, u16 sw_id, u in ice_setup_hw_channel() 8197 ice_add_channel(struct ice_pf * pf,u16 sw_id,struct ice_channel * ch) ice_add_channel() argument 8316 ice_setup_hw_channel(struct ice_pf * pf,struct ice_vsi * vsi,struct ice_channel * ch,u16 sw_id,u8 type) ice_setup_hw_channel() argument 8357 u16 sw_id; ice_setup_channel() local [all...] |
H A D | ice_type.h | 703 u16 sw_id; /* Initial switch ID belongs to port */ 702 u16 sw_id; /* Initial switch ID belongs to port */ global() member
|
H A D | ice_lib.c | 1314 ctxt->info.sw_id = vsi->port_info->sw_id; in ice_vsi_init()
|
H A D | ice_adminq_cmd.h | 390 u8 sw_id; member
|
H A D | ice_switch.c | 2334 pi->sw_id = swid; in ice_init_port_info()
|
/openbmc/linux/arch/parisc/include/uapi/asm/ |
H A D | pdc.h | 470 unsigned long sw_id; member
|
/openbmc/linux/arch/parisc/kernel/ |
H A D | processor.c | 453 boot_cpu_data.pdc.model.sw_id); in show_cpuinfo()
|
/openbmc/linux/drivers/net/ethernet/cortina/ |
H A D | gemini.h | 591 unsigned int sw_id:16; member
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.h | 1189 u16 sw_id; member
|
H A D | bnxt_ethtool.c | 1009 rule_locs[j++] = fltr->sw_id; in bnxt_grxclsrlall() 1036 if (fltr->sw_id == fs->location) in bnxt_grxclsrule()
|
H A D | bnxt.c | 12988 rc = fltr->sw_id; in bnxt_rx_flow_steer() 13004 new_fltr->sw_id = (u16)bit_id; in bnxt_rx_flow_steer() 13014 return new_fltr->sw_id; in bnxt_rx_flow_steer() 13038 fltr->sw_id)) { in bnxt_cfg_ntp_filters() 13058 clear_bit(fltr->sw_id, bp->ntp_fltr_bmap); in bnxt_cfg_ntp_filters()
|