/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_netdev.c | 36 int size; local 38 size = sizeof(struct fm10k_tx_buffer) * tx_ring->count; 40 tx_ring->tx_buffer = vzalloc(size); 47 tx_ring->size = tx_ring->count * sizeof(struct fm10k_tx_desc); 48 tx_ring->size = ALIGN(tx_ring->size, 4096); 50 tx_ring->desc = dma_alloc_coherent(dev, tx_ring->size, 104 int size; local 106 size = sizeof(struct fm10k_rx_buffer) * rx_ring->count; 108 rx_ring->rx_buffer = vzalloc(size); 191 unsigned long size; local 271 unsigned long size; local 1226 int size = 0, i; local [all...] |
/drivers/net/wireless/rtlwifi/rtl8723com/ |
H A D | fw_common.c | 57 const u8 *buffer, u32 size) 65 blockcount = size / blocksize; 66 remainsize = size % blocksize; 86 u32 page, const u8 *buffer, u32 size) 95 rtl8723_fw_block_write(hw, buffer, size); 117 u8 *buffer, u32 size, u8 max_page) 124 RT_TRACE(rtlpriv, COMP_FW, DBG_TRACE, "FW size is %d bytes,\n", size); 126 rtl8723_fill_dummy(bufferptr, &size); 128 page_nums = size / FW_8192C_PAGE_SIZ 56 rtl8723_fw_block_write(struct ieee80211_hw *hw, const u8 *buffer, u32 size) argument 85 rtl8723_fw_page_write(struct ieee80211_hw *hw, u32 page, const u8 *buffer, u32 size) argument 115 rtl8723_write_fw(struct ieee80211_hw *hw, enum version_8723e version, u8 *buffer, u32 size, u8 max_page) argument [all...] |
/drivers/sfi/ |
H A D | sfi_core.c | 77 #define TABLE_ON_PAGE(page, table, size) (ON_SAME_PAGE(page, table) && \ 78 ON_SAME_PAGE(page, table + size)) 98 static void __iomem * __ref sfi_map_memory(u64 phys, u32 size) argument 100 if (!phys || !size) 104 return ioremap_cache(phys, size); 106 return early_ioremap(phys, size); 109 static void __ref sfi_unmap_memory(void __iomem *virt, u32 size) argument 111 if (!virt || !size) 117 early_iounmap(virt, size); 437 tbl_attr->attr.size [all...] |
/drivers/usb/wusbcore/ |
H A D | wusbhc.c | 68 const char *buf, size_t size) 85 return result < 0 ? result : size; 121 const char *buf, size_t size) 146 return result < 0 ? result : size; 162 const char *buf, size_t size) 175 return size; 192 const char *buf, size_t size) 206 return size; 221 const char *buf, size_t size) 235 return size; 66 wusb_trust_timeout_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument 119 wusb_chid_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument 160 wusb_phy_rate_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument 190 wusb_dnts_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument 219 wusb_retry_count_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument [all...] |
/drivers/xen/xen-pciback/ |
H A D | conf_space_header.c | 274 .size = 2, 279 .size = 2, 284 .size = 2, 290 .size = 1, 295 .size = 1, 301 .size = 1, 307 .size = 1, 312 .size = 1, 322 .size = 4, \ 333 .size [all...] |
/drivers/hid/ |
H A D | hid-wiimote-core.c | 59 wdata->queue.outq[wdata->queue.tail].size); 99 wdata->queue.outq[wdata->queue.head].size = count; 315 __u32 offset, const __u8 *buf, __u8 size) 319 if (size > 16 || size == 0) { 320 hid_warn(wdata->hdev, "Invalid length %d wmem request\n", size); 329 cmd[5] = size; 330 memcpy(&cmd[6], buf, size); 340 __u16 size) 344 if (size 314 wiiproto_req_wmem(struct wiimote_data *wdata, bool eeprom, __u32 offset, const __u8 *buf, __u8 size) argument 339 wiiproto_req_rmem(struct wiimote_data *wdata, bool eeprom, __u32 offset, __u16 size) argument 365 wiimote_cmd_write(struct wiimote_data *wdata, __u32 offset, const __u8 *wmem, __u8 size) argument 384 wiimote_cmd_read(struct wiimote_data *wdata, __u32 offset, __u8 *rmem, __u8 size) argument 1449 __u8 size = (payload[2] >> 4) + 1; local 1578 size_t size; member in struct:wiiproto_handler 1610 wiimote_hid_event(struct hid_device *hdev, struct hid_report *report, u8 *raw_data, int size) argument [all...] |
H A D | hid-hyperv.c | 26 unsigned int size; member in struct:hv_input_dev_info 33 /* The maximum size of a synthetic input message. */ 67 u32 size; member in struct:synthhid_msg_hdr 128 u32 size; member in struct:pipe_prt_msg 134 u32 size; member in struct:mousevsc_prt_msg 230 ack.size = sizeof(struct synthhid_device_info_ack); 233 ack.ack.header.size = 1; 277 if ((pipe_msg->size + sizeof(struct pipe_prt_msg) 285 pipe_msg->size + sizeof(struct pipe_prt_msg) - 291 WARN_ON(pipe_msg->size < sizeo [all...] |
/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_minidump.c | 113 u32 size; member in struct:__cache 131 u32 size; member in struct:__ocm 144 u32 size; member in struct:__mem 150 u32 size; member in struct:__mux 167 u32 size; member in struct:__queue 291 fw_dump->tmpl_hdr_size = hdr->size; 345 fw_dump->tmpl_hdr_size = hdr->size; 563 u32 fl_addr, size, val, lck_val, addr; local 567 size = rom->size / 772 u32 temp, dma_base_addr, size = 0, read_size = 0; local 892 qlcnic_valid_dump_entry(struct device *dev, struct qlcnic_dump_entry *entry, u32 size) argument 1020 u32 fl_addr, size; local 1093 qlcnic_fw_flash_get_minidump_temp(struct qlcnic_adapter *adapter, u8 *buffer, u32 size) argument 1118 u32 size = sizeof(tmp_hdr) / sizeof(u32); local [all...] |
/drivers/scsi/qla2xxx/ |
H A D | qla_gs.c | 21 * @req_size: request size in bytes 22 * @rsp_size: response size in bytes 61 * @req_size: request size in bytes 62 * @rsp_size: response size in bytes 102 * @rsp_size: response size in bytes 626 qla2x00_get_sym_node_name(scsi_qla_host_t *vha, uint8_t *snn, size_t size) argument 631 snprintf(snn, size, "%s FW:v%s DVR:v%s", ha->model_number, 634 snprintf(snn, size, 663 /* Request size adjusted after CT preparation */ 671 /* Prepare CT arguments -- node_name, symbolic node_name, size */ 1264 uint32_t size, sn; local 1474 uint32_t size; local 1686 uint32_t size, sn; local 2050 uint32_t size; local [all...] |
/drivers/base/ |
H A D | devres.c | 21 size_t size; member in struct:devres_node 43 size_t size) 46 node->size = size; 54 op, node, node->name, (unsigned long)node->size); 85 size_t size, gfp_t gfp) 87 size_t tot_size = sizeof(struct devres) + size; 109 void * __devres_alloc(dr_release_t release, size_t size, gfp_t gfp, argument 114 dr = alloc_dr(release, size, gfp | __GFP_ZERO); 117 set_node_dbginfo(&dr->node, name, size); 42 set_node_dbginfo(struct devres_node *node, const char *name, size_t size) argument 84 alloc_dr(dr_release_t release, size_t size, gfp_t gfp) argument 135 devres_alloc(dr_release_t release, size_t size, gfp_t gfp) argument 774 devm_kmalloc(struct device *dev, size_t size, gfp_t gfp) argument 805 size_t size; local [all...] |
/drivers/char/tpm/ |
H A D | tpm_i2c_stm_st33.c | 111 * @param: tpm_size, tpm TPM response size to read. 146 * @param: tpm_size, tpm TPM response size to read. 400 int size = 0, burstcnt, len; local 405 while (size < count && 414 len = min_t(int, burstcnt, count - size); 415 I2C_READ_DATA(client, TPM_DATA_FIFO, buf + size, len); 416 size += len; 418 return size; 455 u32 status, i, size; local 489 size 534 int size = 0; local [all...] |
/drivers/gpu/drm/panel/ |
H A D | panel-simple.c | 45 } size; member in struct:panel_desc 112 connector->display_info.width_mm = panel->desc->size.width; 113 connector->display_info.height_mm = panel->desc->size.height; 349 .size = { 373 .size = { 396 .size = { 418 .size = { 446 .size = { 469 .size = { 493 .size [all...] |
/drivers/infiniband/hw/usnic/ |
H A D | usnic_uiom.c | 100 static int usnic_uiom_get_pages(unsigned long addr, size_t size, int writable, argument 129 npages = PAGE_ALIGN(size + (addr & ~PAGE_MASK)) >> PAGE_SHIFT; 201 long unsigned va, size; local 205 size = ((interval->last - interval->start) + 1) << PAGE_SHIFT; 206 while (size > 0) { 208 usnic_dbg("va 0x%lx size 0x%lx", va, PAGE_SIZE); 211 size -= PAGE_SIZE; 250 size_t size; local 283 size = pa_end - pa_start + PAGE_SIZE; 284 usnic_dbg("va 0x%lx pa %pa size 336 usnic_uiom_reg_get(struct usnic_uiom_pd *pd, unsigned long addr, size_t size, int writable, int dmasync) argument [all...] |
/drivers/nfc/st21nfca/ |
H A D | st21nfca_dep.c | 330 u8 size; local 336 size = 4; 339 if (skb->len < size) { 345 size++; 347 size++; 349 if (skb->len < size) { 368 skb_pull(skb, size); 487 uint size; local 490 size = ST21NFCA_ATR_REQ_MIN_SIZE + gb_len; 491 if (size > ST21NFCA_ATR_REQ_MAX_SIZ 551 int size; local [all...] |
/drivers/scsi/lpfc/ |
H A D | lpfc_ct.c | 67 struct lpfc_dmabuf *mp, uint32_t size) 78 size, piocbq->iocb.ulpStatus); 83 struct lpfc_dmabuf *mp, uint32_t size) 85 lpfc_ct_ignore_hbq_buffer(phba, piocbq, mp, size); 97 uint32_t size; local 131 size = icmd->un.cont64[0].tus.f.bdeSize; 132 lpfc_ct_unsol_buffer(phba, piocbq, bdeBuf, size); 137 size = icmd->unsli3.rcvsli3.bde2.tus.f.bdeSize; 139 size); 156 size 66 lpfc_ct_ignore_hbq_buffer(struct lpfc_hba *phba, struct lpfc_iocbq *piocbq, struct lpfc_dmabuf *mp, uint32_t size) argument 82 lpfc_ct_unsol_buffer(struct lpfc_hba *phba, struct lpfc_iocbq *piocbq, struct lpfc_dmabuf *mp, uint32_t size) argument 203 lpfc_alloc_ct_rsp(struct lpfc_hba *phba, int cmdcode, struct ulp_bde64 *bpl, uint32_t size, int *entries) argument 1044 lpfc_vport_symbolic_port_name(struct lpfc_vport *vport, char *symbol, size_t size) argument 1069 lpfc_vport_symbolic_node_name(struct lpfc_vport *vport, char *symbol, size_t size) argument 1101 size_t size; local 1357 uint32_t size; local [all...] |
/drivers/iommu/ |
H A D | iova.c | 78 /* Computes the padding size required, to make the 79 * the start address naturally aligned on its size 82 iova_get_pad_size(int size, unsigned int limit_pfn) argument 85 unsigned int order = ilog2(size); 94 unsigned long size, unsigned long limit_pfn, 116 pad_size = iova_get_pad_size(size, limit_pfn); 117 if ((curr_iova->pfn_hi + size + pad_size) <= limit_pfn) 129 pad_size = iova_get_pad_size(size, limit_pfn); 130 if ((IOVA_START_PFN + size + pad_size) > limit_pfn) { 136 /* pfn_lo will point to size aligne 93 __alloc_and_insert_iova_range(struct iova_domain *iovad, unsigned long size, unsigned long limit_pfn, struct iova *new, bool size_aligned) argument 211 alloc_iova(struct iova_domain *iovad, unsigned long size, unsigned long limit_pfn, bool size_aligned) argument [all...] |
/drivers/net/wireless/prism54/ |
H A D | islpci_mgt.c | 127 buf->size = MGMT_FRAME_SIZE; 141 frag->size = cpu_to_le16(MGMT_FRAME_SIZE); 193 buf.size = frag_len; 239 frag->size = cpu_to_le16(frag_len); 290 int size; local 302 /* The device only returns the size of the header(s) here. */ 303 frag_len = le16_to_cpu(cb->rx_data_mgmt[index].size); 307 * size of a receive buffer. Thus, if this check 311 "%s: Bogus packet size of %d (%#x).\n", 318 buf->size, PCI_DMA_FROMDEVIC [all...] |
/drivers/pci/host/ |
H A D | pcie-designware.c | 81 int dw_pcie_cfg_read(void __iomem *addr, int where, int size, u32 *val) argument 85 if (size == 1) 87 else if (size == 2) 89 else if (size != 4) 95 int dw_pcie_cfg_write(void __iomem *addr, int where, int size, u32 val) argument 97 if (size == 4) 99 else if (size == 2) 101 else if (size == 1) 125 static int dw_pcie_rd_own_conf(struct pcie_port *pp, int where, int size, argument 131 ret = pp->ops->rd_own_conf(pp, where, size, va 139 dw_pcie_wr_own_conf(struct pcie_port *pp, int where, int size, u32 val) argument 574 dw_pcie_rd_other_conf(struct pcie_port *pp, struct pci_bus *bus, u32 devfn, int where, int size, u32 *val) argument 599 dw_pcie_wr_other_conf(struct pcie_port *pp, struct pci_bus *bus, u32 devfn, int where, int size, u32 val) argument 647 dw_pcie_rd_conf(struct pci_bus *bus, u32 devfn, int where, int size, u32 *val) argument 671 dw_pcie_wr_conf(struct pci_bus *bus, u32 devfn, int where, int size, u32 val) argument [all...] |
/drivers/gpu/drm/i915/ |
H A D | i915_trace.h | 100 __field(u32, size) 105 __entry->size = obj->base.size; 108 TP_printk("obj=%p, size=%u", __entry->obj, __entry->size) 119 __field(u32, size) 127 __entry->size = vma->node.size; 131 TP_printk("obj=%p, offset=%08x size=%x%s vm=%p", 132 __entry->obj, __entry->offset, __entry->size, [all...] |
/drivers/input/tablet/ |
H A D | gtco.c | 79 /* Max size of a single report */ 208 __u8 size; local 239 /* Determine data size and save the data in the proper variable */ 240 size = PREF_SIZE(prefix); 241 switch (size) { 249 size = 4; 254 /* Skip size of data */ 255 i += size; 384 switch (size) { 387 indentstr, tag, maintype, size, globtyp [all...] |
/drivers/gpu/drm/cirrus/ |
H A D | cirrus_main.c | 211 u32 size, bool iskernel, 219 size = roundup(size, PAGE_SIZE); 220 if (size == 0) 223 ret = cirrus_bo_create(dev, size, 0, 0, &cirrusbo); 242 args->size = args->pitch * args->height; 244 ret = cirrus_gem_create(dev, args->size, false, 210 cirrus_gem_create(struct drm_device *dev, u32 size, bool iskernel, struct drm_gem_object **obj) argument
|
/drivers/gpu/drm/gma500/ |
H A D | accel_2d.c | 78 * @size: size (in dwords) of the command we want to issue 84 unsigned size) 89 while (avail < size) { 103 * @size: length (in dwords) 109 unsigned size) 117 while (size > 0) { 118 submit_size = (size < 0x60) ? size : 0x60; 119 size 83 psb_2d_wait_available(struct drm_psb_private *dev_priv, unsigned size) argument 108 psbfb_2d_submit(struct drm_psb_private *dev_priv, uint32_t *cmdbuf, unsigned size) argument [all...] |
/drivers/gpu/drm/msm/ |
H A D | msm_fbdev.c | 73 ret = drm_gem_mmap_obj(drm_obj, drm_obj->size, vma); 94 int ret, size; local 113 size = mode_cmd.pitches[0] * mode_cmd.height; 114 DBG("allocating %d bytes for fb %d", size, dev->primary->index); 116 fbdev->bo = msm_gem_new(dev, size, MSM_BO_SCANOUT | MSM_BO_WC); 180 fbi->screen_size = fbdev->bo->size; 182 fbi->fix.smem_len = fbdev->bo->size;
|
/drivers/gpu/drm/nouveau/core/engine/software/ |
H A D | nv50.c | 45 void *args, u32 size) 67 void *args, u32 size) 76 void *args, u32 size) 85 void *args, u32 size) 98 void *args, u32 size) 164 struct nouveau_oclass *oclass, void *data, u32 size, 212 struct nouveau_oclass *oclass, void *data, u32 size, 44 nv50_software_mthd_dma_vblsem(struct nouveau_object *object, u32 mthd, void *args, u32 size) argument 66 nv50_software_mthd_vblsem_offset(struct nouveau_object *object, u32 mthd, void *args, u32 size) argument 75 nv50_software_mthd_vblsem_value(struct nouveau_object *object, u32 mthd, void *args, u32 size) argument 84 nv50_software_mthd_vblsem_release(struct nouveau_object *object, u32 mthd, void *args, u32 size) argument 97 nv50_software_mthd_flip(struct nouveau_object *object, u32 mthd, void *args, u32 size) argument 162 nv50_software_context_ctor(struct nouveau_object *parent, struct nouveau_object *engine, struct nouveau_oclass *oclass, void *data, u32 size, struct nouveau_object **pobject) argument 211 nv50_software_ctor(struct nouveau_object *parent, struct nouveau_object *engine, struct nouveau_oclass *oclass, void *data, u32 size, struct nouveau_object **pobject) argument
|
/drivers/infiniband/hw/cxgb3/ |
H A D | iwch_mem.c | 151 (buffer_list[i].size & ~PAGE_MASK)) 153 *total_size += buffer_list[i].size; 159 mask |= buffer_list[i].addr + buffer_list[i].size; 161 mask |= (buffer_list[i].addr + buffer_list[i].size + 173 buffer_list[0].size += buffer_list[0].addr & ((1ULL << *shift) - 1); 178 *npages += (buffer_list[i].size + 191 j < (buffer_list[i].size + (1ULL << *shift) - 1) >> *shift;
|