Searched refs:comm_index (Results 1 – 5 of 5) sorted by relevance
/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_rcb.c | 292 if (rcb_common->comm_index == HNS_DSAF_COMM_SERVICE_NW_IDX) in hns_rcb_common_get_port_num() 434 int comm_index = rcb_common->comm_index; in hns_rcb_get_port() local 438 if (comm_index == HNS_DSAF_COMM_SERVICE_NW_IDX) { in hns_rcb_get_port() 442 port = HNS_RCB_SERVICE_NW_ENGINE_NUM + comm_index - 1; in hns_rcb_get_port() 450 int comm_index = rcb_common->comm_index; in hns_rcb_get_base_irq_idx() local 452 if (comm_index == HNS_DSAF_COMM_SERVICE_NW_IDX) in hns_rcb_get_base_irq_idx() 455 return HNS_DEBUG_RING_IRQ_IDX + (comm_index - 1) * 2; in hns_rcb_get_base_irq_idx() 498 int comm_index = hns_dsaf_get_comm_idx_by_port(port); in hns_rcb_get_coalesced_frames() local 499 struct rcb_common_cb *rcb_comm = dsaf_dev->rcb_common[comm_index]; in hns_rcb_get_coalesced_frames() 510 u32 hns_rcb_get_coalesce_usecs(struct dsaf_device *dsaf_dev, int comm_index) in hns_rcb_get_coalesce_usecs() argument [all …]
|
D | hns_dsaf_rcb.h | 93 u8 comm_index; member 104 int hns_rcb_common_get_cfg(struct dsaf_device *dsaf_dev, int comm_index); 105 void hns_rcb_common_free_cfg(struct dsaf_device *dsaf_dev, u32 comm_index); 110 void hns_rcb_get_queue_mode(enum dsaf_mode dsaf_mode, int comm_index, 120 u32 hns_rcb_get_coalesced_frames(struct dsaf_device *dsaf_dev, int comm_index); 121 u32 hns_rcb_get_coalesce_usecs(struct dsaf_device *dsaf_dev, int comm_index); 123 int comm_index, u32 timeout); 125 int comm_index, u32 coalesce_frames);
|
D | hns_dsaf_ppe.c | 27 int idx = ppe_common->comm_index; in hns_ppe_common_get_ioaddr() 46 int hns_ppe_common_get_cfg(struct dsaf_device *dsaf_dev, int comm_index) in hns_ppe_common_get_cfg() argument 51 if (comm_index == HNS_DSAF_COMM_SERVICE_NW_IDX) in hns_ppe_common_get_cfg() 63 ppe_common->comm_index = comm_index; in hns_ppe_common_get_cfg() 64 if (comm_index == HNS_DSAF_COMM_SERVICE_NW_IDX) in hns_ppe_common_get_cfg() 72 dsaf_dev->ppe_common[comm_index] = ppe_common; in hns_ppe_common_get_cfg() 77 void hns_ppe_common_free_cfg(struct dsaf_device *dsaf_dev, u32 comm_index) in hns_ppe_common_free_cfg() argument 79 dsaf_dev->ppe_common[comm_index] = NULL; in hns_ppe_common_free_cfg() 86 int common_idx = ppe_common->comm_index; in hns_ppe_get_iobase() 108 + ppe_common->comm_index - 1; in hns_ppe_get_port()
|
D | hns_dsaf_misc.c | 212 int comm_index = ppe_common->comm_index; in hns_ppe_com_srst() local 217 if (comm_index == HNS_DSAF_COMM_SERVICE_NW_IDX) { in hns_ppe_com_srst() 225 reg_val = 0x100 << (comm_index - 1); in hns_ppe_com_srst()
|
D | hns_dsaf_ppe.h | 84 u8 comm_index; /*ppe_common index*/ member
|