Searched refs:data_mode (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/drivers/md/
H A Ddm-bufio.c129 enum data_mode { enum
141 enum data_mode data_mode; member in struct:dm_buffer
305 static void adjust_total_allocated(enum data_mode data_mode, long diff) adjust_total_allocated() argument
315 *class_ptr[data_mode] += diff; adjust_total_allocated()
370 enum data_mode *data_mode) alloc_buffer_data()
376 *data_mode = DATA_MODE_SLAB; alloc_buffer_data()
382 *data_mode = DATA_MODE_GET_FREE_PAGES; alloc_buffer_data()
387 *data_mode = DATA_MODE_VMALLOC; alloc_buffer_data()
414 void *data, enum data_mode data_mode) free_buffer_data()
416 switch (data_mode) { free_buffer_data()
431 data_mode); free_buffer_data()
449 b->data = alloc_buffer_data(c, gfp_mask, &b->data_mode); alloc_buffer()
455 adjust_total_allocated(b->data_mode, (long)c->block_size); alloc_buffer()
467 adjust_total_allocated(b->data_mode, -(long)c->block_size); free_buffer()
469 free_buffer_data(c, b->data, b->data_mode); free_buffer()
568 if (b->data_mode != DATA_MODE_VMALLOC) { use_dmio()
653 b->data_mode != DATA_MODE_VMALLOC) submit_io()
369 alloc_buffer_data(struct dm_bufio_client *c, gfp_t gfp_mask, enum data_mode *data_mode) alloc_buffer_data() argument
413 free_buffer_data(struct dm_bufio_client *c, void *data, enum data_mode data_mode) free_buffer_data() argument
/linux-4.4.14/sound/drivers/vx/
H A Dvx_pcm.c412 int data_mode; vx_alloc_pipe() local
421 data_mode = (chip->uer_bits & IEC958_AES0_NONAUDIO) != 0; vx_alloc_pipe()
422 if (! capture && data_mode) vx_alloc_pipe()
444 pipe->data_mode = data_mode; vx_alloc_pipe()
816 int err, data_mode; vx_pcm_prepare() local
822 data_mode = (chip->uer_bits & IEC958_AES0_NONAUDIO) != 0; vx_pcm_prepare()
823 if (data_mode != pipe->data_mode && ! pipe->is_capture) { vx_pcm_prepare()
827 snd_printdd(KERN_DEBUG "reopen the pipe with data_mode = %d\n", data_mode); vx_pcm_prepare()
834 if (data_mode) vx_pcm_prepare()
838 pipe->data_mode = data_mode; vx_pcm_prepare()
/linux-4.4.14/drivers/net/ethernet/realtek/
H A Datp.c203 static void read_block(long ioaddr, int length, unsigned char *buffer, int data_mode);
497 static void write_packet(long ioaddr, int length, unsigned char *packet, int pad_len, int data_mode) write_packet() argument
506 if ((data_mode & 1) == 0) { write_packet()
802 static void read_block(long ioaddr, int length, unsigned char *p, int data_mode) read_block() argument
804 if (data_mode <= 3) { /* Mode 0 or 1 */ read_block()
808 if (data_mode <= 1) { /* Mode 0 or 1 */ read_block()
813 } else if (data_mode <= 5) { read_block()
/linux-4.4.14/include/sound/
H A Dvx_core.h64 unsigned int data_mode: 1; member in struct:vx_pipe
/linux-4.4.14/include/uapi/linux/
H A Dcdrom.h869 __u8 data_mode : 4; member in struct:__anon13969
878 __u8 data_mode : 4; member in struct:__anon13969
/linux-4.4.14/drivers/block/
H A Dpktcdvd.c1923 switch (ti.data_mode) { pkt_probe_settings()

Completed in 378 milliseconds