Re: Hardware spec prevents optimal performance in device driver

2015-05-10 Thread Mason
On 10/05/2015 12:29, Måns Rullgård wrote: > Mason writes: > >> One Thousand Gnomes wrote: >> >>> Mason wrote: >>> I'm writing a device driver for a serial-ish kind of device. I'm interested in the TX side of the problem. (I'm working on an ARM Cortex A9 system by the way.)

Re: Hardware spec prevents optimal performance in device driver

2015-05-10 Thread Måns Rullgård
Mason writes: > One Thousand Gnomes wrote: > >> Mason wrote: >> >>> I'm writing a device driver for a serial-ish kind of device. >>> I'm interested in the TX side of the problem. (I'm working on >>> an ARM Cortex A9 system by the way.) >>> >>> There's a 16-byte TX FIFO. Data is queued to the

Re: Hardware spec prevents optimal performance in device driver

2015-05-10 Thread Måns Rullgård
Mason slash@free.fr writes: One Thousand Gnomes wrote: Mason wrote: I'm writing a device driver for a serial-ish kind of device. I'm interested in the TX side of the problem. (I'm working on an ARM Cortex A9 system by the way.) There's a 16-byte TX FIFO. Data is queued to the FIFO

Re: Hardware spec prevents optimal performance in device driver

2015-05-10 Thread Mason
On 10/05/2015 12:29, Måns Rullgård wrote: Mason writes: One Thousand Gnomes wrote: Mason wrote: I'm writing a device driver for a serial-ish kind of device. I'm interested in the TX side of the problem. (I'm working on an ARM Cortex A9 system by the way.) There's a 16-byte TX FIFO.

Re: Hardware spec prevents optimal performance in device driver

2015-05-09 Thread Mason
One Thousand Gnomes wrote: > Mason wrote: > >> I'm writing a device driver for a serial-ish kind of device. >> I'm interested in the TX side of the problem. (I'm working on >> an ARM Cortex A9 system by the way.) >> >> There's a 16-byte TX FIFO. Data is queued to the FIFO by writing >> {1,2,4}

Re: Hardware spec prevents optimal performance in device driver

2015-05-09 Thread One Thousand Gnomes
On Sat, 09 May 2015 12:22:43 +0200 Mason wrote: > Hello everyone, > > I'm writing a device driver for a serial-ish kind of device. > I'm interested in the TX side of the problem. (I'm working on > an ARM Cortex A9 system by the way.) > > There's a 16-byte TX FIFO. Data is queued to the FIFO by

Hardware spec prevents optimal performance in device driver

2015-05-09 Thread Mason
Hello everyone, I'm writing a device driver for a serial-ish kind of device. I'm interested in the TX side of the problem. (I'm working on an ARM Cortex A9 system by the way.) There's a 16-byte TX FIFO. Data is queued to the FIFO by writing {1,2,4} bytes to a TX{8,16,32} memory-mapped register.

Re: Hardware spec prevents optimal performance in device driver

2015-05-09 Thread Mason
One Thousand Gnomes wrote: Mason wrote: I'm writing a device driver for a serial-ish kind of device. I'm interested in the TX side of the problem. (I'm working on an ARM Cortex A9 system by the way.) There's a 16-byte TX FIFO. Data is queued to the FIFO by writing {1,2,4} bytes to a

Hardware spec prevents optimal performance in device driver

2015-05-09 Thread Mason
Hello everyone, I'm writing a device driver for a serial-ish kind of device. I'm interested in the TX side of the problem. (I'm working on an ARM Cortex A9 system by the way.) There's a 16-byte TX FIFO. Data is queued to the FIFO by writing {1,2,4} bytes to a TX{8,16,32} memory-mapped register.

Re: Hardware spec prevents optimal performance in device driver

2015-05-09 Thread One Thousand Gnomes
On Sat, 09 May 2015 12:22:43 +0200 Mason slash@free.fr wrote: Hello everyone, I'm writing a device driver for a serial-ish kind of device. I'm interested in the TX side of the problem. (I'm working on an ARM Cortex A9 system by the way.) There's a 16-byte TX FIFO. Data is queued to