Home
last modified time | relevance | path

Searched refs:p_buffer (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_ooo.c168 struct qed_ooo_buffer *p_buffer; in qed_ooo_release_connection_isles() local
182 p_buffer = list_first_entry(&p_isle->buffers_list, in qed_ooo_release_connection_isles()
186 if (!p_buffer) in qed_ooo_release_connection_isles()
189 list_move_tail(&p_buffer->list_entry, in qed_ooo_release_connection_isles()
201 struct qed_ooo_buffer *p_buffer; in qed_ooo_release_all_isles() local
216 p_buffer = in qed_ooo_release_all_isles()
221 if (!p_buffer) in qed_ooo_release_all_isles()
224 list_move_tail(&p_buffer->list_entry, in qed_ooo_release_all_isles()
248 struct qed_ooo_buffer *p_buffer; in qed_ooo_free() local
255 p_buffer = list_first_entry(&p_ooo_info->free_buffers_list, in qed_ooo_free()
[all …]
H A Dqed_ooo.h80 struct qed_ooo_buffer *p_buffer);
88 struct qed_ooo_buffer *p_buffer, u8 on_tail);
101 u8 ooo_isle, struct qed_ooo_buffer *p_buffer);
107 struct qed_ooo_buffer *p_buffer, u8 buffer_side);
137 struct qed_ooo_buffer *p_buffer) {} in qed_ooo_put_free_buffer() argument
145 struct qed_ooo_buffer *p_buffer, in qed_ooo_put_ready_buffer() argument
159 struct qed_ooo_buffer *p_buffer) {} in qed_ooo_add_new_isle() argument
164 struct qed_ooo_buffer *p_buffer, in qed_ooo_add_new_buffer() argument
H A Dqed_ll2.c326 struct qed_ooo_buffer *p_buffer; in qed_ll2_txq_flush() local
328 p_buffer = (struct qed_ooo_buffer *)p_pkt->cookie; in qed_ll2_txq_flush()
330 p_buffer); in qed_ll2_txq_flush()
604 struct qed_ooo_buffer *p_buffer; in qed_ll2_rxq_flush() local
606 p_buffer = (struct qed_ooo_buffer *)p_pkt->cookie; in qed_ll2_rxq_flush()
608 p_buffer); in qed_ll2_rxq_flush()
654 struct qed_ooo_buffer *p_buffer; in qed_ll2_lb_rxq_handler() local
724 p_buffer = (struct qed_ooo_buffer *)p_pkt->cookie; in qed_ll2_lb_rxq_handler()
725 p_buffer->packet_length = packet_length; in qed_ll2_lb_rxq_handler()
726 p_buffer->parse_flags = parse_flags; in qed_ll2_lb_rxq_handler()
[all …]
H A Dqed_mcp.h662 u8 *p_buffer, u32 buffer_len);
H A Dqed_mcp.c3482 u8 *p_buffer, u32 buffer_len) in qed_mcp_get_nvm_image() argument
3487 memset(p_buffer, 0, buffer_len); in qed_mcp_get_nvm_image()
3510 p_buffer, image_att.length); in qed_mcp_get_nvm_image()
/linux/drivers/media/usb/cx231xx/
H A Dcx231xx-video.c266 unsigned char *p_buffer; in cx231xx_isoc_copy() local
302 p_buffer = urb->transfer_buffer + urb->iso_frame_desc[i].offset; in cx231xx_isoc_copy()
313 cx231xx_find_boundary_SAV_EAV(p_buffer, in cx231xx_isoc_copy()
324 p_buffer + bytes_parsed, /* p_buffer */ in cx231xx_isoc_copy()
335 p_buffer + bytes_parsed, /* p_buffer */ in cx231xx_isoc_copy()
345 p_buffer + bytes_parsed,/* p_buffer */ in cx231xx_isoc_copy()
352 memcpy(dma_q->partial_buf, p_buffer + buffer_size - 4, 4); in cx231xx_isoc_copy()
362 unsigned char *p_buffer; in cx231xx_bulk_copy() local
381 p_buffer = urb->transfer_buffer; in cx231xx_bulk_copy()
392 cx231xx_find_boundary_SAV_EAV(p_buffer, in cx231xx_bulk_copy()
[all …]
H A Dcx231xx-vbi.c75 unsigned char *p_buffer; in cx231xx_isoc_vbi_copy() local
92 p_buffer = urb->transfer_buffer; in cx231xx_isoc_vbi_copy()
106 sav_eav = cx231xx_find_boundary_SAV_EAV(p_buffer, in cx231xx_isoc_vbi_copy()
117 p_buffer + bytes_parsed, /* p_buffer */ in cx231xx_isoc_vbi_copy()
128 p_buffer + bytes_parsed, /* p_buffer */ in cx231xx_isoc_vbi_copy()
138 p_buffer+bytes_parsed, /* p_buffer */ in cx231xx_isoc_vbi_copy()
145 memcpy(dma_q->partial_buf, p_buffer + buffer_size - 4, 4); in cx231xx_isoc_vbi_copy()
443 u8 sav_eav, u8 *p_buffer, u32 buffer_size) in cx231xx_get_vbi_line() argument
467 cx231xx_copy_vbi_line(dev, dma_q, p_buffer, buffer_size, in cx231xx_get_vbi_line()
610 u8 *p_buffer, u32 bytes_to_copy) in cx231xx_do_vbi_copy() argument
[all …]
H A Dcx231xx-417.c940 u8 *p_buffer; in cx231xx_load_firmware() local
949 p_buffer = vmalloc(EP5_BUF_SIZE); in cx231xx_load_firmware()
950 if (p_buffer == NULL) { in cx231xx_load_firmware()
977 vfree(p_buffer); in cx231xx_load_firmware()
991 vfree(p_buffer); in cx231xx_load_firmware()
1001 vfree(p_buffer); in cx231xx_load_firmware()
1010 vfree(p_buffer); in cx231xx_load_firmware()
1035 *(p_buffer + i) = (u8)(*(p_fw + (frame * 128 * 8 + (i / 4))) & 0x000000FF); in cx231xx_load_firmware()
1037 *(p_buffer + i) = (u8)((*(p_fw + (frame * 128 * 8 + (i / 4))) & 0x0000FF00) >> 8); in cx231xx_load_firmware()
1039 *(p_buffer + i) = (u8)((*(p_fw + (frame * 128 * 8 + (i / 4))) & 0x00FF0000) >> 16); in cx231xx_load_firmware()
[all …]
H A Dcx231xx-vbi.h39 u8 sav_eav, u8 *p_buffer, u32 buffer_size);
48 u8 *p_buffer, u32 bytes_to_copy);
H A Dcx231xx.h467 u8 *p_buffer; /* pointer to the buffer */ member
803 u8 cx231xx_find_next_SAV_EAV(u8 *p_buffer, u32 buffer_size,
805 u8 cx231xx_find_boundary_SAV_EAV(u8 *p_buffer, u8 *partial_buf,
808 u8 *p_buffer, u32 bytes_to_copy);
815 u8 sav_eav, u8 *p_buffer, u32 buffer_size);
H A Dcx231xx-core.c196 memset(req_data->p_buffer, 0x00, ven_req.wLength); in cx231xx_send_usb_command()
201 ven_req.pBuff = req_data->p_buffer; in cx231xx_send_usb_command()
1573 req_data.p_buffer = (u8 *) value; in cx231xx_read_i2c_master()
1624 req_data.p_buffer = value; in cx231xx_write_i2c_master()
1658 req_data.p_buffer = (u8 *) value; in cx231xx_read_i2c_data()
1699 req_data.p_buffer = value; in cx231xx_write_i2c_data()
/linux/sound/pci/asihpi/
H A Dhpioctl.c222 if (pa->p_buffer) { in asihpi_hpi_ioctl()
224 vfree(pa->p_buffer); in asihpi_hpi_ioctl()
226 pa->p_buffer = vmalloc(size); in asihpi_hpi_ioctl()
227 if (pa->p_buffer) in asihpi_hpi_ioctl()
241 hm->m0.u.d.u.data.pb_data = pa->p_buffer; in asihpi_hpi_ioctl()
257 copy_from_user(pa->p_buffer, ptr, size); in asihpi_hpi_ioctl()
269 copy_to_user(ptr, pa->p_buffer, size); in asihpi_hpi_ioctl()
412 adapter.p_buffer = vmalloc(prealloc_stream_buf); in asihpi_adapter_probe()
413 if (!adapter.p_buffer) { in asihpi_adapter_probe()
519 if (adapter.p_buffer) { in asihpi_adapter_probe()
[all …]
H A Dhpios.h150 char *p_buffer; member
H A Dhpi6205.c851 phr->u.d.u.hostbuffer_info.p_buffer = p_bbm_data; in outstream_host_buffer_get_info()
1128 phr->u.d.u.hostbuffer_info.p_buffer = p_bbm_data; in instream_host_buffer_get_info()
H A Dhpi_internal.h764 u8 *p_buffer; member
H A Dhpifunc.c757 *pp_buffer = hr.u.d.u.hostbuffer_info.p_buffer; in hpi_outstream_host_buffer_get_info()
1111 *pp_buffer = hr.u.d.u.hostbuffer_info.p_buffer; in hpi_instream_host_buffer_get_info()
/linux/drivers/pci/hotplug/
H A Dcpqphp_nvram.c96 static u32 add_byte(u32 **p_buffer, u8 value, u32 *used, u32 *avail) in add_byte() argument
103 *((u8 *)*p_buffer) = value; in add_byte()
104 tByte = (u8 **)p_buffer; in add_byte()
111 static u32 add_dword(u32 **p_buffer, u32 value, u32 *used, u32 *avail) in add_dword() argument
116 **p_buffer = value; in add_dword()
117 (*p_buffer)++; in add_dword()