/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/input/touchscreen/ |
H A D | wm97xx-core.c | 140 wm->codec->aux_prepare(wm); in wm97xx_read_aux_adc() 151 wm->codec->dig_restore(wm); in wm97xx_read_aux_adc() 159 wm->codec->dig_enable(wm, false); in wm97xx_read_aux_adc() 344 wm->mach_ops->acc_pen_up(wm); in wm97xx_pen_irq_worker() 508 wm->codec->acc_enable(wm, 1); in wm97xx_ts_input_open() 509 wm->codec->dig_enable(wm, 1); in wm97xx_ts_input_open() 558 free_irq(wm->pen_irq, wm); in wm97xx_ts_input_close() 575 wm->codec->dig_enable(wm, 0); in wm97xx_ts_input_close() 577 wm->codec->acc_enable(wm, 0); in wm97xx_ts_input_close() 651 dev_set_drvdata(wm->dev, wm); in _wm97xx_probe() [all …]
|
H A D | wm9713.c | 206 wm->misc = wm97xx_reg_read(wm, 0x5a); in wm9713_phy_init() 221 wm97xx_reg_write(wm, AC97_WM9713_DIG3, wm->dig[2] | in wm9713_dig_enable() 225 wm97xx_reg_write(wm, AC97_WM9713_DIG3, wm->dig[2] & in wm9713_dig_enable() 241 memcpy(wm->dig_save, wm->dig, sizeof(wm->dig)); in wm9713_aux_prepare() 274 if (wm->mach_ops && wm->mach_ops->pre_sample) in wm9713_poll_sample() 298 if (wm->mach_ops && wm->mach_ops->post_sample) in wm9713_poll_sample() 338 if (wm->mach_ops && wm->mach_ops->pre_sample) in wm9713_poll_coord() 369 if (wm->mach_ops && wm->mach_ops->post_sample) in wm9713_poll_coord() 432 (ret = wm->mach_ops->acc_startup(wm)) < 0) in wm9713_acc_enable() 443 WM97XX_SLT(wm->acc_slot) | WM97XX_RATE(wm->acc_rate); in wm9713_acc_enable() [all …]
|
H A D | wm9712.c | 179 dev_dbg(wm->dev, in wm9712_phy_init() 182 dev_dbg(wm->dev, in wm9712_phy_init() 231 memcpy(wm->dig_save, wm->dig, sizeof(wm->dig)); in wm9712_aux_prepare() 238 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER1, wm->dig_save[1]); in wm9712_dig_restore() 239 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER2, wm->dig_save[2]); in wm9712_dig_restore() 263 if (wm->mach_ops && wm->mach_ops->pre_sample) in wm9712_poll_sample() 288 if (wm->mach_ops && wm->mach_ops->post_sample) in wm9712_poll_sample() 326 if (wm->mach_ops && wm->mach_ops->pre_sample) in wm9712_poll_coord() 358 if (wm->mach_ops && wm->mach_ops->post_sample) in wm9712_poll_coord() 424 ret = wm->mach_ops->acc_startup(wm); in wm9712_acc_enable() [all …]
|
H A D | wm9705.c | 147 dev_dbg(wm->dev, in wm9705_phy_init() 150 dev_dbg(wm->dev, in wm9705_phy_init() 191 memcpy(wm->dig_save, wm->dig, sizeof(wm->dig)); in wm9705_aux_prepare() 198 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER1, wm->dig_save[1]); in wm9705_dig_restore() 199 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER2, wm->dig_save[2]); in wm9705_dig_restore() 223 if (wm->mach_ops && wm->mach_ops->pre_sample) in wm9705_poll_sample() 240 if (is_pden(wm)) in wm9705_poll_sample() 248 if (wm->mach_ops && wm->mach_ops->post_sample) in wm9705_poll_sample() 299 dig1 = wm->dig[1]; in wm9705_acc_enable() 305 (ret = wm->mach_ops->acc_startup(wm)) < 0) in wm9705_acc_enable() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/input/touchscreen/ |
H A D | wm97xx-core.c | 140 wm->codec->aux_prepare(wm); in wm97xx_read_aux_adc() 151 wm->codec->dig_restore(wm); in wm97xx_read_aux_adc() 159 wm->codec->dig_enable(wm, false); in wm97xx_read_aux_adc() 344 wm->mach_ops->acc_pen_up(wm); in wm97xx_pen_irq_worker() 508 wm->codec->acc_enable(wm, 1); in wm97xx_ts_input_open() 509 wm->codec->dig_enable(wm, 1); in wm97xx_ts_input_open() 558 free_irq(wm->pen_irq, wm); in wm97xx_ts_input_close() 575 wm->codec->dig_enable(wm, 0); in wm97xx_ts_input_close() 577 wm->codec->acc_enable(wm, 0); in wm97xx_ts_input_close() 651 dev_set_drvdata(wm->dev, wm); in _wm97xx_probe() [all …]
|
H A D | wm9713.c | 206 wm->misc = wm97xx_reg_read(wm, 0x5a); in wm9713_phy_init() 221 wm97xx_reg_write(wm, AC97_WM9713_DIG3, wm->dig[2] | in wm9713_dig_enable() 225 wm97xx_reg_write(wm, AC97_WM9713_DIG3, wm->dig[2] & in wm9713_dig_enable() 241 memcpy(wm->dig_save, wm->dig, sizeof(wm->dig)); in wm9713_aux_prepare() 274 if (wm->mach_ops && wm->mach_ops->pre_sample) in wm9713_poll_sample() 298 if (wm->mach_ops && wm->mach_ops->post_sample) in wm9713_poll_sample() 338 if (wm->mach_ops && wm->mach_ops->pre_sample) in wm9713_poll_coord() 369 if (wm->mach_ops && wm->mach_ops->post_sample) in wm9713_poll_coord() 432 (ret = wm->mach_ops->acc_startup(wm)) < 0) in wm9713_acc_enable() 443 WM97XX_SLT(wm->acc_slot) | WM97XX_RATE(wm->acc_rate); in wm9713_acc_enable() [all …]
|
H A D | wm9712.c | 179 dev_dbg(wm->dev, in wm9712_phy_init() 182 dev_dbg(wm->dev, in wm9712_phy_init() 231 memcpy(wm->dig_save, wm->dig, sizeof(wm->dig)); in wm9712_aux_prepare() 238 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER1, wm->dig_save[1]); in wm9712_dig_restore() 239 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER2, wm->dig_save[2]); in wm9712_dig_restore() 263 if (wm->mach_ops && wm->mach_ops->pre_sample) in wm9712_poll_sample() 288 if (wm->mach_ops && wm->mach_ops->post_sample) in wm9712_poll_sample() 326 if (wm->mach_ops && wm->mach_ops->pre_sample) in wm9712_poll_coord() 358 if (wm->mach_ops && wm->mach_ops->post_sample) in wm9712_poll_coord() 424 ret = wm->mach_ops->acc_startup(wm); in wm9712_acc_enable() [all …]
|
H A D | wm9705.c | 147 dev_dbg(wm->dev, in wm9705_phy_init() 150 dev_dbg(wm->dev, in wm9705_phy_init() 191 memcpy(wm->dig_save, wm->dig, sizeof(wm->dig)); in wm9705_aux_prepare() 198 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER1, wm->dig_save[1]); in wm9705_dig_restore() 199 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER2, wm->dig_save[2]); in wm9705_dig_restore() 223 if (wm->mach_ops && wm->mach_ops->pre_sample) in wm9705_poll_sample() 240 if (is_pden(wm)) in wm9705_poll_sample() 248 if (wm->mach_ops && wm->mach_ops->post_sample) in wm9705_poll_sample() 299 dig1 = wm->dig[1]; in wm9705_acc_enable() 305 (ret = wm->mach_ops->acc_startup(wm)) < 0) in wm9705_acc_enable() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/input/touchscreen/ |
H A D | wm97xx-core.c | 140 wm->codec->aux_prepare(wm); in wm97xx_read_aux_adc() 151 wm->codec->dig_restore(wm); in wm97xx_read_aux_adc() 159 wm->codec->dig_enable(wm, false); in wm97xx_read_aux_adc() 344 wm->mach_ops->acc_pen_up(wm); in wm97xx_pen_irq_worker() 508 wm->codec->acc_enable(wm, 1); in wm97xx_ts_input_open() 509 wm->codec->dig_enable(wm, 1); in wm97xx_ts_input_open() 558 free_irq(wm->pen_irq, wm); in wm97xx_ts_input_close() 575 wm->codec->dig_enable(wm, 0); in wm97xx_ts_input_close() 577 wm->codec->acc_enable(wm, 0); in wm97xx_ts_input_close() 651 dev_set_drvdata(wm->dev, wm); in _wm97xx_probe() [all …]
|
H A D | wm9713.c | 206 wm->misc = wm97xx_reg_read(wm, 0x5a); in wm9713_phy_init() 221 wm97xx_reg_write(wm, AC97_WM9713_DIG3, wm->dig[2] | in wm9713_dig_enable() 225 wm97xx_reg_write(wm, AC97_WM9713_DIG3, wm->dig[2] & in wm9713_dig_enable() 241 memcpy(wm->dig_save, wm->dig, sizeof(wm->dig)); in wm9713_aux_prepare() 274 if (wm->mach_ops && wm->mach_ops->pre_sample) in wm9713_poll_sample() 298 if (wm->mach_ops && wm->mach_ops->post_sample) in wm9713_poll_sample() 338 if (wm->mach_ops && wm->mach_ops->pre_sample) in wm9713_poll_coord() 369 if (wm->mach_ops && wm->mach_ops->post_sample) in wm9713_poll_coord() 432 (ret = wm->mach_ops->acc_startup(wm)) < 0) in wm9713_acc_enable() 443 WM97XX_SLT(wm->acc_slot) | WM97XX_RATE(wm->acc_rate); in wm9713_acc_enable() [all …]
|
H A D | wm9712.c | 179 dev_dbg(wm->dev, in wm9712_phy_init() 182 dev_dbg(wm->dev, in wm9712_phy_init() 231 memcpy(wm->dig_save, wm->dig, sizeof(wm->dig)); in wm9712_aux_prepare() 238 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER1, wm->dig_save[1]); in wm9712_dig_restore() 239 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER2, wm->dig_save[2]); in wm9712_dig_restore() 263 if (wm->mach_ops && wm->mach_ops->pre_sample) in wm9712_poll_sample() 288 if (wm->mach_ops && wm->mach_ops->post_sample) in wm9712_poll_sample() 326 if (wm->mach_ops && wm->mach_ops->pre_sample) in wm9712_poll_coord() 358 if (wm->mach_ops && wm->mach_ops->post_sample) in wm9712_poll_coord() 424 ret = wm->mach_ops->acc_startup(wm); in wm9712_acc_enable() [all …]
|
H A D | wm9705.c | 147 dev_dbg(wm->dev, in wm9705_phy_init() 150 dev_dbg(wm->dev, in wm9705_phy_init() 191 memcpy(wm->dig_save, wm->dig, sizeof(wm->dig)); in wm9705_aux_prepare() 198 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER1, wm->dig_save[1]); in wm9705_dig_restore() 199 wm97xx_reg_write(wm, AC97_WM97XX_DIGITISER2, wm->dig_save[2]); in wm9705_dig_restore() 223 if (wm->mach_ops && wm->mach_ops->pre_sample) in wm9705_poll_sample() 240 if (is_pden(wm)) in wm9705_poll_sample() 248 if (wm->mach_ops && wm->mach_ops->post_sample) in wm9705_poll_sample() 299 dig1 = wm->dig[1]; in wm9705_acc_enable() 305 (ret = wm->mach_ops->acc_startup(wm)) < 0) in wm9705_acc_enable() [all …]
|
/dports/multimedia/kodi/xbmc-19.3-Matrix/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/ |
H A D | events.c | 164 propagate_event(wm[i], wm[i]->event_buf[1], wm[i]->event_buf+2); in wiiuse_poll() 183 propagate_event(wm[i], wm[i]->event_buf[0], wm[i]->event_buf+1); in wiiuse_poll() 275 calculate_gforce(&wm->accel_calib, &wm->accel, &wm->gforce); in propagate_event() 313 calculate_gforce(&wm->accel_calib, &wm->accel, &wm->gforce); in propagate_event() 329 calculate_gforce(&wm->accel_calib, &wm->accel, &wm->gforce); in propagate_event() 357 calculate_gforce(&wm->accel_calib, &wm->accel, &wm->gforce); in propagate_event() 400 wm->btns_released = ((wm->btns | wm->btns_held) & ~now); in wiiuse_pressed_buttons() 738 wm->lstate.btns = wm->btns; in save_state() 739 wm->lstate.accel = wm->accel; in save_state() 743 wm->lstate.ir_ax = wm->ir.ax; in save_state() [all …]
|
H A D | wiiuse.c | 68 if (!wm) in wiiuse_cleanup() 78 free(wm); in wiiuse_cleanup() 135 wm[i]->timeout = wm[i]->normal_timeout; in wiiuse_init() 201 if (!wm || !WIIMOTE_IS_CONNECTED(wm)) in wiiuse_rumble() 247 if (!wm || !WIIMOTE_IS_CONNECTED(wm)) in wiiuse_set_leds() 299 if (!wm || !WIIMOTE_IS_CONNECTED(wm)) in wiiuse_set_report_type() 352 if (!wm || !WIIMOTE_IS_CONNECTED(wm)) in wiiuse_read_data_cb() 407 if (!wm || !WIIMOTE_IS_CONNECTED(wm)) in wiiuse_read_data() 456 if (!wm || !WIIMOTE_IS_CONNECTED(wm)) in wiiuse_send_next_pending_read_request() 488 if (!wm || !WIIMOTE_IS_CONNECTED(wm)) in wiiuse_status() [all …]
|
H A D | ir.c | 67 if (!wm) in wiiuse_set_ir() 259 wiiuse_set_ir_position(wm, wm->ir.pos); in wiiuse_set_aspect_ratio() 429 wm->ir.ax = wm->ir.x; in interpret_ir_data() 430 wm->ir.ay = wm->ir.y; in interpret_ir_data() 435 ir_convert_to_vres(&wm->ir.x, &wm->ir.y, wm->ir.aspect, wm->ir.vres[0], wm->ir.vres[1]); in interpret_ir_data() 462 wm->orient.yaw = calc_yaw(&wm->ir); in interpret_ir_data() 465 ir_convert_to_vres(&x, &y, wm->ir.aspect, wm->ir.vres[0], wm->ir.vres[1]); in interpret_ir_data() 498 wm->ir.z = 1023 - wm->ir.distance; in interpret_ir_data() 504 wm->orient.yaw = calc_yaw(&wm->ir); in interpret_ir_data() 506 if (ir_correct_for_bounds(&x, &y, wm->ir.aspect, wm->ir.offset[0], wm->ir.offset[1])) { in interpret_ir_data() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/weston/src/xwayland/ |
H A D | selection.c | 130 dump_property(fp, wm, wm->atom.wl_selection, reply); in weston_wm_get_incr_chunk() 163 struct weston_wm *wm = source->wm; in data_source_send() local 215 dump_property(fp, wm, wm->atom.wl_selection, reply); in weston_wm_get_selection_targets() 236 source->wm = wm; in weston_wm_get_selection_targets() 276 dump_property(fp, wm, wm->atom.wl_selection, reply); in weston_wm_get_selection_data() 511 wm); in weston_wm_send_data() 609 weston_wm_send_data(wm, wm->atom.utf8_string, in weston_wm_handle_selection_request() 634 if (wm->selection_owner != wm->selection_window) { in weston_wm_handle_xfixes_selection_notify() 659 xcb_convert_selection(wm->conn, wm->selection_window, in weston_wm_handle_xfixes_selection_notify() 702 if (wm->selection_owner == wm->selection_window) in weston_wm_set_selection() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/weston/src/xwayland/ |
H A D | selection.c | 130 dump_property(fp, wm, wm->atom.wl_selection, reply); in weston_wm_get_incr_chunk() 163 struct weston_wm *wm = source->wm; in data_source_send() local 215 dump_property(fp, wm, wm->atom.wl_selection, reply); in weston_wm_get_selection_targets() 236 source->wm = wm; in weston_wm_get_selection_targets() 276 dump_property(fp, wm, wm->atom.wl_selection, reply); in weston_wm_get_selection_data() 511 wm); in weston_wm_send_data() 609 weston_wm_send_data(wm, wm->atom.utf8_string, in weston_wm_handle_selection_request() 634 if (wm->selection_owner != wm->selection_window) { in weston_wm_handle_xfixes_selection_notify() 659 xcb_convert_selection(wm->conn, wm->selection_window, in weston_wm_handle_xfixes_selection_notify() 702 if (wm->selection_owner == wm->selection_window) in weston_wm_set_selection() [all …]
|
/dports/graphics/weston/weston-1.9.0/xwayland/ |
H A D | selection.c | 117 dump_property(wm, wm->atom.wl_selection, reply); in weston_wm_get_incr_chunk() 146 struct weston_wm *wm = source->wm; in data_source_send() local 193 dump_property(wm, wm->atom.wl_selection, reply); in weston_wm_get_selection_targets() 210 source->wm = wm; in weston_wm_get_selection_targets() 245 dump_property(wm, wm->atom.wl_selection, reply); in weston_wm_get_selection_data() 469 wm); in weston_wm_send_data() 567 weston_wm_send_data(wm, wm->atom.utf8_string, in weston_wm_handle_selection_request() 592 if (wm->selection_owner != wm->selection_window) { in weston_wm_handle_xfixes_selection_notify() 617 xcb_convert_selection(wm->conn, wm->selection_window, in weston_wm_handle_xfixes_selection_notify() 662 if (wm->selection_owner == wm->selection_window) in weston_wm_set_selection() [all …]
|
/dports/games/retroarch/RetroArch-1.9.7/wii/libogc/wiiuse/ |
H A D | events.c | 244 …calculate_orientation(&wm->accel_calib, &wm->accel, &wm->orient, WIIMOTE_IS_FLAG_SET(wm, WIIUSE_SM… in parse_event() 247 calculate_gforce(&wm->accel_calib, &wm->accel, &wm->gforce); in parse_event() 258 …calculate_orientation(&wm->accel_calib, &wm->accel, &wm->orient, WIIMOTE_IS_FLAG_SET(wm, WIIUSE_SM… in parse_event() 261 calculate_gforce(&wm->accel_calib, &wm->accel, &wm->gforce); in parse_event() 277 …calculate_orientation(&wm->accel_calib, &wm->accel, &wm->orient, WIIMOTE_IS_FLAG_SET(wm, WIIUSE_SM… in parse_event() 278 calculate_gforce(&wm->accel_calib, &wm->accel, &wm->gforce); in parse_event() 295 …calculate_orientation(&wm->accel_calib, &wm->accel, &wm->orient, WIIMOTE_IS_FLAG_SET(wm, WIIUSE_SM… in parse_event() 296 calculate_gforce(&wm->accel_calib, &wm->accel, &wm->gforce); in parse_event() 325 wm->btns_last = wm->btns; in wiiuse_pressed_buttons() 328 wm->btns_held = (now & wm->btns); in wiiuse_pressed_buttons() [all …]
|
H A D | io_wii.c | 40 struct wiimote_t *wm = wml->wm; in __wiiuse_disconnected() local 53 __lwp_queue_append(&wm->cmdq,&wm->cmd_head->node); in __wiiuse_disconnected() 54 wm->cmd_head = wm->cmd_head->next; in __wiiuse_disconnected() 58 if(wm->event_cb) wm->event_cb(wm,WIIUSE_DISCONNECT); in __wiiuse_disconnected() 60 wml->wm = NULL; in __wiiuse_disconnected() 67 struct wiimote_t *wm = wml->wm; in __wiiuse_receive() local 79 if(wm->event_cb) wm->event_cb(wm,wm->event); in __wiiuse_receive() 92 if(!wm) { in __wiiuse_connected() 97 wml->wm = wm; in __wiiuse_connected() 147 if(wm==NULL || wm->sock==NULL) return; in wiiuse_disconnect() [all …]
|
H A D | io.c | 21 wm->handshake_state++; in wiiuse_handshake() 28 wm->handshake_state++; in wiiuse_handshake() 44 wm->handshake_state++; in wiiuse_handshake() 62 wiiuse_status(wm,NULL); in wiiuse_handshake() 67 …if(WIIMOTE_IS_SET(wm,WIIMOTE_STATE_EXP) || WIIMOTE_IS_SET(wm,WIIMOTE_STATE_EXP_FAILED) || WIIMOTE_… in wiiuse_handshake_expansion_start() 70 wm->expansion_state = 0; in wiiuse_handshake_expansion_start() 104 if(!nunchuk_handshake(wm,&wm->exp.nunchuk,data,len)) return; in wiiuse_handshake_expansion() 116 if(!classic_ctrl_handshake(wm,&wm->exp.classic,data,len)) return; in wiiuse_handshake_expansion() 119 if(!classic_ctrl_handshake(wm,&wm->exp.classic,data,len)) return; in wiiuse_handshake_expansion() 141 switch(wm->exp.type) { in wiiuse_disable_expansion() [all …]
|
/dports/x11-toolkits/tk87/tk8.7a5/tests/ |
H A D | wm.test | 18 wm deiconify . 26 wm geom .t +0+0 57 wm 61 wm foo 64 wm command 79 wm aspect 153 wm client 631 wm frame 663 wm grid 712 wm group [all …]
|
/dports/x11-toolkits/tk86/tk8.6.12/tests/ |
H A D | wm.test | 18 wm deiconify . 26 wm geom .t +0+0 57 wm 61 wm foo 64 wm command 79 wm aspect 149 wm client 627 wm frame 659 wm grid 708 wm group [all …]
|
/dports/x11-toolkits/tk85/tk8.5.19/tests/ |
H A D | wm.test | 18 wm deiconify . 52 wm 56 wm foo 59 wm command 74 wm aspect 148 wm client 626 wm frame 658 wm grid 707 wm group 1554 wm title [all …]
|
/dports/x11-wm/e16/e16-1.0.24/src/ |
H A D | windowmatch.c | 119 if (!wm) in WindowMatchDestroy() 157 if (!wm->match || !wm->op) in WindowMatchConfigLoad() 268 wm->args = Estrdupcat2(wm->args, ":", "stick"); in WindowMatchConfigLoad() 309 if (!wm) in WindowMatchDecode() 403 if (wm) in WindowMatchDecode() 430 wm->height_min, wm->height_max); in WindowMatchEncode() 434 sprintf(s, "%u-%u", wm->width_min, wm->width_max); in WindowMatchEncode() 607 (wm) ? BorderGetName(wm->border) : "???"); in WindowMatchEwinBorder() 609 if (wm) in WindowMatchEwinBorder() 622 (wm) ? wm->args : "???"); in WindowMatchEwinIcon() [all …]
|