Home
last modified time | relevance | path

Searched refs:tformat (Results 1 – 8 of 8) sorted by relevance

/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_ppm.h134 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 …]
Dlibcxgb_ppm.c67 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()
/drivers/target/iscsi/cxgbit/
Dcxgbit_ddp.c183 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()
Dcxgbit_target.c764 ppm->tformat.pgsz_idx_dflt)) in cxgbit_set_params()
849 ccmd->ttinfo.tag = ppm->tformat.no_ddp_mask; in cxgbit_allocate_cmd()
/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c1225 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()
/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c2155 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()
/drivers/scsi/cxgbi/
Dlibcxgbi.c1214 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()
Dlibcxgbi.h643 struct cxgbi_tag_format *tformat,