Searched defs:card (Results 26 - 50 of 265) sorted by relevance

1234567891011

/drivers/mmc/core/
H A Dsdio_irq.c25 #include <linux/mmc/card.h>
33 struct mmc_card *card = host->card; local
43 func = card->sdio_single_irq;
49 ret = mmc_io_rw_direct(card, 0, 0, SDIO_CCCR_INTx, 0, &pending);
52 mmc_card_id(card), ret);
59 func = card->sdio_func[i - 1];
63 mmc_card_id(card));
94 * asynchronous notification of pending SDIO card interrupts
174 static int sdio_card_irq_get(struct mmc_card *card) argument
195 sdio_card_irq_put(struct mmc_card *card) argument
211 sdio_single_irq_set(struct mmc_card *card) argument
[all...]
H A Dsdio_ops.c15 #include <linux/mmc/card.h>
46 * an initialized card under SPI, but some cards
114 int mmc_io_rw_direct(struct mmc_card *card, int write, unsigned fn, argument
117 BUG_ON(!card);
118 return mmc_io_rw_direct_host(card->host, write, fn, addr, in, out);
121 int mmc_io_rw_extended(struct mmc_card *card, int write, unsigned fn, argument
129 BUG_ON(!card);
160 mmc_set_data_timeout(&data, card);
162 mmc_wait_for_req(card->host, &mrq);
169 if (mmc_host_is_spi(card
[all...]
H A Dbus.c11 * MMC card bus driver model
21 #include <linux/mmc/card.h>
33 struct mmc_card *card = mmc_dev_to_card(dev); local
35 switch (card->type) {
55 * This currently matches any MMC driver to any MMC card - drivers
56 * themselves make the decision whether to drive this card in their
67 struct mmc_card *card = mmc_dev_to_card(dev); local
71 switch (card->type) {
94 retval = add_uevent_var(env, "MMC_NAME=%s", mmc_card_name(card));
110 struct mmc_card *card local
118 struct mmc_card *card = mmc_dev_to_card(dev); local
128 struct mmc_card *card = mmc_dev_to_card(dev); local
139 struct mmc_card *card = mmc_dev_to_card(dev); local
151 struct mmc_card *card = mmc_dev_to_card(dev); local
158 struct mmc_card *card = mmc_dev_to_card(dev); local
222 struct mmc_card *card = mmc_dev_to_card(dev); local
237 struct mmc_card *card; local
258 mmc_add_card(struct mmc_card *card) argument
337 mmc_remove_card(struct mmc_card *card) argument
[all...]
H A Ddebugfs.c19 #include <linux/mmc/card.h>
241 struct mmc_card *card = data; local
245 mmc_claim_host(card->host);
251 mmc_release_host(card->host);
262 struct mmc_card *card = inode->i_private; local
278 mmc_claim_host(card->host);
279 err = mmc_send_ext_csd(card, ext_csd);
280 mmc_release_host(card->host);
321 void mmc_add_card_debugfs(struct mmc_card *card) argument
323 struct mmc_host *host = card
361 mmc_remove_card_debugfs(struct mmc_card *card) argument
[all...]
H A Dhost.c25 #include <linux/mmc/card.h>
81 * once up and once down when it performs a request or card operation
171 * mmc_host_may_gate_card - check if this card may be gated
172 * @card: card to check.
174 static bool mmc_host_may_gate_card(struct mmc_card *card) argument
176 /* If there is no card we may gate it */
177 if (!card)
187 return !(card->quirks & MMC_QUIRK_BROKEN_CLK_GATING);
204 if (mmc_host_may_gate_card(host->card)
[all...]
/drivers/net/ethernet/toshiba/
H A Dspider_net_ethtool.c53 struct spider_net_card *card; local
54 card = netdev_priv(netdev);
61 ethtool_cmd_speed_set(cmd, card->phy.speed);
71 struct spider_net_card *card; local
72 card = netdev_priv(netdev);
79 strncpy(drvinfo->bus_info, pci_name(card->pdev), 32);
94 struct spider_net_card *card; local
95 card = netdev_priv(netdev);
96 return card->msg_enable;
103 struct spider_net_card *card; local
122 struct spider_net_card *card = netdev_priv(netdev); local
143 struct spider_net_card *card = netdev_priv(netdev); local
[all...]
/drivers/net/wireless/orinoco/
H A Dairport.c4 * card.
40 struct airport *card = priv->card; local
56 disable_irq(card->irq);
68 struct airport *card = priv->card; local
78 enable_irq(card->irq);
91 struct airport *card = priv->card; local
93 if (card
151 struct airport *card; local
[all...]
H A Dorinoco_cs.c41 MODULE_PARM_DESC(ignore_cis_vcc, "Allow voltage mismatch between card and socket");
47 /* PCMCIA specific device information (goes in the card field of
74 struct orinoco_pccard *card = priv->card; local
75 struct pcmcia_device *link = card->p_dev;
79 set_bit(0, &card->hard_reset_in_progress);
86 clear_bit(0, &card->hard_reset_in_progress);
99 struct orinoco_pccard *card; local
101 priv = alloc_orinocodev(sizeof(*card), &link->dev,
105 card
212 struct orinoco_pccard *card = priv->card; local
226 struct orinoco_pccard *card = priv->card; local
[all...]
H A Dorinoco_nortel.c53 #define COR_OFFSET (0xe0) /* COR attribute offset of Prism2 PC card */
54 #define COR_VALUE (COR_LEVEL_REQ | COR_FUNC_ENA) /* Enable PC card with interrupt in level trigger */
58 * Do a soft reset of the card using the Configuration Option Register
67 struct orinoco_pci_card *card = priv->card; local
69 /* Assert the reset until the card notices */
70 iowrite16(8, card->bridge_io + 2);
71 ioread16(card->attr_io + COR_OFFSET);
72 iowrite16(0x80, card->attr_io + COR_OFFSET);
75 /* Give time for the card t
90 orinoco_nortel_hw_init(struct orinoco_pci_card *card) argument
146 struct orinoco_pci_card *card; local
261 struct orinoco_pci_card *card = priv->card; local
[all...]
H A Dorinoco_pci.c5 * The card contains only one PCI region, which contains all the usual
56 /* Offset of the COR register of the PCI card */
59 /* Bitmask to reset the card */
70 * Do a soft reset of the card using the Configuration Option Register
88 /* Assert the reset until the card notices */
92 /* Give time for the card to recover from this hard effort */
96 /* The card is ready when it's no longer busy */
118 struct orinoco_pci_card *card; local
141 priv = alloc_orinocodev(sizeof(*card), &pdev->dev,
149 card
[all...]
H A Dorinoco_tmd.c53 #define COR_VALUE (COR_LEVEL_REQ | COR_FUNC_ENA) /* Enable PC card with interrupt in level trigger */
58 * Do a soft reset of the card using the Configuration Option Register
63 struct orinoco_pci_card *card = priv->card; local
67 iowrite8(COR_VALUE | COR_RESET, card->bridge_io);
70 iowrite8(COR_VALUE, card->bridge_io);
73 /* Just in case, wait more until the card is no longer busy */
96 struct orinoco_pci_card *card; local
126 priv = alloc_orinocodev(sizeof(*card), &pdev->dev,
134 card
194 struct orinoco_pci_card *card = priv->card; local
[all...]
/drivers/staging/cxt1e1/
H A Dpmcc4.h41 u_int8_t card; /* the card number */ member in struct:pmcc4_timeslot_param
/drivers/staging/sbe-2t3e3/
H A Dmodule.c2 * SBE 2T3E3 synchronous serial card driver for Linux
25 struct card *card = (struct card *)arg; local
26 struct channel *channel0 = &card->channels[0];
31 update_led(&card->channels[1], blinker);
33 card->timer.expires = jiffies + HZ / 10;
34 add_timer(&card->timer);
53 static int __devinit t3e3_init_channel(struct channel *channel, struct pci_dev *pdev, struct card *card) argument
113 struct card *card = channel0->card; local
128 struct card *card; local
[all...]
/drivers/bluetooth/
H A Dbtmrvl_main.c585 struct btmrvl_private *btmrvl_add_card(void *card) argument
611 priv->btmrvl_dev.card = card;
/drivers/isdn/hardware/eicon/
H A Ddivasfunc.c64 void diva_xdi_didd_register_adapter(int card) argument
69 if (card && ((card - 1) < MAX_ADAPTER) &&
70 IoAdapters[card - 1] && Requests[card - 1]) {
71 d.type = IoAdapters[card - 1]->Properties.DescType;
72 d.request = Requests[card - 1];
73 d.channels = IoAdapters[card - 1]->Properties.Channels;
74 d.features = IoAdapters[card - 1]->Properties.Features;
75 DBG_TRC(("DIDD register A(%d) channels=%d", card,
95 diva_xdi_didd_remove_adapter(int card) argument
[all...]
H A Didifunc.c59 * find card in list
63 udiva_card *card; local
67 diva_os_enter_spin_lock(&ll_lock, &old_irql, "find card");
69 card = list_entry(tmp, udiva_card, list);
70 if (card->d.request == d->request) {
72 "find card");
73 return (card);
76 diva_os_leave_spin_lock(&ll_lock, &old_irql, "find card");
81 * new card
86 udiva_card *card local
119 udiva_card *card = NULL; local
138 udiva_card *card; local
[all...]
/drivers/isdn/hisax/
H A Denternow_pci.c31 * 1. Load hisax with card-specific parameters, this example ist for
310 printk(KERN_WARNING "enter:now PCI: No IRQ for PCI card found\n");
315 printk(KERN_WARNING "enter:now PCI: No IO-Adr for PCI card found\n");
321 printk(KERN_WARNING "enter:now: You tried to load this driver with an incompatible TigerJet-card\n");
329 static void __devinit en_cs_init(struct IsdnCard *card, argument
353 static int __devinit en_cs_init_rest(struct IsdnCard *card, argument
359 "enter:now PCI: PCI card configured at 0x%lx IRQ %d\n",
391 setup_enternow_pci(struct IsdnCard *card) argument
394 struct IsdnCardState *cs = card->cs;
415 printk(KERN_WARNING "enter:now PCI: No PCI card foun
[all...]
H A Dnj_s.c161 printk(KERN_WARNING "NETjet-S: No IRQ for PCI card found\n");
166 printk(KERN_WARNING "NETjet-S: No IO-Adr for PCI card found\n");
181 printk(KERN_WARNING "Netjet: You tried to load this driver with an incompatible TigerJet-card\n");
190 static int __devinit njs_cs_init(struct IsdnCard *card, argument
218 printk(KERN_WARNING "NETjet-S: NETspider-U PCI card found\n");
222 printk(KERN_WARNING "NETjet-S: No PCI card found\n");
228 static int __devinit njs_cs_init_rest(struct IsdnCard *card, argument
234 "NETjet-S: %s card configured at %#lx IRQ %d\n",
262 setup_netjet_s(struct IsdnCard *card) argument
265 struct IsdnCardState *cs = card
[all...]
/drivers/isdn/hysdn/
H A Dboardergo.c37 hysdn_card *card = dev_id; /* parameter from irq */ local
42 if (!card)
44 if (!card->irq_enabled)
47 spin_lock_irqsave(&card->hysdn_lock, flags); /* no further irqs allowed */
49 if (!(bytein(card->iobase + PCI9050_INTR_REG) & PCI9050_INTR_REG_STAT1)) {
50 spin_unlock_irqrestore(&card->hysdn_lock, flags); /* restore old state */
54 dpr = card->dpram;
60 if (!card->hw_lock)
61 schedule_work(&card->irq_queue);
62 spin_unlock_irqrestore(&card
76 hysdn_card *card = container_of(ugli_api, hysdn_card, irq_queue); local
128 ergo_stopcard(hysdn_card *card) argument
153 ergo_set_errlog_state(hysdn_card *card, int on) argument
183 ergo_testram(hysdn_card *card) argument
214 ergo_writebootimg(struct HYSDN_CARD *card, unsigned char *buf, unsigned long offs) argument
261 ergo_writebootseq(struct HYSDN_CARD *card, unsigned char *buf, int len) argument
322 ergo_waitpofready(struct HYSDN_CARD *card) argument
396 ergo_releasehardware(hysdn_card *card) argument
413 ergo_inithardware(hysdn_card *card) argument
[all...]
H A Dhysdn_boot.c36 unsigned char is_crypted;/* card data is crypted */
85 pof_handle_data(hysdn_card *card, int datlen) argument
87 struct boot_data *boot = card->boot; /* pointer to boot specific data */
96 if (card->debug_flags & LOG_POF_RECORD)
97 hysdn_addlog(card, "POF created %s", boot->buf.PofTime.DateTimeText);
103 if (card->debug_flags & LOG_POF_RECORD)
104 hysdn_addlog(card, "POF got %s len=%d offs=0x%lx",
125 /* The buffer for the boot image on the card is filled in 2 cycles */
132 card->writebootimg(card, img
174 pof_write_buffer(hysdn_card *card, int datlen) argument
271 pof_write_open(hysdn_card *card, unsigned char **bufp) argument
313 pof_write_close(hysdn_card *card) argument
337 EvalSysrTokData(hysdn_card *card, unsigned char *cp, int len) argument
[all...]
H A Dhysdn_net.c63 hysdn_card *card = dev->ml_priv; local
69 if (!card->mac_addr[0]) {
78 memcpy(dev->dev_addr, card->mac_addr, ETH_ALEN);
158 hysdn_tx_netack(hysdn_card *card) argument
160 struct net_local *lp = card->netif;
184 hysdn_rx_netpkt(hysdn_card *card, unsigned char *buf, unsigned short len) argument
186 struct net_local *lp = card->netif;
218 hysdn_tx_netget(hysdn_card *card) argument
220 struct net_local *lp = card->netif;
242 /* hysdn_net_create creates a new net device for the given card
247 hysdn_net_create(hysdn_card *card) argument
294 hysdn_net_release(hysdn_card *card) argument
319 hysdn_net_getname(hysdn_card *card) argument
[all...]
H A Dhysdn_procconf.c38 hysdn_card *card; /* card the device is connected to */ member in struct:conf_writedata
48 /* process_line parses one config line and transfers it to the card if */
58 if (cnf->card->debug_flags & LOG_CNF_LINE)
59 hysdn_addlog(cnf->card, "conf line: %s", cp);
70 if (cnf->card->debug_flags & LOG_CNF_MISC)
71 hysdn_addlog(cnf->card, "conf channel invalid %d", i);
78 if (cnf->card->debug_flags & LOG_CNF_DATA)
79 hysdn_addlog(cnf->card, "conf chan=%d %s", cnf->channel, cp);
80 return (hysdn_tx_cfgline(cnf->card, cn
231 hysdn_card *card; local
317 hysdn_card *card; local
385 hysdn_card *card; local
417 hysdn_card *card; local
[all...]
/drivers/isdn/sc/
H A Dcommand.c22 #include "card.h"
25 static int dial(int card, unsigned long channel, setup_parm setup);
26 static int hangup(int card, unsigned long channel);
27 static int answer(int card, unsigned long channel);
28 static int clreaz(int card, unsigned long channel);
29 static int seteaz(int card, unsigned long channel, char *);
30 static int setl2(int card, unsigned long arg);
31 static int setl3(int card, unsigned long arg);
32 static int acceptb(int card, unsigned long channel);
85 int card; local
136 startproc(int card) argument
161 dial(int card, unsigned long channel, setup_parm setup) argument
191 answer(int card, unsigned long channel) argument
212 hangup(int card, unsigned long channel) argument
235 setl2(int card, unsigned long arg) argument
267 setl3(int card, unsigned long channel) argument
280 acceptb(int card, unsigned long channel) argument
299 clreaz(int card, unsigned long arg) argument
313 seteaz(int card, unsigned long arg, char *num) argument
328 reset(int card) argument
359 flushreadfifo(int card) argument
[all...]
/drivers/media/radio/
H A Dradio-isa.h58 /* Probe whether a card is present at the given port */
60 /* Special card initialization can be done here, this is called after
92 /* The name of the card */
93 const char *card; member in struct:radio_isa_driver
/drivers/mmc/card/
H A Dqueue.c2 * linux/drivers/mmc/card/queue.c
19 #include <linux/mmc/card.h>
42 if (mq && mmc_card_removed(mq->card))
132 struct mmc_card *card)
136 max_discard = mmc_calc_max_discard(card);
142 if (card->erased_byte == 0 && !mmc_can_discard(card))
144 q->limits.discard_granularity = card->pref_erase << 9;
146 if (card->pref_erase > max_discard)
148 if (mmc_can_secure_erase_trim(card) || mmc_can_sanitiz
131 mmc_queue_setup_discard(struct request_queue *q, struct mmc_card *card) argument
161 mmc_init_queue(struct mmc_queue *mq, struct mmc_card *card, spinlock_t *lock, const char *subname) argument
[all...]

Completed in 7791 milliseconds

1234567891011