Home
last modified time | relevance | path

Searched refs:wch (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/isdn/hardware/mISDN/
H A Dw6692.c445 W6692_empty_Bfifo(struct w6692_ch *wch, int count) in W6692_empty_Bfifo() argument
447 struct w6692_hw *card = wch->bch.hw; in W6692_empty_Bfifo()
452 if (unlikely(wch->bch.state == ISDN_P_NONE)) { in W6692_empty_Bfifo()
454 WriteW6692B(wch, W_B_CMDR, W_B_CMDR_RACK | W_B_CMDR_RACT); in W6692_empty_Bfifo()
455 if (wch->bch.rx_skb) in W6692_empty_Bfifo()
456 skb_trim(wch->bch.rx_skb, 0); in W6692_empty_Bfifo()
459 if (test_bit(FLG_RX_OFF, &wch->bch.Flags)) { in W6692_empty_Bfifo()
460 wch->bch.dropcnt += count; in W6692_empty_Bfifo()
461 WriteW6692B(wch, W_B_CMDR, W_B_CMDR_RACK | W_B_CMDR_RACT); in W6692_empty_Bfifo()
464 maxlen = bchannel_get_rxbuf(&wch->bch, count); in W6692_empty_Bfifo()
[all …]
/openbmc/qemu/ui/
H A Dcurses.c73 wchar_t wch[CCHARW_MAX]; in curses_update() local
85 ret = getcchar(&vga_to_curses[ch], wch, &attrs, &colors, NULL); in curses_update()
86 if (ret == ERR || wch[0] == 0) { in curses_update()
87 wch[0] = ch; in curses_update()
88 wch[1] = 0; in curses_update()
90 setcchar(&curses_line[x], wch, at, color_pair, NULL); in curses_update()
432 wchar_t wch[2]; in convert_ucs() local
450 if (mbrtowc(&wch[0], mbch, sizeof(mbch) - smbch, &ps) == -1) { in convert_ucs()
457 wch[1] = 0; in convert_ucs()
458 setcchar(&vga_to_curses[fch], wch, 0, 0, NULL); in convert_ucs()
[all …]
/openbmc/linux/drivers/s390/net/
H A Dctcm_fsms.c1749 struct channel *wch = priv->channel[CTCM_WRITE]; in ctcmpc_chx_send_sweep() local
1763 __func__, wch->th_seq_num); in ctcmpc_chx_send_sweep()
1767 if (fsm_getstate(wch->fsm) != CTC_STATE_TXIDLE) { in ctcmpc_chx_send_sweep()
1769 fsm_addtimer(&wch->sweep_timer, in ctcmpc_chx_send_sweep()
1770 200, CTC_EVENT_RSWEEP_TIMER, wch); in ctcmpc_chx_send_sweep()
1774 skb = skb_dequeue(&wch->sweep_queue); in ctcmpc_chx_send_sweep()
1778 if (set_normalized_cda(&wch->ccw[4], skb->data)) { in ctcmpc_chx_send_sweep()
1786 skb_queue_tail(&wch->io_queue, skb); in ctcmpc_chx_send_sweep()
1790 wch->ccw[4].count = skb->len; in ctcmpc_chx_send_sweep()
1802 header->sw.th_last_seq = wch->th_seq_num; in ctcmpc_chx_send_sweep()
[all …]
H A Dctcm_mpc.c405 struct channel *rch, *wch; in ctc_mpc_establish_connectivity() local
413 wch = priv->channel[CTCM_WRITE]; in ctc_mpc_establish_connectivity()
460 (fsm_getstate(wch->fsm) > CH_XID0_PENDING)) { in ctc_mpc_establish_connectivity()
488 if ((wch->in_mpcgroup) && in ctc_mpc_establish_connectivity()
489 (fsm_getstate(wch->fsm) == CH_XID0_PENDING)) in ctc_mpc_establish_connectivity()
490 fsm_event(grp->fsm, MPCG_EVENT_XID0DO, wch); in ctc_mpc_establish_connectivity()
494 CTCM_FUNTAIL, dev->name, wch->id); in ctc_mpc_establish_connectivity()
1342 struct channel *wch; in mpc_action_go_inop() local
1365 wch = priv->channel[CTCM_WRITE]; in mpc_action_go_inop()
1383 tasklet_hi_schedule(&wch->ch_disc_tasklet); in mpc_action_go_inop()
[all …]
/openbmc/linux/drivers/accessibility/speakup/
H A Dmain.c1956 u16 wch; in handle_goto() local
1965 u16 wch; in handle_goto() local
1969 wch = goto_buf[--num]; in handle_goto()
1971 spkup_write(&wch, 1); in handle_goto()
1976 wch = ch; in handle_goto()
1979 spkup_write(&wch, 1); in handle_goto()
/openbmc/qemu/
H A Dmeson.build1442 wchar_t wch = L'w';
1446 addnwstr(&wch, 1);