/drivers/block/ |
H A D | cpqarray.c | 156 void *buff, 326 char buff[4]; local 331 if( sendcmd(FLUSH_CACHE, i, buff, 4, 0, 0, 0)) 1410 void *buff, 1447 buff, c->req.sg[0].size, PCI_DMA_BIDIRECTIONAL); 1407 sendcmd( __u8 cmd, int ctlr, void *buff, size_t size, unsigned int blk, unsigned int blkcnt, unsigned int log_unit ) argument
|
H A D | mg_disk.c | 482 u16 *buff = (u16 *)bio_data(req->bio); local 486 *buff++ = inw((unsigned long)host->dev_base + MG_BUFF_OFFSET + 517 u16 *buff = (u16 *)bio_data(req->bio); local 521 outw(*buff++, (unsigned long)host->dev_base + MG_BUFF_OFFSET +
|
/drivers/char/ |
H A D | i8k.c | 346 unsigned char buff[16]; local 359 memset(buff, 0, 16); 360 strlcpy(buff, i8k_get_dmi_data(DMI_PRODUCT_SERIAL), 361 sizeof(buff)); 417 if (copy_to_user(argp, buff, 16))
|
/drivers/crypto/qat/qat_common/ |
H A D | qat_algs.c | 169 char buff[SHA512_BLOCK_SIZE]; local 171 auth_keylen, buff); 175 memcpy(ipad, buff, digest_size); 176 memcpy(opad, buff, digest_size);
|
/drivers/iio/accel/ |
H A D | bma180.c | 123 u8 buff[16]; /* 3x 16-bit + 8-bit + padding + timestamp */ member in struct:bma180_data 669 ((s16 *)data->buff)[i++] = ret; 674 iio_push_to_buffers_with_timestamp(indio_dev, data->buff, time_ns);
|
/drivers/media/usb/dvb-usb-v2/ |
H A D | lmedm04.c | 174 u8 *buff; local 184 buff = st->usb_buffer; 192 memcpy(buff, wbuf, (wlen < 64) ? wlen : 64); 194 ret |= lme2510_bulk_write(d->udev, buff, wlen , 0x01); 196 ret |= lme2510_bulk_read(d->udev, buff, (rlen < 64) ? 200 memcpy(rbuf, buff, rlen);
|
/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-v4l2.c | 1156 char __user *buff, size_t count, loff_t *ppos) 1180 if (copy_to_user(buff,tbuf,c2)) { 1186 buff += c2; 1202 ret = pvr2_ioread_read(fh->rhp,buff,count); 1155 pvr2_v4l2_read(struct file *file, char __user *buff, size_t count, loff_t *ppos) argument
|
/drivers/misc/genwqe/ |
H A D | card_utils.c | 191 * @buff: pointer to data buffer 204 u32 genwqe_crc32(u8 *buff, size_t len, u32 init) argument 211 i = ((crc >> 24) ^ *buff++) & 0xFF;
|
/drivers/mtd/nand/ |
H A D | fsmc_nand.c | 534 /* Count the number of 0's in buff upto a max of max_bits */ 535 static int count_written_bits(uint8_t *buff, int size, int max_bits) argument 540 written_bits += hweight8(~buff[k]);
|
/drivers/net/ethernet/aeroflex/ |
H A D | greth.c | 1153 u32 *buff = p; local 1156 buff[i] = greth_read_bd(&greth_regs[i]);
|
/drivers/net/ethernet/micrel/ |
H A D | ks8851.c | 456 * @buff: The buffer address 460 * the FIFO into the buffer specified by @buff. 462 static void ks8851_rdfifo(struct ks8851_net *ks, u8 *buff, unsigned len) argument 470 "%s: %d@%p\n", __func__, len, buff); 480 xfer->rx_buf = buff;
|
/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_ethtool.c | 1026 unsigned char buff[QLCNIC_ILB_PKT_SIZE]; local 1027 qlcnic_create_loopback_buff(buff, mac); 1028 return memcmp(data, buff, QLCNIC_ILB_PKT_SIZE);
|
H A D | qlcnic_83xx_init.c | 1693 u16 *buff = (u16 *)p_dev->ahw->reset.buff; local 1697 sum += *buff++; 1716 if (ahw->reset.buff != NULL) { 1720 kfree(ahw->reset.buff); 1726 ahw->reset.buff = kzalloc(QLC_83XX_RESTART_TEMPLATE_SIZE, GFP_KERNEL); 1727 if (p_dev->ahw->reset.buff == NULL) 1730 p_buff = p_dev->ahw->reset.buff; 1739 ahw->reset.hdr = (struct qlc_83xx_reset_hdr *)ahw->reset.buff; 1741 p_buff = ahw->reset.buff [all...] |
/drivers/net/ethernet/qlogic/qlge/ |
H A D | qlge_dbg.c | 1322 void ql_get_dump(struct ql_adapter *qdev, void *buff) argument 1334 if (!ql_core_dump(qdev, buff)) 1339 ql_gen_reg_dump(qdev, buff);
|
/drivers/net/wireless/iwlwifi/mvm/ |
H A D | debugfs.c | 873 char *buff, *pos, *endpos; local 878 buff = kmalloc(bufsz, GFP_KERNEL); 879 if (!buff) 884 pos = buff; 926 ret = simple_read_from_buffer(user_buf, count, ppos, buff, pos - buff); 927 kfree(buff);
|
/drivers/scsi/ |
H A D | 3w-xxxx.c | 1684 char buff[8]; local 1689 memset(buff, 0, sizeof(buff)); 1706 buff[0] = (capacity >> 24); 1707 buff[1] = (capacity >> 16) & 0xff; 1708 buff[2] = (capacity >> 8) & 0xff; 1709 buff[3] = capacity & 0xff; 1712 buff[4] = (TW_BLOCK_SIZE >> 24); 1713 buff[5] = (TW_BLOCK_SIZE >> 16) & 0xff; 1714 buff[ [all...] |
/drivers/scsi/qla4xxx/ |
H A D | ql4_83xx.c | 606 if (!ha->reset_tmplt.buff) { 612 phdr = ha->reset_tmplt.buff; 747 uint16_t *buff = (uint16_t *)ha->reset_tmplt.buff; local 752 sum += *buff++; 780 ha->reset_tmplt.buff = vmalloc(QLA83XX_RESTART_TEMPLATE_SIZE); 781 if (ha->reset_tmplt.buff == NULL) { 787 p_buff = ha->reset_tmplt.buff; 807 (struct qla4_83xx_reset_template_hdr *)ha->reset_tmplt.buff; 819 p_buff = ha->reset_tmplt.buff [all...] |
/drivers/staging/bcm/ |
H A D | Bcmchar.c | 51 * 2. if point 1 failes then user buff should have 882 PVOID buff = NULL; local 895 buff = memdup_user(io_buff.InputBuffer, 897 if (IS_ERR(buff)) 898 return PTR_ERR(buff); 915 status = CopyBufferToControlPacket(ad, (PVOID)buff); 919 kfree(buff); 1313 PCHAR buff = NULL; local 1331 buff = memdup_user(io_buff.InputBuffer, 1333 if (IS_ERR(buff)) [all...] |
/drivers/staging/unisys/uislib/ |
H A D | uislib.c | 1193 #define PLINE(...) uisutil_add_proc_line_ex(&tot, buff, \ 1197 info_debugfs_read_helper(char **buff, int *buff_len) argument
|
/drivers/tty/serial/ |
H A D | samsung.c | 62 char buff[256]; local 65 vscnprintf(buff, sizeof(buff), fmt, va); 68 printascii(buff);
|
/drivers/message/i2o/ |
H A D | i2o_proc.c | 1908 char buff[10]; local 1912 sprintf(buff, "%03x", dev->lct_data.tid); 1914 osm_debug("adding device /proc/i2o/%s/%s\n", dev->iop->name, buff); 1916 devdir = proc_mkdir_data(buff, 0, dir, dev);
|
/drivers/mfd/ |
H A D | sm501.c | 1207 struct device_attribute *attr, char *buff) 1211 char *ptr = buff; 1220 return ptr - buff; 1206 sm501_dbg_regs(struct device *dev, struct device_attribute *attr, char *buff) argument
|
/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_dcb.c | 52 /* helpers: read/write len bytes from addr into buff by REG_RD/REG_WR */ 53 static void bnx2x_read_data(struct bnx2x *bp, u32 *buff, argument 57 for (i = 0; i < len; i += 4, buff++) 58 *buff = REG_RD(bp, addr + i); 61 static void bnx2x_write_data(struct bnx2x *bp, u32 *buff, argument 65 for (i = 0; i < len; i += 4, buff++) 66 REG_WR(bp, addr + i, *buff);
|
/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_common.c | 2257 * @buff: pointer to a buffer containing device/function capability records 2263 static void i40e_parse_discover_capabilities(struct i40e_hw *hw, void *buff, argument 2273 cap = (struct i40e_aqc_list_capabilities_element_resp *) buff; 2412 * @buff: a virtual buffer to hold the capabilities 2414 * @data_size: Size of the returned data, or buff size needed if AQ err==ENOMEM 2421 void *buff, u16 buff_size, u16 *data_size, 2443 status = i40e_asq_send_command(hw, &desc, buff, buff_size, cmd_details); 2449 i40e_parse_discover_capabilities(hw, buff, le32_to_cpu(cmd->count), 2508 * @buff: pointer to a user supplied buffer to store the MIB block 2517 u8 mib_type, void *buff, u1 2420 i40e_aq_discover_capabilities(struct i40e_hw *hw, void *buff, u16 buff_size, u16 *data_size, enum i40e_admin_queue_opc list_type_opc, struct i40e_asq_cmd_details *cmd_details) argument 2516 i40e_aq_get_lldp_mib(struct i40e_hw *hw, u8 bridge_type, u8 mib_type, void *buff, u16 buff_size, u16 *local_len, u16 *remote_len, struct i40e_asq_cmd_details *cmd_details) argument 2752 i40e_aq_tx_sched_cmd(struct i40e_hw *hw, u16 seid, void *buff, u16 buff_size, enum i40e_admin_queue_opc opcode, struct i40e_asq_cmd_details *cmd_details) argument [all...] |
/drivers/net/ethernet/pasemi/ |
H A D | pasemi_mac.c | 637 u64 *buff = &RX_BUFF(rx, fill); local 642 WARN_ON(*buff); 661 *buff = XCT_RXB_LEN(mac->bufsz) | XCT_RXB_ADDR(dma);
|