Home
last modified time | relevance | path

Searched refs:headers (Results 1 – 21 of 21) sorted by relevance

/drivers/scsi/aacraid/
Dcomminit.c209 q->headers.producer = (__le32 *)mem; in aac_queue_init()
210 q->headers.consumer = (__le32 *)(mem+1); in aac_queue_init()
211 *(q->headers.producer) = cpu_to_le32(qsize); in aac_queue_init()
212 *(q->headers.consumer) = cpu_to_le32(qsize); in aac_queue_init()
275 u32 *headers; in aac_comm_init() local
294 if (!aac_alloc_comm(dev, (void * *)&headers, size, QUEUE_ALIGNMENT)) in aac_comm_init()
297 queues = (struct aac_entry *)(((ulong)headers) + hdrsize); in aac_comm_init()
301 aac_queue_init(dev, &comm->queue[HostNormCmdQueue], headers, HOST_NORM_CMD_ENTRIES); in aac_comm_init()
303 headers += 2; in aac_comm_init()
307 aac_queue_init(dev, &comm->queue[HostHighCmdQueue], headers, HOST_HIGH_CMD_ENTRIES); in aac_comm_init()
[all …]
Dcommsup.c327 idx = *index = le32_to_cpu(*(q->headers.producer)); in aac_get_entry()
329 if (idx != le32_to_cpu(*(q->headers.consumer))) { in aac_get_entry()
336 if (idx != le32_to_cpu(*(q->headers.consumer))) in aac_get_entry()
349 if ((*index + 1) == le32_to_cpu(*(q->headers.consumer))) { in aac_get_entry()
662 if (le32_to_cpu(*q->headers.producer) == le32_to_cpu(*q->headers.consumer)) { in aac_consumer_get()
670 if (le32_to_cpu(*q->headers.consumer) >= q->entries) in aac_consumer_get()
673 index = le32_to_cpu(*q->headers.consumer); in aac_consumer_get()
695 if ((le32_to_cpu(*q->headers.producer)+1) == le32_to_cpu(*q->headers.consumer)) in aac_consumer_free()
698 if (le32_to_cpu(*q->headers.consumer) >= q->entries) in aac_consumer_free()
699 *q->headers.consumer = cpu_to_le32(1); in aac_consumer_free()
[all …]
Drx.c409 *(q->headers.producer) = cpu_to_le32(Index + 1); in aac_rx_deliver_producer()
Daacraid.h629 struct aac_qhdr headers; /*producer,consumer q headers*/ member
/drivers/pci/host/
Dpcie-altera.c193 static void tlp_write_packet(struct altera_pcie *pcie, u32 *headers, in tlp_write_packet() argument
198 tlp_rp_regdata.reg0 = headers[0]; in tlp_write_packet()
199 tlp_rp_regdata.reg1 = headers[1]; in tlp_write_packet()
204 tlp_rp_regdata.reg0 = headers[2]; in tlp_write_packet()
212 tlp_rp_regdata.reg0 = headers[2]; in tlp_write_packet()
223 u32 headers[TLP_HDR_SIZE]; in tlp_cfg_dword_read() local
226 headers[0] = TLP_CFG_DW0(TLP_FMTTYPE_CFGRD0); in tlp_cfg_dword_read()
228 headers[0] = TLP_CFG_DW0(TLP_FMTTYPE_CFGRD1); in tlp_cfg_dword_read()
230 headers[1] = TLP_CFG_DW1(TLP_REQ_ID(pcie->root_bus_nr, RP_DEVFN), in tlp_cfg_dword_read()
232 headers[2] = TLP_CFG_DW2(bus, devfn, where); in tlp_cfg_dword_read()
[all …]
/drivers/scsi/isci/
Dunsolicited_frame_control.c84 uf_control->headers.physical_address = dma + SCI_UFI_BUF_SIZE; in sci_unsolicited_frame_control_construct()
85 uf_control->headers.array = virt + SCI_UFI_BUF_SIZE; in sci_unsolicited_frame_control_construct()
115 uf->header = &uf_control->headers.array[i]; in sci_unsolicited_frame_control_construct()
Dunsolicited_frame_control.h244 struct sci_uf_header_array headers; member
Dhost.c2320 writel(lower_32_bits(ihost->uf_control.headers.physical_address), in sci_controller_mem_init()
2322 writel(upper_32_bits(ihost->uf_control.headers.physical_address), in sci_controller_mem_init()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cmdbuf.c117 struct dma_pool *headers; member
260 dma_pool_free(man->headers, header->cb_header, in __vmw_cmdbuf_header_free()
787 header->cb_header = dma_pool_alloc(man->headers, GFP_KERNEL, in vmw_cmdbuf_space_pool()
1211 man->headers = dma_pool_create("vmwgfx cmdbuf", in vmw_cmdbuf_man_create()
1215 if (!man->headers) { in vmw_cmdbuf_man_create()
1256 dma_pool_destroy(man->headers); in vmw_cmdbuf_man_create()
1310 dma_pool_destroy(man->headers); in vmw_cmdbuf_man_destroy()
/drivers/net/ethernet/tile/
Dtilegx.c172 unsigned char *headers; member
1371 unsigned char *headers; in tile_net_init_egress() local
1391 headers = pfn_to_kaddr(page_to_pfn(headers_page)); in tile_net_init_egress()
1450 md->egress_for_echannel[echannel].headers = headers; in tile_net_init_egress()
1721 static void tso_headers_prepare(struct sk_buff *skb, unsigned char *headers, in tso_headers_prepare() argument
1768 buf = headers + (slot % EQUEUE_ENTRIES) * HEADER_BYTES + in tso_headers_prepare()
1831 struct sk_buff *skb, unsigned char *headers, s64 slot) in tso_egress() argument
1867 buf = headers + (slot % EQUEUE_ENTRIES) * HEADER_BYTES + in tso_egress()
1958 tso_headers_prepare(skb, egress->headers, slot); in tile_net_tx_tso()
1961 tso_egress(dev, equeue, skb, egress->headers, slot); in tile_net_tx_tso()
/drivers/staging/vt6655/
Dtest4 # /usr/src/kernel-headers-$(shell uname -r) \
/drivers/staging/wilc1000/
DTODO5 - rework comments and function headers(also coding style)
/drivers/net/slip/
DKconfig45 bool "CSLIP compressed headers"
50 TCP/IP headers (not on the data itself), but it has to be supported
/drivers/net/wimax/i2400m/
Dfw.c1262 size_t headers = 0; in i2400m_fw_check() local
1269 headers++, itr = next) { in i2400m_fw_check()
1285 if (headers == 0) in i2400m_fw_check()
1290 result = i2400m_fw_hdr_check(i2400m, bcf_hdr, headers, offset); in i2400m_fw_check()
1307 if (headers == 0) { in i2400m_fw_check()
/drivers/net/wireless/brcm80211/brcmfmac/
Dusb.c1061 static int check_file(const u8 *headers) in check_file() argument
1068 trx = (struct trx_header_le *) headers; in check_file()
1072 headers += sizeof(struct trx_header_le); in check_file()
/drivers/gpu/drm/msm/
DNOTES87 generate the register level headers.
/drivers/net/arcnet/
DKconfig50 ARCnet "raw mode" packet encapsulation, no soft headers. Unlikely
/drivers/isdn/hisax/
Disdnl2.c356 int headers = l2addrsize(&st->l2) + 1; in FRMR_error() local
357 u_char *datap = skb->data + headers; in FRMR_error()
367 if (skb->len < headers + 5) in FRMR_error()
374 if (skb->len < headers + 3) in FRMR_error()
/drivers/isdn/mISDN/
Dlayer2.c565 u_int headers = l2addrsize(l2) + 1; in FRMR_error() local
566 u_char *datap = skb->data + headers; in FRMR_error()
574 if (skb->len < headers + 5) in FRMR_error()
581 if (skb->len < headers + 3) in FRMR_error()
/drivers/misc/vmw_vmci/
Dvmci_queue_pair.c847 struct page *headers[2]; in qp_host_map_queues() local
856 headers[0] = *produce_q->kernel_if->u.h.header_page; in qp_host_map_queues()
857 headers[1] = *consume_q->kernel_if->u.h.header_page; in qp_host_map_queues()
859 produce_q->q_header = vmap(headers, 2, VM_MAP, PAGE_KERNEL); in qp_host_map_queues()
/drivers/net/
DKconfig262 bool "Support for cross-endian vnet headers on little-endian kernels"
266 little-endian kernel to parse vnet headers that come from a