---
name: "maple_add_packet"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/maple_add_packet"
---

# maple\_add\_packet(9)

add a single instruction to the maple bus queue

## NAME

maple\_add\_packet - add a single instruction to the maple bus queue

## SYNOPSIS

**int maple\_add\_packet(struct maple\_device \*** *mdev***, u32** *function***, u32** *command***, size\_t** *length***, void \*** *data***);**

## ARGUMENTS

*mdev*

maple device

*function*

function on device being queried

*command*

maple command to add

*length*

length of command string (in 32 bit words)

*data*

remainder of command string

## AUTHOR

**Paul Mundt** \<lethal@linux-sh.org\>

Author.

## COPYRIGHT
