Home
last modified time | relevance | path

Searched refs:msgb (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/platform/surface/aggregator/
A Dssh_msgb.h41 msgb->begin = ptr; in msgb_init()
43 msgb->ptr = ptr; in msgb_init()
52 return msgb->ptr - msgb->begin; in msgb_bytes_used()
74 if (WARN_ON(msgb->ptr + sizeof(u16) > msgb->end)) in msgb_push_u16()
97 msgb->ptr = memcpy(msgb->ptr, buf, len) + len; in msgb_push_buf()
122 if (WARN_ON(msgb->ptr + sizeof(struct ssh_frame) > msgb->end)) in msgb_push_frame()
129 msgb_push_crc(msgb, begin, msgb->ptr - begin); in msgb_push_frame()
146 msgb_push_crc(msgb, msgb->ptr, 0); in msgb_push_ack()
162 msgb_push_crc(msgb, msgb->ptr, 0); in msgb_push_nak()
188 cmd = msgb->ptr; in msgb_push_cmd()
[all …]
A Dssh_packet_layer.c1637 struct msgbuf msgb; in ssh_ptl_send_ack() local
1649 msgb_init(&msgb, buf.ptr, buf.len); in ssh_ptl_send_ack()
1650 msgb_push_ack(&msgb, seq); in ssh_ptl_send_ack()
1651 ssh_packet_set_data(packet, msgb.begin, msgb_bytes_used(&msgb)); in ssh_ptl_send_ack()
1661 struct msgbuf msgb; in ssh_ptl_send_nak() local
1673 msgb_init(&msgb, buf.ptr, buf.len); in ssh_ptl_send_nak()
1674 msgb_push_nak(&msgb); in ssh_ptl_send_nak()
1675 ssh_packet_set_data(packet, msgb.begin, msgb_bytes_used(&msgb)); in ssh_ptl_send_nak()
A Dcontroller.c1472 struct msgbuf msgb; in ssam_request_write_data() local
1482 msgb_init(&msgb, buf->ptr, buf->len); in ssam_request_write_data()
1485 msgb_push_cmd(&msgb, seq, rqid, spec); in ssam_request_write_data()
1487 return msgb_bytes_used(&msgb); in ssam_request_write_data()

Completed in 17 milliseconds