/linux-master/drivers/net/ethernet/ibm/ |
H A D | ibmvnic.c | 426 return (ltb->buff && ltb->size == size); 465 if (ltb->buff) { 469 ltb->buff = dma_alloc_coherent(dev, size, <b->addr, 471 if (!ltb->buff) { 487 memset(ltb->buff, 0, ltb->size); 524 if (!ltb->buff) 536 dma_free_coherent(dev, ltb->size, ltb->buff, ltb->addr); 538 ltb->buff = NULL; 799 dev_err(dev, "Couldn't replenish rx buff\n"); 810 dst = ltb->buff [all...] |
/linux-master/drivers/scsi/qla2xxx/ |
H A D | qla_nx2.c | 1460 if (!vha->reset_tmplt.buff) { 1466 phdr = vha->reset_tmplt.buff; 1488 uint16_t *buff = (uint16_t *)vha->reset_tmplt.buff; local 1492 sum += *buff++; 1520 vha->reset_tmplt.buff = vmalloc(QLA8044_RESTART_TEMPLATE_SIZE); 1521 if (vha->reset_tmplt.buff == NULL) { 1528 p_buff = vha->reset_tmplt.buff; 1546 (struct qla8044_reset_template_hdr *) vha->reset_tmplt.buff; 1560 p_buff = vha->reset_tmplt.buff [all...] |
/linux-master/drivers/leds/ |
H A D | leds-netxbig.c | 209 const char *buff, size_t count) 219 ret = kstrtoul(buff, 10, &enable); 207 sata_store(struct device *dev, struct device_attribute *attr, const char *buff, size_t count) argument
|
/linux-master/fs/ecryptfs/ |
H A D | main.c | 770 struct kobj_attribute *attr, char *buff) 772 return snprintf(buff, PAGE_SIZE, "%d\n", ECRYPTFS_VERSIONING_MASK); 769 version_show(struct kobject *kobj, struct kobj_attribute *attr, char *buff) argument
|
/linux-master/drivers/video/fbdev/ |
H A D | pxa3xx-gcu.c | 376 pxa3xx_gcu_write(struct file *file, const char *buff, argument 412 ret = copy_from_user(buffer->ptr, buff, words * 4);
|
/linux-master/drivers/infiniband/sw/siw/ |
H A D | siw.h | 674 static inline __wsum siw_csum_update(const void *buff, int len, __wsum sum) argument 676 return (__force __wsum)crc32c((__force __u32)sum, buff, len);
|
/linux-master/drivers/scsi/qla4xxx/ |
H A D | ql4_83xx.h | 216 uint8_t *buff; member in struct:qla4_83xx_reset_template
|
/linux-master/drivers/usb/gadget/udc/bdc/ |
H A D | bdc.h | 345 void *buff; member in struct:bdc_scratchpad
|
/linux-master/drivers/staging/ks7010/ |
H A D | ks_wlan.h | 180 int buff[SME_EVENT_BUFF_SIZE]; member in struct:hostt
|
/linux-master/arch/x86/lib/ |
H A D | checksum_32.S | 35 unsigned int csum_partial(const unsigned char * buff, int len, unsigned int sum) 43 * Experiments with Ethernet and SLIP connections show that buff 54 movl 12(%esp),%esi # Function arg: unsigned char *buff
|
/linux-master/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp6000_pcie.c | 1109 const void *buff, size_t len) 1112 const u32 *src = buff; 1216 void *buff, size_t len) 1219 u32 *dst = buff; 1108 nfp6000_explicit_put(struct nfp_cpp_explicit *expl, const void *buff, size_t len) argument 1215 nfp6000_explicit_get(struct nfp_cpp_explicit *expl, void *buff, size_t len) argument
|
/linux-master/drivers/bluetooth/ |
H A D | btrtl.c | 871 static int rtl_load_file(struct hci_dev *hdev, const char *name, u8 **buff) argument 881 *buff = kvmalloc(fw->size, GFP_KERNEL); 882 if (*buff) 883 memcpy(*buff, fw->data, ret);
|
/linux-master/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-v4l2.c | 1080 char __user *buff, size_t count, loff_t *ppos) 1104 if (copy_to_user(buff,tbuf,c2)) { 1110 buff += c2; 1126 ret = pvr2_ioread_read(fh->rhp,buff,count); 1079 pvr2_v4l2_read(struct file *file, char __user *buff, size_t count, loff_t *ppos) argument
|
/linux-master/kernel/trace/ |
H A D | trace_events_trigger.c | 247 int trigger_process_regex(struct trace_event_file *file, char *buff) argument 253 next = buff = skip_spaces(buff); 265 ret = p->parse(p, file, buff, command, next);
|
/linux-master/drivers/iio/imu/st_lsm6dsx/ |
H A D | st_lsm6dsx.h | 411 * @buff: Device read buffer. 440 u8 *buff; member in struct:st_lsm6dsx_hw
|
/linux-master/include/linux/ |
H A D | socket.h | 433 extern int __sys_sendto(int fd, void __user *buff, size_t len,
|
/linux-master/tools/perf/trace/beauty/include/linux/ |
H A D | socket.h | 433 extern int __sys_sendto(int fd, void __user *buff, size_t len,
|
/linux-master/drivers/input/misc/ |
H A D | uinput.c | 64 struct input_event buff[UINPUT_BUFFER_SIZE]; member in struct:uinput_device 80 udev->buff[udev->head] = (struct input_event) { 664 *event = udev->buff[udev->tail];
|
/linux-master/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_rxtx.c | 21 __le32 buff; member in struct:prestera_sdma_desc 142 desc->buff = cpu_to_le32(prestera_sdma_map(sdma, buf)); 450 desc->buff = cpu_to_le32(prestera_sdma_map(sdma, buf));
|
/linux-master/drivers/iio/magnetometer/ |
H A D | ak8975.c | 720 u16 buff; local 743 buff = le16_to_cpu(rval); 744 *val = clamp_t(s16, buff, -def->range, def->range);
|
/linux-master/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_ethtool.c | 2784 u8 *buff) 2795 rc = bnx2x_nvram_read(bp, offset + done, buff, count); 2800 crc = crc32_le(crc, buff, count); 2812 u8 *buff) 2822 rc = bnx2x_nvram_crc(bp, entry->nvm_start_addr, size, buff); 2830 static int bnx2x_test_dir_entry(struct bnx2x *bp, u32 addr, u8 *buff) argument 2839 return bnx2x_test_nvram_dir(bp, &entry, buff); 2842 static int bnx2x_test_nvram_ext_dirs(struct bnx2x *bp, u8 *buff) argument 2868 buff); 2876 static int bnx2x_test_nvram_dirs(struct bnx2x *bp, u8 *buff) argument 2781 bnx2x_nvram_crc(struct bnx2x *bp, int offset, int size, u8 *buff) argument 2810 bnx2x_test_nvram_dir(struct bnx2x *bp, struct code_entry *entry, u8 *buff) argument [all...] |
H A D | bnx2x_dcb.c | 54 /* helpers: read/write len bytes from addr into buff by REG_RD/REG_WR */ 55 static void bnx2x_read_data(struct bnx2x *bp, u32 *buff, argument 59 for (i = 0; i < len; i += 4, buff++) 60 *buff = REG_RD(bp, addr + i); 63 static void bnx2x_write_data(struct bnx2x *bp, u32 *buff, argument 67 for (i = 0; i < len; i += 4, buff++) 68 REG_WR(bp, addr + i, *buff);
|
/linux-master/drivers/net/wireless/marvell/libertas/ |
H A D | if_spi.c | 181 __le16 buff; local 183 buff = cpu_to_le16(val); 184 return spu_write(card, reg, (u8 *)&buff, sizeof(u16));
|
/linux-master/net/atm/ |
H A D | lec.c | 131 char *buff; local 139 buff = skb->data + skb->dev->hard_header_len; 140 if (*buff++ == 0x42 && *buff++ == 0x42 && *buff++ == 0x03) { 151 buff += 4; 152 mesg->content.normal.flag = *buff & 0x01;
|
/linux-master/drivers/scsi/lpfc/ |
H A D | lpfc_hbadisc.c | 7019 * @buff: Buffer containing the FCF connection table as in the config 7026 uint8_t *buff) 7041 conn_hdr = (struct lpfc_fcf_conn_hdr *) buff; 7046 (buff + sizeof(struct lpfc_fcf_conn_hdr)); 7102 * @buff: Buffer containing the FCoE parameter data structure. 7109 uint8_t *buff) 7115 buff; 7117 (buff + sizeof(struct lpfc_fip_param_hdr)); 7137 * @buff: Buffer containing config region 23 data. 7146 lpfc_get_rec_conf23(uint8_t *buff, uint32_ argument 7025 lpfc_read_fcf_conn_tbl(struct lpfc_hba *phba, uint8_t *buff) argument 7108 lpfc_read_fcoe_param(struct lpfc_hba *phba, uint8_t *buff) argument 7184 lpfc_parse_fcoe_conf(struct lpfc_hba *phba, uint8_t *buff, uint32_t size) argument [all...] |