/linux-4.4.14/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
H A D | EventClass.py | 24 def create_event(name, comm, dso, symbol, raw_buf): 25 if (len(raw_buf) == 144): 26 event = PebsEvent(name, comm, dso, symbol, raw_buf) 27 elif (len(raw_buf) == 176): 28 event = PebsNHM(name, comm, dso, symbol, raw_buf) 30 event = PerfEvent(name, comm, dso, symbol, raw_buf) 36 def __init__(self, name, comm, dso, symbol, raw_buf, ev_type=EVTYPE_GENERIC): 41 self.raw_buf = raw_buf 55 def __init__(self, name, comm, dso, symbol, raw_buf, ev_type=EVTYPE_PEBS): 56 tmp_buf=raw_buf[0:80] 69 PerfEvent.__init__(self, name, comm, dso, symbol, raw_buf, ev_type) 84 def __init__(self, name, comm, dso, symbol, raw_buf, ev_type=EVTYPE_PEBS_LL): 85 tmp_buf=raw_buf[144:176] 92 PebsEvent.__init__(self, name, comm, dso, symbol, raw_buf, ev_type)
|
/linux-4.4.14/sound/oss/ |
H A D | dmabuf.c | 68 if (dmap->raw_buf != NULL) sound_alloc_dmap() 81 dmap->raw_buf = NULL; sound_alloc_dmap() 117 dmap->raw_buf = start_addr; sound_alloc_dmap() 131 if (dmap->raw_buf == NULL) sound_free_dmap() 137 start_addr = (unsigned long) dmap->raw_buf; sound_free_dmap() 144 free_pages((unsigned long) dmap->raw_buf, sz); sound_free_dmap() 145 dmap->raw_buf = NULL; sound_free_dmap() 196 if (dmap->raw_buf == NULL) { open_dmap() 322 memset(adev->dmap_out->raw_buf, adev->dmap_out->neutral_byte, DMAbuf_open() 499 memset(adev->dmap_out->raw_buf, adev->dmap_out->neutral_byte, adev->dmap_out->bytes_in_use); DMAbuf_release() 604 *buf = &dmap->raw_buf[dmap->qhead * dmap->fragment_size + dmap->counts[dmap->qhead]]; DMAbuf_getrdbuffer() 790 *buf = dmap->raw_buf; find_output_space() 810 *buf = dmap->raw_buf + offs; find_output_space() 887 dmap->neutral_byte = dmap->raw_buf[p]; DMAbuf_move_wrpointer() 919 if (dmap->raw_buf == NULL) { DMAbuf_start_dma() 935 if (dmap->raw_buf == NULL) { local_start_dma() 965 if (dmap->raw_buf == NULL) { do_outputintr() 1016 memset(adev->dmap_out->raw_buf, adev->dmap_out->neutral_byte, do_outputintr() 1067 if (dmap->raw_buf == NULL) { do_inputintr() 1187 if (adev->dmap_in->raw_buf == NULL) DMAbuf_init() 1189 if (adev->dmap_out->raw_buf == NULL) DMAbuf_init()
|
H A D | audio.c | 153 memset(dmap->raw_buf + offs, dmap->neutral_byte, len); sync_output() 167 if (((dmap->raw_buf + p * dmap->fragment_size) + dmap->fragment_size) > sync_output() 168 (dmap->raw_buf + dmap->buffsize)) sync_output() 171 memset(dmap->raw_buf + p * dmap->fragment_size, sync_output() 269 (audio_devs[dev]->dmap_out->raw_buf + audio_devs[dev]->dmap_out->buffsize)) audio_write() 271 printk(KERN_ERR "audio: Buffer error 3 (%lx,%d), (%lx, %d)\n", (long) dma_buf, l, (long) audio_devs[dev]->dmap_out->raw_buf, (int) audio_devs[dev]->dmap_out->buffsize); audio_write() 274 if (dma_buf < audio_devs[dev]->dmap_out->raw_buf) audio_write() 276 printk(KERN_ERR "audio: Buffer error 13 (%lx<%lx)\n", (long) dma_buf, (long) audio_devs[dev]->dmap_out->raw_buf); audio_write() 653 if (dmap->raw_buf) reorganize_buffers() 655 memset(dmap->raw_buf, dmap->neutral_byte, dmap->bytes_in_use); reorganize_buffers()
|
H A D | soundcard.c | 453 if (dmap->raw_buf == NULL) { sound_mmap() 454 printk(KERN_ERR "Sound: mmap() called when raw_buf == NULL\n"); sound_mmap() 474 virt_to_phys(dmap->raw_buf) >> PAGE_SHIFT, sound_mmap() 485 memset(dmap->raw_buf, sound_mmap()
|
H A D | dev_table.h | 85 char *raw_buf; member in struct:dma_buffparms
|
H A D | vidc.c | 311 dma_start = buf - (unsigned long)dmap->raw_buf_phys + (unsigned long)dmap->raw_buf; vidc_audio_output_block()
|
/linux-4.4.14/tools/perf/scripts/python/ |
H A D | event_analyzing_sample.py | 73 raw_buf = param_dict["raw_buf"] 89 event = create_event(name, comm, dso, symbol, raw_buf)
|
/linux-4.4.14/drivers/block/ |
H A D | amiflop.c | 165 static char *raw_buf; variable 591 custom.dskptr = (u_char *)ZTWO_PADDR((u_char *)raw_buf); raw_read() 627 custom.dskptr = (u_char *)ZTWO_PADDR((u_char *)raw_buf); raw_write() 727 raw = (long) raw_buf; amiga_read() 851 unsigned long *ptr = (unsigned long *)raw_buf; amiga_write() 1042 raw = (long) raw_buf; dos_read() 1208 unsigned long raw = (unsigned long) raw_buf; dos_write() 1527 if (copy_to_user(argp, raw_buf, p->type->read_size)) fd_locked_ioctl() 1770 raw_buf = amiga_chip_alloc(RAW_BUF_SIZE, "Floppy"); amiga_floppy_probe() 1771 if (!raw_buf) { amiga_floppy_probe() 1834 amiga_chip_free(raw_buf); amiga_floppy_probe() 1859 amiga_chip_free(raw_buf);
|
H A D | loop.c | 94 char *raw_buf = kmap_atomic(raw_page) + raw_off; transfer_xor() local 100 in = raw_buf; transfer_xor() 104 out = raw_buf; transfer_xor() 113 kunmap_atomic(raw_buf); transfer_xor()
|
/linux-4.4.14/drivers/input/touchscreen/ |
H A D | wdt87xx_i2c.c | 999 u8 raw_buf[WDT_V1_RAW_BUF_COUNT] = {0}; wdt87xx_ts_interrupt() local 1001 error = i2c_master_recv(client, raw_buf, WDT_V1_RAW_BUF_COUNT); wdt87xx_ts_interrupt() 1007 fingers = raw_buf[TOUCH_PK_V1_OFFSET_FNGR_NUM]; wdt87xx_ts_interrupt() 1014 &raw_buf[TOUCH_PK_V1_OFFSET_EVENT + wdt87xx_ts_interrupt()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/ |
H A D | i40e_txrx.h | 175 void *raw_buf; member in union:i40e_tx_buffer::__anon7049
|
H A D | i40e_txrx.c | 55 kfree(tx_buffer->raw_buf); i40e_unmap_and_free_tx_resource()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_txrx.h | 176 void *raw_buf; member in union:i40e_tx_buffer::__anon7018
|
H A D | i40e_txrx.c | 163 tx_buf->raw_buf = (void *)raw_packet; i40e_program_fdir_filter() 530 kfree(tx_buffer->raw_buf); i40e_unmap_and_free_tx_resource()
|
H A D | i40e_main.c | 3590 kfree(tx_buf->raw_buf); i40e_clean_fdir_tx_irq() 3592 tx_buf->raw_buf = NULL; i40e_clean_fdir_tx_irq()
|
/linux-4.4.14/drivers/net/hamradio/ |
H A D | 6pack.c | 97 unsigned char raw_buf[4]; member in struct:sixpack 872 sp->raw_buf[sp->rx_count++] = inbyte; decode_data() 877 buf = sp->raw_buf; decode_data()
|
/linux-4.4.14/tools/perf/util/scripting-engines/ |
H A D | trace-event-python.c | 815 pydict_set_item_string_decref(dict, "raw_buf", PyString_FromStringAndSize( python_process_general_event()
|