Home
last modified time | relevance | path

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

/linux-3.4.99/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.c676 struct dsp_bufferattr *pattr, in node_alloc_msg_buf() argument
693 if (pattr == NULL) in node_alloc_msg_buf()
694 pattr = &node_dfltbufattrs; /* set defaults */ in node_alloc_msg_buf()
704 if ((pattr->segment_id & MEM_SETVIRTUALSEGID) || in node_alloc_msg_buf()
705 (pattr->segment_id & MEM_GETVIRTUALSEGID)) { in node_alloc_msg_buf()
707 set_info = (pattr->segment_id & MEM_SETVIRTUALSEGID) ? in node_alloc_msg_buf()
710 pattr->segment_id &= ~MEM_MASKVIRTUALSEGID; in node_alloc_msg_buf()
713 pattr->segment_id, set_info); in node_alloc_msg_buf()
716 if (pattr->segment_id != 1) { in node_alloc_msg_buf()
723 switch (pattr->buf_alignment) { in node_alloc_msg_buf()
[all …]
/linux-3.4.99/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,
/linux-3.4.99/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()
/linux-3.4.99/drivers/infiniband/hw/mlx4/
Dmad.c243 struct ib_port_attr pattr; in ib_process_mad() local
278 !ib_query_port(ibdev, port_num, &pattr)) in ib_process_mad()
279 prev_lid = pattr.lid; in ib_process_mad()
/linux-3.4.99/drivers/infiniband/hw/qib/
Dqib_sysfs.c237 struct qib_port_attr *pattr = in qib_portattr_show() local
242 return pattr->show(ppd, buf); in qib_portattr_show()
248 struct qib_port_attr *pattr = in qib_portattr_store() local
253 return pattr->store(ppd, buf, len); in qib_portattr_store()
/linux-3.4.99/drivers/staging/tidspbridge/pmgr/
Ddspapi.c1077 struct dsp_bufferattr *pattr = NULL; in nodewrap_alloc_msg_buf() local
1094 pattr = &attr; in nodewrap_alloc_msg_buf()
1102 pattr, &pbuffer); in nodewrap_alloc_msg_buf()
1243 struct dsp_bufferattr *pattr = NULL; in nodewrap_free_msg_buf() local
1255 pattr = &attr; in nodewrap_free_msg_buf()
1265 pattr); in nodewrap_free_msg_buf()
/linux-3.4.99/drivers/scsi/osd/
Dosd_initiator.c1847 struct osd_sense_attr *pattr = osadd->sense_attrs; in osd_req_decode_sense_full() local
1849 while (len >= sizeof(*pattr)) { in osd_req_decode_sense_full()
1850 u32 attr_page = be32_to_cpu(pattr->attr_page); in osd_req_decode_sense_full()
1851 u32 attr_id = be32_to_cpu(pattr->attr_id); in osd_req_decode_sense_full()
1865 len -= sizeof(*pattr); in osd_req_decode_sense_full()
/linux-3.4.99/net/netfilter/
Dnf_conntrack_proto_tcp.c1177 struct nlattr *pattr = cda[CTA_PROTOINFO_TCP]; in nlattr_to_tcp() local
1183 if (!pattr) in nlattr_to_tcp()
1186 err = nla_parse_nested(tb, CTA_PROTOINFO_TCP_MAX, pattr, tcp_nla_policy); in nlattr_to_tcp()
/linux-3.4.99/drivers/scsi/bfa/
Dbfad_bsg.c80 struct bfa_port_attr_s pattr; in bfad_iocmd_ioc_get_info() local
84 bfa_fcport_get_attr(&bfad->bfa, &pattr); in bfad_iocmd_ioc_get_info()
85 iocmd->nwwn = pattr.nwwn; in bfad_iocmd_ioc_get_info()
86 iocmd->pwwn = pattr.pwwn; in bfad_iocmd_ioc_get_info()
91 iocmd->factorynwwn = pattr.factorynwwn; in bfad_iocmd_ioc_get_info()
92 iocmd->factorypwwn = pattr.factorypwwn; in bfad_iocmd_ioc_get_info()
/linux-3.4.99/drivers/block/mtip32xx/
Dmtip32xx.c1630 struct smart_attr *pattr; in mtip_get_smart_attr() local
1655 pattr = (struct smart_attr *)(port->smart_buf + 2); in mtip_get_smart_attr()
1656 for (i = 0; i < 29; i++, pattr++) in mtip_get_smart_attr()
1657 if (pattr->attr_id == id) { in mtip_get_smart_attr()
1658 memcpy(attrib, pattr, sizeof(struct smart_attr)); in mtip_get_smart_attr()