dsp56k(4) Device Drivers Manual dsp56k(4) dsp56k - DSP56001 #include ssize_t read(int fd, void *data, size_t length); ssize_t write(int fd, void *data, size_t length); int ioctl(int fd, DSP56K_UPLOAD, struct dsp56k_upload *program); int ioctl(int fd, DSP56K_SET_TX_WSIZE, int wsize); int ioctl(int fd, DSP56K_SET_RX_WSIZE, int wsize); int ioctl(int fd, DSP56K_HOST_FLAGS, struct dsp56k_host_flags *flags); int ioctl(int fd, DSP56K_HOST_CMD, int cmd); The dsp56k device is a character device with major number 55 and minor number 0. Motorola DSP56001 -- 24- , Atari Falcon030 . dsp56k DSP56001 (host) . , write(2), -- read(2). 8, 16, 24 32 , 24 . dsp56k ioctl(2): DSP56K_UPLOAD DSP56001 . ioctl(2) struct dsp56k_upload, bin DSP56001, len ( 24- ). DSP56K_SET_TX_WSIZE sets the transmit word size. Allowed values are in the range 1 to 4, and is the number of bytes that will be sent at a time to the DSP56001. These data quantities will either be padded with bytes containing zero, or truncated to fit the native 24-bit data format of the DSP56001. DSP56K_SET_RX_WSIZE sets the receive word size. Allowed values are in the range 1 to 4, and is the number of bytes that will be received at a time from the DSP56001. These data quantities will either truncated, or padded with a null byte ('\0'), to fit the native 24-bit data format of the DSP56001. DSP56K_HOST_FLAGS . -- , , DSP56001. , DSP56001. ioctl(2) struct dsp56k_host_flags. dir , out . status. DSP56K_HOST_CMD . 0 31, , , DSP56001. /dev/dsp56k . linux/include/asm-m68k/dsp56k.h, linux/drivers/char/dsp56k.c, , DSP56000/DSP56001 Digital Signal Processor User's Manual Yuri Kozlov ; GNU 3 , . . , , . Linux man-pages 6.06 31 2023 . dsp56k(4)