/drivers/staging/rtl8188eu/os_dep/ |
H A D | rtw_android.c | 65 int total_len; member in struct:android_wifi_priv_cmd 89 int total_len) 97 bytes_written += snprintf(&command[bytes_written], total_len, 106 int total_len) 112 return snprintf(command, total_len, "LinkSpeed %d", 117 int total_len) 119 return snprintf(command, total_len, "Macaddr = %pM", 124 int total_len) 135 int total_len) 143 int total_len) 88 rtw_android_get_rssi(struct net_device *net, char *command, int total_len) argument 105 rtw_android_get_link_speed(struct net_device *net, char *command, int total_len) argument 116 rtw_android_get_macaddr(struct net_device *net, char *command, int total_len) argument 123 android_set_cntry(struct net_device *net, char *command, int total_len) argument 134 android_get_p2p_addr(struct net_device *net, char *command, int total_len) argument 142 rtw_android_set_block(struct net_device *net, char *command, int total_len) argument [all...] |
/drivers/staging/ft1000/ft1000-usb/ |
H A D | ft1000_ioctl.h | 86 unsigned short total_len; member in struct:IOCTL_DPRAM_BLK
|
H A D | ft1000_debug.c | 536 u16 total_len; local 638 total_len = msgsz+2; 639 if (total_len & 0x1) { 640 total_len++; 655 result = card_send_command(ft1000dev,(unsigned short*)dpram_data,total_len+2); 710 result = get_user(msglen, &pioctl_dpram->total_len);
|
/drivers/gpu/drm/udl/ |
H A D | udl_main.c | 34 u8 total_len = 0; local 41 total_len = usb_get_descriptor(usbdev, 0x5f, /* vendor specific */ 43 if (total_len > 5) { 45 total_len, desc); 47 if ((desc[0] != total_len) || /* descriptor length */ 51 (desc[4] != total_len - 2)) /* length after type */ 54 desc_end = desc + total_len;
|
/drivers/net/wireless/ath/ath6kl/ |
H A D | trace.h | 120 TP_PROTO(unsigned int addr, int flags, unsigned int total_len, 123 TP_ARGS(addr, flags, total_len, entries, list), 130 __field(size_t, total_len) 132 __dynamic_array(u8, data, total_len) 143 __entry->total_len = total_len; 164 "%s addr 0x%x flags 0x%x entries %d total_len %zd\n", 169 __entry->total_len
|
/drivers/spi/ |
H A D | spi-bcm63xx.c | 229 unsigned int n_transfers = 0, total_len = 0; local 243 total_len += t->len; 253 total_len > (bs->fifo_size + BCM63XX_SPI_MAX_PREPEND)) || 254 (!can_use_prepend && total_len > bs->fifo_size)) { 256 total_len, bs->fifo_size); 285 m->actual_length += total_len; 289 total_len = 0;
|
H A D | spi-octeon.c | 154 unsigned int total_len = 0; local 166 total_len += r; 170 msg->actual_length = total_len;
|
/drivers/net/ppp/ |
H A D | pppoe.c | 824 struct msghdr *m, size_t total_len) 849 if (total_len > (dev->mtu + dev->hard_header_len)) 853 skb = sock_wmalloc(sk, total_len + dev->hard_header_len + 32, 869 ph = (struct pppoe_hdr *)skb_put(skb, total_len + sizeof(struct pppoe_hdr)); 872 error = memcpy_fromiovec(start, m->msg_iov, total_len); 878 error = total_len; 880 po->pppoe_pa.remote, NULL, total_len); 884 ph->length = htons(total_len); 966 struct msghdr *m, size_t total_len, int flags) 983 total_len 823 pppoe_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t total_len) argument 965 pppoe_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t total_len, int flags) argument [all...] |
/drivers/net/wireless/orinoco/ |
H A D | hermes_dld.c | 257 int total_len = 0; local 267 total_len += sizeof(*blk) + len; 271 return total_len;
|
/drivers/scsi/pm8001/ |
H A D | pm8001_init.c | 154 (pm8001_ha->memoryMap.region[i].total_len + 267 pm8001_ha->memoryMap.region[AAP1].total_len = PM8001_EVENT_LOG_SIZE; 273 pm8001_ha->memoryMap.region[IOP].total_len = PM8001_EVENT_LOG_SIZE; 280 pm8001_ha->memoryMap.region[CI+i].total_len = 4; 288 pm8001_ha->memoryMap.region[IB+i].total_len = 295 pm8001_ha->memoryMap.region[IB+i].total_len = 305 pm8001_ha->memoryMap.region[PI+i].total_len = 4; 313 pm8001_ha->memoryMap.region[OB+i].total_len = 321 pm8001_ha->memoryMap.region[OB+i].total_len = 330 pm8001_ha->memoryMap.region[NVMD].total_len [all...] |
/drivers/usb/renesas_usbhs/ |
H A D | fifo.c | 509 int total_len; local 536 total_len = len; 537 is_short = total_len < maxp; 547 buf += total_len - len; 557 pkt->actual += total_len; 657 int total_len = 0; local 672 total_len = len; 679 pkt->actual += total_len; 682 (total_len < maxp)) { /* short packet */ 709 buf += total_len [all...] |
/drivers/usb/musb/ |
H A D | musb_cppi41.c | 37 u32 total_len; member in struct:cppi41_dma_channel 158 remain_bytes = cppi41_channel->total_len; 243 cppi41_channel->total_len); 247 if (cppi41_channel->transferred == cppi41_channel->total_len || 290 unsigned long usecs = cppi41_channel->total_len / 10; 376 cppi41_channel->total_len = len;
|
/drivers/vhost/ |
H A D | test.c | 43 size_t len, total_len = 0; local 83 total_len += len; 84 if (unlikely(total_len >= VHOST_TEST_WEIGHT)) {
|
H A D | net.c | 348 size_t len, total_len = 0; local 451 total_len += len; 453 if (unlikely(total_len >= VHOST_NET_WEIGHT)) { 572 size_t total_len = 0; local 661 total_len += vhost_len; 662 if (unlikely(total_len >= VHOST_NET_WEIGHT)) {
|
/drivers/net/ |
H A D | macvtap.c | 642 const struct iovec *iv, unsigned long total_len, 648 unsigned long len = total_len; 751 return total_len; 1105 struct msghdr *m, size_t total_len) 1108 return macvtap_get_user(q, m, m->msg_iov, total_len, m->msg_iovlen, 1113 struct msghdr *m, size_t total_len, 1120 ret = macvtap_do_read(q, m->msg_iov, total_len, 1122 if (ret > total_len) { 1124 ret = flags & MSG_TRUNC ? ret : total_len; 641 macvtap_get_user(struct macvtap_queue *q, struct msghdr *m, const struct iovec *iv, unsigned long total_len, size_t count, int noblock) argument 1104 macvtap_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t total_len) argument 1112 macvtap_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t total_len, int flags) argument
|
/drivers/net/wireless/b43/ |
H A D | pio.c | 506 unsigned int hdrlen, total_len; local 524 total_len = roundup(skb->len + hdrlen, 4); 526 if (unlikely(total_len > q->buffer_size)) { 538 if (total_len > (q->buffer_size - q->buffer_used)) { 581 unsigned int total_len; local 593 total_len = pack->skb->len + b43_txhdr_size(dev); 594 total_len = roundup(total_len, 4); 595 q->buffer_used -= total_len;
|
/drivers/usb/core/ |
H A D | config.c | 784 int length, total_len, num, i; local 802 total_len = le16_to_cpu(bos->wTotalLength); 805 if (total_len < length) 813 buffer = kzalloc(total_len, GFP_KERNEL); 820 ret = usb_get_descriptor(dev, USB_DT_BOS, 0, buffer, total_len); 821 if (ret < total_len) { 827 total_len -= length; 834 if (total_len < length) 836 total_len -= length;
|
/drivers/media/common/siano/ |
H A D | smscoreapi.c | 1953 u32 total_len; local 1973 total_len = sizeof(struct sms_msg_hdr) + (sizeof(u32) * 6); 1975 buffer = kmalloc(total_len + SMS_DMA_ALIGNMENT, 1985 p_msg->x_msg_header.msg_length = (u16) total_len; 2014 rc = smscore_sendrequest_and_wait(coredev, p_msg, total_len, 2032 u32 total_len; local 2044 total_len = sizeof(struct sms_msg_hdr) + 2047 buffer = kmalloc(total_len + SMS_DMA_ALIGNMENT, 2058 p_msg->x_msg_header.msg_length = (u16) total_len; 2063 rc = smscore_sendrequest_and_wait(coredev, p_msg, total_len, 2080 u32 total_len; local [all...] |
/drivers/acpi/ |
H A D | acpi_extlog.c | 37 u64 total_len; /* entire L1 Directory length including this header */ member in struct:extlog_l1_head 249 l1_size = l1_head->total_len;
|
/drivers/scsi/qla4xxx/ |
H A D | ql4_bsg.c | 208 uint32_t total_len = 0; local 230 total_len = offset + len; 233 if ((is_qla4010(ha) && total_len > QL4010_NVRAM_SIZE) || 235 total_len > QL40X2_NVRAM_SIZE)) { 280 uint32_t total_len = 0; local 301 total_len = offset + len; 304 if ((is_qla4010(ha) && total_len > QL4010_NVRAM_SIZE) || 306 total_len > QL40X2_NVRAM_SIZE)) {
|
/drivers/staging/gdm724x/ |
H A D | gdm_mux.c | 365 int total_len; local 379 total_len = len + MUX_HEADER_SIZE + dummy_cnt; 381 t = alloc_mux_tx(total_len); 397 t->len = total_len; 405 total_len,
|
/drivers/net/wireless/ti/wlcore/ |
H A D | tx.c | 208 u32 total_len = skb->len + sizeof(struct wl1271_tx_hw_descr) + extra; local 213 if (buf_offset + total_len > wl->aggr_buf_size) 223 total_blocks = wlcore_hw_calc_tx_blocks(wl, total_len, spare_blocks); 227 skb, total_len - skb->len); 256 total_len, total_blocks, id); 382 u32 total_len; local 443 total_len = wlcore_calc_packet_alignment(wl, skb->len); 446 memset(wl->aggr_buf + buf_offset + skb->len, 0, total_len - skb->len); 452 return total_len;
|
/drivers/infiniband/ulp/srp/ |
H A D | ib_srp.h | 253 * @total_len: Total number of bytes in the sg-list being mapped. 270 u32 total_len; member in struct:srp_map_state
|
/drivers/ata/ |
H A D | sata_sx4.c | 318 unsigned int total_len) 329 buf32[dw + 1] = cpu_to_le32(total_len | ATA_PRD_EOT); 339 unsigned int total_len) 350 buf32[dw + 1] = cpu_to_le32(total_len | ATA_PRD_EOT); 461 unsigned int i, si, idx, total_len = 0, sgt_len; local 478 total_len += sg_dma_len(sg); 486 pdc20621_host_sg(&pp->dimm_buf[0], portno, total_len); 489 pdc20621_ata_sg(&pp->dimm_buf[0], portno, total_len); 317 pdc20621_ata_sg(u8 *buf, unsigned int portno, unsigned int total_len) argument 338 pdc20621_host_sg(u8 *buf, unsigned int portno, unsigned int total_len) argument
|
/drivers/mtd/ |
H A D | mtdconcat.c | 164 size_t total_len = 0; local 170 total_len += vecs[i].iov_len; 175 if (do_div(__to, mtd->writesize) || (total_len % mtd->writesize)) 194 size = min_t(uint64_t, total_len, subdev->size - to); 219 total_len -= wsize; 221 if (total_len == 0)
|