Home
last modified time | relevance | path

Searched refs:cf (Results 1 – 21 of 21) sorted by relevance

/drivers/pcmcia/
Delectra_cf.c65 static int electra_cf_present(struct electra_cf_socket *cf) in electra_cf_present() argument
69 gpio = in_le32(cf->gpio_base+0x40); in electra_cf_present()
70 return !(gpio & (1 << cf->gpio_detect)); in electra_cf_present()
81 struct electra_cf_socket *cf = (void *) _cf; in electra_cf_timer() local
82 int present = electra_cf_present(cf); in electra_cf_timer()
84 if (present != cf->present) { in electra_cf_timer()
85 cf->present = present; in electra_cf_timer()
86 pcmcia_parse_events(&cf->socket, SS_DETECT); in electra_cf_timer()
89 if (cf->active) in electra_cf_timer()
90 mod_timer(&cf->timer, jiffies + POLL_INTERVAL); in electra_cf_timer()
[all …]
Domap_cf.c86 struct omap_cf_socket *cf = (void *) _cf; in omap_cf_timer() local
89 if (present != cf->present) { in omap_cf_timer()
90 cf->present = present; in omap_cf_timer()
93 pcmcia_parse_events(&cf->socket, SS_DETECT); in omap_cf_timer()
96 if (cf->active) in omap_cf_timer()
97 mod_timer(&cf->timer, jiffies + POLL_INTERVAL); in omap_cf_timer()
117 struct omap_cf_socket *cf; in omap_cf_get_status() local
120 cf = container_of(s, struct omap_cf_socket, socket); in omap_cf_get_status()
122 s->pci_irq = cf->irq; in omap_cf_get_status()
165 struct omap_cf_socket *cf; in omap_cf_set_io_map() local
[all …]
Dbfin_cf_pcmcia.c90 struct bfin_cf_socket *cf = (void *)_cf; in bfin_cf_timer() local
91 unsigned short present = bfin_cf_present(cf->cd_pfx); in bfin_cf_timer()
93 if (present != cf->present) { in bfin_cf_timer()
94 cf->present = present; in bfin_cf_timer()
95 dev_dbg(&cf->pdev->dev, ": card %s\n", in bfin_cf_timer()
97 pcmcia_parse_events(&cf->socket, SS_DETECT); in bfin_cf_timer()
100 if (cf->active) in bfin_cf_timer()
101 mod_timer(&cf->timer, jiffies + POLL_INTERVAL); in bfin_cf_timer()
106 struct bfin_cf_socket *cf; in bfin_cf_get_status() local
111 cf = container_of(s, struct bfin_cf_socket, socket); in bfin_cf_get_status()
[all …]
Dat91_cf.c57 static inline int at91_cf_present(struct at91_cf_socket *cf) in at91_cf_present() argument
59 return !gpio_get_value(cf->board->det_pin); in at91_cf_present()
71 struct at91_cf_socket *cf = _cf; in at91_cf_irq() local
73 if (irq == cf->board->det_pin) { in at91_cf_irq()
74 unsigned present = at91_cf_present(cf); in at91_cf_irq()
77 if (present != cf->present) { in at91_cf_irq()
78 cf->present = present; in at91_cf_irq()
81 pcmcia_parse_events(&cf->socket, SS_DETECT); in at91_cf_irq()
90 struct at91_cf_socket *cf; in at91_cf_get_status() local
95 cf = container_of(s, struct at91_cf_socket, socket); in at91_cf_get_status()
[all …]
/drivers/serial/
Dserial_cs.c445 cistpl_cftable_entry_t *cf, in simple_config_check() argument
453 if (cf->vpp1.present & (1 << CISTPL_POWER_VNOM)) in simple_config_check()
455 cf->vpp1.param[CISTPL_POWER_VNOM] / 10000; in simple_config_check()
457 if ((cf->io.nwin > 0) && (cf->io.win[0].len == size_table[(*try >> 1)]) in simple_config_check()
458 && (cf->io.win[0].base != 0)) { in simple_config_check()
459 p_dev->io.BasePort1 = cf->io.win[0].base; in simple_config_check()
461 16 : cf->io.flags & CISTPL_IO_LINES_MASK; in simple_config_check()
469 cistpl_cftable_entry_t *cf, in simple_config_check_notpicky() argument
477 if ((cf->io.nwin > 0) && ((cf->io.flags & CISTPL_IO_LINES_MASK) <= 3)) { in simple_config_check_notpicky()
552 cistpl_cftable_entry_t *cf, in multi_config_check() argument
[all …]
/drivers/bluetooth/
Dbtuart_cs.c613 cistpl_cftable_entry_t *cf, in btuart_check_config() argument
620 if (cf->vpp1.present & (1 << CISTPL_POWER_VNOM)) in btuart_check_config()
621 p_dev->conf.Vpp = cf->vpp1.param[CISTPL_POWER_VNOM] / 10000; in btuart_check_config()
622 if ((cf->io.nwin > 0) && (cf->io.win[0].len == 8) && in btuart_check_config()
623 (cf->io.win[0].base != 0)) { in btuart_check_config()
624 p_dev->io.BasePort1 = cf->io.win[0].base; in btuart_check_config()
626 cf->io.flags & CISTPL_IO_LINES_MASK; in btuart_check_config()
634 cistpl_cftable_entry_t *cf, in btuart_check_config_notpicky() argument
642 if ((cf->io.nwin > 0) && ((cf->io.flags & CISTPL_IO_LINES_MASK) <= 3)) { in btuart_check_config_notpicky()
Dbt3c_cs.c684 cistpl_cftable_entry_t *cf, in bt3c_check_config() argument
691 if (cf->vpp1.present & (1 << CISTPL_POWER_VNOM)) in bt3c_check_config()
692 p_dev->conf.Vpp = cf->vpp1.param[CISTPL_POWER_VNOM] / 10000; in bt3c_check_config()
693 if ((cf->io.nwin > 0) && (cf->io.win[0].len == 8) && in bt3c_check_config()
694 (cf->io.win[0].base != 0)) { in bt3c_check_config()
695 p_dev->io.BasePort1 = cf->io.win[0].base; in bt3c_check_config()
697 cf->io.flags & CISTPL_IO_LINES_MASK; in bt3c_check_config()
705 cistpl_cftable_entry_t *cf, in bt3c_check_config_notpicky() argument
713 if ((cf->io.nwin > 0) && ((cf->io.flags & CISTPL_IO_LINES_MASK) <= 3)) { in bt3c_check_config_notpicky()
Ddtl1_cs.c597 cistpl_cftable_entry_t *cf, in dtl1_confcheck() argument
602 if ((cf->io.nwin == 1) && (cf->io.win[0].len > 8)) { in dtl1_confcheck()
603 p_dev->io.BasePort1 = cf->io.win[0].base; in dtl1_confcheck()
604 p_dev->io.NumPorts1 = cf->io.win[0].len; /*yo */ in dtl1_confcheck()
605 p_dev->io.IOAddrLines = cf->io.flags & CISTPL_IO_LINES_MASK; in dtl1_confcheck()
/drivers/isdn/hardware/avm/
Davm_cs.c158 cistpl_cftable_entry_t *cf, in avmcs_configcheck() argument
163 if (cf->io.nwin <= 0) in avmcs_configcheck()
166 p_dev->io.BasePort1 = cf->io.win[0].base; in avmcs_configcheck()
167 p_dev->io.NumPorts1 = cf->io.win[0].len; in avmcs_configcheck()
/drivers/isdn/hisax/
Davma1_cs.c178 cistpl_cftable_entry_t *cf, in avma1cs_configcheck() argument
183 if (cf->io.nwin <= 0) in avma1cs_configcheck()
186 p_dev->io.BasePort1 = cf->io.win[0].base; in avma1cs_configcheck()
187 p_dev->io.NumPorts1 = cf->io.win[0].len; in avma1cs_configcheck()
Dteles_cs.c198 cistpl_cftable_entry_t *cf, in teles_cs_configcheck() argument
205 if ((cf->io.nwin > 0) && cf->io.win[0].base) { in teles_cs_configcheck()
207 p_dev->io.BasePort1 = cf->io.win[0].base; in teles_cs_configcheck()
Delsa_cs.c208 cistpl_cftable_entry_t *cf, in elsa_cs_configcheck() argument
215 if ((cf->io.nwin > 0) && cf->io.win[0].base) { in elsa_cs_configcheck()
217 p_dev->io.BasePort1 = cf->io.win[0].base; in elsa_cs_configcheck()
/drivers/usb/atm/
Dcxacru.c871 const struct firmware *cf) in cxacru_upload_firmware() argument
957 if (cf) in cxacru_upload_firmware()
958 for (off = 0; off < cf->size / 4; ) { in cxacru_upload_firmware()
960 int i, len = min_t(int, cf->size / 4 - off, CMD_PACKET_SIZE / 4 / 2 - 1); in cxacru_upload_firmware()
964 memcpy(buf + i * 2 + 2, cf->data + off * 4, 4); in cxacru_upload_firmware()
1000 const struct firmware *fw, *bp, *cf; in cxacru_heavy_init() local
1018 if (cxacru_find_firmware(instance, "cf", &cf)) /* optional */ in cxacru_heavy_init()
1019 cf = NULL; in cxacru_heavy_init()
1021 cxacru_upload_firmware(instance, fw, bp, cf); in cxacru_heavy_init()
1023 if (cf) in cxacru_heavy_init()
[all …]
/drivers/usb/core/
Dconfig.c515 struct usb_host_config *cf = &dev->config[c]; in usb_destroy_configuration() local
517 kfree(cf->string); in usb_destroy_configuration()
518 for (i = 0; i < cf->desc.bNumInterfaces; i++) { in usb_destroy_configuration()
519 if (cf->intf_cache[i]) in usb_destroy_configuration()
520 kref_put(&cf->intf_cache[i]->ref, in usb_destroy_configuration()
/drivers/net/pcmcia/
Dxirc2ps_cs.c720 cistpl_cftable_entry_t *cf, in xirc2ps_config_modem() argument
727 if (cf->io.nwin > 0 && (cf->io.win[0].base & 0xf) == 8) { in xirc2ps_config_modem()
729 p_dev->io.BasePort2 = cf->io.win[0].base; in xirc2ps_config_modem()
740 cistpl_cftable_entry_t *cf, in xirc2ps_config_check() argument
747 if (cf->io.nwin > 0 && (cf->io.win[0].base & 0xf) == 8) { in xirc2ps_config_check()
748 p_dev->io.BasePort2 = cf->io.win[0].base; in xirc2ps_config_check()
750 + (*pass ? (cf->index & 0x20 ? -24:8) in xirc2ps_config_check()
751 : (cf->index & 0x20 ? 8:-24)); in xirc2ps_config_check()
Dsmc91c92_cs.c466 cistpl_cftable_entry_t *cf, in mhz_mfc_config_check() argument
472 p_dev->io.BasePort2 = cf->io.win[0].base; in mhz_mfc_config_check()
658 cistpl_cftable_entry_t *cf, in smc_configcheck() argument
663 p_dev->io.BasePort1 = cf->io.win[0].base; in smc_configcheck()
664 p_dev->io.IOAddrLines = cf->io.flags & CISTPL_IO_LINES_MASK; in smc_configcheck()
/drivers/net/wireless/libertas/
D11d.c139 struct chan_freq_power *cf; in lbs_chan_2_freq() local
143 cf = channel_freq_power_UN_BG; in lbs_chan_2_freq()
146 if (chan == cf[i].channel) in lbs_chan_2_freq()
147 freq = cf[i].freq; in lbs_chan_2_freq()
/drivers/scsi/
Deata.c1238 struct eata_config *cf; in port_detect() local
1241 cf = pci_alloc_consistent(pdev, sizeof(struct eata_config), in port_detect()
1244 if (!cf) { in port_detect()
1252 memset((char *)cf, 0, sizeof(struct eata_config)); in port_detect()
1253 cf->len = (ushort) H2DEV16((ushort) 510); in port_detect()
1254 cf->ocena = 1; in port_detect()
1261 cf, cf_dma_addr); in port_detect()
/drivers/net/skfp/h/
Dsmc.h446 struct s_cfm cf ; /* cfm/cem */ member
/drivers/char/
Dcp437.uni92 0x49 U+0049 U+00cc U+00cd U+00ce U+00cf
/drivers/block/
Dfloppy.c3870 int cf; in floppy_revalidate() local
3880 cf = UTESTF(FD_DISK_CHANGED) || UTESTF(FD_VERIFY); in floppy_revalidate()
3881 if (!(cf || test_bit(drive, &fake_change) || NO_GEOM)) { in floppy_revalidate()
3891 if (cf) in floppy_revalidate()
3897 if (cf) in floppy_revalidate()