Searched refs:buf_size (Results 251 - 275 of 555) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/mtd/ubi/
H A Ddebug.c402 size_t buf_size; local
411 buf_size = min_t(size_t, count, (sizeof(buf) - 1));
412 if (copy_from_user(buf, user_buf, buf_size)) {
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_cmd.h123 u32 buf_size; /* TC private buffer size */ member in struct:hclge_priv_buf
131 u32 buf_size; member in struct:hclge_shared_buf
175 __le16 buf_size; member in struct:hclge_pf_res_cmd
/linux-master/drivers/acpi/
H A Dpfr_update.c222 info->buf_size = out_obj->package.elements[BUF_SIZE_IDX].integer.value;
453 if (len > buf_info.buf_size)
462 buf_ptr = memremap(phy_addr, buf_info.buf_size, MEMREMAP_WB);
/linux-master/sound/soc/amd/ps/
H A Dps-sdw-dma.c501 u32 period_bytes, buf_size, water_mark_size_reg; local
526 buf_size = frames_to_bytes(runtime, runtime->buffer_size);
529 buf_size, instance);
/linux-master/drivers/input/
H A Dinput.c1074 static int input_bits_to_string(char *buf, int buf_size, argument
1082 len += snprintf(buf, buf_size, "%x ", dword);
1086 len += snprintf(buf + len, max(buf_size - len, 0),
1090 len += snprintf(buf, buf_size, "%lx", bits);
1098 static int input_bits_to_string(char *buf, int buf_size, argument
1102 snprintf(buf, buf_size, "%lx", bits) : 0;
1438 static int input_print_bitmap(char *buf, int buf_size, const unsigned long *bitmap,
1530 static int input_print_bitmap(char *buf, int buf_size, const unsigned long *bitmap, argument
1538 len += input_bits_to_string(buf + len, max(buf_size - len, 0),
1543 len += snprintf(buf + len, max(buf_size
[all...]
/linux-master/drivers/media/pci/ivtv/
H A Divtv-irq.c195 multiple of the buf_size. The UV samples then start in the
197 bytes_needed = s->buf_size * ((bytes_needed + s->buf_size - 1) / s->buf_size);
224 s->sg_pending[idx].size = s->buf_size;
225 buf->bytesused = min(size, s->buf_size);
230 offset += s->buf_size;
/linux-master/drivers/char/xillybus/
H A Dxillybus_core.c116 unsigned int buf_size; local
123 buf_size = ep->msg_buf_size/sizeof(u32);
128 for (i = 0; i < buf_size; i += 2) {
154 if (i >= buf_size) {
159 buf_size = i + 2;
161 for (i = 0; i < buf_size; i += 2) { /* Scan through messages */
/linux-master/fs/fat/
H A Ddir.c234 fat_shortname2uni(struct nls_table *nls, unsigned char *buf, int buf_size, argument
240 len = fat_short2lower_uni(nls, buf, buf_size, uni_buf);
242 len = fat_short2uni(nls, buf, buf_size, uni_buf);
245 len = fat_short2lower_uni(nls, buf, buf_size, uni_buf);
247 len = fat_short2uni(nls, buf, buf_size, uni_buf);
249 len = fat_short2uni(nls, buf, buf_size, uni_buf);
/linux-master/sound/soc/mediatek/common/
H A Dmtk-btcvsd.c89 unsigned int buf_size; member in struct:mtk_btcvsd_snd_stream
238 bt->tx->buf_size = BTCVSD_TX_BUF_SIZE;
251 bt->rx->buf_size = BTCVSD_RX_BUF_SIZE;
741 cont = bt->rx->buf_size - cur_read_idx;
799 avail = bt->tx->buf_size -
830 cont = bt->tx->buf_size - cur_write_idx;
/linux-master/drivers/infiniband/hw/hns/
H A Dhns_roce_mr.c1016 size_t buf_size; local
1026 buf_size = mtr_bufs_size(attr);
1032 order_base_2(DIV_ROUND_UP(buf_size, HNS_HW_PAGE_SIZE));
1037 DIV_ROUND_UP(buf_size, buf_pg_sz);
1048 buf_size = hr_hw_page_align(attr->region[i].size + pgoff);
1052 r->count = DIV_ROUND_UP(buf_size, buf_pg_sz);
/linux-master/tools/usb/usbip/src/
H A Dusbipd.c361 const size_t buf_size)
374 snprintf(buf, buf_size, "%s:%s", hbuf, sbuf);
360 addrinfo_to_text(struct addrinfo *ai, char buf[], const size_t buf_size) argument
/linux-master/drivers/net/wireless/ath/wil6210/
H A Dpmc.c263 size_t buf_size = sizeof(struct vring_tx_desc) * local
268 dma_free_coherent(dev, buf_size, pmc->pring_va, pmc->pring_pa);
/linux-master/sound/soc/intel/skylake/
H A Dskl-topology.h160 u32 buf_size; member in struct:skl_pin_format
359 u32 buf_size; member in struct:skl_module_pin_resources
/linux-master/tools/testing/selftests/powerpc/
H A Dutils.c155 int read_auxv(char *buf, ssize_t buf_size) argument
159 err = read_file("/proc/self/auxv", buf, buf_size, NULL);
/linux-master/drivers/media/pci/cx18/
H A Dcx18-dvb.c400 stream->buffers, stream->buf_size/1024,
401 (stream->buf_size * 100 / 1024) % 100);
/linux-master/fs/smb/client/
H A Dxattr.c363 ssize_t cifs_listxattr(struct dentry *direntry, char *data, size_t buf_size) argument
401 full_path, NULL, data, buf_size, cifs_sb);
/linux-master/tools/perf/arch/x86/util/
H A Dintel-bts.c348 static bool intel_bts_first_wrap(u64 *data, size_t buf_size) argument
352 b = buf_size >> 3;
/linux-master/drivers/net/ethernet/intel/idpf/
H A Didpf_controlq.c137 cq->buf_size = qinfo->buf_size;
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dsta.h519 int tid, u16 ssn, bool start, u16 buf_size, u16 timeout);
523 struct ieee80211_sta *sta, u16 tid, u16 buf_size,
/linux-master/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc.c1540 .buf_size = &buf_size_v5,
1565 .buf_size = &buf_size_v6,
1594 .buf_size = &buf_size_v7,
1604 .buf_size = &buf_size_v7,
1628 .buf_size = &buf_size_v8,
1638 .buf_size = &buf_size_v8,
1663 .buf_size = &buf_size_v10,
1686 .buf_size = &buf_size_v12,
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_ddp.c1159 * @buf_size: the size of the package buffer
1169 u16 buf_size, bool last_buf, u32 *error_offset,
1188 status = ice_aq_send_cmd(hw, &desc, pkg_buf, buf_size, cd);
1628 * @buf_size: the size of the pkg_info information buffer
1635 u16 buf_size, struct ice_sq_cd *cd)
1641 return ice_aq_send_cmd(hw, &desc, pkg_info, buf_size, cd);
1648 * @buf_size: the size of the package cmd buffer
1657 u16 buf_size, bool last_buf, u32 *error_offset,
1676 status = ice_aq_send_cmd(hw, &desc, pkg_buf, buf_size, cd);
1695 * @buf_size
1168 ice_aq_download_pkg(struct ice_hw *hw, struct ice_buf_hdr *pkg_buf, u16 buf_size, bool last_buf, u32 *error_offset, u32 *error_info, struct ice_sq_cd *cd) argument
1633 ice_aq_get_pkg_info_list(struct ice_hw *hw, struct ice_aqc_get_pkg_info_resp *pkg_info, u16 buf_size, struct ice_sq_cd *cd) argument
1656 ice_aq_update_pkg(struct ice_hw *hw, struct ice_buf_hdr *pkg_buf, u16 buf_size, bool last_buf, u32 *error_offset, u32 *error_info, struct ice_sq_cd *cd) argument
1700 ice_aq_upload_section(struct ice_hw *hw, struct ice_buf_hdr *pkg_buf, u16 buf_size, struct ice_sq_cd *cd) argument
[all...]
/linux-master/drivers/mmc/host/
H A Datmel-mci.c268 * @buf_size: size of the buffer.
349 unsigned int buf_size; member in struct:atmel_mci
894 unsigned int buf_size; local
910 buf_size = host->buf_size;
913 buf_size = sg_dma_len(host->sg);
917 if (host->data_size <= buf_size) {
2580 host->buf_size = host->slot[0]->mmc->max_req_size;
2588 if (host->slot[1]->mmc->max_req_size > host->buf_size)
2589 host->buf_size
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Dpd.c223 bf->buf_size = dev->caps.bf_reg_size / 2;
/linux-master/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_debugdump.c108 u32 buf_size; /* size of buffer pointer to by p */ member in struct:nfp_dump_state
333 if (total_tlv_sz > dump->buf_size)
336 if (dump->buf_size - total_tlv_sz < dump->dumped_size)
746 dump.buf_size = dump_param->len;
/linux-master/drivers/net/ethernet/rocker/
H A Drocker_hw.h103 u16 buf_size; member in struct:rocker_desc

Completed in 878 milliseconds

<<11121314151617181920>>