Searched refs:ictl (Results 1 - 15 of 15) sorted by relevance

/linux-4.4.14/drivers/isdn/pcbit/
H A Dcallbacks.c87 isdn_ctrl ictl; cb_out_2() local
104 ictl.command = ISDN_STAT_DCONN; cb_out_2()
105 ictl.driver = dev->id; cb_out_2()
106 ictl.arg = chan->id; cb_out_2()
107 dev->dev_if->statcallb(&ictl); cb_out_2()
133 isdn_ctrl ictl; cb_in_1() local
139 ictl.command = ISDN_STAT_ICALL; cb_in_1()
140 ictl.driver = dev->id; cb_in_1()
141 ictl.arg = chan->id; cb_in_1()
144 * ictl.num >= strlen() + strlen() + 5 cb_in_1()
149 strcpy(ictl.parm.setup.phone, "0"); cb_in_1()
152 strcpy(ictl.parm.setup.phone, cbdata->data.setup.CallingPN); cb_in_1()
156 strcpy(ictl.parm.setup.eazmsn, "0"); cb_in_1()
159 strcpy(ictl.parm.setup.eazmsn, cbdata->data.setup.CalledPN); cb_in_1()
161 ictl.parm.setup.si1 = 7; cb_in_1()
162 ictl.parm.setup.si2 = 0; cb_in_1()
163 ictl.parm.setup.plan = 0; cb_in_1()
164 ictl.parm.setup.screen = 0; cb_in_1()
167 printk(KERN_DEBUG "statstr: %s\n", ictl.num); cb_in_1()
170 dev->dev_if->statcallb(&ictl); cb_in_1()
248 isdn_ctrl ictl; cb_disc_1() local
260 ictl.command = ISDN_STAT_BHUP; cb_disc_1()
261 ictl.driver = dev->id; cb_disc_1()
262 ictl.arg = chan->id; cb_disc_1()
263 dev->dev_if->statcallb(&ictl); cb_disc_1()
298 isdn_ctrl ictl; cb_disc_3() local
300 ictl.command = ISDN_STAT_BHUP; cb_disc_3()
301 ictl.driver = dev->id; cb_disc_3()
302 ictl.arg = chan->id; cb_disc_3()
303 dev->dev_if->statcallb(&ictl); cb_disc_3()
339 isdn_ctrl ictl; cb_open() local
341 ictl.command = ISDN_STAT_BCONN; cb_open()
342 ictl.driver = dev->id; cb_open()
343 ictl.arg = chan->id; cb_open()
344 dev->dev_if->statcallb(&ictl); cb_open()
H A Ddrv.c303 isdn_ctrl ictl; pcbit_block_timer() local
321 ictl.driver = dev->id; pcbit_block_timer()
322 ictl.command = ISDN_STAT_BSENT; pcbit_block_timer()
323 ictl.arg = chan->id; pcbit_block_timer()
324 dev->dev_if->statcallb(&ictl); pcbit_block_timer()
476 isdn_ctrl ictl; pcbit_l3_receive() local
517 ictl.driver = dev->id; pcbit_l3_receive()
518 ictl.command = ISDN_STAT_BSENT; pcbit_l3_receive()
519 ictl.arg = chan->id; pcbit_l3_receive()
520 dev->dev_if->statcallb(&ictl); pcbit_l3_receive()
757 isdn_ctrl ictl; pcbit_logstat() local
767 ictl.command = ISDN_STAT_STAVAIL; pcbit_logstat()
768 ictl.driver = dev->id; pcbit_logstat()
769 ictl.arg = strlen(str); pcbit_logstat()
770 dev->dev_if->statcallb(&ictl); pcbit_logstat()
H A Dlayer2.c466 isdn_ctrl ictl; pcbit_fake_conf() local
471 ictl.driver = dev->id; pcbit_fake_conf()
472 ictl.command = ISDN_STAT_BSENT; pcbit_fake_conf()
473 ictl.arg = chan->id; pcbit_fake_conf()
474 dev->dev_if->statcallb(&ictl); pcbit_fake_conf()
/linux-4.4.14/drivers/irqchip/
H A Dirq-tb10x.c108 static int __init of_tb10x_init_irq(struct device_node *ictl, of_tb10x_init_irq() argument
111 int i, ret, nrirqs = of_irq_count(ictl); of_tb10x_init_irq()
117 if (of_address_to_resource(ictl, 0, &mem)) { of_tb10x_init_irq()
119 ictl->name); of_tb10x_init_irq()
124 ictl->name)) { of_tb10x_init_irq()
125 pr_err("%s: Request mem region failed.\n", ictl->name); of_tb10x_init_irq()
132 pr_err("%s: ioremap failed.\n", ictl->name); of_tb10x_init_irq()
136 domain = irq_domain_add_linear(ictl, AB_IRQCTL_MAXIRQ, of_tb10x_init_irq()
141 ictl->name); of_tb10x_init_irq()
146 2, ictl->name, handle_level_irq, of_tb10x_init_irq()
151 ictl->name); of_tb10x_init_irq()
175 unsigned int irq = irq_of_parse_and_map(ictl, i); of_tb10x_init_irq()
196 IRQCHIP_DECLARE(tb10x_intc, "abilis,tb10x-ictl", of_tb10x_init_irq);
H A Dirq-dw-apb-ictl.c160 "snps,dw-apb-ictl", dw_apb_ictl_init);
/linux-4.4.14/drivers/net/wan/lmc/
H A Dlmc_media.c173 sc->ictl.cardtype = LMC_CTL_CARDTYPE_LMC5200; lmc_hssi_init()
197 sc->lmc_media->set_clock_source (sc, sc->ictl.clock_source); lmc_hssi_set_status()
206 if (ctl->clock_source && !sc->ictl.clock_source) lmc_hssi_set_status()
211 else if (!ctl->clock_source && sc->ictl.clock_source) lmc_hssi_set_status()
227 old = sc->ictl.clock_source; lmc_hssi_set_clock()
232 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_EXT; lmc_hssi_set_clock()
240 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_INT; lmc_hssi_set_clock()
281 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_32; lmc_hssi_set_crc_length()
287 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_16; lmc_hssi_set_crc_length()
312 sc->ictl.cable_length = LMC_CTL_CABLE_LENGTH_GT_100FT; lmc_ds3_set_100ft()
317 sc->ictl.cable_length = LMC_CTL_CABLE_LENGTH_LT_100FT; lmc_ds3_set_100ft()
342 sc->lmc_media->set_cable_length (sc, sc->ictl.cable_length); lmc_ds3_set_status()
343 sc->lmc_media->set_scrambler (sc, sc->ictl.scrambler_onoff); lmc_ds3_set_status()
352 if (ctl->cable_length && !sc->ictl.cable_length) lmc_ds3_set_status()
354 else if (!ctl->cable_length && sc->ictl.cable_length) lmc_ds3_set_status()
360 if (ctl->scrambler_onoff && !sc->ictl.scrambler_onoff) lmc_ds3_set_status()
362 else if (!ctl->scrambler_onoff && sc->ictl.scrambler_onoff) lmc_ds3_set_status()
373 sc->ictl.cardtype = LMC_CTL_CARDTYPE_LMC5245; lmc_ds3_init()
409 sc->ictl.scrambler_onoff = LMC_CTL_ON; lmc_ds3_set_scram()
414 sc->ictl.scrambler_onoff = LMC_CTL_OFF; lmc_ds3_set_scram()
516 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_32; lmc_ds3_set_crc_length()
522 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_16; lmc_ds3_set_crc_length()
544 sc->ictl.cardtype = LMC_CTL_CARDTYPE_LMC1000; lmc_ssi_init()
549 sc->ictl.cable_type = cable; lmc_ssi_init()
579 sc->lmc_media->set_clock_source (sc, sc->ictl.clock_source); lmc_ssi_set_status()
580 sc->lmc_media->set_speed (sc, &sc->ictl); lmc_ssi_set_status()
590 && sc->ictl.clock_source == LMC_CTL_CLOCK_SOURCE_EXT) lmc_ssi_set_status()
596 && sc->ictl.clock_source == LMC_CTL_CLOCK_SOURCE_INT) lmc_ssi_set_status()
602 if (ctl->clock_rate != sc->ictl.clock_rate) lmc_ssi_set_status()
620 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_EXT; lmc_ssi_set_clock()
628 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_INT; lmc_ssi_set_clock()
637 lmc_ctl_t *ictl = &sc->ictl; lmc_ssi_set_speed() local
648 av = &ictl->cardspec.ssi; lmc_ssi_set_speed()
649 ictl->clock_rate = 1500000; lmc_ssi_set_speed()
650 av->f = ictl->clock_rate; lmc_ssi_set_speed()
666 ictl->clock_rate = av->f; /* really, this is the rate we are */ lmc_ssi_set_speed()
667 ictl->cardspec.ssi = *av; lmc_ssi_set_speed()
792 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_32; lmc_ssi_set_crc_length()
800 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_16; lmc_ssi_set_crc_length()
842 LMC_PRINTF_ARGS, sc->ictl.clock_rate, n, m, v, x, r); write_av9110()
922 sc->ictl.cardtype = LMC_CTL_CARDTYPE_LMC1200; lmc_t1_init()
987 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_INT; lmc_t1_default()
996 sc->lmc_media->set_circuit_type (sc, sc->ictl.circuit_type); lmc_t1_set_status()
1004 && sc->ictl.circuit_type == lmc_t1_set_status()
1008 && sc->ictl.circuit_type == LMC_CTL_CIRCUIT_TYPE_T1) lmc_t1_set_status()
1138 sc->ictl.circuit_type = LMC_CTL_CIRCUIT_TYPE_T1; lmc_t1_set_circuit_type()
1143 sc->ictl.circuit_type = LMC_CTL_CIRCUIT_TYPE_E1; lmc_t1_set_circuit_type()
1160 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_32; lmc_t1_set_crc_length()
1167 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_16; lmc_t1_set_crc_length()
1187 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_EXT; lmc_t1_set_clock()
1195 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_INT; lmc_t1_set_clock()
1210 sc->ictl.keepalive_onoff = LMC_CTL_ON; lmc_set_protocol()
H A Dlmc_main.c132 if (copy_to_user(ifr->ifr_data, &sc->ictl, sizeof(lmc_ctl_t))) lmc_ioctl()
157 if(ctl.crc_length != sc->ictl.crc_length) { lmc_ioctl()
159 if (sc->ictl.crc_length == LMC_CTL_CRC_LENGTH_16) lmc_ioctl()
296 sc->ictl.circuit_type = ctl.circuit_type; lmc_ioctl()
786 sc->ictl.ticks = 0x0000ffff - (ticks & 0x0000ffff); lmc_watchdog()
1053 if (sc->ictl.crc_length == LMC_CTL_CRC_LENGTH_16) { lmc_open()
1057 sc->lmc_media->set_crc_length(sc, sc->ictl.crc_length); lmc_open()
H A Dlmc_var.h329 lmc_ctl_t ictl; member in struct:lmc___softc
/linux-4.4.14/drivers/rtc/
H A Drtc-bfin.c323 u16 ictl = bfin_read_RTC_ICTL(); bfin_rtc_proc() local
329 yesno(ictl & RTC_ISTAT_ALARM), bfin_rtc_proc()
330 yesno(ictl & RTC_ISTAT_ALARM_DAY), bfin_rtc_proc()
331 yesno(ictl & RTC_ISTAT_SEC)); bfin_rtc_proc()
/linux-4.4.14/drivers/dma/ppc4xx/
H A Ddma.h185 u32 ictl; member in struct:i2o_regs
/linux-4.4.14/arch/arc/plat-axs10x/
H A Daxs10x.c58 * Current implementation of "irq-dw-apb-ictl" driver doesn't work well axs10x_enable_gpio_intc_wire()
/linux-4.4.14/arch/s390/include/asm/
H A Dkvm_host.h124 __u32 ictl; /* 0x0048 */ member in struct:kvm_s390_sie_block
/linux-4.4.14/arch/s390/kvm/
H A Dpriv.c154 if (!(vcpu->arch.sie_block->ictl & (ICTL_ISKE | ICTL_SSKE | ICTL_RRBE))) __skey_check_enable()
160 vcpu->arch.sie_block->ictl &= ~(ICTL_ISKE | ICTL_SSKE | ICTL_RRBE); __skey_check_enable()
H A Dinterrupt.c179 vcpu->arch.sie_block->ictl &= ~(ICTL_LPSW | ICTL_STCTL | ICTL_PINT); __reset_intercept_indicators()
184 vcpu->arch.sie_block->ictl |= (ICTL_STCTL | ICTL_PINT); __reset_intercept_indicators()
218 vcpu->arch.sie_block->ictl |= ICTL_LPSW; set_intercept_indicators_mchk()
H A Dkvm-s390.c1415 vcpu->arch.sie_block->ictl |= ICTL_ISKE | ICTL_SSKE | ICTL_RRBE; kvm_arch_vcpu_setup()

Completed in 662 milliseconds