/linux/drivers/tty/serial/jsm/ |
A D | jsm_neo.c | 134 writeb(ch->ch_startc, &ch->ch_neo_uart->xonchar1); in neo_set_ixon_flow_control() 137 writeb(ch->ch_stopc, &ch->ch_neo_uart->xoffchar1); in neo_set_ixon_flow_control() 172 writeb(ch->ch_startc, &ch->ch_neo_uart->xonchar1); in neo_set_ixoff_flow_control() 175 writeb(ch->ch_stopc, &ch->ch_neo_uart->xoffchar1); in neo_set_ixoff_flow_control() 443 ch->ch_rqueue[tail], ch->ch_equeue[tail]); in neo_copy_data_from_uart_to_queue() 454 ch->ch_rqueue[head], ch->ch_equeue[head]); in neo_copy_data_from_uart_to_queue() 484 if (!ch) in neo_copy_data_from_queue_to_uart() 610 writeb(ch->ch_mostat, &ch->ch_neo_uart->mcr); in neo_assert_modem_signals() 941 ch->ch_r_head = ch->ch_r_tail = 0; in neo_param() 942 ch->ch_e_head = ch->ch_e_tail = 0; in neo_param() [all …]
|
A D | jsm_cls.c | 114 writeb(ch->ch_startc, &ch->ch_cls_uart->mcr); in cls_set_ixon_flow_control() 116 writeb(ch->ch_stopc, &ch->ch_cls_uart->msr); in cls_set_ixon_flow_control() 240 writeb(ch->ch_startc, &ch->ch_cls_uart->mcr); in cls_set_ixoff_flow_control() 242 writeb(ch->ch_stopc, &ch->ch_cls_uart->msr); in cls_set_ixoff_flow_control() 344 if (!ch) in cls_assert_modem_signals() 347 writeb(ch->ch_mostat, &ch->ch_cls_uart->mcr); in cls_assert_modem_signals() 359 if (!ch) in cls_copy_data_from_uart_to_queue() 455 if (!ch) in cls_copy_data_from_queue_to_uart() 566 if (!ch) in cls_parse_isr() 610 if (!ch) in cls_flush_uart_write() [all …]
|
A D | jsm_tty.c | 34 mstat = (ch->ch_mostat | ch->ch_mistat); in jsm_get_mstat() 370 struct jsm_channel *ch; in jsm_tty_init() local 403 ch = brd->channels[0]; in jsm_tty_init() 419 ch->ch_bd = brd; in jsm_tty_init() 420 ch->ch_portnum = i; in jsm_tty_init() 531 bd = ch->ch_bd; in jsm_input() 564 ch->ch_r_head = tail; in jsm_input() 655 bd = ch->ch_bd; in jsm_carrier() 661 ch->ch_mistat, ch->ch_mistat & UART_MSR_DCD); in jsm_carrier() 752 if ((qleft = ch->ch_r_tail - ch->ch_r_head - 1) < 0) in jsm_check_queue_flow_control() [all …]
|
/linux/drivers/misc/sgi-xp/ |
A D | xpc_channel.c | 71 ch->number, ch->partid); in xpc_process_connect() 161 "reason=%d\n", ch->number, ch->partid, ch->reason); in xpc_process_disconnect() 212 ch->partid, ch->number); in xpc_process_openclose_chctl_flags() 286 "%d, channel=%d\n", ch->partid, ch->number); in xpc_process_openclose_chctl_flags() 321 ch->partid, ch->number); in xpc_process_openclose_chctl_flags() 412 ch->partid, ch->number); in xpc_process_openclose_chctl_flags() 421 ch->partid, ch->number); in xpc_process_openclose_chctl_flags() 685 ch->func(xpConnected, ch->partid, ch->number, in xpc_connected_callout() 766 reason, line, ch->partid, ch->number); in xpc_disconnect_channel() 813 ch->func(reason, ch->partid, ch->number, NULL, ch->key); in xpc_disconnect_callout() [all …]
|
/linux/drivers/isdn/hardware/mISDN/ |
A D | mISDNisar.c | 426 ch->is->name, ch->is->iis, ch->is->cmsb, ch->is->clsb); in isar_rcv_frame() 435 ch->is->name, ch->bch.nr, ch->is->clsb); in isar_rcv_frame() 446 ch->is->name, ch->bch.nr, ch->is->clsb); in isar_rcv_frame() 452 ch->is->name, ch->is->cmsb, ch->is->clsb); in isar_rcv_frame() 534 ch->is->name, ch->is->cmsb, ch->is->clsb); in isar_rcv_frame() 968 ch->mod = ch->newmod; in isar_pump_statev_fax() 971 ch->cmd = ch->newcmd; in isar_pump_statev_fax() 1000 ch->mod = ch->newmod; in isar_pump_statev_fax() 1003 ch->cmd = ch->newcmd; in isar_pump_statev_fax() 1321 ch->bch.nr, ch->dpath, ch->bch.state, bprotocol); in modeisar() [all …]
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmutil/ |
A D | d11.c | 46 ch->chspec = 0; in brcmu_d11n_encchspec() 50 0, d11n_sb(ch->sb)); in brcmu_d11n_encchspec() 79 if (ch->bw == BRCMU_CHAN_BW_20 || ch->sb == BRCMU_CHAN_SB_NONE) in brcmu_d11ac_encchspec() 100 ch->chnum = (u8)(ch->chspec & BRCMU_CHSPEC_CH_MASK); in brcmu_d11n_decchspec() 101 ch->control_ch_num = ch->chnum; in brcmu_d11n_decchspec() 141 ch->chnum = (u8)(ch->chspec & BRCMU_CHSPEC_CH_MASK); in brcmu_d11ac_decchspec() 142 ch->control_ch_num = ch->chnum; in brcmu_d11ac_decchspec() 164 ch->sb = brcmu_maskget16(ch->chspec, BRCMU_CHSPEC_D11AC_SB_MASK, in brcmu_d11ac_decchspec() 166 switch (ch->sb) { in brcmu_d11ac_decchspec() 186 ch->sb = brcmu_maskget16(ch->chspec, BRCMU_CHSPEC_D11AC_SB_MASK, in brcmu_d11ac_decchspec() [all …]
|
/linux/drivers/clocksource/ |
A D | sh_cmt.c | 518 sh_cmt_write_cmcsr(ch, sh_cmt_read_cmcsr(ch) & in sh_cmt_interrupt() 526 ch->total_cycles += ch->match_value + 1; in sh_cmt_interrupt() 529 ch->next_match_value = ch->max_match_value; in sh_cmt_interrupt() 536 ch->next_match_value = ch->max_match_value; in sh_cmt_interrupt() 540 ch->ced.event_handler(&ch->ced); in sh_cmt_interrupt() 584 __sh_cmt_set_next(ch, ch->max_match_value); in sh_cmt_start() 609 __sh_cmt_set_next(ch, ch->max_match_value); in sh_cmt_stop() 728 sh_cmt_set_next(ch, ch->max_match_value); in sh_cmt_clock_event_start() 807 dev_name(&ch->cmt->pdev->dev), ch); in sh_cmt_register_clockevent() 893 ch->ioctrl = ch->iostart + 0x10; in sh_cmt_setup_channel() [all …]
|
A D | sh_tmu.c | 152 ch->index); in __sh_tmu_enable() 244 ch->ced.event_handler(&ch->ced); in sh_tmu_interrupt() 328 ch->index); in sh_tmu_register_clocksource() 344 ch->periodic = (ch->tmu->rate + HZ/2) / HZ; in sh_tmu_clock_event_start() 345 sh_tmu_set_next(ch, ch->periodic, 1); in sh_tmu_clock_event_start() 424 ch->index); in sh_tmu_register_clockevent() 430 dev_name(&ch->tmu->pdev->dev), ch); in sh_tmu_register_clockevent() 433 ch->index, ch->irq); in sh_tmu_register_clockevent() 460 ch->tmu = tmu; in sh_tmu_channel_setup() 464 ch->base = tmu->mapbase + 4 + ch->index * 12; in sh_tmu_channel_setup() [all …]
|
A D | sh_mtu2.c | 217 ch->index); in sh_mtu2_enable() 262 sh_mtu2_read(ch, TSR); in sh_mtu2_interrupt() 266 ch->ced.event_handler(&ch->ced); in sh_mtu2_interrupt() 280 sh_mtu2_disable(ch); in sh_mtu2_clock_event_shutdown() 290 sh_mtu2_disable(ch); in sh_mtu2_clock_event_set_periodic() 293 ch->index); in sh_mtu2_clock_event_set_periodic() 294 sh_mtu2_enable(ch); in sh_mtu2_clock_event_set_periodic() 323 ch->index); in sh_mtu2_register_clockevent() 346 ch->mtu = mtu; in sh_mtu2_setup_channel() 357 dev_name(&ch->mtu->pdev->dev), ch); in sh_mtu2_setup_channel() [all …]
|
/linux/drivers/gpu/drm/imx/dcss/ |
A D | dcss-dpr.c | 134 ch = &dpr->ch[i]; in dcss_dpr_ch_init_all() 138 ch->base_reg = ioremap(ch->base_ofs, SZ_4K); in dcss_dpr_ch_init_all() 189 struct dcss_dpr_ch *ch = &dpr->ch[ch_no]; in dcss_dpr_exit() local 212 pix_in_64byte = pix_in_64byte_map[ch->pix_size][ch->tile]; in dcss_dpr_x_pix_wide_adjust() 234 struct dcss_dpr_ch *ch = &dpr->ch[ch_num]; in dcss_dpr_set_res() local 262 struct dcss_dpr_ch *ch = &dpr->ch[ch_num]; in dcss_dpr_addr_set() local 342 struct dcss_dpr_ch *ch = &dpr->ch[ch_num]; in dcss_dpr_enable() local 348 dcss_dpr_write(ch, ch->mode_ctrl, DCSS_DPR_MODE_CTRL0); in dcss_dpr_enable() 510 struct dcss_dpr_ch *ch = &dpr->ch[ch_num]; in dcss_dpr_format_set() local 535 struct dcss_dpr_ch *ch = &dpr->ch[chnum]; in dcss_dpr_write_sysctrl() local [all …]
|
A D | dcss-scaler.c | 301 ch = &scl->ch[i]; in dcss_scaler_ch_init_all() 305 ch->base_reg = ioremap(ch->base_ofs, SZ_4K); in dcss_scaler_ch_init_all() 306 if (!ch->base_reg) { in dcss_scaler_ch_init_all() 311 ch->scl = scl; in dcss_scaler_ch_init_all() 351 struct dcss_scaler_ch *ch = &scl->ch[ch_no]; in dcss_scaler_exit() local 355 if (ch->base_reg) in dcss_scaler_exit() 364 struct dcss_scaler_ch *ch = &scl->ch[ch_num]; in dcss_scaler_ch_enable() local 370 dcss_scaler_write(ch, ch->sdata_ctrl, DCSS_SCALER_SDATA_CTRL); in dcss_scaler_ch_enable() 778 struct dcss_scaler_ch *ch = &scl->ch[ch_num]; in dcss_scaler_set_filter() local 788 struct dcss_scaler_ch *ch = &scl->ch[ch_num]; in dcss_scaler_setup() local [all …]
|
/linux/drivers/scsi/ |
A D | ch.c | 205 scsi_print_sense_hdr(ch->device, ch->name, &sshdr); in ch_do_scsi() 361 ch->dt = kcalloc(ch->counts[CHET_DT], sizeof(*ch->dt), in ch_readconfig() 378 (ch,elem+ch->firsts[CHET_DT],data)) { in ch_readconfig() 548 (ch, ch->firsts[type]+i,data)) { in ch_gstatus() 558 (ch, ch->firsts[type]+i,data); in ch_gstatus() 574 kfree(ch); in ch_destroy() 737 (ch,0, in ch_ioctl() 817 elem < ch->firsts[i] + ch->counts[i]) { in ch_ioctl() 897 ch = kzalloc(sizeof(*ch), GFP_KERNEL); in ch_probe() 914 sprintf(ch->name,"ch%d",ch->minor); in ch_probe() [all …]
|
/linux/drivers/s390/net/ |
A D | ctcm_fsms.c | 307 ch->ccw[1].count = ch->trans_skb->len; in chx_txdone() 418 ch->ccw[1].count = ch->max_bufsize; in chx_rx() 525 ch->ccw[1].count = ch->max_bufsize; in chx_rxidle() 1014 CTCM_FUNTAIL, ch->id, ch->retry); in ctcm_chx_txretry() 1330 ch->ccw[1].count = ch->max_bufsize; in ctcmpc_chx_txdone() 1385 ch->id, ch->max_bufsize, len); in ctcmpc_chx_rx() 1443 ch->ccw[1].count = ch->max_bufsize; in ctcmpc_chx_rx() 1463 __func__, dev->name, ch, ch->id); in ctcmpc_chx_rx() 1482 __func__, ch->id, ch); in ctcmpc_chx_firstio() 1515 __func__, ch->id, ch); in ctcmpc_chx_firstio() [all …]
|
A D | ctcm_main.c | 257 while (ch && (strncmp(ch->id, id, CTCM_ID_SIZE) || (ch->type != type))) in channel_get() 258 ch = ch->next; in channel_get() 373 fsm_event(ch->fsm, CTC_EVENT_UC_ZERO, ch); in ccw_unit_check() 395 ch->ccw[1].count = ch->max_bufsize; in ctcm_ch_alloc_buffer() 408 ch->trans_skb_data = ch->trans_skb->data; in ctcm_ch_alloc_buffer() 663 ch->id, fsm_getstate_str(ch->fsm)); in ctcmpc_transmit_skb() 1238 fsm_event(ch->fsm, CTC_EVENT_BUSY, ch); in ctcm_irq_handler() 1242 fsm_event(ch->fsm, CTC_EVENT_ATTN, ch); in ctcm_irq_handler() 1251 fsm_event(ch->fsm, CTC_EVENT_IRQ, ch); in ctcm_irq_handler() 1436 fsm_settimer(ch->fsm, &ch->timer); in add_channel() [all …]
|
A D | ctcm_mpc.c | 955 ch->xid_skb_data = ch->xid_skb->data; in mpc_channel_action() 961 ch->xid_skb->data = ch->xid_skb_data; in mpc_channel_action() 975 ch->xid_skb->data = ch->xid_skb_data; in mpc_channel_action() 1170 mpcginfo->ch = ch; in ctcmpc_unpack_skb() 1211 __func__, dev->name, ch, ch->id); in ctcmpc_unpack_skb() 1248 __func__, dev->name, ch, ch->id); in ctcmpc_bh() 1530 struct channel *ch = mpcginfo->ch; in mpc_validate_xid() local 1698 if (!(ch->xid_th && ch->xid && ch->xid_id)) in mpc_action_side_xid() 1701 CTCM_FUNTAIL, ch->id, ch->xid_th, ch->xid, ch->xid_id); in mpc_action_side_xid() 1797 __func__, ch, ch->id); in mpc_action_side_xid() [all …]
|
/linux/drivers/dma/ |
A D | moxart-dma.c | 197 if (ch->desc) { in moxart_terminate_all() 219 ch->cfg = *cfg; in moxart_slave_config() 327 ch->error = 0; in moxart_prep_slave_sg() 434 ch->sgidx = 0; in moxart_dma_start_desc() 445 if (vchan_issue_pending(&ch->vc) && !ch->desc) in moxart_issue_pending() 467 size = moxart_dma_desc_size(ch->desc, ch->sgidx); in moxart_dma_desc_size_in_flight() 497 } else if (ch->desc && ch->desc->vd.tx.cookie == cookie) { in moxart_tx_status() 538 __func__, ch, ch->base, ctrl); in moxart_dma_interrupt() 544 if (++ch->sgidx < ch->desc->sglen) { in moxart_dma_interrupt() 545 moxart_dma_start_sg(ch, ch->sgidx); in moxart_dma_interrupt() [all …]
|
/linux/drivers/video/fbdev/ |
A D | sh_mobile_lcdcfb.c | 653 ch = &priv->ch[k]; in sh_mobile_lcdc_irq() 892 ch = &priv->ch[k]; in __sh_mobile_lcdc_start() 920 ch = &priv->ch[k]; in __sh_mobile_lcdc_start() 1005 ch = &priv->ch[k]; in sh_mobile_lcdc_start() 1019 ch = &priv->ch[k]; in sh_mobile_lcdc_start() 1026 ch->line_size = ch->pitch; in sh_mobile_lcdc_start() 1041 ch = &priv->ch[k]; in sh_mobile_lcdc_start() 1071 ch = &priv->ch[k]; in sh_mobile_lcdc_stop() 1985 if (ch->info && ch->info->dev) in sh_mobile_lcdc_channel_fb_unregister() 2498 ch->tx_dev->lcdc = ch; in sh_mobile_lcdc_channel_init() [all …]
|
/linux/drivers/isdn/mISDN/ |
A D | hwchannel.c | 47 err = bch->ch.recv(bch->ch.peer, skb); in bchannel_bh() 61 ch->hw = NULL; in mISDN_initdchannel() 64 ch->tx_idx = 0; in mISDN_initdchannel() 78 ch->Flags = 0; in mISDN_initbchannel() 85 ch->hw = NULL; in mISDN_initbchannel() 88 ch->tx_idx = 0; in mISDN_initbchannel() 138 ch->minlen = ch->init_minlen; in mISDN_clear_bchannel() 139 ch->next_minlen = ch->init_minlen; in mISDN_clear_bchannel() 140 ch->maxlen = ch->init_maxlen; in mISDN_clear_bchannel() 141 ch->next_maxlen = ch->init_maxlen; in mISDN_clear_bchannel() [all …]
|
A D | stack.c | 101 ret = ch->send(ch, cskb); in send_layer2() 120 ret = ch->send(ch, skb); in send_layer2() 164 return ch->send(ch, skb); in send_msg_to_layer() 476 ch->peer = rq.ch; in connect_Bstack() 478 rq.ch->peer = ch; in connect_Bstack() 486 rq2.ch = ch; in connect_Bstack() 491 ch->peer = rq2.ch; in connect_Bstack() 501 rq2.ch->peer = rq.ch; in connect_Bstack() 503 rq.ch->peer = rq2.ch; in connect_Bstack() 507 ch->nr = rq.ch->nr; in connect_Bstack() [all …]
|
/linux/drivers/rapidio/ |
A D | rio_cm.c | 289 if (ch) in riocm_get_channel() 387 if (!ch) in riocm_req_handler() 431 if (!ch) in riocm_resp_handler() 548 ch->id, ch->state); in rio_rx_data_handler() 564 ch->rx_ring.buf[ch->rx_ring.head] = buf; in rio_rx_data_handler() 901 rxmsg = ch->rx_ring.buf[ch->rx_ring.tail]; in riocm_ch_receive() 902 ch->rx_ring.buf[ch->rx_ring.tail] = NULL; in riocm_ch_receive() 1052 ch->id, rio_name(ch->rdev), ret); in riocm_send_ack() 1287 ch = kzalloc(sizeof(*ch), GFP_KERNEL); in riocm_ch_alloc() 1506 if (ch && ch->filp == filp) { in riocm_cdev_release() [all …]
|
/linux/drivers/phy/renesas/ |
A D | phy-rcar-gen3-usb2.c | 103 struct rcar_gen3_chan *ch; member 148 if (ch->extcon_host) { in rcar_gen3_phy_usb2_work() 192 if (ch->soc_no_adp_ctrl) { in rcar_gen3_enable_vbus_ctrl() 223 ch->extcon_host = true; in rcar_gen3_init_for_host() 224 schedule_work(&ch->work); in rcar_gen3_init_for_host() 233 ch->extcon_host = false; in rcar_gen3_init_for_peri() 234 schedule_work(&ch->work); in rcar_gen3_init_for_peri() 272 if (!ch->uses_otg_pins) in rcar_gen3_check_id() 275 if (ch->soc_no_adp_ctrl) in rcar_gen3_check_id() 345 if (!ch->is_otg_channel || !rcar_gen3_is_any_rphy_initialized(ch)) in role_store() [all …]
|
/linux/drivers/gpu/ipu-v3/ |
A D | ipu-cpmem.c | 93 ipu_get_cpmem(struct ipuv3_channel *ch) in ipu_get_cpmem() argument 97 return cpmem->base + ch->num; in ipu_get_cpmem() 228 void ipu_cpmem_zero(struct ipuv3_channel *ch) in ipu_cpmem_zero() argument 260 struct ipu_soc *ipu = ch->ipu; in ipu_cpmem_set_high_priority() 267 val |= 1 << (ch->num % 32); in ipu_cpmem_set_high_priority() 624 struct ipu_soc *ipu = ch->ipu; in ipu_cpmem_set_separate_alpha() 628 albm = ipu_channel_albm(ch->num); in ipu_cpmem_set_separate_alpha() 637 val |= BIT(ch->num); in ipu_cpmem_set_separate_alpha() 754 ipu_cpmem_set_separate_alpha(ch); in ipu_cpmem_set_fmt() 892 struct ipu_soc *ipu = ch->ipu; in ipu_cpmem_dump() [all …]
|
/linux/drivers/gpu/host1x/hw/ |
A D | cdma_hw.c | 125 host1x_ch_readl(ch, HOST1X_CHANNEL_DMAGET), in cdma_timeout_restart() 178 cmdproc_stop |= BIT(ch->id); in cdma_hw_cmdproc_stop() 180 cmdproc_stop &= ~BIT(ch->id); in cdma_hw_cmdproc_stop() 210 cdma_hw_cmdproc_stop(host, ch, true); in cdma_freeze() 220 cdma_hw_teardown(host, ch); in cdma_freeze() 233 ch->id, getptr); in cdma_resume() 235 cdma_hw_cmdproc_stop(host1x, ch, false); in cdma_resume() 251 struct host1x_channel *ch; in cdma_timeout_handler() local 256 ch = cdma_to_channel(cdma); in cdma_timeout_handler() 270 cdma_hw_cmdproc_stop(host1x, ch, true); in cdma_timeout_handler() [all …]
|
/linux/drivers/net/ethernet/ |
A D | lantiq_etop.c | 111 ch->skb[ch->dma.desc] = netdev_alloc_skb(ch->netdev, MAX_DMA_DATA_LEN); in ltq_etop_alloc_skb() 112 if (!ch->skb[ch->dma.desc]) in ltq_etop_alloc_skb() 117 ch->dma.desc_base[ch->dma.desc].addr = in ltq_etop_alloc_skb() 118 CPHYSADDR(ch->skb[ch->dma.desc]->data); in ltq_etop_alloc_skb() 119 ch->dma.desc_base[ch->dma.desc].ctl = in ltq_etop_alloc_skb() 185 dev_kfree_skb_any(ch->skb[ch->tx_free]); in ltq_etop_poll_tx() 186 ch->skb[ch->tx_free] = NULL; in ltq_etop_poll_tx() 207 napi_schedule(&priv->ch[ch].napi); in ltq_etop_dma_irq() 271 struct ltq_etop_chan *ch = &priv->ch[i]; in ltq_etop_hw_init() local 273 ch->idx = ch->dma.nr = i; in ltq_etop_hw_init() [all …]
|
/linux/drivers/staging/most/dim2/ |
A D | hal.c | 675 if (ch->packet_length || ch->bytes_per_frame) in channel_start() 763 ch->dbr_addr = alloc_dbr(ch->dbr_size); in init_ctrl_async() 770 ch->dbr_addr, ch->dbr_size, 0); in init_ctrl_async() 824 dbrcnt_init(ch->addr, ch->dbr_size); in dim_init_async() 845 ch->dbr_addr = alloc_dbr(ch->dbr_size); in dim_init_isoc() 873 ch->dbr_addr = alloc_dbr(ch->dbr_size); in dim_init_sync() 879 dim2_clear_dbr(ch->dbr_addr, ch->dbr_size); in dim_init_sync() 881 ch->dbr_addr, ch->dbr_size, 0); in dim_init_sync() 898 free_dbr(ch->dbr_addr, ch->dbr_size); in dim_destroy_channel() 933 ++ch; in dim_service_ahb_int_irq() [all …]
|