Searched refs:qsfp_read (Results 1 – 5 of 5) sorted by relevance
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_qsfp.c | 47 static int qsfp_read(struct qib_pportdata *ppd, int addr, void *bp, int len) in qsfp_read() function 261 ret = qsfp_read(ppd, first, &bval, 1); in qsfp_cks() 288 ret = qsfp_read(ppd, 0, peek, 3); in qib_refresh_qsfp_cache() 311 ret = qsfp_read(ppd, QSFP_MOD_ID_OFFS, &cp->id, 1); in qib_refresh_qsfp_cache() 319 ret = qsfp_read(ppd, QSFP_MOD_PWR_OFFS, &cp->pwr, 1); in qib_refresh_qsfp_cache() 329 ret = qsfp_read(ppd, QSFP_MOD_LEN_OFFS, &cp->len, 1); in qib_refresh_qsfp_cache() 334 ret = qsfp_read(ppd, QSFP_MOD_TECH_OFFS, &cp->tech, 1); in qib_refresh_qsfp_cache() 339 ret = qsfp_read(ppd, QSFP_VEND_OFFS, &cp->vendor, QSFP_VEND_LEN); in qib_refresh_qsfp_cache() 345 ret = qsfp_read(ppd, QSFP_IBXCV_OFFS, &cp->xt_xcv, 1); in qib_refresh_qsfp_cache() 350 ret = qsfp_read(ppd, QSFP_VOUI_OFFS, &cp->oui, QSFP_VOUI_LEN); in qib_refresh_qsfp_cache() [all …]
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | qsfp.c | 242 int qsfp_read(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp, in qsfp_read() function 314 ret = qsfp_read(ppd, target, 0, cache, 256); in refresh_qsfp_cache() 331 ret = qsfp_read(ppd, target, 384, cache + 256, 128); in refresh_qsfp_cache() 336 ret = qsfp_read(ppd, target, 640, cache + 384, 128); in refresh_qsfp_cache() 341 ret = qsfp_read(ppd, target, 896, cache + 512, 128); in refresh_qsfp_cache() 348 ret = qsfp_read(ppd, target, 640, cache + 384, 128); in refresh_qsfp_cache() 353 ret = qsfp_read(ppd, target, 896, cache + 512, 128); in refresh_qsfp_cache() 360 ret = qsfp_read(ppd, target, 384, cache + 256, 128); in refresh_qsfp_cache() 365 ret = qsfp_read(ppd, target, 896, cache + 512, 128); in refresh_qsfp_cache() 372 ret = qsfp_read(ppd, target, 896, cache + 512, 128); in refresh_qsfp_cache()
|
D | qsfp.h | 221 int qsfp_read(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp,
|
D | debugfs.c | 643 total_read = qsfp_read(ppd, target, *ppos, buff, count); in __qsfp_debugfs_read()
|
D | chip.c | 5719 if (qsfp_read(ppd, dd->hfi1_id, 2, &qsfp_interrupt_status, 1) in do_qsfp_intr_fallback() 5776 if (qsfp_read(ppd, dd->hfi1_id, 6, in qsfp_event() 5790 if (qsfp_read(ppd, dd->hfi1_id, 2, &data_status, 1) in qsfp_event()
|