/linux-master/drivers/net/ethernet/hisilicon/hns/ |
H 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);
|
H A D | hns_dsaf_rcb.c | 290 *@port_idx:port index 294 u32 port_idx, u32 desc_cnt) 296 dsaf_write_dev(rcb_common, RCB_CFG_BD_NUM_REG + port_idx * 4, 301 struct rcb_common_cb *rcb_common, u32 port_idx, u32 timeout) 309 RCB_PORT_INT_GAPTIME_REG + port_idx * 4, 313 RCB_PORT_INT_GAPTIME_REG + port_idx * 4, 317 RCB_PORT_CFG_OVERTIME_REG + port_idx * 4, 321 RCB_PORT_CFG_OVERTIME_REG + port_idx * 4, 551 *@port_idx:port id in comm 556 struct rcb_common_cb *rcb_common, u32 port_idx) 293 hns_rcb_set_port_desc_cnt(struct rcb_common_cb *rcb_common, u32 port_idx, u32 desc_cnt) argument 300 hns_rcb_set_port_timeout( struct rcb_common_cb *rcb_common, u32 port_idx, u32 timeout) argument 555 hns_rcb_get_rx_coalesced_frames( struct rcb_common_cb *rcb_common, u32 port_idx) argument 568 hns_rcb_get_tx_coalesced_frames( struct rcb_common_cb *rcb_common, u32 port_idx) argument 584 hns_rcb_get_coalesce_usecs( struct rcb_common_cb *rcb_common, u32 port_idx) argument 604 hns_rcb_set_coalesce_usecs( struct rcb_common_cb *rcb_common, u32 port_idx, u32 timeout) argument 637 hns_rcb_set_tx_coalesced_frames( struct rcb_common_cb *rcb_common, u32 port_idx, u32 coalesced_frames) argument 667 hns_rcb_set_rx_coalesced_frames( struct rcb_common_cb *rcb_common, u32 port_idx, u32 coalesced_frames) argument [all...] |
/linux-master/drivers/input/joystick/ |
H A D | turbografx.c | 146 int i, j, port_idx; local 150 for (port_idx = 0; port_idx < TGFX_MAX_PORTS; port_idx++) { 151 if (tgfx_cfg[port_idx].nargs == 0 || 152 tgfx_cfg[port_idx].args[0] < 0) 154 if (tgfx_cfg[port_idx].args[0] == pp->number) 158 if (port_idx == TGFX_MAX_PORTS) { 162 n_buttons = tgfx_cfg[port_idx].args + 1; 163 n_devs = tgfx_cfg[port_idx] [all...] |
H A D | gamecon.c | 923 int i, port_idx; local 928 for (port_idx = 0; port_idx < GC_MAX_PORTS; port_idx++) { 929 if (gc_cfg[port_idx].nargs == 0 || gc_cfg[port_idx].args[0] < 0) 932 if (gc_cfg[port_idx].args[0] == pp->number) 936 if (port_idx == GC_MAX_PORTS) { 940 pads = gc_cfg[port_idx].args + 1; 941 n_pads = gc_cfg[port_idx] [all...] |
H A D | db9.c | 549 int i, j, port_idx; local 553 for (port_idx = 0; port_idx < DB9_MAX_PORTS; port_idx++) { 554 if (db9_cfg[port_idx].nargs == 0 || 555 db9_cfg[port_idx].args[DB9_ARG_PARPORT] < 0) 558 if (db9_cfg[port_idx].args[DB9_ARG_PARPORT] == pp->number) 562 if (port_idx == DB9_MAX_PORTS) { 567 mode = db9_cfg[port_idx].args[DB9_ARG_MODE]; 584 pd = parport_register_dev_model(pp, "db9", &db9_parport_cb, port_idx); [all...] |
/linux-master/net/smc/ |
H A D | smc_ib.c | 380 u8 port_idx; local 382 for_each_set_bit(port_idx, &smcibdev->port_event_mask, SMC_MAX_PORTS) { 383 smc_ib_remember_port_attr(smcibdev, port_idx + 1); 384 clear_bit(port_idx, &smcibdev->port_event_mask); 385 if (!smc_ib_port_active(smcibdev, port_idx + 1)) { 386 set_bit(port_idx, smcibdev->ports_going_away); 387 smcr_port_err(smcibdev, port_idx + 1); 389 clear_bit(port_idx, smcibdev->ports_going_away); 390 smcr_port_add(smcibdev, port_idx + 1); 391 smc_ib_gid_check(smcibdev, port_idx 402 u8 port_idx; local 633 u8 port_idx; local [all...] |
/linux-master/sound/soc/qcom/qdsp6/ |
H A D | q6adm.c | 90 static struct q6copp *q6adm_find_copp(struct q6adm *adm, int port_idx, argument 99 if ((port_idx == c->afe_port) && (copp_idx == c->copp_idx)) { 128 int port_idx, copp_idx; local 137 port_idx = ((hdr->token) >> 16) & 0xFF; 138 if (port_idx < 0 || port_idx >= AFE_MAX_PORTS) { 140 port_idx, hdr->token); 158 copp = q6adm_find_copp(adm, port_idx, copp_idx); 185 copp = q6adm_find_copp(adm, port_idx, copp_idx); 212 static struct q6copp *q6adm_alloc_copp(struct q6adm *adm, int port_idx) argument 508 int port_idx = payload_map.port_id[i]; local [all...] |
/linux-master/drivers/gpu/drm/i915/gvt/ |
H A D | edid.h | 150 int port_idx,
|
H A D | edid.c | 469 * @port_idx: port index 477 int port_idx, 525 i2c_edid->port = port_idx; 528 port_idx) && 529 intel_vgpu_port_is_dp(vgpu, port_idx)) 476 intel_gvt_i2c_handle_aux_ch_write(struct intel_vgpu *vgpu, int port_idx, unsigned int offset, void *p_data) argument
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | xdp_synproxy.c | 398 __u32 port_idx = 0; local 408 err = bpf_map_update_elem(ports_map_fd, &port_idx, &port, BPF_ANY); 412 port, port_idx); 416 port_idx++; 418 err = bpf_map_update_elem(ports_map_fd, &port_idx, &port_last, BPF_ANY); 422 port_idx);
|
/linux-master/drivers/tty/serial/8250/ |
H A D | 8250_pci1xxxx.c | 617 struct uart_8250_port *port, int port_idx, int rev) 644 ret = serial8250_pci_setup_port(pdev, port, 0, PORT_OFFSET * port_idx, 0); 710 int port_idx; local 755 port_idx = pci1xxxx_logical_to_physical_port_translate(subsys_dev, i); 758 uart.port.irq = pci_irq_vector(pdev, port_idx); 762 rc = pci1xxxx_setup(pdev, &uart, port_idx, priv->dev_rev); 616 pci1xxxx_setup(struct pci_dev *pdev, struct uart_8250_port *port, int port_idx, int rev) argument
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | mae.h | 37 u32 port_idx; /* for mport_type == NET_PORT */ member in union:mae_mport_desc::__anon1574
|
/linux-master/drivers/infiniband/hw/qib/ |
H 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);
|
H A D | qib_mad.c | 2423 void qib_notify_create_mad_agent(struct rvt_dev_info *rdi, int port_idx) argument 2430 dd->pport[port_idx].cong_stats.counter = 0; 2431 timer_setup(&dd->pport[port_idx].cong_stats.timer, 2433 dd->pport[port_idx].cong_stats.timer.expires = 0; 2434 add_timer(&dd->pport[port_idx].cong_stats.timer); 2437 void qib_notify_free_mad_agent(struct rvt_dev_info *rdi, int port_idx) argument 2443 if (dd->pport[port_idx].cong_stats.timer.function) 2444 del_timer_sync(&dd->pport[port_idx].cong_stats.timer); 2446 if (dd->pport[port_idx].ibport_data.smi_ah) 2447 rdma_destroy_ah(&dd->pport[port_idx] [all...] |
/linux-master/include/rdma/ |
H 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-master/drivers/scsi/ |
H A D | g_NCR5380.c | 231 int port_idx = -1; local 290 port_idx = i; 418 magic_configure(port_idx, board_irq, magic);
|
/linux-master/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | tunnel_conf.c | 26 * @port_idx: index of destination MAC address for the rule 32 __be16 port_idx; member in struct:nfp_tun_pre_tun_rule 1457 * set/clear for port_idx. 1465 payload.port_idx = cpu_to_be16(mac_entry->index); 1469 flow->pre_tun_rule.port_idx = payload.port_idx; 1495 payload.port_idx = flow->pre_tun_rule.port_idx;
|
/linux-master/drivers/net/wwan/ |
H A D | wwan_hwsim.c | 48 unsigned int port_idx; member in struct:wwan_hwsim_dev 205 port->id = dev->port_idx++;
|
/linux-master/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_main.c | 774 u32 port_idx; local 777 for (port_idx = 0; port_idx < sw->port_count; port_idx++) { 778 err = prestera_port_create(sw, port_idx);
|
/linux-master/drivers/scsi/mpi3mr/ |
H A D | mpi3mr_transport.c | 1675 int i, j, found, host_port_count = 0, port_idx; local 1731 port_idx = host_port_count; 1732 h_port[port_idx].sas_address = le64_to_cpu(sasinf->sas_address); 1733 h_port[port_idx].handle = attached_handle; 1734 h_port[port_idx].phy_mask = (1 << i); 1735 h_port[port_idx].iounit_port_id = sas_io_unit_pg0->phy_data[i].io_unit_port; 1736 h_port[port_idx].lowest_phy = sasinf->phy_num; 1737 h_port[port_idx].used = 0;
|
/linux-master/drivers/net/ethernet/microsoft/mana/ |
H A D | mana_en.c | 2470 int port_idx = apc->port_idx; local 2478 err = mana_query_vport_cfg(apc, port_idx, &max_txq, &max_rxq, 2482 port_idx); 2684 static int mana_probe_port(struct mana_context *ac, int port_idx, argument 2706 apc->port_idx = port_idx; 2717 ndev->dev_port = port_idx; 2754 netdev_err(ndev, "Failed to probe vPort %d: %d\n", port_idx, err);
|
/linux-master/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-switch.c | 2982 u16 port_idx) 2984 struct ethsw_port_priv *port_priv = ethsw->ports[port_idx]; 2988 ethsw->ports[port_idx] = NULL; 3286 u16 port_idx) 3305 port_priv->idx = port_idx; 3324 ethsw->ports[port_idx] = port_priv; 3334 err = dpaa2_switch_port_init(port_priv, port_idx); 3355 ethsw->ports[port_idx] = NULL; 2981 dpaa2_switch_remove_port(struct ethsw_core *ethsw, u16 port_idx) argument 3285 dpaa2_switch_probe_port(struct ethsw_core *ethsw, u16 port_idx) argument
|
/linux-master/sound/core/seq/ |
H A D | seq_clientmgr.c | 1307 int port_idx, err; local 1319 port_idx = info->addr.port; 1321 port_idx = -1; 1322 if (port_idx >= SNDRV_SEQ_ADDRESS_UNKNOWN) 1324 err = snd_seq_create_port(client, port_idx, &port);
|
/linux-master/drivers/net/ethernet/ti/ |
H A D | am65-cpsw-nuss.c | 446 int port_idx, i, ret, tx; local 470 for (port_idx = 0; port_idx < common->port_num; port_idx++) { 471 struct am65_cpsw_port *port = &common->ports[port_idx]; 2213 am65_cpsw_nuss_init_port_ndev(struct am65_cpsw_common *common, u32 port_idx) argument 2221 port = &common->ports[port_idx];
|
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4.h | 1537 * @port_idx: the port index 1543 static inline void t4_set_hw_addr(struct adapter *adapter, int port_idx, argument 1546 eth_hw_addr_set(adapter->port[port_idx], hw_addr); 1547 ether_addr_copy(adapter->port[port_idx]->perm_addr, hw_addr);
|