Lines Matching refs:pld

294 	uint8_t *pld;
328 pld = (uint8_t *)csio_ct_get_pld(cmd);
329 port_name = (struct fc_fdmi_port_name *)pld;
331 pld += sizeof(*port_name);
334 attrib_blk = (struct fs_fdmi_attrs *)pld;
337 pld += sizeof(attrib_blk->numattrs);
343 csio_append_attrib(&pld, FC_FDMI_PORT_ATTR_FC4TYPES,
347 csio_append_attrib(&pld, FC_FDMI_PORT_ATTR_SUPPORTEDSPEED,
366 csio_append_attrib(&pld, FC_FDMI_PORT_ATTR_CURRENTPORTSPEED,
371 csio_append_attrib(&pld, FC_FDMI_PORT_ATTR_MAXFRAMESIZE,
376 csio_append_attrib(&pld, FC_FDMI_PORT_ATTR_OSDEVICENAME, buf,
381 csio_append_attrib(&pld, FC_FDMI_PORT_ATTR_HOSTNAME,
386 len = (uint32_t)(pld - (uint8_t *)cmd);
407 uint8_t *pld;
440 pld = (uint8_t *)csio_ct_get_pld(cmd);
441 hbaid = (struct fc_fdmi_hba_identifier *)pld;
443 pld += sizeof(*hbaid);
446 reg_pl = (struct fc_fdmi_rpl *)pld;
449 pld += sizeof(*reg_pl);
452 attrib_blk = (struct fs_fdmi_attrs *)pld;
455 pld += sizeof(attrib_blk->numattrs);
457 csio_append_attrib(&pld, FC_FDMI_HBA_ATTR_NODENAME, csio_ln_wwnn(ln),
464 csio_append_attrib(&pld, FC_FDMI_HBA_ATTR_MANUFACTURER, buf,
467 csio_append_attrib(&pld, FC_FDMI_HBA_ATTR_SERIALNUMBER,
470 csio_append_attrib(&pld, FC_FDMI_HBA_ATTR_MODEL, hw->vpd.id,
473 csio_append_attrib(&pld, FC_FDMI_HBA_ATTR_MODELDESCRIPTION,
476 csio_append_attrib(&pld, FC_FDMI_HBA_ATTR_HARDWAREVERSION,
479 csio_append_attrib(&pld, FC_FDMI_HBA_ATTR_FIRMWAREVERSION,
484 csio_append_attrib(&pld, FC_FDMI_HBA_ATTR_OSNAMEVERSION,
489 csio_append_attrib(&pld, FC_FDMI_HBA_ATTR_MAXCTPAYLOAD,
491 len = (uint32_t)(pld - (uint8_t *)cmd);
1718 * @pld - Dma Payload buffer
1725 uint8_t sub_op, struct csio_dma_buf *pld,
1743 /* Send as immediate data if pld < 256 */
1774 csio_wr_copy_to_wrp(pld->vaddr, &wrp, wr_off, im_len);
1780 dsgl.addr0 = cpu_to_be64(pld->paddr);
1795 * @pld - Dma Payload buffer
1807 enum fcoe_cmn_type req_type, struct csio_dma_buf *pld,
1814 BUG_ON(pld_len > pld->len);
1821 rv = csio_ln_mgmt_submit_wr(mgmtm, io_req, req_type, pld, pld_len);