/linux-master/drivers/infiniband/hw/mlx4/ |
H A D | mlx4_ib.h | 814 int mlx4_ib_process_mad(struct ib_device *ibdev, int mad_flags, u32 port_num, 855 void mlx4_ib_dispatch_event(struct mlx4_ib_dev *dev, u32 port_num, 888 u32 port_num, u8 *p_data); 891 int block_num, u32 port_num, 894 int add_sysfs_port_mcg_attr(struct mlx4_ib_dev *device, int port_num, 896 void del_sysfs_port_mcg_attr(struct mlx4_ib_dev *device, int port_num,
|
/linux-master/drivers/ata/pata_parport/ |
H A D | pata_parport.c | 589 int port_num; local 609 idr_for_each_entry(&parport_list, parport, port_num) 642 int port_num, port_wanted, pr_num; local 670 idr_for_each_entry(&parport_list, parport, port_num) { 671 if (port_num == port_wanted || port_wanted == -1) { 672 parport = parport_find_number(port_num);
|
/linux-master/drivers/infiniband/core/ |
H A D | uverbs_cmd.c | 409 ret = ib_query_port(ib_dev, cmd.port_num, &attr); 414 copy_port_attr_to_resp(&attr, &resp, ib_dev, cmd.port_num); 1162 if (rdma_cap_opa_ah(ib_dev, wc->port_num)) 1168 tmp.port_num = wc->port_num; 1634 uverb_attr->port_num = rdma_ah_get_port_num(rdma_attr); 1688 resp.port_num = attr->port_num; 1732 rdma_attr->type = rdma_ah_find_type(dev, uverb_attr->port_num); 1747 rdma_ah_set_port_num(rdma_attr, uverb_attr->port_num); [all...] |
H A D | ucma.c | 850 resp.port_num = ctx->cm_id->port_num; 852 if (rdma_cap_ib_sa(ctx->cm_id->device, ctx->cm_id->port_num)) 854 else if (rdma_protocol_roce(ctx->cm_id->device, ctx->cm_id->port_num)) 856 else if (rdma_protocol_iwarp(ctx->cm_id->device, ctx->cm_id->port_num)) 877 resp->port_num = cm_id->port_num; 1321 if (rdma_cap_opa_ah(ctx->cm_id->device, ctx->cm_id->port_num)) {
|
/linux-master/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_dsaf_main.c | 1663 mac_data.tbl_ucast_out_port = mac_entry->port_num; 1718 if (mac_entry->port_num != mac_data.tbl_ucast_out_port) 1728 u8 port_num, u8 *mask, u8 *addr) 1733 memcpy(mask, dsaf_dev->mac_cb[port_num]->mc_mask, ETH_ALEN); 1817 if (mac_entry->port_num < DSAF_SERVICE_NW_NUM) { 1818 mskid = mac_entry->port_num; 1819 } else if (mac_entry->port_num >= DSAF_BASE_INNER_PORT_NUM) { 1820 mskid = mac_entry->port_num - 1825 dsaf_dev->ae_dev.name, mac_entry->port_num, 1984 if (mac_entry->port_num < DSAF_SERVICE_NW_NU 1727 hns_dsaf_setup_mc_mask(struct dsaf_device *dsaf_dev, u8 port_num, u8 *mask, u8 *addr) argument 2018 hns_dsaf_clr_mac_mc_port(struct dsaf_device *dsaf_dev, u8 mac_id, u8 port_num) argument 2775 u8 port_num; local [all...] |
H A D | hns_dsaf_main.h | 171 u8 port_num; /*output port num*/ member in struct:dsaf_drv_mac_single_dest_entry 463 u8 mac_id, u8 port_num);
|
H A D | hns_dsaf_mac.h | 430 u32 port_num, char *addr, bool enable); 457 u8 vmid, u8 *port_num);
|
/linux-master/drivers/infiniband/sw/rdmavt/ |
H A D | qp.c | 485 * @port_num: IB port number, 1 based, comes from core 491 enum ib_qp_type type, u8 port_num, u8 exclude_prefix) 500 return rdi->driver_f.alloc_qpn(rdi, qpt, type, port_num); 506 n = 1 << (ret + 2 * (port_num - 1)); 731 struct rvt_ibport *rvp = rdi->ports[qp->port_num - 1]; 1071 if (init_attr->port_num == 0 || 1072 init_attr->port_num > ibqp->device->phys_port_cnt) 1167 init_attr->port_num, 1175 qp->port_num = init_attr->port_num; 490 alloc_qpn(struct rvt_dev_info *rdi, struct rvt_qpn_table *qpt, enum ib_qp_type type, u8 port_num, u8 exclude_prefix) argument [all...] |
H A D | cq.c | 93 uqueue[head].port_num = entry->port_num;
|
/linux-master/drivers/net/dsa/realtek/ |
H A D | rtl8366rb.c | 375 u8 port_num; member in struct:rtl8366rb_led 872 u8 port_num = led->port_num; local 880 led_group, port_num); 884 return !!(val & rtl8366rb_led_group_port_mask(led_group, port_num)); 891 u8 port_num = led->port_num; local 897 port_num), 901 led_group, port_num); 949 led->port_num [all...] |
/linux-master/drivers/dma/ti/ |
H A D | cppi41.c | 97 unsigned int port_num; member in struct:cppi41_channel 693 WARN_ON((pd0 & 0x1f) != c->port_num); 803 cchan->port_num = i >> 1; 958 if (cchan->port_num != num[INFO_PORT]) 971 if (WARN_ON(cchan->port_num >= ARRAY_SIZE(am335x_usb_queues_rx))) 974 cchan->q_num = queues[cchan->port_num].submit; 975 cchan->q_comp_num = queues[cchan->port_num].complete;
|
/linux-master/drivers/soundwire/ |
H A D | bus.c | 1613 int port_num, stat, ret, count = 0; local 1713 port_num = bit + 4; 1715 port_num, 1716 &port_status[port_num]); 1725 port_num = bit + 11; 1727 port_num, 1728 &port_status[port_num]);
|
/linux-master/drivers/infiniband/hw/mthca/ |
H A D | mthca_qp.c | 401 u8 port_num = (be32_to_cpu(path->port_pkey) >> 24) & 0x3; local 405 if (port_num == 0 || port_num > dev->limits.num_ports) 407 ah_attr->type = rdma_ah_find_type(&dev->ib_dev, port_num); 408 rdma_ah_set_port_num(ah_attr, port_num); 416 port_num)); 486 qp_attr->port_num = 641 cpu_to_be32(attr->port_num << 24); 661 attr_mask & IB_QP_PORT ? attr->port_num : qp->port)) 807 qp->port = attr->port_num; [all...] |
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_ptp.c | 1232 int quad = port->port_num / ICE_PORTS_PER_QUAD; 1233 int offs = port->port_num % ICE_PORTS_PER_QUAD; 1255 port->port_num, err); 1272 port->tx_fifo_busy_cnt, port->port_num); 1277 port->port_num, quad); 1323 tx_err = ice_phy_cfg_tx_offset_e82x(hw, port->port_num); 1324 rx_err = ice_phy_cfg_rx_offset_e82x(hw, port->port_num); 1342 u8 port = ptp_port->port_num; 1375 u8 port = ptp_port->port_num; 1436 if (WARN_ON_ONCE(ptp_port->port_num ! [all...] |
H A D | ice_common.h | 152 ice_aq_set_event_mask(struct ice_hw *hw, u8 port_num, u16 mask, 241 ice_aq_get_phy_rec_clk_out(struct ice_hw *hw, u8 *phy_output, u8 *port_num,
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | qsfp.c | 665 int get_cable_info(struct hfi1_devdata *dd, u32 port_num, u32 addr, u32 len, argument 672 if (port_num > dd->num_pports || port_num < 1) { 674 __func__, port_num); 679 ppd = dd->pport + (port_num - 1);
|
H A D | vnic_main.c | 554 u32 port_num, 569 if (!port_num || (port_num > dd->num_pports)) 553 hfi1_vnic_alloc_rn(struct ib_device *device, u32 port_num, enum rdma_netdev_t type, const char *name, unsigned char name_assign_type, void (*setup)(struct net_device *)) argument
|
/linux-master/drivers/infiniband/ulp/srpt/ |
H A D | ib_srpt.c | 145 u8 port_num; local 152 port_num = event->element.port_num - 1; 153 if (port_num < sdev->device->phys_port_cnt) { 154 sport = &sdev->port[port_num]; 158 WARN(true, "event %d: port_num %d out of range 1..%d\n", 159 event->event, port_num + 1, 170 port_num = event->element.port_num - 1; 171 if (port_num < sde 2147 srpt_cm_req_recv(struct srpt_device *const sdev, struct ib_cm_id *ib_cm_id, struct rdma_cm_id *rdma_cm_id, u8 port_num, __be16 pkey, const struct srp_login_req *req, const char *src_addr) argument [all...] |
/linux-master/include/drm/display/ |
H A D | drm_dp_mst_helper.h | 61 * @port_num: port number 115 u8 port_num; member in struct:drm_dp_mst_port 441 struct drm_dp_port_number_req port_num; member in union:drm_dp_sideband_msg_req_body::ack_req 954 return port->port_num >= DP_MST_LOGICAL_PORT_0;
|
/linux-master/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_dev_api.h | 394 u8 port_num; member in struct:pvrdma_cmd_query_port 405 u8 port_num; member in struct:pvrdma_cmd_query_pkey
|
H A D | pvrdma_cq.c | 368 wc->port_num = cqe->port_num;
|
/linux-master/drivers/tty/serial/ |
H A D | icom.c | 1599 static void icom_port_active(struct icom_port *icom_port, struct icom_adapter *icom_adapter, int port_num) argument 1604 0x4004 + 2 - 2 * port_num; 1618 int port_num; local 1620 for (port_num = 0; port_num < icom_adapter->numb_ports; port_num++) { 1622 icom_port = &icom_adapter->port_info[port_num]; 1625 icom_port_active(icom_port, icom_adapter, port_num);
|
/linux-master/drivers/media/platform/samsung/s5p-mfc/ |
H A D | s5p_mfc.c | 1539 .port_num = MFC_NUM_PORTS, 1564 .port_num = MFC_NUM_PORTS_V6, 1593 .port_num = MFC_NUM_PORTS_V7, 1603 .port_num = MFC_NUM_PORTS_V7, 1627 .port_num = MFC_NUM_PORTS_V8, 1637 .port_num = MFC_NUM_PORTS_V8, 1662 .port_num = MFC_NUM_PORTS_V10, 1685 .port_num = MFC_NUM_PORTS_V12,
|
/linux-master/drivers/infiniband/hw/mlx5/ |
H A D | fs.c | 809 static int set_vhca_port_spec(struct mlx5_ib_dev *dev, u32 port_num, argument 821 misc_parameters.source_vhca_port, port_num); 826 static int set_ecn_ce_spec(struct mlx5_ib_dev *dev, u32 port_num, argument 834 set_vhca_port_spec(dev, port_num, spec)) 852 static int set_cnp_spec(struct mlx5_ib_dev *dev, u32 port_num, argument 856 set_vhca_port_spec(dev, port_num, spec)) 870 int mlx5_ib_fs_add_op_fc(struct mlx5_ib_dev *dev, u32 port_num, argument 888 if (set_ecn_ce_spec(dev, port_num, &spec[0], 890 set_ecn_ce_spec(dev, port_num, &spec[1], 903 set_cnp_spec(dev, port_num, [all...] |
/linux-master/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | output.c | 137 if (out->dev->of_node == src_node && out->port_num == reg) {
|