/linux/net/smc/ |
A D | smc_ib.c | 377 u8 port_idx; in smc_ib_port_event_work() local 384 smcr_port_err(smcibdev, port_idx + 1); in smc_ib_port_event_work() 387 smcr_port_add(smcibdev, port_idx + 1); in smc_ib_port_event_work() 399 u8 port_idx; in smc_ib_global_event_handler() local 406 for (port_idx = 0; port_idx < SMC_MAX_PORTS; port_idx++) { in smc_ib_global_event_handler() 408 if (!test_and_set_bit(port_idx, in smc_ib_global_event_handler() 417 if (port_idx >= SMC_MAX_PORTS) in smc_ib_global_event_handler() 425 if (port_idx >= SMC_MAX_PORTS) in smc_ib_global_event_handler() 433 if (port_idx >= SMC_MAX_PORTS) in smc_ib_global_event_handler() 630 u8 port_idx; in smc_ib_qp_event_handler() local [all …]
|
/linux/drivers/input/joystick/ |
A D | turbografx.c | 149 int i, j, port_idx; in tgfx_attach() local 153 for (port_idx = 0; port_idx < TGFX_MAX_PORTS; port_idx++) { in tgfx_attach() 154 if (tgfx_cfg[port_idx].nargs == 0 || in tgfx_attach() 155 tgfx_cfg[port_idx].args[0] < 0) in tgfx_attach() 157 if (tgfx_cfg[port_idx].args[0] == pp->number) in tgfx_attach() 161 if (port_idx == TGFX_MAX_PORTS) { in tgfx_attach() 165 n_buttons = tgfx_cfg[port_idx].args + 1; in tgfx_attach() 166 n_devs = tgfx_cfg[port_idx].nargs - 1; in tgfx_attach() 172 port_idx); in tgfx_attach() 238 tgfx_base[port_idx] = tgfx; in tgfx_attach()
|
A D | db9.c | 552 int i, j, port_idx; in db9_attach() local 556 for (port_idx = 0; port_idx < DB9_MAX_PORTS; port_idx++) { in db9_attach() 557 if (db9_cfg[port_idx].nargs == 0 || in db9_attach() 558 db9_cfg[port_idx].args[DB9_ARG_PARPORT] < 0) in db9_attach() 561 if (db9_cfg[port_idx].args[DB9_ARG_PARPORT] == pp->number) in db9_attach() 565 if (port_idx == DB9_MAX_PORTS) { in db9_attach() 570 mode = db9_cfg[port_idx].args[DB9_ARG_MODE]; in db9_attach() 587 pd = parport_register_dev_model(pp, "db9", &db9_parport_cb, port_idx); in db9_attach() 640 db9_base[port_idx] = db9; in db9_attach()
|
A D | gamecon.c | 926 int i, port_idx; in gc_attach() local 931 for (port_idx = 0; port_idx < GC_MAX_PORTS; port_idx++) { in gc_attach() 932 if (gc_cfg[port_idx].nargs == 0 || gc_cfg[port_idx].args[0] < 0) in gc_attach() 935 if (gc_cfg[port_idx].args[0] == pp->number) in gc_attach() 939 if (port_idx == GC_MAX_PORTS) { in gc_attach() 943 pads = gc_cfg[port_idx].args + 1; in gc_attach() 944 n_pads = gc_cfg[port_idx].nargs - 1; in gc_attach() 950 port_idx); in gc_attach() 982 gc_base[port_idx] = gc; in gc_attach()
|
/linux/sound/soc/qcom/qdsp6/ |
A D | q6adm.c | 128 int port_idx, copp_idx; in q6adm_callback() local 137 port_idx = ((hdr->token) >> 16) & 0xFF; in q6adm_callback() 138 if (port_idx < 0 || port_idx >= AFE_MAX_PORTS) { in q6adm_callback() 140 port_idx, hdr->token); in q6adm_callback() 158 copp = q6adm_find_copp(adm, port_idx, copp_idx); in q6adm_callback() 185 copp = q6adm_find_copp(adm, port_idx, copp_idx); in q6adm_callback() 227 set_bit(idx, &adm->copp_bitmap[port_idx]); in q6adm_alloc_copp() 229 c->afe_port = port_idx; in q6adm_alloc_copp() 508 int port_idx = payload_map.port_id[i]; in q6adm_matrix_map() local 510 if (port_idx < 0) { in q6adm_matrix_map() [all …]
|
/linux/drivers/net/ethernet/hisilicon/hns/ |
A D | hns_dsaf_rcb.h | 137 struct rcb_common_cb *rcb_common, u32 port_idx); 139 struct rcb_common_cb *rcb_common, u32 port_idx); 141 struct rcb_common_cb *rcb_common, u32 port_idx); 143 struct rcb_common_cb *rcb_common, u32 port_idx, u32 timeout); 145 struct rcb_common_cb *rcb_common, u32 port_idx, u32 coalesced_frames); 147 struct rcb_common_cb *rcb_common, u32 port_idx, u32 coalesced_frames);
|
A D | hns_dsaf_rcb.c | 298 u32 port_idx, u32 desc_cnt) in hns_rcb_set_port_desc_cnt() argument 313 RCB_PORT_INT_GAPTIME_REG + port_idx * 4, in hns_rcb_set_port_timeout() 317 RCB_PORT_INT_GAPTIME_REG + port_idx * 4, in hns_rcb_set_port_timeout() 321 RCB_PORT_CFG_OVERTIME_REG + port_idx * 4, in hns_rcb_set_port_timeout() 325 RCB_PORT_CFG_OVERTIME_REG + port_idx * 4, in hns_rcb_set_port_timeout() 560 struct rcb_common_cb *rcb_common, u32 port_idx) in hns_rcb_get_rx_coalesced_frames() argument 573 struct rcb_common_cb *rcb_common, u32 port_idx) in hns_rcb_get_tx_coalesced_frames() argument 589 struct rcb_common_cb *rcb_common, u32 port_idx) in hns_rcb_get_coalesce_usecs() argument 596 RCB_PORT_CFG_OVERTIME_REG + port_idx * 4); in hns_rcb_get_coalesce_usecs() 645 hns_rcb_get_tx_coalesced_frames(rcb_common, port_idx); in hns_rcb_set_tx_coalesced_frames() [all …]
|
/linux/drivers/gpu/drm/i915/gvt/ |
A D | edid.c | 478 int port_idx, in intel_gvt_i2c_handle_aux_ch_write() argument 526 i2c_edid->port = port_idx; in intel_gvt_i2c_handle_aux_ch_write() 529 port_idx) && in intel_gvt_i2c_handle_aux_ch_write() 530 intel_vgpu_port_is_dp(vgpu, port_idx)) in intel_gvt_i2c_handle_aux_ch_write()
|
A D | edid.h | 150 int port_idx,
|
/linux/drivers/net/ethernet/marvell/prestera/ |
A D | prestera_main.c | 482 u32 port_idx; in prestera_create_ports() local 485 for (port_idx = 0; port_idx < sw->port_count; port_idx++) { in prestera_create_ports() 486 err = prestera_port_create(sw, port_idx); in prestera_create_ports()
|
/linux/drivers/net/ethernet/netronome/nfp/flower/ |
A D | tunnel_conf.c | 32 __be16 port_idx; member 1304 payload.port_idx = cpu_to_be16(mac_entry->index); in nfp_flower_xmit_pre_tun_flow() 1308 flow->pre_tun_rule.port_idx = payload.port_idx; in nfp_flower_xmit_pre_tun_flow() 1334 payload.port_idx = flow->pre_tun_rule.port_idx; in nfp_flower_xmit_pre_tun_del_flow()
|
A D | main.h | 341 __be16 port_idx; member
|
/linux/drivers/infiniband/hw/qib/ |
A D | qib_verbs.h | 249 void qib_notify_create_mad_agent(struct rvt_dev_info *rdi, int port_idx); 250 void qib_notify_free_mad_agent(struct rvt_dev_info *rdi, int port_idx);
|
A D | qib_mad.c | 2423 void qib_notify_create_mad_agent(struct rvt_dev_info *rdi, int port_idx) in qib_notify_create_mad_agent() argument 2430 dd->pport[port_idx].cong_stats.counter = 0; in qib_notify_create_mad_agent() 2431 timer_setup(&dd->pport[port_idx].cong_stats.timer, in qib_notify_create_mad_agent() 2433 dd->pport[port_idx].cong_stats.timer.expires = 0; in qib_notify_create_mad_agent() 2434 add_timer(&dd->pport[port_idx].cong_stats.timer); in qib_notify_create_mad_agent() 2437 void qib_notify_free_mad_agent(struct rvt_dev_info *rdi, int port_idx) in qib_notify_free_mad_agent() argument 2443 if (dd->pport[port_idx].cong_stats.timer.function) in qib_notify_free_mad_agent() 2444 del_timer_sync(&dd->pport[port_idx].cong_stats.timer); in qib_notify_free_mad_agent() 2446 if (dd->pport[port_idx].ibport_data.smi_ah) in qib_notify_free_mad_agent() 2447 rdma_destroy_ah(&dd->pport[port_idx].ibport_data.smi_ah->ibah, in qib_notify_free_mad_agent()
|
/linux/include/rdma/ |
A D | rdma_vt.h | 352 void (*notify_create_mad_agent)(struct rvt_dev_info *rdi, int port_idx); 355 void (*notify_free_mad_agent)(struct rvt_dev_info *rdi, int port_idx);
|
/linux/drivers/scsi/ |
A D | g_NCR5380.c | 231 int port_idx = -1; in generic_NCR5380_init_one() local 290 port_idx = i; in generic_NCR5380_init_one() 418 magic_configure(port_idx, board_irq, magic); in generic_NCR5380_init_one()
|
/linux/drivers/net/ethernet/microsoft/mana/ |
A D | mana_en.c | 1591 int port_idx = apc->port_idx; in mana_init_port() local 1599 err = mana_query_vport_cfg(apc, port_idx, &max_txq, &max_rxq, in mana_init_port() 1603 port_idx); in mana_init_port() 1765 static int mana_probe_port(struct mana_context *ac, int port_idx, in mana_probe_port() argument 1786 apc->port_idx = port_idx; in mana_probe_port() 1826 netdev_err(ndev, "Failed to probe vPort %d: %d\n", port_idx, err); in mana_probe_port()
|
A D | mana.h | 362 u16 port_idx; member
|
/linux/drivers/net/wwan/ |
A D | wwan_hwsim.c | 45 unsigned int port_idx; member 202 port->id = dev->port_idx++; in wwan_hwsim_port_new()
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
A D | dpaa2-switch.c | 2929 u16 port_idx) in dpaa2_switch_remove_port() argument 2931 struct ethsw_port_priv *port_priv = ethsw->ports[port_idx]; in dpaa2_switch_remove_port() 2937 ethsw->ports[port_idx] = NULL; in dpaa2_switch_remove_port() 3237 u16 port_idx) in dpaa2_switch_probe_port() argument 3254 port_priv->idx = port_idx; in dpaa2_switch_probe_port() 3273 ethsw->ports[port_idx] = port_priv; in dpaa2_switch_probe_port() 3282 err = dpaa2_switch_port_init(port_priv, port_idx); in dpaa2_switch_probe_port() 3303 ethsw->ports[port_idx] = NULL; in dpaa2_switch_probe_port()
|
/linux/drivers/net/ethernet/ti/ |
A D | am65-cpsw-nuss.c | 433 int port_idx, i, ret; in am65_cpsw_nuss_common_open() local 457 for (port_idx = 0; port_idx < common->port_num; port_idx++) { in am65_cpsw_nuss_common_open() 458 struct am65_cpsw_port *port = &common->ports[port_idx]; in am65_cpsw_nuss_common_open() 1956 am65_cpsw_nuss_init_port_ndev(struct am65_cpsw_common *common, u32 port_idx) in am65_cpsw_nuss_init_port_ndev() argument 1963 port = &common->ports[port_idx]; in am65_cpsw_nuss_init_port_ndev()
|
/linux/drivers/rapidio/devices/ |
A D | rio_mport_cdev.c | 1363 u32 port_idx = md->mport->index; in maint_port_idx_get() local 1365 rmcd_debug(MPORT, "port_index=%d", port_idx); in maint_port_idx_get() 1367 if (copy_to_user(arg, &port_idx, sizeof(port_idx))) in maint_port_idx_get()
|
/linux/drivers/net/ethernet/chelsio/cxgb3/ |
A D | t3_cpl.h | 552 __u8 port_idx:1; member 556 __u8 port_idx:1; member
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
A D | cxgb4.h | 1545 static inline void t4_set_hw_addr(struct adapter *adapter, int port_idx, in t4_set_hw_addr() argument 1548 eth_hw_addr_set(adapter->port[port_idx], hw_addr); in t4_set_hw_addr() 1549 ether_addr_copy(adapter->port[port_idx]->perm_addr, hw_addr); in t4_set_hw_addr()
|
/linux/sound/core/seq/ |
A D | seq_clientmgr.c | 1302 int port_idx; in snd_seq_ioctl_create_port() local 1313 port_idx = port->addr.port; in snd_seq_ioctl_create_port() 1315 snd_seq_delete_port(client, port_idx); in snd_seq_ioctl_create_port()
|