Home
last modified time | relevance | path

Searched refs:pattr (Results 1 – 11 of 11) sorted by relevance

/drivers/staging/tidspbridge/rmgr/
Dstrm.c386 struct strm_attr *pattr, in strm_open() argument
419 strm_obj->user_event = pattr->user_event; in strm_open()
420 if (pattr->stream_attr_in != NULL) { in strm_open()
422 pattr->stream_attr_in->timeout; in strm_open()
424 pattr->stream_attr_in->num_bufs; in strm_open()
426 pattr->stream_attr_in->strm_mode; in strm_open()
428 pattr->stream_attr_in->segment_id; in strm_open()
430 pattr->stream_attr_in->buf_alignment; in strm_open()
432 pattr->stream_attr_in->dma_chnl_id; in strm_open()
434 pattr->stream_attr_in->dma_priority; in strm_open()
[all …]
Dnode.c685 struct dsp_bufferattr *pattr, in node_alloc_msg_buf() argument
702 if (pattr == NULL) in node_alloc_msg_buf()
703 pattr = &node_dfltbufattrs; /* set defaults */ in node_alloc_msg_buf()
713 if ((pattr->segment_id & MEM_SETVIRTUALSEGID) || in node_alloc_msg_buf()
714 (pattr->segment_id & MEM_GETVIRTUALSEGID)) { in node_alloc_msg_buf()
716 set_info = (pattr->segment_id & MEM_SETVIRTUALSEGID) ? in node_alloc_msg_buf()
719 pattr->segment_id &= ~MEM_MASKVIRTUALSEGID; in node_alloc_msg_buf()
722 pattr->segment_id, set_info); in node_alloc_msg_buf()
725 if (pattr->segment_id != 1) { in node_alloc_msg_buf()
732 switch (pattr->buf_alignment) { in node_alloc_msg_buf()
[all …]
/drivers/staging/tidspbridge/include/dspbridge/
Dnode.h88 *pattr, u8 **pbuffer);
300 *pattr);
321 struct dsp_nodeattr *pattr, u32 attr_size);
Dstrm.h222 u32 index, struct strm_attr *pattr,
/drivers/infiniband/hw/mthca/
Dmthca_mad.c206 struct ib_port_attr pattr; in mthca_process_mad() local
248 !ib_query_port(ibdev, port_num, &pattr)) in mthca_process_mad()
249 prev_lid = pattr.lid; in mthca_process_mad()
/drivers/infiniband/hw/qib/
Dqib_sysfs.c299 struct qib_port_attr *pattr = in qib_portattr_show() local
304 return pattr->show(ppd, buf); in qib_portattr_show()
310 struct qib_port_attr *pattr = in qib_portattr_store() local
315 return pattr->store(ppd, buf, len); in qib_portattr_store()
/drivers/staging/tidspbridge/pmgr/
Ddspapi.c1080 struct dsp_bufferattr *pattr = NULL; in nodewrap_alloc_msg_buf() local
1097 pattr = &attr; in nodewrap_alloc_msg_buf()
1105 pattr, &pbuffer); in nodewrap_alloc_msg_buf()
1246 struct dsp_bufferattr *pattr = NULL; in nodewrap_free_msg_buf() local
1258 pattr = &attr; in nodewrap_free_msg_buf()
1268 pattr); in nodewrap_free_msg_buf()
/drivers/scsi/osd/
Dosd_initiator.c1851 struct osd_sense_attr *pattr = osadd->sense_attrs; in osd_req_decode_sense_full() local
1853 while (len >= sizeof(*pattr)) { in osd_req_decode_sense_full()
1854 u32 attr_page = be32_to_cpu(pattr->attr_page); in osd_req_decode_sense_full()
1855 u32 attr_id = be32_to_cpu(pattr->attr_id); in osd_req_decode_sense_full()
1869 len -= sizeof(*pattr); in osd_req_decode_sense_full()
/drivers/scsi/bfa/
Dbfad_bsg.c86 struct bfa_port_attr_s pattr; in bfad_iocmd_ioc_get_info() local
90 bfa_fcport_get_attr(&bfad->bfa, &pattr); in bfad_iocmd_ioc_get_info()
91 iocmd->nwwn = pattr.nwwn; in bfad_iocmd_ioc_get_info()
92 iocmd->pwwn = pattr.pwwn; in bfad_iocmd_ioc_get_info()
97 iocmd->factorynwwn = pattr.factorynwwn; in bfad_iocmd_ioc_get_info()
98 iocmd->factorypwwn = pattr.factorypwwn; in bfad_iocmd_ioc_get_info()
/drivers/block/mtip32xx/
Dmtip32xx.c1719 struct smart_attr *pattr; in mtip_get_smart_attr() local
1744 pattr = (struct smart_attr *)(port->smart_buf + 2); in mtip_get_smart_attr()
1745 for (i = 0; i < 29; i++, pattr++) in mtip_get_smart_attr()
1746 if (pattr->attr_id == id) { in mtip_get_smart_attr()
1747 memcpy(attrib, pattr, sizeof(struct smart_attr)); in mtip_get_smart_attr()
/drivers/infiniband/hw/mlx4/
Dmad.c646 struct ib_port_attr pattr; in ib_process_mad() local
700 !ib_query_port(ibdev, port_num, &pattr)) in ib_process_mad()
701 prev_lid = pattr.lid; in ib_process_mad()