Home
last modified time | relevance | path

Searched refs:hw (Results 1 - 25 of 275) sorted by relevance

1234567891011

/third_party/alsa-lib/src/seq/
H A Dseq_hw.c44 snd_seq_hw_t *hw = seq->private_data; in snd_seq_hw_close() local
47 if (close(hw->fd)) { in snd_seq_hw_close()
51 free(hw); in snd_seq_hw_close()
57 snd_seq_hw_t *hw = seq->private_data; in snd_seq_hw_nonblock() local
60 if ((flags = fcntl(hw->fd, F_GETFL)) < 0) { in snd_seq_hw_nonblock()
68 if (fcntl(hw->fd, F_SETFL, flags) < 0) { in snd_seq_hw_nonblock()
77 snd_seq_hw_t *hw = seq->private_data; in snd_seq_hw_client_id() local
79 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_CLIENT_ID, &client) < 0) { in snd_seq_hw_client_id()
88 snd_seq_hw_t *hw = seq->private_data; in snd_seq_hw_system_info() local
89 if (ioctl(hw in snd_seq_hw_system_info()
98 snd_seq_hw_t *hw = seq->private_data; update_midi_version() local
112 snd_seq_hw_t *hw = seq->private_data; snd_seq_hw_get_client_info() local
126 snd_seq_hw_t *hw = seq->private_data; snd_seq_hw_set_client_info() local
138 snd_seq_hw_t *hw = seq->private_data; snd_seq_hw_get_ump_info() local
160 snd_seq_hw_t *hw = seq->private_data; snd_seq_hw_set_ump_info() local
183 snd_seq_hw_t *hw = seq->private_data; snd_seq_hw_create_port() local
193 snd_seq_hw_t *hw = seq->private_data; snd_seq_hw_delete_port() local
203 snd_seq_hw_t *hw = seq->private_data; snd_seq_hw_get_port_info() local
213 snd_seq_hw_t *hw = seq->private_data; snd_seq_hw_set_port_info() local
223 snd_seq_hw_t *hw = seq->private_data; snd_seq_hw_get_port_subscription() local
233 snd_seq_hw_t *hw = seq->private_data; snd_seq_hw_subscribe_port() local
243 snd_seq_hw_t *hw = seq->private_data; snd_seq_hw_unsubscribe_port() local
253 snd_seq_hw_t *hw = seq->private_data; snd_seq_hw_query_port_subscribers() local
263 snd_seq_hw_t *hw = seq->private_data; snd_seq_hw_get_queue_status() local
273 snd_seq_hw_t *hw = seq->private_data; snd_seq_hw_get_queue_tempo() local
283 snd_seq_hw_t *hw = seq->private_data; snd_seq_hw_set_queue_tempo() local
293 snd_seq_hw_t *hw = seq->private_data; snd_seq_hw_get_queue_timer() local
303 snd_seq_hw_t *hw = seq->private_data; snd_seq_hw_set_queue_timer() local
313 snd_seq_hw_t *hw = seq->private_data; snd_seq_hw_get_queue_client() local
323 snd_seq_hw_t *hw = seq->private_data; snd_seq_hw_set_queue_client() local
333 snd_seq_hw_t *hw = seq->private_data; snd_seq_hw_create_queue() local
343 snd_seq_hw_t *hw = seq->private_data; snd_seq_hw_delete_queue() local
353 snd_seq_hw_t *hw = seq->private_data; snd_seq_hw_get_queue_info() local
363 snd_seq_hw_t *hw = seq->private_data; snd_seq_hw_set_queue_info() local
373 snd_seq_hw_t *hw = seq->private_data; snd_seq_hw_get_named_queue() local
383 snd_seq_hw_t *hw = seq->private_data; snd_seq_hw_write() local
392 snd_seq_hw_t *hw = seq->private_data; snd_seq_hw_read() local
401 snd_seq_hw_t *hw = seq->private_data; snd_seq_hw_remove_events() local
411 snd_seq_hw_t *hw = seq->private_data; snd_seq_hw_get_client_pool() local
421 snd_seq_hw_t *hw = seq->private_data; snd_seq_hw_set_client_pool() local
431 snd_seq_hw_t *hw = seq->private_data; snd_seq_hw_query_next_client() local
445 snd_seq_hw_t *hw = seq->private_data; snd_seq_hw_query_next_port() local
495 snd_seq_hw_t *hw; snd_seq_hw_open() local
[all...]
/third_party/alsa-lib/src/pcm/
H A Dpcm_hw.c126 #define FAST_PCM_STATE(hw) \
127 ((snd_pcm_state_t) (hw)->mmap_status->state)
128 #define FAST_PCM_TSTAMP(hw) \
129 ((hw)->mmap_status->tstamp)
134 snd_pcm_hw_t *hw = pcm->private_data; in snd_pcm_hw_fast_tstamp() local
135 res = FAST_PCM_TSTAMP(hw); in snd_pcm_hw_fast_tstamp()
136 if (SNDRV_PROTOCOL_VERSION(2, 0, 5) > hw->version) in snd_pcm_hw_fast_tstamp()
142 static int sync_ptr1(snd_pcm_hw_t *hw, unsigned int flags) in sync_ptr1() argument
145 hw->sync_ptr->flags = flags; in sync_ptr1()
146 if (ioctl(hw in sync_ptr1()
154 issue_avail_min(snd_pcm_hw_t *hw) issue_avail_min() argument
163 issue_applptr(snd_pcm_hw_t *hw) issue_applptr() argument
172 request_hwsync(snd_pcm_hw_t *hw) request_hwsync() argument
187 query_status_and_control_data(snd_pcm_hw_t *hw) query_status_and_control_data() argument
201 query_status_data(snd_pcm_hw_t *hw) query_status_data() argument
215 snd_pcm_hw_clear_timer_queue(snd_pcm_hw_t *hw) snd_pcm_hw_clear_timer_queue() argument
236 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_poll_descriptors() local
249 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_poll_revents() local
266 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_nonblock() local
289 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_async() local
323 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_info() local
346 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_hw_refine() local
408 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_hw_params() local
423 snd_pcm_hw_close_timer(snd_pcm_hw_t *hw) snd_pcm_hw_close_timer() argument
433 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_change_timer() local
513 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_hw_free() local
526 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_sw_params() local
586 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_channel_info() local
607 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_status() local
631 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_state() local
641 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_delay() local
653 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_hwsync() local
685 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_prepare() local
708 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_reset() local
720 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_start() local
741 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_drop() local
754 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_drain() local
811 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_pause() local
828 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_rewind() local
848 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_forward() local
886 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_resume() local
928 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_unlink() local
940 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_writei() local
961 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_writen() local
982 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_readi() local
1003 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_readn() local
1021 map_status_data(snd_pcm_hw_t *hw, struct snd_pcm_sync_ptr *sync_ptr, bool force_fallback) map_status_data() argument
1046 map_control_data(snd_pcm_hw_t *hw, struct snd_pcm_sync_ptr *sync_ptr, bool force_fallback) map_control_data() argument
1074 snd_pcm_hw_t *hw = pcm->private_data; map_status_and_control_data() local
1126 unmap_status_data(snd_pcm_hw_t *hw) unmap_status_data() argument
1135 unmap_control_data(snd_pcm_hw_t *hw) unmap_control_data() argument
1144 unmap_status_and_control_data(snd_pcm_hw_t *hw) unmap_status_and_control_data() argument
1171 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_close() local
1188 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_mmap_commit() local
1200 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_avail_update() local
1259 snd_pcm_hw_t *hw = pcm->private_data; fill_chmap_ctl_id() local
1360 chmap_caps(snd_pcm_hw_t *hw, int type) chmap_caps() argument
1369 chmap_caps_set_ok(snd_pcm_hw_t *hw, int type) chmap_caps_set_ok() argument
1374 chmap_caps_set_error(snd_pcm_hw_t *hw, int type) chmap_caps_set_error() argument
1381 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_query_chmaps() local
1401 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_get_chmap() local
1457 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_set_chmap() local
1505 snd_pcm_hw_t *hw = pcm->private_data; snd_pcm_hw_dump() local
1621 snd_pcm_hw_t *hw = NULL; snd_pcm_hw_open_fd() local
1891 snd_pcm_hw_t *hw; _snd_pcm_hw_open() local
[all...]
/third_party/alsa-lib/src/rawmidi/
H A Drawmidi_hw.c55 static void buf_reset(snd_rawmidi_hw_t *hw) in buf_reset() argument
57 hw->buf_fill = 0; in buf_reset()
58 hw->buf_pos = 0; in buf_reset()
59 hw->buf_fpos = 0; in buf_reset()
64 snd_rawmidi_hw_t *hw = rmidi->private_data; in snd_rawmidi_hw_close() local
67 hw->open--; in snd_rawmidi_hw_close()
68 if (hw->open) in snd_rawmidi_hw_close()
70 if (close(hw->fd)) { in snd_rawmidi_hw_close()
74 free(hw->buf); in snd_rawmidi_hw_close()
75 free(hw); in snd_rawmidi_hw_close()
81 snd_rawmidi_hw_t *hw = rmidi->private_data; snd_rawmidi_hw_nonblock() local
101 snd_rawmidi_hw_t *hw = rmidi->private_data; snd_rawmidi_hw_info() local
112 snd_rawmidi_hw_t *hw = rmidi->private_data; snd_rawmidi_hw_params() local
145 snd_rawmidi_hw_t *hw = rmidi->private_data; snd_rawmidi_hw_status() local
156 snd_rawmidi_hw_t *hw = rmidi->private_data; snd_rawmidi_hw_drop() local
168 snd_rawmidi_hw_t *hw = rmidi->private_data; snd_rawmidi_hw_drain() local
179 snd_rawmidi_hw_t *hw = rmidi->private_data; snd_rawmidi_hw_write() local
189 snd_rawmidi_hw_t *hw = rmidi->private_data; snd_rawmidi_hw_read() local
197 read_from_ts_buf(snd_rawmidi_hw_t *hw, struct timespec *tstamp, void *buffer, size_t size) read_from_ts_buf() argument
248 snd_rawmidi_hw_t *hw = rmidi->private_data; snd_rawmidi_hw_tread() local
279 snd_rawmidi_hw_t *hw = rmidi->private_data; snd_rawmidi_hw_ump_endpoint_info() local
290 snd_rawmidi_hw_t *hw = rmidi->private_data; snd_rawmidi_hw_ump_block_info() local
324 snd_rawmidi_hw_t *hw = NULL; snd_rawmidi_hw_open() local
[all...]
/third_party/alsa-lib/src/control/
H A Dcontrol_hw.c61 snd_ctl_hw_t *hw = handle->private_data; in snd_ctl_hw_close() local
63 res = close(hw->fd) < 0 ? -errno : 0; in snd_ctl_hw_close()
64 free(hw); in snd_ctl_hw_close()
70 snd_ctl_hw_t *hw = handle->private_data; in snd_ctl_hw_nonblock() local
72 int fd = hw->fd; in snd_ctl_hw_nonblock()
91 snd_ctl_hw_t *hw = ctl->private_data; in snd_ctl_hw_async() local
92 int fd = hw->fd; in snd_ctl_hw_async()
121 snd_ctl_hw_t *hw = handle->private_data; in snd_ctl_hw_subscribe_events() local
122 if (ioctl(hw->fd, SNDRV_CTL_IOCTL_SUBSCRIBE_EVENTS, &subscribe) < 0) { in snd_ctl_hw_subscribe_events()
131 snd_ctl_hw_t *hw in snd_ctl_hw_card_info() local
141 snd_ctl_hw_t *hw = handle->private_data; snd_ctl_hw_elem_list() local
149 snd_ctl_hw_t *hw = handle->private_data; snd_ctl_hw_elem_info() local
157 snd_ctl_hw_t *hw = handle->private_data; snd_ctl_hw_elem_add() local
170 snd_ctl_hw_t *hw = handle->private_data; snd_ctl_hw_elem_replace() local
183 snd_ctl_hw_t *hw = handle->private_data; snd_ctl_hw_elem_remove() local
191 snd_ctl_hw_t *hw = handle->private_data; snd_ctl_hw_elem_read() local
199 snd_ctl_hw_t *hw = handle->private_data; snd_ctl_hw_elem_write() local
207 snd_ctl_hw_t *hw = handle->private_data; snd_ctl_hw_elem_lock() local
215 snd_ctl_hw_t *hw = handle->private_data; snd_ctl_hw_elem_unlock() local
226 snd_ctl_hw_t *hw = handle->private_data; snd_ctl_hw_elem_tlv() local
264 snd_ctl_hw_t *hw = handle->private_data; snd_ctl_hw_hwdep_next_device() local
272 snd_ctl_hw_t *hw = handle->private_data; snd_ctl_hw_hwdep_info() local
280 snd_ctl_hw_t *hw = handle->private_data; snd_ctl_hw_pcm_next_device() local
288 snd_ctl_hw_t *hw = handle->private_data; snd_ctl_hw_pcm_info() local
299 snd_ctl_hw_t *hw = handle->private_data; snd_ctl_hw_pcm_prefer_subdevice() local
307 snd_ctl_hw_t *hw = handle->private_data; snd_ctl_hw_rawmidi_next_device() local
315 snd_ctl_hw_t *hw = handle->private_data; snd_ctl_hw_rawmidi_info() local
323 snd_ctl_hw_t *hw = handle->private_data; snd_ctl_hw_rawmidi_prefer_subdevice() local
331 snd_ctl_hw_t *hw = handle->private_data; snd_ctl_hw_ump_next_device() local
340 snd_ctl_hw_t *hw = handle->private_data; snd_ctl_hw_ump_endpoint_info() local
349 snd_ctl_hw_t *hw = handle->private_data; snd_ctl_hw_ump_block_info() local
357 snd_ctl_hw_t *hw = handle->private_data; snd_ctl_hw_set_power_state() local
365 snd_ctl_hw_t *hw = handle->private_data; snd_ctl_hw_get_power_state() local
373 snd_ctl_hw_t *hw = handle->private_data; snd_ctl_hw_read() local
434 snd_ctl_hw_t *hw; snd_ctl_hw_open() local
[all...]
/third_party/mesa3d/src/broadcom/simulator/
H A Dv3d_simulator_wrapper.cpp49 uint32_t v3d_hw_get_mem(const struct v3d_hw *hw, uint32_t *size, void **p) in v3d_hw_get_mem() argument
51 return hw->get_mem(size, p); in v3d_hw_get_mem()
54 bool v3d_hw_alloc_mem(struct v3d_hw *hw, size_t min_size) in v3d_hw_alloc_mem() argument
56 return hw->alloc_mem(min_size) == V3D_HW_ALLOC_SUCCESS; in v3d_hw_alloc_mem()
59 uint32_t v3d_hw_read_reg(struct v3d_hw *hw, uint32_t reg) in v3d_hw_read_reg() argument
61 return hw->read_reg(reg); in v3d_hw_read_reg()
64 void v3d_hw_write_reg(struct v3d_hw *hw, uint32_t reg, uint32_t val) in v3d_hw_write_reg() argument
66 hw->write_reg(reg, val); in v3d_hw_write_reg()
69 void v3d_hw_tick(struct v3d_hw *hw) in v3d_hw_tick() argument
71 return hw in v3d_hw_tick()
74 v3d_hw_get_version(struct v3d_hw *hw) v3d_hw_get_version() argument
82 v3d_hw_set_isr(struct v3d_hw *hw, void (*isr)(uint32_t status)) v3d_hw_set_isr() argument
[all...]
/third_party/backends/backend/
H A Dplustek-usbhw.c351 HWDef *hw = &dev->usbDev.HwSetting; in usb_WaitPos() local
365 (u_long)mch * (u_long)ffs * hw->wMotorDpi); in usb_WaitPos()
368 if((hw->dHighSpeed == 0.0) || (dev->adj.disableSpeedup != 0)) { in usb_WaitPos()
376 (u_long)mch * hw->dHighSpeed * hw->wMotorDpi)); in usb_WaitPos()
386 speed, hw->dHighSpeed); in usb_WaitPos()
458 HWDef *hw = &dev->usbDev.HwSetting; in usb_ModuleMove() local
476 double d = hw->dMaxMoveSpeed; in usb_ModuleMove()
479 if (hw->motorModel == MODEL_QSCAN_A6){ in usb_ModuleMove()
484 hw in usb_ModuleMove()
675 HWDef *hw = &dev->usbDev.HwSetting; usb_ModuleToHome() local
851 HWDef *hw = &dev->usbDev.HwSetting; usb_MotorSelect() local
897 HWDef *hw = &dev->usbDev.HwSetting; usb_AdjustLamps() local
941 HWDef *hw = &dev->usbDev.HwSetting; usb_AdjustCISLampSettings() local
1062 HWDef *hw = &dev->usbDev.HwSetting; usb_GetLampStatus() local
1223 HWDef *hw = &dev->usbDev.HwSetting; usb_FillLampRegs() local
1252 HWDef *hw = &dev->usbDev.HwSetting; usb_LampOn() local
1387 HWDef *hw = &dev->usbDev.HwSetting; usb_ResetRegisters() local
1477 HWDef *hw = &dev->usbDev.HwSetting; usb_SensorStatus() local
[all...]
H A Depson.c899 if (s->hw->connection == SANE_EPSON_SCSI) in send()
903 else if (s->hw->connection == SANE_EPSON_PIO) in send()
914 else if (s->hw->connection == SANE_EPSON_USB) in send()
940 if (s->hw->connection == SANE_EPSON_SCSI) in receive()
944 else if (s->hw->connection == SANE_EPSON_PIO) in receive()
951 else if (s->hw->connection == SANE_EPSON_USB) in receive()
1121 #define set_focus_position(s,v) set_cmd( s,(s)->hw->cmd->set_focus_position,v)
1122 #define set_color_mode(s,v) set_cmd( s,(s)->hw->cmd->set_color_mode,v)
1123 #define set_data_format(s,v) set_cmd( s,(s)->hw->cmd->set_data_format, v)
1124 #define set_halftoning(s,v) set_cmd( s,(s)->hw
[all...]
H A Dartec.h61 #define ARTEC_MIN_X( hw ) ( hw->horz_resolution_list[ 0 ] ? \
62 hw->horz_resolution_list[ 1 ] : 0 )
63 #define ARTEC_MAX_X( hw ) ( hw->horz_resolution_list[ 0 ] ? \
64 hw->horz_resolution_list[ \
65 hw->horz_resolution_list[ 0 ] ] : 0 )
66 #define ARTEC_MIN_Y( hw ) ( hw->vert_resolution_list[ 0 ] ? \
67 hw
266 ARTEC_Device *hw; global() member
[all...]
H A Depson2-commands.h20 #define esci_set_focus_position(s,v) e2_esc_cmd( s,(s)->hw->cmd->set_focus_position, v)
21 #define esci_set_color_mode(s,v) e2_esc_cmd( s,(s)->hw->cmd->set_color_mode, v)
22 #define esci_set_data_format(s,v) e2_esc_cmd( s,(s)->hw->cmd->set_data_format, v)
23 #define esci_set_halftoning(s,v) e2_esc_cmd( s,(s)->hw->cmd->set_halftoning, v)
24 #define esci_set_gamma(s,v) e2_esc_cmd( s,(s)->hw->cmd->set_gamma, v)
25 #define esci_set_color_correction(s,v) e2_esc_cmd( s,(s)->hw->cmd->set_color_correction, v)
26 #define esci_set_lcount(s,v) e2_esc_cmd( s,(s)->hw->cmd->set_lcount, v)
27 #define esci_set_bright(s,v) e2_esc_cmd( s,(s)->hw->cmd->set_bright, v)
28 #define esci_mirror_image(s,v) e2_esc_cmd( s,(s)->hw->cmd->mirror_image, v)
29 #define esci_set_speed(s,v) e2_esc_cmd( s,(s)->hw
[all...]
H A Dmustek_usb.c176 max_x = s->hw->max_width * SANE_UNFIX (s->val[OPT_RESOLUTION].w) / 300; in calc_parameters()
177 max_y = s->hw->max_height * SANE_UNFIX (s->val[OPT_RESOLUTION].w) / 300; in calc_parameters()
283 s->opt[OPT_RESOLUTION].constraint.range = &s->hw->dpi_range; in init_options()
284 s->val[OPT_RESOLUTION].w = s->hw->dpi_range.min; in init_options()
285 if (s->hw->chip->scanner_type == MT_600CU) in init_options()
286 s->hw->dpi_range.max = SANE_FIX (600); in init_options()
288 s->hw->dpi_range.max = SANE_FIX (1200); in init_options()
313 s->opt[OPT_TL_X].constraint.range = &s->hw->x_range; in init_options()
323 s->opt[OPT_TL_Y].constraint.range = &s->hw->y_range; in init_options()
333 s->opt[OPT_BR_X].constraint.range = &s->hw in init_options()
[all...]
H A Dplustek_pp.c303 if((_ASIC_IS_98003 == scanner->hw->caps.AsicID) || in getModeList()
304 (_ASIC_IS_98001 == scanner->hw->caps.AsicID)) { in getModeList()
410 if( scanner->hw->readImage ) { in reader_process()
412 status = (unsigned long)scanner->hw->readImage( scanner->hw, in reader_process()
419 status = scanner->hw->prepare( scanner->hw, buf ); in reader_process()
425 status = scanner->hw->readLine( scanner->hw ); in reader_process()
451 if( scanner->hw in reader_process()
[all...]
H A Dplustek-usbscan.c234 HWDef *hw = &dev->usbDev.HwSetting; in usb_SetAsicDpiY() local
252 if( (hw->motorModel == MODEL_Tokyo600) || in usb_SetAsicDpiY()
253 !_IS_PLUSTEKMOTOR(hw->motorModel)) { in usb_SetAsicDpiY()
285 HWDef *hw = &dev->usbDev.HwSetting; in usb_SetColorAndBits() local
292 regs[0x26] = hw->bReg_0x26 & 0x7; in usb_SetColorAndBits()
301 memcpy( &regs[0x0f], hw->bReg_0x0f_Color, 10 ); in usb_SetColorAndBits()
306 regs[0x26] = (hw->bReg_0x26 & 0x18) | 0x04; in usb_SetColorAndBits()
307 memcpy( &regs[0x0f], hw->bReg_0x0f_Mono, 10 ); in usb_SetColorAndBits()
312 regs[0x26] = (hw->bReg_0x26 & 0x18) | 0x04; in usb_SetColorAndBits()
313 memcpy( &regs[0x0f], hw in usb_SetColorAndBits()
384 HWDef *hw = &dev->usbDev.HwSetting; usb_GetScanRect() local
514 HWDef *hw = &dev->usbDev.HwSetting; usb_PresetStepSize() local
539 HWDef *hw = &dev->usbDev.HwSetting; usb_GetDPD() local
591 HWDef *hw = &dev->usbDev.HwSetting; usb_GetMCLKDiv() local
663 HWDef *hw = &dev->usbDev.HwSetting; usb_GetMCLKDivider() local
762 HWDef *hw = &dev->usbDev.HwSetting; usb_GetStepSize() local
812 HWDef *hw = &dev->usbDev.HwSetting; usb_GetLineLength() local
916 HWDef *hw = &dev->usbDev.HwSetting; usb_GetMotorParam() local
1065 HWDef *hw = &dev->usbDev.HwSetting; usb_GetPauseLimit() local
1156 HWDef *hw = &dev->usbDev.HwSetting; usb_SetScanParameters() local
1332 HWDef *hw = &dev->usbDev.HwSetting; usb_ScanBegin() local
1580 HWDef *hw = &dev->usbDev.HwSetting; usb_SaveImageInfo() local
[all...]
H A Depsonds-cmd.c206 if (s->hw->connection == SANE_EPSONDS_NET) { in esci2_cmd()
360 free(s->hw->model); in info_cb()
361 s->hw->model = decode_string(value, len); in info_cb()
362 s->hw->sane.model = s->hw->model; in info_cb()
363 DBG(1, " product: %s\n", s->hw->model); in info_cb()
380 s->hw->has_adf = 1; in info_cb()
394 s->hw->adf_singlepass = 1; in info_cb()
399 s->hw->adf_singlepass = 0; in info_cb()
412 s->hw in info_cb()
[all...]
H A Depson2.c362 if (s->hw->connection == SANE_EPSON_NET) { in close_scanner()
365 } else if (s->hw->connection == SANE_EPSON_SCSI) { in close_scanner()
367 } else if (s->hw->connection == SANE_EPSON_PIO) { in close_scanner()
369 } else if (s->hw->connection == SANE_EPSON_USB) { in close_scanner()
438 DBG(7, "%s: %s\n", __func__, s->hw->sane.name); in open_scanner()
445 if (s->hw->connection == SANE_EPSON_NET) { in open_scanner()
449 status = sanei_tcp_open(&s->hw->sane.name[4], 1865, &s->fd); in open_scanner()
477 DBG(1, "%s cannot lock scanner: %s\n", s->hw->sane.name, in open_scanner()
489 } else if (s->hw->connection == SANE_EPSON_SCSI) in open_scanner()
490 status = sanei_scsi_open(s->hw in open_scanner()
[all...]
/third_party/alsa-utils/alsaloop/
H A Dtest.sh11 $DBG ./alsaloop -C hw:1,0 -P plughw:0,0 \
25 -C hw:1,0,0 -P hw:0,0,0 --tlatency 50000 --thread 1 \
30 -C hw:1,0,1 -P hw:0,1,0 --tlatency 50000 --thread 2
39 -C hw:1,0,0 -P plug:dmix:0 --tlatency $LATENCY --thread 0 \
44 -C hw:1,0,1 -P plug:dmix:0 --tlatency $LATENCY --thread 1
45 -C hw:1,0,2 -P plug:dmix:0 --tlatency $LATENCY --thread 2
46 -C hw:1,0,3 -P plug:dmix:0 --tlatency $LATENCY --thread 3
47 -C hw
[all...]
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
H A Dnvfx_fragprog.c93 uint32_t *hw = &fp->insn[fpc->inst_offset]; in emit_src() local
99 hw[0] |= (src.reg.index << NVFX_FP_OP_INPUT_SRC_SHIFT); in emit_src()
111 hw = &fp->insn[fpc->inst_offset]; in emit_src()
124 hw = &fp->insn[fpc->inst_offset]; in emit_src()
152 hw[1] |= (1 << (29 + pos)); in emit_src()
159 hw[pos + 1] |= sr; in emit_src()
166 uint32_t *hw = &fp->insn[fpc->inst_offset]; in emit_dst() local
173 hw[0] |= NVFX_FP_OP_OUT_REG_HALF; in emit_dst()
182 hw[0] |= (1 << 30); in emit_dst()
188 hw[ in emit_dst()
195 uint32_t *hw; nvfx_fp_emit() local
245 uint32_t *hw; nv40_fp_if() local
272 uint32_t *hw; nv40_fp_cal() local
291 uint32_t *hw; nv40_fp_ret() local
308 uint32_t *hw; nv40_fp_rep() local
362 uint32_t *hw; nv40_fp_brk() local
771 uint32_t *hw; nvfx_fragprog_parse_instruction() local
782 uint32_t *hw; nvfx_fragprog_parse_instruction() local
862 unsigned hw; nvfx_fragprog_parse_decl_input() local
903 unsigned hw; nvfx_fragprog_assign_generic() local
938 unsigned hw; nvfx_fragprog_parse_decl_output() local
[all...]
H A Dnvfx_vertprog.c121 emit_src(struct nvfx_vpc *vpc, uint32_t *hw, in emit_src() argument
137 hw[1] |= (src.reg.index << NVFX_VP(INST_INPUT_SRC_SHIFT)); in emit_src()
147 hw[1] |= (src.reg.index << NVFX_VP(INST_CONST_SRC_SHIFT)) & in emit_src()
163 hw[0] |= (1 << (21 + pos)); in emit_src()
172 hw[3] |= NVFX_VP(INST_INDEX_CONST); in emit_src()
174 hw[0] |= NVFX_VP(INST_INDEX_INPUT); in emit_src()
179 hw[0] |= NVFX_VP(INST_ADDR_REG_SELECT_1); in emit_src()
180 hw[0] |= src.indirect_swz << NVFX_VP(INST_ADDR_SWZ_SHIFT); in emit_src()
185 hw[1] |= ((sr & NVFX_VP(SRC0_HIGH_MASK)) >> in emit_src()
187 hw[ in emit_src()
205 emit_dst(struct nvfx_vpc *vpc, uint32_t *hw, int slot, struct nvfx_reg dst) emit_dst() argument
300 uint32_t *hw; nvfx_vp_emit() local
805 int hw = 0, i; nvfx_vertprog_parse_decl_output() local
[all...]
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_state_framebuffer.c58 struct pipe_framebuffer_state *hw = &svga->state.hw_clear.framebuffer; in emit_fb_vgpu9() local
71 if ((curr->cbufs[i] != hw->cbufs[i]) || (reemit && hw->cbufs[i])) { in emit_fb_vgpu9()
76 if (hw->cbufs[i] && svga_surface_needs_propagation(hw->cbufs[i])) in emit_fb_vgpu9()
77 svga_propagate_surface(svga, hw->cbufs[i], TRUE); in emit_fb_vgpu9()
84 pipe_surface_reference(&hw->cbufs[i], curr->cbufs[i]); in emit_fb_vgpu9()
94 if ((curr->zsbuf != hw->zsbuf) || (reemit && hw->zsbuf)) { in emit_fb_vgpu9()
100 if (hw in emit_fb_vgpu9()
141 struct pipe_framebuffer_state *hw = &svga->state.hw_clear.framebuffer; svga_reemit_framebuffer_bindings_vgpu9() local
190 struct pipe_framebuffer_state *hw = &svga->state.hw_clear.framebuffer; emit_fb_vgpu10() local
351 struct svga_hw_clear_state *hw = &svga->state.hw_clear; svga_rebind_framebuffer_bindings() local
[all...]
/third_party/musl/src/string/
H A Dmemmem.c7 uint16_t nw = n[0]<<8 | n[1], hw = h[0]<<8 | h[1]; in twobyte_memmem() local
8 for (h+=2, k-=2; k; k--, hw = hw<<8 | *h++) in twobyte_memmem()
9 if (hw == nw) return (char *)h-2; in twobyte_memmem()
10 return hw == nw ? (char *)h-2 : 0; in twobyte_memmem()
16 uint32_t hw = (uint32_t)h[0]<<24 | h[1]<<16 | h[2]<<8; in threebyte_memmem() local
17 for (h+=3, k-=3; k; k--, hw = (hw|*h++)<<8) in threebyte_memmem()
18 if (hw == nw) return (char *)h-3; in threebyte_memmem()
19 return hw in threebyte_memmem()
25 uint32_t hw = (uint32_t)h[0]<<24 | h[1]<<16 | h[2]<<8 | h[3]; fourbyte_memmem() local
[all...]
H A Dstrstr.c6 uint16_t nw = n[0]<<8 | n[1], hw = h[0]<<8 | h[1]; in twobyte_strstr() local
7 for (h++; *h && hw != nw; hw = hw<<8 | *++h); in twobyte_strstr()
14 uint32_t hw = (uint32_t)h[0]<<24 | h[1]<<16 | h[2]<<8; in threebyte_strstr() local
15 for (h+=2; *h && hw != nw; hw = (hw|*++h)<<8); in threebyte_strstr()
22 uint32_t hw = (uint32_t)h[0]<<24 | h[1]<<16 | h[2]<<8 | h[3]; in fourbyte_strstr() local
23 for (h+=3; *h && hw ! in fourbyte_strstr()
[all...]
/third_party/musl/porting/uniproton/kernel/src/string/
H A Dstrstr.c6 uint16_t nw = n[0]<<8 | n[1], hw = h[0]<<8 | h[1]; in twobyte_strstr() local
7 for (h++; *h && hw != nw; hw = hw<<8 | *++h); in twobyte_strstr()
14 uint32_t hw = h[0]<<24 | h[1]<<16 | h[2]<<8; in threebyte_strstr() local
15 for (h+=2; *h && hw != nw; hw = (hw|*++h)<<8); in threebyte_strstr()
22 uint32_t hw = h[0]<<24 | h[1]<<16 | h[2]<<8 | h[3]; in fourbyte_strstr() local
23 for (h+=3; *h && hw ! in fourbyte_strstr()
[all...]
/third_party/musl/porting/liteos_a/kernel/src/string/
H A Dstrstr.c6 uint16_t nw = n[0]<<8 | n[1], hw = h[0]<<8 | h[1]; in twobyte_strstr() local
7 for (h++; *h && hw != nw; hw = hw<<8 | *++h); in twobyte_strstr()
14 uint32_t hw = (uint32_t)h[0]<<24 | h[1]<<16 | h[2]<<8; in threebyte_strstr() local
15 for (h+=2; *h && hw != nw; hw = (hw|*++h)<<8); in threebyte_strstr()
22 uint32_t hw = (uint32_t)h[0]<<24 | h[1]<<16 | h[2]<<8 | h[3]; in fourbyte_strstr() local
23 for (h+=3; *h && hw ! in fourbyte_strstr()
[all...]
/third_party/musl/porting/liteos_m/kernel/src/string/
H A Dstrstr.c6 uint16_t nw = n[0]<<8 | n[1], hw = h[0]<<8 | h[1]; in twobyte_strstr() local
7 for (h++; *h && hw != nw; hw = hw<<8 | *++h); in twobyte_strstr()
14 uint32_t hw = h[0]<<24 | h[1]<<16 | h[2]<<8; in threebyte_strstr() local
15 for (h+=2; *h && hw != nw; hw = (hw|*++h)<<8); in threebyte_strstr()
22 uint32_t hw = h[0]<<24 | h[1]<<16 | h[2]<<8 | h[3]; in fourbyte_strstr() local
23 for (h+=3; *h && hw ! in fourbyte_strstr()
[all...]
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/
H A Dcipher_chacha20_poly1305.c167 PROV_CIPHER_HW_CHACHA20_POLY1305 *hw = in chacha20_poly1305_set_ctx_params() local
168 (PROV_CIPHER_HW_CHACHA20_POLY1305 *)ctx->base.hw; in chacha20_poly1305_set_ctx_params()
222 len = hw->tls_init(&ctx->base, p->data, p->data_size); in chacha20_poly1305_set_ctx_params()
236 if (hw->tls_iv_set_fixed(&ctx->base, p->data, p->data_size) == 0) { in chacha20_poly1305_set_ctx_params()
255 PROV_CIPHER_HW_CHACHA20_POLY1305 *hw = in chacha20_poly1305_einit() local
256 (PROV_CIPHER_HW_CHACHA20_POLY1305 *)ctx->hw; in chacha20_poly1305_einit()
258 hw->initiv(ctx); in chacha20_poly1305_einit()
275 PROV_CIPHER_HW_CHACHA20_POLY1305 *hw = in chacha20_poly1305_dinit() local
276 (PROV_CIPHER_HW_CHACHA20_POLY1305 *)ctx->hw; in chacha20_poly1305_dinit()
278 hw in chacha20_poly1305_dinit()
290 PROV_CIPHER_HW_CHACHA20_POLY1305 *hw = chacha20_poly1305_cipher() local
316 PROV_CIPHER_HW_CHACHA20_POLY1305 *hw = chacha20_poly1305_final() local
[all...]
/third_party/openssl/providers/implementations/ciphers/
H A Dcipher_chacha20_poly1305.c147 PROV_CIPHER_HW_CHACHA20_POLY1305 *hw = in chacha20_poly1305_set_ctx_params() local
148 (PROV_CIPHER_HW_CHACHA20_POLY1305 *)ctx->base.hw; in chacha20_poly1305_set_ctx_params()
202 len = hw->tls_init(&ctx->base, p->data, p->data_size); in chacha20_poly1305_set_ctx_params()
216 if (hw->tls_iv_set_fixed(&ctx->base, p->data, p->data_size) == 0) { in chacha20_poly1305_set_ctx_params()
235 PROV_CIPHER_HW_CHACHA20_POLY1305 *hw = in chacha20_poly1305_einit() local
236 (PROV_CIPHER_HW_CHACHA20_POLY1305 *)ctx->hw; in chacha20_poly1305_einit()
238 hw->initiv(ctx); in chacha20_poly1305_einit()
255 PROV_CIPHER_HW_CHACHA20_POLY1305 *hw = in chacha20_poly1305_dinit() local
256 (PROV_CIPHER_HW_CHACHA20_POLY1305 *)ctx->hw; in chacha20_poly1305_dinit()
258 hw in chacha20_poly1305_dinit()
270 PROV_CIPHER_HW_CHACHA20_POLY1305 *hw = chacha20_poly1305_cipher() local
296 PROV_CIPHER_HW_CHACHA20_POLY1305 *hw = chacha20_poly1305_final() local
[all...]

Completed in 18 milliseconds

1234567891011