Searched refs:n_bytes (Results 1 - 15 of 15) sorted by relevance

/drivers/net/wireless/brcm80211/brcmsmac/
H A Ducode_loader.h53 extern int brcms_ucode_init_uint(struct brcms_info *wl, size_t *n_bytes,
H A Dmac80211_if.c1499 int brcms_ucode_init_uint(struct brcms_info *wl, size_t *n_bytes, u32 idx) argument
1516 *n_bytes = le32_to_cpu(*((__le32 *) pdata));
/drivers/spi/
H A Dspi-bfin5xx.c103 u8 n_bytes; member in struct:bfin_spi_master_data
387 int n_bytes = drv_data->n_bytes; local
395 (drv_data->rx && drv_data->rx >= (drv_data->rx_end - n_bytes))) {
399 if (!(n_bytes % 2)) {
401 for (loop = 0; loop < n_bytes / 2; loop++)
405 for (loop = 0; loop < n_bytes; loop++)
408 drv_data->rx += n_bytes;
427 if (!(n_bytes % 2)) {
430 for (loop = 0; loop < n_bytes /
[all...]
H A Dspi-dw.c49 u8 n_bytes; /* current is a 1/2/4 byte op */ member in struct:chip_data
163 tx_left = (dws->tx_end - dws->tx) / dws->n_bytes;
175 / dws->n_bytes;
183 u32 rx_left = (dws->rx_end - dws->rx) / dws->n_bytes;
196 if (dws->n_bytes == 1)
202 dws->tx += dws->n_bytes;
215 if (dws->n_bytes == 1)
220 dws->rx += dws->n_bytes;
420 dws->n_bytes = chip->n_bytes;
[all...]
H A Dspi-pxa2xx.c145 u8 n_bytes; member in struct:driver_data
158 u8 n_bytes; member in struct:chip_data
250 u8 n_bytes = drv_data->n_bytes; local
257 drv_data->tx += n_bytes;
265 u8 n_bytes = drv_data->n_bytes; local
270 drv_data->rx += n_bytes;
769 switch (drv_data->n_bytes) {
1009 drv_data->n_bytes
[all...]
H A Dspi-pl022.c401 * @n_bytes: how many bytes(power of 2) reqd for a given data width of client
416 u8 n_bytes; member in struct:chip_data
666 pl022->rx += (pl022->cur_chip->n_bytes);
688 pl022->tx += (pl022->cur_chip->n_bytes);
715 pl022->rx += (pl022->cur_chip->n_bytes);
1271 residue = pl022->cur_transfer->len % pl022->cur_chip->n_bytes;
1277 pl022->cur_chip->n_bytes);
1852 chip->n_bytes = 1;
1857 chip->n_bytes = 2;
1862 chip->n_bytes
[all...]
H A Dspi-dw.h135 u8 n_bytes; /* current is a 1/2 bytes op */ member in struct:dw_spi
/drivers/staging/media/lirc/
H A Dlirc_sasem.c77 size_t n_bytes, loff_t *pos);
363 size_t n_bytes, loff_t *pos)
384 if (n_bytes <= 0 || n_bytes > SASEM_DATA_BUF_SZ) {
390 data_buf = memdup_user(buf, n_bytes);
396 memcpy(context->tx.data_buf, data_buf, n_bytes);
399 for (i = n_bytes; i < SASEM_DATA_BUF_SZ; ++i)
454 return (!retval) ? n_bytes : retval;
362 vfd_write(struct file *file, const char *buf, size_t n_bytes, loff_t *pos) argument
H A Dlirc_imon.c67 size_t n_bytes, loff_t *pos);
373 size_t n_bytes, loff_t *pos)
398 if (n_bytes <= 0 || n_bytes > IMON_DATA_BUF_SZ - 3) {
404 data_buf = memdup_user(buf, n_bytes);
410 memcpy(context->tx.data_buf, data_buf, n_bytes);
413 for (i = n_bytes; i < IMON_DATA_BUF_SZ - 3; ++i)
452 return (!retval) ? n_bytes : retval;
372 vfd_write(struct file *file, const char __user *buf, size_t n_bytes, loff_t *pos) argument
/drivers/media/rc/
H A Dimon.c82 size_t n_bytes, loff_t *pos);
86 size_t n_bytes, loff_t *pos);
822 size_t n_bytes, loff_t *pos)
846 if (n_bytes <= 0 || n_bytes > 32) {
852 if (copy_from_user(ictx->tx.data_buf, buf, n_bytes)) {
858 for (i = n_bytes; i < 32; ++i)
892 return (!retval) ? n_bytes : retval;
909 size_t n_bytes, loff_t *pos)
928 if (n_bytes !
821 vfd_write(struct file *file, const char *buf, size_t n_bytes, loff_t *pos) argument
908 lcd_write(struct file *file, const char *buf, size_t n_bytes, loff_t *pos) argument
[all...]
/drivers/usb/class/
H A Dusbtmc.c509 unsigned long int n_bytes; local
557 n_bytes = roundup(12 + this_part, 4);
558 memset(buffer + 12 + this_part, 0, n_bytes - (12 + this_part));
564 buffer, n_bytes,
568 n_bytes -= actual;
569 } while (n_bytes);
/drivers/infiniband/hw/ipath/
H A Dipath_verbs.c624 dev->opstats[opcode].n_bytes += tlen;
2304 if (!si->n_packets && !si->n_bytes)
2308 (unsigned long long) si->n_bytes);
H A Dipath_verbs.h532 u64 n_bytes; /* total number of bytes */ member in struct:ipath_opcode_stats
/drivers/infiniband/hw/qib/
H A Dqib_verbs.h635 u64 n_bytes; /* total number of bytes */ member in struct:qib_opcode_stats
H A Dqib_verbs.c640 ibp->opstats[opcode & 0x7f].n_bytes += tlen;

Completed in 947 milliseconds