Searched defs:ct (Results 1 - 25 of 50) sorted by relevance

12

/drivers/scsi/libfc/
H A Dfc_elsct.c95 struct fc_ct_hdr *ct; local
129 ct = fc_frame_payload_get(fp, sizeof(*ct));
130 if (ct) {
131 switch (ntohs(ct->ct_cmd)) {
/drivers/macintosh/
H A Dwindfarm_cpufreq_clamp.c38 static int clamp_set(struct wf_control *ct, s32 value) argument
50 static int clamp_get(struct wf_control *ct, s32 *value) argument
56 static s32 clamp_min(struct wf_control *ct) argument
61 static s32 clamp_max(struct wf_control *ct) argument
H A Dwindfarm.h29 int (*set_value)(struct wf_control *ct, s32 val);
30 int (*get_value)(struct wf_control *ct, s32 *val);
31 s32 (*get_min)(struct wf_control *ct);
32 s32 (*get_max)(struct wf_control *ct);
33 void (*release)(struct wf_control *ct);
57 extern int wf_register_control(struct wf_control *ct);
58 extern void wf_unregister_control(struct wf_control *ct);
60 extern int wf_get_control(struct wf_control *ct);
61 extern void wf_put_control(struct wf_control *ct);
63 static inline int wf_control_set_max(struct wf_control *ct) argument
69 wf_control_set_min(struct wf_control *ct) argument
[all...]
H A Dwindfarm_smu_controls.c109 static void smu_fan_release(struct wf_control *ct) argument
111 struct smu_fan_control *fct = to_smu_fan(ct);
116 static int smu_fan_set(struct wf_control *ct, s32 value) argument
118 struct smu_fan_control *fct = to_smu_fan(ct);
129 static int smu_fan_get(struct wf_control *ct, s32 *value) argument
131 struct smu_fan_control *fct = to_smu_fan(ct);
136 static s32 smu_fan_min(struct wf_control *ct) argument
138 struct smu_fan_control *fct = to_smu_fan(ct);
142 static s32 smu_fan_max(struct wf_control *ct) argument
144 struct smu_fan_control *fct = to_smu_fan(ct);
[all...]
H A Dwindfarm_core.c153 struct wf_control *ct = container_of(kref, struct wf_control, ref); local
155 DBG("wf: Deleting control %s\n", ct->name);
157 if (ct->ops && ct->ops->release)
158 ct->ops->release(ct);
160 kfree(ct);
199 struct wf_control *ct; local
202 list_for_each_entry(ct, &wf_controls, link) {
203 if (!strcmp(ct
232 wf_unregister_control(struct wf_control *ct) argument
246 struct wf_control *ct; local
262 wf_get_control(struct wf_control *ct) argument
271 wf_put_control(struct wf_control *ct) argument
400 struct wf_control *ct; local
[all...]
H A Dwindfarm_pm91.c536 static void wf_smu_new_control(struct wf_control *ct) argument
541 if (fan_cpu_main == NULL && !strcmp(ct->name, "cpu-rear-fan-0")) {
542 if (wf_get_control(ct) == 0)
543 fan_cpu_main = ct;
546 if (fan_cpu_second == NULL && !strcmp(ct->name, "cpu-rear-fan-1")) {
547 if (wf_get_control(ct) == 0)
548 fan_cpu_second = ct;
551 if (fan_cpu_third == NULL && !strcmp(ct->name, "cpu-front-fan-0")) {
552 if (wf_get_control(ct) == 0)
553 fan_cpu_third = ct;
[all...]
H A Dwindfarm_pm112.c269 struct wf_control *ct; local
327 ct = cpu_fans[i];
328 if (ct == NULL)
330 err = ct->ops->set_value(ct, target * cpu_fan_scale[i] / 100);
333 "error %d\n", ct->name, err);
552 static void pm112_new_control(struct wf_control *ct) argument
556 if (cpufreq_clamp == NULL && !strcmp(ct->name, "cpufreq-clamp")) {
557 if (wf_get_control(ct) == 0)
558 cpufreq_clamp = ct;
[all...]
H A Dwindfarm_pm121.c863 static struct wf_control* pm121_register_control(struct wf_control *ct, argument
867 if (controls[id] == NULL && !strcmp(ct->name, match)) {
868 if (wf_get_control(ct) == 0)
869 controls[id] = ct;
874 static void pm121_new_control(struct wf_control *ct) argument
881 all = pm121_register_control(ct, "optical-drive-fan", FAN_OD) && all;
882 all = pm121_register_control(ct, "hard-drive-fan", FAN_HD) && all;
883 all = pm121_register_control(ct, "cpu-fan", FAN_CPU) && all;
884 all = pm121_register_control(ct, "cpufreq-clamp", CPUFREQ) && all;
/drivers/gpu/drm/nouveau/
H A Dnv04_display.c120 struct drm_connector *connector, *ct; local
163 list_for_each_entry_safe(connector, ct,
H A Dnv50_display.c349 struct drm_connector *connector, *ct; local
393 list_for_each_entry_safe(connector, ct,
/drivers/gpio/
H A Dgpio-mxs.c155 struct irq_chip_type *ct; local
161 ct = gc->chip_types;
162 ct->chip.irq_ack = irq_gc_ack_set_bit;
163 ct->chip.irq_mask = irq_gc_mask_clr_bit;
164 ct->chip.irq_unmask = irq_gc_mask_set_bit;
165 ct->chip.irq_set_type = mxs_gpio_set_irq_type;
166 ct->chip.irq_set_wake = mxs_gpio_set_wake_irq;
167 ct->regs.ack = PINCTRL_IRQSTAT(port->id) + MXS_CLR;
168 ct->regs.mask = PINCTRL_IRQEN(port->id);
H A Dgpio-pl061.c202 struct irq_chip_type *ct; local
208 ct = chip->irq_gc->chip_types;
209 ct->chip.irq_mask = irq_gc_mask_clr_bit;
210 ct->chip.irq_unmask = irq_gc_mask_set_bit;
211 ct->chip.irq_set_type = pl061_irq_type;
212 ct->chip.irq_set_wake = irq_gc_set_wake;
213 ct->regs.mask = GPIOIE;
H A Dgpio-sodaville.c135 struct irq_chip_type *ct; local
164 ct = sd->gc->chip_types;
165 ct->type = IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_LEVEL_LOW;
166 ct->regs.eoi = GPSTR;
167 ct->regs.mask = GPIO_INT;
168 ct->chip.irq_mask = irq_gc_mask_clr_bit;
169 ct->chip.irq_unmask = irq_gc_mask_set_bit;
170 ct->chip.irq_eoi = irq_gc_eoi;
171 ct->chip.irq_set_type = sdv_gpio_pub_set_type;
H A Dgpio-mxc.c302 struct irq_chip_type *ct; local
308 ct = gc->chip_types;
309 ct->chip.irq_ack = irq_gc_ack_set_bit;
310 ct->chip.irq_mask = irq_gc_mask_clr_bit;
311 ct->chip.irq_unmask = irq_gc_mask_set_bit;
312 ct->chip.irq_set_type = gpio_set_irq_type;
313 ct->chip.irq_set_wake = gpio_set_wake_irq;
314 ct->regs.ack = GPIO_ISR;
315 ct->regs.mask = GPIO_IMR;
H A Dgpio-ml-ioh.c391 struct irq_chip_type *ct; local
396 ct = gc->chip_types;
398 ct->chip.irq_mask = ioh_irq_mask;
399 ct->chip.irq_unmask = ioh_irq_unmask;
400 ct->chip.irq_set_type = ioh_irq_type;
401 ct->chip.irq_disable = ioh_irq_disable;
402 ct->chip.irq_enable = ioh_irq_enable;
H A Dgpio-pch.c333 struct irq_chip_type *ct; local
338 ct = gc->chip_types;
340 ct->chip.irq_ack = pch_irq_ack;
341 ct->chip.irq_mask = pch_irq_mask;
342 ct->chip.irq_unmask = pch_irq_unmask;
343 ct->chip.irq_set_type = pch_irq_type;
/drivers/mfd/
H A Djz4740-adc.c208 struct irq_chip_type *ct; local
272 ct = gc->chip_types;
273 ct->regs.mask = JZ_REG_ADC_CTRL;
274 ct->regs.ack = JZ_REG_ADC_STATUS;
275 ct->chip.irq_mask = irq_gc_mask_set_bit;
276 ct->chip.irq_unmask = irq_gc_mask_clr_bit;
277 ct->chip.irq_ack = irq_gc_ack_set_bit;
/drivers/s390/char/
H A Dkeyboard.c461 unsigned int ct; local
501 ct = kbd->accent_table_size;
502 if (put_user(ct, &a->kb_cnt))
505 ct * sizeof(struct kbdiacruc)))
517 if (get_user(ct, &a->kb_cnt))
519 if (ct >= MAX_DIACR)
521 kbd->accent_table_size = ct;
522 for (i = 0; i < ct; i++) {
537 if (get_user(ct, &a->kb_cnt))
539 if (ct >
[all...]
/drivers/s390/cio/
H A Ddevice_ops.c464 * @ct: command type to look for
475 struct ciw *ccw_device_get_ciw(struct ccw_device *cdev, __u32 ct) argument
482 if (cdev->private->senseid.ciw[ciw_cnt].ct == ct)
/drivers/media/video/gspca/stv06xx/
H A Dstv06xx_hdcs.c252 int ct; local
268 ct = hdcs->exp.cto + hdcs->psmp + (HDCS_ADC_START_SIG_DUR + 2);
269 cp = hdcs->exp.cto + (hdcs->w * ct / 2);
282 srowexp = hdcs->w - (cycles + hdcs->exp.er + 13) / ct;
284 mnct = (hdcs->exp.er + 12 + ct - 1) / ct;
290 mnct = (hdcs->exp.er + 5 + ct - 1) / ct;
291 max_srowexp = cp - mnct * ct - 1;
/drivers/net/wan/
H A Dz85230.c1576 int ct; local
1602 ct=c->mtu-get_dma_residue(c->rxdma);
1603 if(ct<0)
1604 ct=2; /* Shit happens.. */
1639 skb = dev_alloc_skb(ct);
1644 skb_put(skb, ct);
1645 skb_copy_to_linear_data(skb, rxb, ct);
1647 c->netdevice->stats.rx_bytes += ct;
1666 ct=c->count;
1686 c->netdevice->stats.rx_bytes += ct;
[all...]
/drivers/staging/rtl8187se/ieee80211/
H A Dieee80211_crypt_ccmp.c62 const u8 pt[16], u8 ct[16])
64 crypto_cipher_encrypt_one((void *)tfm, ct, pt);
61 ieee80211_ccmp_aes_encrypt(struct crypto_tfm *tfm, const u8 pt[16], u8 ct[16]) argument
/drivers/staging/rtl8192e/
H A Drtllib_crypt_ccmp.c56 const u8 pt[16], u8 ct[16])
58 crypto_cipher_encrypt_one((void *)tfm, ct, pt);
55 rtllib_ccmp_aes_encrypt(struct crypto_tfm *tfm, const u8 pt[16], u8 ct[16]) argument
/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_crypt_ccmp.c61 const u8 pt[16], u8 ct[16])
63 crypto_cipher_encrypt_one((void*)tfm, ct, pt);
60 ieee80211_ccmp_aes_encrypt(struct crypto_tfm *tfm, const u8 pt[16], u8 ct[16]) argument
/drivers/tty/vt/
H A Dconsolemap.c514 int con_set_unimap(struct vc_data *vc, ushort ct, struct unipair __user *list) argument
523 if (!ct) return 0;
583 while (ct--) {
672 int con_get_unimap(struct vc_data *vc, ushort ct, ushort __user *uct, struct unipair __user *list) argument
686 if (*p2 < MAX_GLYPH && ect++ < ct) {
697 return ((ect <= ct) ? 0 : -ENOMEM);

Completed in 371 milliseconds

12