Searched refs:tformat (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/libcxgb/ |
D | libcxgb_ppm.h | 134 struct cxgbi_tag_format tformat; member 199 return !(tag & ppm->tformat.no_ddp_mask); in cxgbi_ppm_is_ddp_tag() 213 struct cxgbi_tag_format *tformat = &ppm->tformat; in cxgbi_ppm_make_non_ddp_tag() local 221 *final_tag = tformat->no_ddp_mask; in cxgbi_ppm_make_non_ddp_tag() 223 unsigned int shift = tformat->idx_bits + tformat->color_bits; in cxgbi_ppm_make_non_ddp_tag() 224 u32 lower = sw_tag & tformat->idx_clr_mask; in cxgbi_ppm_make_non_ddp_tag() 227 *final_tag = upper | tformat->no_ddp_mask | lower; in cxgbi_ppm_make_non_ddp_tag() 235 struct cxgbi_tag_format *tformat = &ppm->tformat; in cxgbi_ppm_decode_non_ddp_tag() local 236 unsigned int shift = tformat->idx_bits + tformat->color_bits; in cxgbi_ppm_decode_non_ddp_tag() 237 u32 lower = tag & tformat->idx_clr_mask; in cxgbi_ppm_decode_non_ddp_tag() [all …]
|
D | libcxgb_ppm.c | 67 struct cxgbi_tag_format *tformat = &ppm->tformat; in cxgbi_ppm_find_page_index() local 72 tformat->pgsz_order[i])) { in cxgbi_ppm_find_page_index() 305 hdr->pgsz_tag_clr = htonl(tag & ppm->tformat.idx_clr_mask); in cxgbi_ppm_make_ppod_hdr() 389 struct cxgbi_tag_format *tformat, unsigned int iscsi_size, in cxgbi_ppm_init() argument 471 memcpy(&ppm->tformat, tformat, sizeof(struct cxgbi_tag_format)); in cxgbi_ppm_init() 501 ppm->tformat.pgsz_idx_dflt = cxgbi_ppm_find_page_index(ppm, PAGE_SIZE); in cxgbi_ppm_init() 505 ppm->tformat.pgsz_idx_dflt, ppm->pool_rsvd, in cxgbi_ppm_init()
|
/kernel/linux/linux-5.10/drivers/target/iscsi/cxgbit/ |
D | cxgbit_ddp.c | 183 ppm, ppm->tformat.pgsz_idx_dflt, in cxgbit_ddp_reserve() 300 struct cxgbi_tag_format tformat; in cxgbit_ddp_init() local 308 memset(&tformat, 0, sizeof(struct cxgbi_tag_format)); in cxgbit_ddp_init() 310 tformat.pgsz_order[i] = (lldi->iscsi_pgsz_order >> (i << 3)) in cxgbit_ddp_init() 312 cxgbi_tagmask_check(lldi->iscsi_tagmask, &tformat); in cxgbit_ddp_init() 315 cdev->lldi.pdev, &cdev->lldi, &tformat, in cxgbit_ddp_init() 323 if ((ppm->tformat.pgsz_idx_dflt < DDP_PGIDX_MAX) && in cxgbit_ddp_init()
|
D | cxgbit_target.c | 764 ppm->tformat.pgsz_idx_dflt)) in cxgbit_set_params() 849 ccmd->ttinfo.tag = ppm->tformat.no_ddp_mask; in cxgbit_allocate_cmd()
|
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/cxgb3i/ |
D | cxgb3i.c | 1225 struct cxgbi_tag_format tformat; in cxgb3i_ddp_init() local 1249 memset(&tformat, 0, sizeof(struct cxgbi_tag_format)); in cxgb3i_ddp_init() 1251 tformat.pgsz_order[i] = uinfo.pgsz_factor[i]; in cxgb3i_ddp_init() 1252 cxgbi_tagmask_check(tagmask, &tformat); in cxgb3i_ddp_init() 1254 err = cxgbi_ddp_ppm_setup(&tdev->ulp_iscsi, cdev, &tformat, in cxgb3i_ddp_init()
|
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/cxgb4i/ |
D | cxgb4i.c | 2155 struct cxgbi_tag_format tformat; in cxgb4i_ddp_init() local 2165 memset(&tformat, 0, sizeof(struct cxgbi_tag_format)); in cxgb4i_ddp_init() 2167 tformat.pgsz_order[i] = (lldi->iscsi_pgsz_order >> (i << 3)) in cxgb4i_ddp_init() 2169 cxgbi_tagmask_check(lldi->iscsi_tagmask, &tformat); in cxgb4i_ddp_init() 2174 err = cxgbi_ddp_ppm_setup(lldi->iscsi_ppm, cdev, &tformat, in cxgb4i_ddp_init()
|
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/ |
D | libcxgbi.c | 1214 struct cxgbi_tag_format *tformat, in cxgbi_ddp_ppm_setup() argument 1220 cdev->lldev, tformat, iscsi_size, llimit, start, in cxgbi_ddp_ppm_setup() 1227 ppm->tformat.pgsz_idx_dflt >= DDP_PGIDX_MAX) in cxgbi_ddp_ppm_setup() 1280 ppm->tformat.pgsz_idx_dflt >= DDP_PGIDX_MAX) { in cxgbi_ddp_reserve() 1283 ppm, ppm ? ppm->tformat.pgsz_idx_dflt : DDP_PGIDX_MAX, in cxgbi_ddp_reserve() 2691 ppm->tformat.pgsz_idx_dflt); in cxgbi_bind_conn()
|
D | libcxgbi.h | 643 struct cxgbi_tag_format *tformat,
|
/kernel/linux/patches/linux-5.10/yangfan_patch/ |
D | drivers.patch | 28332 + DEBUG_PRINT("\tformat: %s%s%s[%d] color_space[%d]\n",
|