Searched refs:dparams (Results 1 – 3 of 3) sorted by relevance
/drivers/net/ethernet/chelsio/cxgb4/ |
D | cudbg_lib.c | 841 struct devlog_params *dparams; in cudbg_collect_fw_devlog() local 850 dparams = &padap->params.devlog; in cudbg_collect_fw_devlog() 851 rc = cudbg_get_buff(pdbg_init, dbg_buff, dparams->size, &temp_buff); in cudbg_collect_fw_devlog() 856 if (dparams->start != 0) { in cudbg_collect_fw_devlog() 859 dparams->memtype, dparams->start, in cudbg_collect_fw_devlog() 860 dparams->size, in cudbg_collect_fw_devlog()
|
D | cxgb4_debugfs.c | 1084 struct devlog_params *dparams = &adap->params.devlog; in devlog_open() local 1092 if (dparams->start == 0) in devlog_open() 1099 sizeof(*dinfo) + dparams->size); in devlog_open() 1105 dinfo->nentries = (dparams->size / sizeof(struct fw_devlog_e)); in devlog_open() 1108 ret = t4_memory_rw(adap, adap->params.drv_memwin, dparams->memtype, in devlog_open() 1109 dparams->start, dparams->size, (__be32 *)dinfo->log, in devlog_open()
|
D | t4_hw.c | 9326 struct devlog_params *dparams = &adap->params.devlog; in t4_init_devlog_params() local 9341 dparams->memtype = PCIE_FW_PF_DEVLOG_MEMTYPE_G(pf_dparams); in t4_init_devlog_params() 9342 dparams->start = PCIE_FW_PF_DEVLOG_ADDR16_G(pf_dparams) << 4; in t4_init_devlog_params() 9346 dparams->size = nentries * sizeof(struct fw_devlog_e); in t4_init_devlog_params() 9364 dparams->memtype = FW_DEVLOG_CMD_MEMTYPE_DEVLOG_G(devlog_meminfo); in t4_init_devlog_params() 9365 dparams->start = FW_DEVLOG_CMD_MEMADDR16_DEVLOG_G(devlog_meminfo) << 4; in t4_init_devlog_params() 9366 dparams->size = be32_to_cpu(devlog_cmd.memsize_devlog); in t4_init_devlog_params()
|