Home
last modified time | relevance | path

Searched defs:card (Results 1 – 200 of 699) sorted by relevance

1234

/linux-4.1.27/drivers/net/ethernet/toshiba/
Dspider_net.c92 spider_net_read_reg(struct spider_net_card *card, u32 reg) in spider_net_read_reg()
108 spider_net_write_reg(struct spider_net_card *card, u32 reg, u32 value) in spider_net_write_reg()
132 struct spider_net_card *card = netdev_priv(netdev); in spider_net_write_phy() local
155 struct spider_net_card *card = netdev_priv(netdev); in spider_net_read_phy() local
178 spider_net_setup_aneg(struct spider_net_card *card) in spider_net_setup_aneg()
213 spider_net_rx_irq_off(struct spider_net_card *card) in spider_net_rx_irq_off()
228 spider_net_rx_irq_on(struct spider_net_card *card) in spider_net_rx_irq_on()
244 spider_net_set_promisc(struct spider_net_card *card) in spider_net_set_promisc()
288 spider_net_free_chain(struct spider_net_card *card, in spider_net_free_chain()
315 spider_net_init_chain(struct spider_net_card *card, in spider_net_init_chain()
[all …]
Dps3_gelic_net.c62 int gelic_card_set_irq_mask(struct gelic_card *card, u64 mask) in gelic_card_set_irq_mask()
74 static void gelic_card_rx_irq_on(struct gelic_card *card) in gelic_card_rx_irq_on()
79 static void gelic_card_rx_irq_off(struct gelic_card *card) in gelic_card_rx_irq_off()
85 static void gelic_card_get_ether_port_status(struct gelic_card *card, in gelic_card_get_ether_port_status()
105 static int gelic_card_set_link_mode(struct gelic_card *card, int mode) in gelic_card_set_link_mode()
130 static void gelic_card_disable_txdmac(struct gelic_card *card) in gelic_card_disable_txdmac()
148 static void gelic_card_enable_rxdmac(struct gelic_card *card) in gelic_card_enable_rxdmac()
177 static void gelic_card_disable_rxdmac(struct gelic_card *card) in gelic_card_disable_rxdmac()
220 static void gelic_card_reset_chain(struct gelic_card *card, in gelic_card_reset_chain()
237 void gelic_card_up(struct gelic_card *card) in gelic_card_up()
[all …]
Dspider_net_ethtool.c53 struct spider_net_card *card; in spider_net_ethtool_get_settings() local
71 struct spider_net_card *card; in spider_net_ethtool_get_drvinfo() local
96 struct spider_net_card *card; in spider_net_ethtool_get_msglevel() local
105 struct spider_net_card *card; in spider_net_ethtool_set_msglevel() local
124 struct spider_net_card *card = netdev_priv(netdev); in spider_net_ethtool_get_ringparam() local
145 struct spider_net_card *card = netdev_priv(netdev); in spider_net_get_ethtool_stats() local
/linux-4.1.27/drivers/s390/net/
Dqeth_l2_main.c41 struct qeth_card *card = dev->ml_priv; in qeth_l2_do_ioctl() local
91 struct qeth_card *card; in qeth_l2_verify_dev() local
109 struct qeth_card *card; in qeth_l2_netdev_by_devno() local
129 static int qeth_setdel_makerc(struct qeth_card *card, int retcode) in qeth_setdel_makerc()
166 static int qeth_l2_send_setgroupmac(struct qeth_card *card, __u8 *mac) in qeth_l2_send_setgroupmac()
182 static int qeth_l2_send_delgroupmac(struct qeth_card *card, __u8 *mac) in qeth_l2_send_delgroupmac()
196 static void qeth_l2_add_mc(struct qeth_card *card, __u8 *mac, int vmac) in qeth_l2_add_mc()
224 static void qeth_l2_del_all_mc(struct qeth_card *card, int del) in qeth_l2_del_all_mc()
243 static inline int qeth_l2_get_cast_type(struct qeth_card *card, in qeth_l2_get_cast_type()
255 static void qeth_l2_fill_header(struct qeth_card *card, struct qeth_hdr *hdr, in qeth_l2_fill_header()
[all …]
Dqeth_core_main.c76 int qeth_card_hw_is_reachable(struct qeth_card *card) in qeth_card_hw_is_reachable()
85 struct qeth_card *card; in qeth_close_dev_handler() local
95 void qeth_close_dev(struct qeth_card *card) in qeth_close_dev()
102 static inline const char *qeth_get_cardname(struct qeth_card *card) in qeth_get_cardname()
137 const char *qeth_get_cardname_short(struct qeth_card *card) in qeth_get_cardname_short()
190 void qeth_set_recovery_task(struct qeth_card *card) in qeth_set_recovery_task()
196 void qeth_clear_recovery_task(struct qeth_card *card) in qeth_clear_recovery_task()
202 static bool qeth_is_recovery_task(const struct qeth_card *card) in qeth_is_recovery_task()
207 void qeth_set_allowed_threads(struct qeth_card *card, unsigned long threads, in qeth_set_allowed_threads()
221 int qeth_threads_running(struct qeth_card *card, unsigned long threads) in qeth_threads_running()
[all …]
Dlcs.c171 lcs_free_card(struct lcs_card *card) in lcs_free_card()
184 struct lcs_card *card; in lcs_alloc_card() local
222 lcs_setup_read_ccws(struct lcs_card *card) in lcs_setup_read_ccws()
261 lcs_setup_read(struct lcs_card *card) in lcs_setup_read()
277 lcs_setup_write_ccws(struct lcs_card *card) in lcs_setup_write_ccws()
308 lcs_setup_write(struct lcs_card *card) in lcs_setup_write()
321 lcs_set_allowed_threads(struct lcs_card *card, unsigned long threads) in lcs_set_allowed_threads()
331 lcs_threads_running(struct lcs_card *card, unsigned long threads) in lcs_threads_running()
343 lcs_wait_for_threads(struct lcs_card *card, unsigned long threads) in lcs_wait_for_threads()
350 lcs_set_thread_start_bit(struct lcs_card *card, unsigned long thread) in lcs_set_thread_start_bit()
[all …]
Dqeth_l3_main.c170 int qeth_l3_is_addr_covered_by_ipato(struct qeth_card *card, in qeth_l3_is_addr_covered_by_ipato()
212 static int __qeth_l3_insert_ip_todo(struct qeth_card *card, in __qeth_l3_insert_ip_todo()
271 int qeth_l3_delete_ip(struct qeth_card *card, struct qeth_ipaddr *addr) in qeth_l3_delete_ip()
290 int qeth_l3_add_ip(struct qeth_card *card, struct qeth_ipaddr *addr) in qeth_l3_add_ip()
323 static void qeth_l3_delete_mc_addresses(struct qeth_card *card) in qeth_l3_delete_mc_addresses()
354 static int __qeth_l3_ref_ip_on_card(struct qeth_card *card, in __qeth_l3_ref_ip_on_card()
400 static void __qeth_l3_delete_all_mc(struct qeth_card *card, in __qeth_l3_delete_all_mc()
425 void qeth_l3_set_ip_addr_list(struct qeth_card *card) in qeth_l3_set_ip_addr_list()
487 static void qeth_l3_clear_ip_list(struct qeth_card *card, int recover) in qeth_l3_clear_ip_list()
540 static int qeth_l3_send_setdelmc(struct qeth_card *card, in qeth_l3_send_setdelmc()
[all …]
Dqeth_core_sys.c21 struct qeth_card *card = dev_get_drvdata(dev); in qeth_dev_state_show() local
49 struct qeth_card *card = dev_get_drvdata(dev); in qeth_dev_chpid_show() local
61 struct qeth_card *card = dev_get_drvdata(dev); in qeth_dev_if_name_show() local
72 struct qeth_card *card = dev_get_drvdata(dev); in qeth_dev_card_type_show() local
81 static inline const char *qeth_get_bufsize_str(struct qeth_card *card) in qeth_get_bufsize_str()
98 struct qeth_card *card = dev_get_drvdata(dev); in qeth_dev_inbuf_size_show() local
110 struct qeth_card *card = dev_get_drvdata(dev); in qeth_dev_portno_show() local
120 struct qeth_card *card = dev_get_drvdata(dev); in qeth_dev_portno_store() local
156 struct qeth_card *card = dev_get_drvdata(dev); in qeth_dev_portname_show() local
173 struct qeth_card *card = dev_get_drvdata(dev); in qeth_dev_portname_store() local
[all …]
Dqeth_l3_sys.c16 static ssize_t qeth_l3_dev_route_show(struct qeth_card *card, in qeth_l3_dev_route_show()
47 struct qeth_card *card = dev_get_drvdata(dev); in qeth_l3_dev_route4_show() local
55 static ssize_t qeth_l3_dev_route_store(struct qeth_card *card, in qeth_l3_dev_route_store()
96 struct qeth_card *card = dev_get_drvdata(dev); in qeth_l3_dev_route4_store() local
111 struct qeth_card *card = dev_get_drvdata(dev); in qeth_l3_dev_route6_show() local
122 struct qeth_card *card = dev_get_drvdata(dev); in qeth_l3_dev_route6_store() local
137 struct qeth_card *card = dev_get_drvdata(dev); in qeth_l3_dev_fake_broadcast_show() local
148 struct qeth_card *card = dev_get_drvdata(dev); in qeth_l3_dev_fake_broadcast_store() local
178 struct qeth_card *card = dev_get_drvdata(dev); in qeth_l3_dev_sniffer_show() local
189 struct qeth_card *card = dev_get_drvdata(dev); in qeth_l3_dev_sniffer_store() local
[all …]
Dqeth_l2_sys.c18 struct qeth_card *card = dev_get_drvdata(dev); in qeth_bridge_port_role_state_show() local
76 struct qeth_card *card = dev_get_drvdata(dev); in qeth_bridge_port_role_store() local
120 struct qeth_card *card = dev_get_drvdata(dev); in qeth_bridgeport_hostnotification_show() local
138 struct qeth_card *card = dev_get_drvdata(dev); in qeth_bridgeport_hostnotification_store() local
197 void qeth_l2_setup_bridgeport_attrs(struct qeth_card *card) in qeth_l2_setup_bridgeport_attrs()
/linux-4.1.27/drivers/atm/
Didt77252.c161 waitfor_idle(struct idt77252_dev *card) in waitfor_idle()
171 read_sram(struct idt77252_dev *card, unsigned long addr) in read_sram()
185 write_sram(struct idt77252_dev *card, unsigned long addr, u32 value) in write_sram()
208 struct idt77252_dev *card = dev; in read_utility() local
228 struct idt77252_dev *card = dev; in write_utility() local
350 idt77252_read_gp(struct idt77252_dev *card) in idt77252_read_gp()
362 idt77252_write_gp(struct idt77252_dev *card, u32 value) in idt77252_write_gp()
379 idt77252_eeprom_read_status(struct idt77252_dev *card) in idt77252_eeprom_read_status()
413 idt77252_eeprom_read_byte(struct idt77252_dev *card, u8 offset) in idt77252_eeprom_read_byte()
461 idt77252_eeprom_write_byte(struct idt77252_dev *card, u8 offset, u8 data) in idt77252_eeprom_write_byte()
[all …]
Dnicstar.c104 #define CMD_BUSY(card) (readl((card)->membase + STAT) & NS_STAT_CMDBZ) argument
198 ns_dev *card = pci_get_drvdata(pcidev); in nicstar_remove_one() local
308 static u32 ns_read_sram(ns_dev * card, u32 sram_address) in ns_read_sram()
324 static void ns_write_sram(ns_dev * card, u32 sram_address, u32 * value, in ns_write_sram()
348 struct ns_dev *card = NULL; in ns_init_card() local
813 static void ns_init_card_error(ns_dev *card, int error) in ns_init_card_error()
857 static scq_info *get_scq(ns_dev *card, int size, u32 scd) in get_scq()
900 static void free_scq(ns_dev *card, scq_info *scq, struct atm_vcc *vcc) in free_scq()
940 static void push_rxbufs(ns_dev * card, struct sk_buff *skb) in push_rxbufs()
1057 ns_dev *card; in ns_irq_handler() local
[all …]
Dsolos-pci.c76 #define RX_BUF(card, nr) ((card->buffers) + (nr)*(card->buffer_size)*2) argument
77 #define TX_BUF(card, nr) ((card->buffers) + (nr)*(card->buffer_size)*2 + (card->buffer_size)) argument
194 struct solos_card *card = atmdev->dev_data; in solos_param_show() local
249 struct solos_card *card = atmdev->dev_data; in solos_param_store() local
348 static int process_status(struct solos_card *card, int port, struct sk_buff *skb) in process_status()
415 static int process_command(struct solos_card *card, int port, struct sk_buff *skb) in process_command()
451 struct solos_card *card = atmdev->dev_data; in console_show() local
468 static int send_command(struct solos_card *card, int dev, const char *buf, size_t size) in send_command()
501 struct solos_card *card = atmdev->dev_data; in console_store() local
524 struct solos_card *card = pci_get_drvdata(pdev); in geos_gpio_store() local
[all …]
/linux-4.1.27/drivers/isdn/hardware/mISDN/
Dw6692.c96 _set_debug(struct w6692_hw *card) in _set_debug()
107 struct w6692_hw *card; in set_debug() local
130 ReadW6692(struct w6692_hw *card, u8 offset) in ReadW6692()
136 WriteW6692(struct w6692_hw *card, u8 offset, u8 value) in WriteW6692()
154 enable_hwirq(struct w6692_hw *card) in enable_hwirq()
160 disable_hwirq(struct w6692_hw *card) in disable_hwirq()
168 W6692Version(struct w6692_hw *card) in W6692Version()
178 w6692_led_handler(struct w6692_hw *card, int on) in w6692_led_handler()
192 ph_command(struct w6692_hw *card, u8 cmd) in ph_command()
199 W6692_new_ph(struct w6692_hw *card) in W6692_new_ph()
[all …]
Dnetjet.c106 _set_debug(struct tiger_hw *card) in _set_debug()
117 struct tiger_hw *card; in set_debug() local
136 nj_disable_hwirq(struct tiger_hw *card) in nj_disable_hwirq()
146 struct tiger_hw *card = p; in ReadISAC_nj() local
159 struct tiger_hw *card = p; in WriteISAC_nj() local
170 struct tiger_hw *card = p; in ReadFiFoISAC_nj() local
180 struct tiger_hw *card = p; in WriteFiFoISAC_nj() local
190 struct tiger_hw *card = bc->bch.hw; in fill_mem() local
213 struct tiger_hw *card = bc->bch.hw; in mode_tiger() local
286 nj_reset(struct tiger_hw *card) in nj_reset()
[all …]
Dspeedfax.c89 _set_debug(struct sfax_hw *card) in _set_debug()
100 struct sfax_hw *card; in set_debug() local
354 release_card(struct sfax_hw *card) { in release_card()
375 setup_instance(struct sfax_hw *card) in setup_instance()
458 struct sfax_hw *card = kzalloc(sizeof(struct sfax_hw), GFP_KERNEL); in sfaxpci_probe() local
486 struct sfax_hw *card = pci_get_drvdata(pdev); in sfax_remove_pci() local
/linux-4.1.27/drivers/isdn/sc/
Dcommand.c85 int card; in command() local
136 int startproc(int card) in startproc()
161 static int dial(int card, unsigned long channel, setup_parm setup) in dial()
191 static int answer(int card, unsigned long channel) in answer()
212 static int hangup(int card, unsigned long channel) in hangup()
235 static int setl2(int card, unsigned long arg) in setl2()
267 static int setl3(int card, unsigned long channel) in setl3()
280 static int acceptb(int card, unsigned long channel) in acceptb()
299 static int clreaz(int card, unsigned long arg) in clreaz()
313 static int seteaz(int card, unsigned long arg, char *num) in seteaz()
[all …]
Dtimer.c27 static void setup_ports(int card) in setup_ports()
50 int card = (unsigned int) data; in sc_check_reset() local
91 int card = (unsigned int) data; in check_phystat() local
Dpacket.c27 int card; in sndpkt() local
93 void rcvpkt(int card, RspMessage *rcvmsg) in rcvpkt()
145 int setup_buffers(int card, int c) in setup_buffers()
Dmessage.c28 int receivemessage(int card, RspMessage *rspmsg) in receivemessage()
83 int sendmessage(int card, in sendmessage()
168 int send_and_receive(int card, in send_and_receive()
Dshmem.c27 void memcpy_toshmem(int card, void *dest, const void *src, size_t n) in memcpy_toshmem()
66 void memcpy_fromshmem(int card, void *dest, const void *src, size_t n) in memcpy_fromshmem()
Dioctl.c20 int sc_ioctl(int card, scs_ioctl *data) in sc_ioctl()
412 static int GetStatus(int card, boardInfo *bi) in GetStatus()
/linux-4.1.27/drivers/block/rsxx/
Dcregs.c61 static int copy_to_creg_data(struct rsxx_cardinfo *card, in copy_to_creg_data()
87 static int copy_from_creg_data(struct rsxx_cardinfo *card, in copy_from_creg_data()
112 static void creg_issue_cmd(struct rsxx_cardinfo *card, struct creg_cmd *cmd) in creg_issue_cmd()
138 static void creg_kick_queue(struct rsxx_cardinfo *card) in creg_kick_queue()
161 static int creg_queue_cmd(struct rsxx_cardinfo *card, in creg_queue_cmd()
208 struct rsxx_cardinfo *card = (struct rsxx_cardinfo *) data; in creg_cmd_timed_out() local
238 struct rsxx_cardinfo *card; in creg_cmd_done() local
311 static void creg_reset(struct rsxx_cardinfo *card) in creg_reset()
371 static void creg_cmd_done_cb(struct rsxx_cardinfo *card, in creg_cmd_done_cb()
385 static int __issue_creg_rw(struct rsxx_cardinfo *card, in __issue_creg_rw()
[all …]
Dcore.c67 struct rsxx_cardinfo *card = m->private; in rsxx_attr_pci_regs_show() local
129 struct rsxx_cardinfo *card = m->private; in rsxx_attr_stats_show() local
181 struct rsxx_cardinfo *card = file_inode(fp)->i_private; in rsxx_cram_read() local
202 struct rsxx_cardinfo *card = file_inode(fp)->i_private; in rsxx_cram_write() local
243 static void rsxx_debugfs_dev_new(struct rsxx_cardinfo *card) in rsxx_debugfs_dev_new()
284 static void rsxx_mask_interrupts(struct rsxx_cardinfo *card) in rsxx_mask_interrupts()
307 void rsxx_enable_ier(struct rsxx_cardinfo *card, unsigned int intr) in rsxx_enable_ier()
317 void rsxx_disable_ier(struct rsxx_cardinfo *card, unsigned int intr) in rsxx_disable_ier()
326 void rsxx_enable_ier_and_isr(struct rsxx_cardinfo *card, in rsxx_enable_ier_and_isr()
337 void rsxx_disable_ier_and_isr(struct rsxx_cardinfo *card, in rsxx_disable_ier_and_isr()
[all …]
Ddev.c73 struct rsxx_cardinfo *card = bdev->bd_disk->private_data; in rsxx_blkdev_ioctl() local
87 struct rsxx_cardinfo *card = bdev->bd_disk->private_data; in rsxx_getgeo() local
113 static void disk_stats_start(struct rsxx_cardinfo *card, struct bio *bio) in disk_stats_start()
119 static void disk_stats_complete(struct rsxx_cardinfo *card, in disk_stats_complete()
127 static void bio_dma_done_cb(struct rsxx_cardinfo *card, in bio_dma_done_cb()
147 struct rsxx_cardinfo *card = q->queuedata; in rsxx_make_request() local
206 static bool rsxx_discard_supported(struct rsxx_cardinfo *card) in rsxx_discard_supported()
215 int rsxx_attach_dev(struct rsxx_cardinfo *card) in rsxx_attach_dev()
235 void rsxx_detach_dev(struct rsxx_cardinfo *card) in rsxx_detach_dev()
247 int rsxx_setup_dev(struct rsxx_cardinfo *card) in rsxx_setup_dev()
[all …]
Ddma.c102 static unsigned int rsxx_addr8_to_laddr(u64 addr8, struct rsxx_cardinfo *card) in rsxx_addr8_to_laddr()
113 static unsigned int rsxx_get_dma_tgt(struct rsxx_cardinfo *card, u64 addr8) in rsxx_get_dma_tgt()
122 void rsxx_dma_queue_reset(struct rsxx_cardinfo *card) in rsxx_dma_queue_reset()
204 static void dma_intr_coal_auto_tune(struct rsxx_cardinfo *card) in dma_intr_coal_auto_tune()
614 static int rsxx_queue_discard(struct rsxx_cardinfo *card, in rsxx_queue_discard()
643 static int rsxx_queue_dma(struct rsxx_cardinfo *card, in rsxx_queue_dma()
680 int rsxx_dma_queue_bio(struct rsxx_cardinfo *card, in rsxx_dma_queue_bio()
863 static int rsxx_dma_stripe_setup(struct rsxx_cardinfo *card, in rsxx_dma_stripe_setup()
894 int rsxx_dma_configure(struct rsxx_cardinfo *card) in rsxx_dma_configure()
906 int rsxx_dma_setup(struct rsxx_cardinfo *card) in rsxx_dma_setup()
[all …]
/linux-4.1.27/drivers/isdn/act2000/
Dcapi.c91 actcapi_chkhdr(act2000_card *card, actcapi_msghdr *hdr) in actcapi_chkhdr()
131 actcapi_listen_req(act2000_card *card) in actcapi_listen_req()
154 actcapi_connect_req(act2000_card *card, act2000_chan *chan, char *phone, in actcapi_connect_req()
181 actcapi_connect_b3_req(act2000_card *card, act2000_chan *chan) in actcapi_connect_b3_req()
200 actcapi_manufacturer_req_net(act2000_card *card) in actcapi_manufacturer_req_net()
251 actcapi_manufacturer_req_errh(act2000_card *card) in actcapi_manufacturer_req_errh()
272 actcapi_manufacturer_req_msn(act2000_card *card) in actcapi_manufacturer_req_msn()
302 actcapi_select_b2_protocol_req(act2000_card *card, act2000_chan *chan) in actcapi_select_b2_protocol_req()
337 actcapi_select_b3_protocol_req(act2000_card *card, act2000_chan *chan) in actcapi_select_b3_protocol_req()
358 actcapi_listen_b3_req(act2000_card *card, act2000_chan *chan) in actcapi_listen_b3_req()
[all …]
Dmodule.c51 find_channel(act2000_card *card, int channel) in find_channel()
63 act2000_clear_msn(act2000_card *card) in act2000_clear_msn()
85 act2000_find_msn(act2000_card *card, char *msn, int ia5) in act2000_find_msn()
108 act2000_find_eaz(act2000_card *card, char eaz) in act2000_find_eaz()
127 act2000_set_msn(act2000_card *card, char *eazmsn) in act2000_set_msn()
197 struct act2000_card *card = in act2000_transmit() local
215 struct act2000_card *card = in act2000_receive() local
233 act2000_card *card = (act2000_card *)data; in act2000_poll() local
243 act2000_command(act2000_card *card, isdn_ctrl *c) in act2000_command()
420 act2000_sendbuf(act2000_card *card, int channel, int ack, struct sk_buff *skb) in act2000_sendbuf()
[all …]
Dact2000_isa.c66 act2000_card *card = dev_id; in act2000_isa_interrupt() local
88 act2000_isa_select_irq(act2000_card *card) in act2000_isa_select_irq()
120 act2000_isa_enable_irq(act2000_card *card) in act2000_isa_enable_irq()
132 act2000_isa_config_irq(act2000_card *card, short irq) in act2000_isa_config_irq()
162 act2000_isa_config_port(act2000_card *card, unsigned short portbase) in act2000_isa_config_port()
181 act2000_isa_release(act2000_card *card) in act2000_isa_release()
197 act2000_isa_writeb(act2000_card *card, u_char data) in act2000_isa_writeb()
214 act2000_isa_readb(act2000_card *card, u_char *data) in act2000_isa_readb()
231 act2000_isa_receive(act2000_card *card) in act2000_isa_receive()
294 act2000_isa_send(act2000_card *card) in act2000_isa_send()
[all …]
/linux-4.1.27/drivers/isdn/isdnloop/
Disdnloop.c37 isdnloop_free_queue(isdnloop_card *card, int channel) in isdnloop_free_queue()
54 isdnloop_bchan_send(isdnloop_card *card, int ch) in isdnloop_bchan_send()
95 isdnloop_card *card = (isdnloop_card *) data; in isdnloop_pollbchan() local
185 isdnloop_parse_status(u_char *status, int channel, isdnloop_card *card) in isdnloop_parse_status()
279 isdnloop_putmsg(isdnloop_card *card, unsigned char c) in isdnloop_putmsg()
310 isdnloop_card *card = (isdnloop_card *) data; in isdnloop_polldchan() local
400 isdnloop_sendbuf(int channel, struct sk_buff *skb, isdnloop_card *card) in isdnloop_sendbuf()
443 isdnloop_readstatus(u_char __user *buf, int len, isdnloop_card *card) in isdnloop_readstatus()
471 isdnloop_fake(isdnloop_card *card, char *s, int ch) in isdnloop_fake()
519 isdnloop_fake_err(isdnloop_card *card) in isdnloop_fake_err()
[all …]
/linux-4.1.27/drivers/net/wireless/mwifiex/
Dpcie.c55 struct pcie_service_card *card = adapter->card; in mwifiex_map_pci_memory() local
71 struct pcie_service_card *card = adapter->card; in mwifiex_unmap_pci_memory() local
84 struct pcie_service_card *card = adapter->card; in mwifiex_pcie_ok_to_access_hw() local
113 struct pcie_service_card *card; in mwifiex_pcie_suspend() local
150 struct pcie_service_card *card; in mwifiex_pcie_resume() local
189 struct pcie_service_card *card; in mwifiex_pcie_probe() local
225 struct pcie_service_card *card; in mwifiex_pcie_remove() local
304 struct pcie_service_card *card = adapter->card; in mwifiex_write_reg() local
316 struct pcie_service_card *card = adapter->card; in mwifiex_read_reg() local
327 struct pcie_service_card *card = adapter->card; in mwifiex_read_reg_byte() local
[all …]
Dusb.c162 struct usb_card_rec *card; in mwifiex_usb_rx_complete() local
250 struct usb_card_rec *card = adapter->card; in mwifiex_usb_tx_complete() local
273 struct usb_card_rec *card = (struct usb_card_rec *)adapter->card; in mwifiex_usb_submit_rx_urb() local
309 static void mwifiex_usb_free(struct usb_card_rec *card) in mwifiex_usb_free()
351 struct usb_card_rec *card; in mwifiex_usb_probe() local
460 struct usb_card_rec *card = usb_get_intfdata(intf); in mwifiex_usb_suspend() local
511 struct usb_card_rec *card = usb_get_intfdata(intf); in mwifiex_usb_resume() local
554 struct usb_card_rec *card = usb_get_intfdata(intf); in mwifiex_usb_disconnect() local
603 struct usb_card_rec *card = (struct usb_card_rec *)adapter->card; in mwifiex_usb_tx_init() local
634 struct usb_card_rec *card = (struct usb_card_rec *)adapter->card; in mwifiex_usb_rx_init() local
[all …]
Dsdio.c84 struct sdio_mmc_card *card = NULL; in mwifiex_sdio_probe() local
150 struct sdio_mmc_card *card; in mwifiex_sdio_resume() local
190 struct sdio_mmc_card *card; in mwifiex_sdio_remove() local
231 struct sdio_mmc_card *card; in mwifiex_sdio_suspend() local
339 struct sdio_mmc_card *card = adapter->card; in mwifiex_write_reg() local
355 struct sdio_mmc_card *card = adapter->card; in mwifiex_read_reg() local
377 struct sdio_mmc_card *card = adapter->card; in mwifiex_write_data_sync() local
409 struct sdio_mmc_card *card = adapter->card; in mwifiex_read_data_sync() local
461 struct sdio_mmc_card *card = adapter->card; in mwifiex_init_sdio_new_mode() local
501 struct sdio_mmc_card *card = adapter->card; in mwifiex_init_sdio_ioport() local
[all …]
/linux-4.1.27/drivers/mmc/core/
Dmmc.c64 static int mmc_decode_cid(struct mmc_card *card) in mmc_decode_cid()
116 static void mmc_set_erase_size(struct mmc_card *card) in mmc_set_erase_size()
129 static int mmc_decode_csd(struct mmc_card *card) in mmc_decode_csd()
181 static void mmc_select_card_type(struct mmc_card *card) in mmc_select_card_type()
242 static void mmc_manage_enhanced_area(struct mmc_card *card, u8 *ext_csd) in mmc_manage_enhanced_area()
289 static void mmc_manage_gp_partitions(struct mmc_card *card, u8 *ext_csd) in mmc_manage_gp_partitions()
339 static int mmc_decode_ext_csd(struct mmc_card *card, u8 *ext_csd) in mmc_decode_ext_csd()
596 static int mmc_read_ext_csd(struct mmc_card *card) in mmc_read_ext_csd()
634 static int mmc_compare_ext_csds(struct mmc_card *card, unsigned bus_width) in mmc_compare_ext_csds()
731 struct mmc_card *card = mmc_dev_to_card(dev); in mmc_fwrev_show() local
[all …]
Dbus.c34 struct mmc_card *card = mmc_dev_to_card(dev); in type_show() local
70 struct mmc_card *card = mmc_dev_to_card(dev); in mmc_bus_uevent() local
113 struct mmc_card *card = mmc_dev_to_card(dev); in mmc_bus_probe() local
121 struct mmc_card *card = mmc_dev_to_card(dev); in mmc_bus_remove() local
131 struct mmc_card *card = mmc_dev_to_card(dev); in mmc_bus_shutdown() local
149 struct mmc_card *card = mmc_dev_to_card(dev); in mmc_bus_suspend() local
163 struct mmc_card *card = mmc_dev_to_card(dev); in mmc_bus_resume() local
180 struct mmc_card *card = mmc_dev_to_card(dev); in mmc_runtime_suspend() local
188 struct mmc_card *card = mmc_dev_to_card(dev); in mmc_runtime_resume() local
247 struct mmc_card *card = mmc_dev_to_card(dev); in mmc_release_card() local
[all …]
Dsdio.c61 static int sdio_init_func(struct mmc_card *card, unsigned int fn) in sdio_init_func()
101 static int sdio_read_cccr(struct mmc_card *card, u32 ocr) in sdio_read_cccr()
203 static int sdio_enable_wide(struct mmc_card *card) in sdio_enable_wide()
239 static int sdio_disable_cd(struct mmc_card *card) in sdio_disable_cd()
260 static int sdio_disable_wide(struct mmc_card *card) in sdio_disable_wide()
291 static int sdio_enable_4bit_bus(struct mmc_card *card) in sdio_enable_4bit_bus()
320 static int mmc_sdio_switch_hs(struct mmc_card *card, int enable) in mmc_sdio_switch_hs()
350 static int sdio_enable_hs(struct mmc_card *card) in sdio_enable_hs()
365 static unsigned mmc_sdio_get_max_clock(struct mmc_card *card) in mmc_sdio_get_max_clock()
403 static void sdio_select_driver_type(struct mmc_card *card) in sdio_select_driver_type()
[all …]
Dsd.c73 void mmc_decode_cid(struct mmc_card *card) in mmc_decode_cid()
102 static int mmc_decode_csd(struct mmc_card *card) in mmc_decode_csd()
190 static int mmc_decode_scr(struct mmc_card *card) in mmc_decode_scr()
225 static int mmc_read_ssr(struct mmc_card *card) in mmc_read_ssr()
280 static int mmc_read_switch(struct mmc_card *card) in mmc_read_switch()
343 int mmc_sd_switch_hs(struct mmc_card *card) in mmc_sd_switch_hs()
387 static int sd_select_driver_type(struct mmc_card *card, u8 *status) in sd_select_driver_type()
451 static void sd_update_bus_speed_mode(struct mmc_card *card) in sd_update_bus_speed_mode()
484 static int sd_set_bus_speed_mode(struct mmc_card *card, u8 *status) in sd_set_bus_speed_mode()
554 static int sd_set_current_limit(struct mmc_card *card, u8 *status) in sd_set_current_limit()
[all …]
Dmmc_ops.c56 static inline int __mmc_send_status(struct mmc_card *card, u32 *status, in __mmc_send_status()
85 int mmc_send_status(struct mmc_card *card, u32 *status) in mmc_send_status()
90 static int _mmc_select_card(struct mmc_host *host, struct mmc_card *card) in _mmc_select_card()
114 int mmc_select_card(struct mmc_card *card) in mmc_select_card()
244 int mmc_set_relative_addr(struct mmc_card *card) in mmc_set_relative_addr()
290 mmc_send_cxd_data(struct mmc_card *card, struct mmc_host *host, in mmc_send_cxd_data()
339 int mmc_send_csd(struct mmc_card *card, u32 *csd) in mmc_send_csd()
392 int mmc_get_ext_csd(struct mmc_card *card, u8 **new_ext_csd) in mmc_get_ext_csd()
466 int __mmc_switch(struct mmc_card *card, u8 set, u8 index, u8 value, in __mmc_switch()
572 int mmc_switch(struct mmc_card *card, u8 set, u8 index, u8 value, in mmc_switch()
[all …]
Dsdio_cis.c27 static int cistpl_vers_1(struct mmc_card *card, struct sdio_func *func, in cistpl_vers_1()
74 static int cistpl_manfid(struct mmc_card *card, struct sdio_func *func, in cistpl_manfid()
111 static int cis_tpl_parse(struct mmc_card *card, struct sdio_func *func, in cis_tpl_parse()
146 static int cistpl_funce_common(struct mmc_card *card, struct sdio_func *func, in cistpl_funce_common()
163 static int cistpl_funce_func(struct mmc_card *card, struct sdio_func *func, in cistpl_funce_func()
208 static int cistpl_funce(struct mmc_card *card, struct sdio_func *func, in cistpl_funce()
228 static int sdio_read_cis(struct mmc_card *card, struct sdio_func *func) in sdio_read_cis()
346 int sdio_read_common_cis(struct mmc_card *card) in sdio_read_common_cis()
351 void sdio_free_common_cis(struct mmc_card *card) in sdio_free_common_cis()
Dcore.c270 void mmc_start_bkops(struct mmc_card *card, bool from_exception) in mmc_start_bkops()
622 int mmc_interrupt_hpi(struct mmc_card *card) in mmc_interrupt_hpi()
720 int mmc_stop_bkops(struct mmc_card *card) in mmc_stop_bkops()
740 int mmc_read_bkops_status(struct mmc_card *card) in mmc_read_bkops_status()
766 void mmc_set_data_timeout(struct mmc_data *data, const struct mmc_card *card) in mmc_set_data_timeout()
874 unsigned int mmc_align_data_size(struct mmc_card *card, unsigned int sz) in mmc_align_data_size()
968 void mmc_get_card(struct mmc_card *card) in mmc_get_card()
979 void mmc_put_card(struct mmc_card *card) in mmc_put_card()
1094 int mmc_execute_tuning(struct mmc_card *card) in mmc_execute_tuning()
1818 void mmc_init_erase(struct mmc_card *card) in mmc_init_erase()
[all …]
Dsd_ops.c25 int mmc_app_cmd(struct mmc_host *host, struct mmc_card *card) in mmc_app_cmd()
68 int mmc_wait_for_app_cmd(struct mmc_host *host, struct mmc_card *card, in mmc_wait_for_app_cmd()
121 int mmc_app_set_bus_width(struct mmc_card *card, int width) in mmc_app_set_bus_width()
248 int mmc_app_send_scr(struct mmc_card *card, u32 *scr) in mmc_app_send_scr()
307 int mmc_sd_switch(struct mmc_card *card, int mode, int group, in mmc_sd_switch()
352 int mmc_app_sd_status(struct mmc_card *card, void *ssr) in mmc_app_sd_status()
Dsdio_irq.c33 struct mmc_card *card = host->card; in process_sdio_pending_irqs() local
193 static int sdio_card_irq_get(struct mmc_card *card) in sdio_card_irq_get()
220 static int sdio_card_irq_put(struct mmc_card *card) in sdio_card_irq_put()
242 static void sdio_single_irq_set(struct mmc_card *card) in sdio_single_irq_set()
Ddebugfs.c263 struct mmc_card *card = data; in mmc_dbg_card_status_get() local
284 struct mmc_card *card = inode->i_private; in mmc_ext_csd_open() local
336 void mmc_add_card_debugfs(struct mmc_card *card) in mmc_add_card_debugfs()
376 void mmc_remove_card_debugfs(struct mmc_card *card) in mmc_remove_card_debugfs()
Dquirks.c41 static void add_quirk_for_sdio_devices(struct mmc_card *card, int data) in add_quirk_for_sdio_devices()
72 void mmc_fixup_device(struct mmc_card *card, const struct mmc_fixup *table) in mmc_fixup_device()
/linux-4.1.27/drivers/net/ethernet/dec/tulip/
Dxircom_cb.c313 struct xircom_private *card = netdev_priv(dev); in xircom_remove() local
328 struct xircom_private *card = netdev_priv(dev); in xircom_interrupt() local
379 struct xircom_private *card; in xircom_start_xmit() local
458 struct xircom_private *card; in xircom_close() local
498 static void initialize_card(struct xircom_private *card) in initialize_card()
536 static void trigger_transmit(struct xircom_private *card) in trigger_transmit()
550 static void trigger_receive(struct xircom_private *card) in trigger_receive()
561 static void setup_descriptors(struct xircom_private *card) in setup_descriptors()
625 static void remove_descriptors(struct xircom_private *card) in remove_descriptors()
641 static int link_status_changed(struct xircom_private *card) in link_status_changed()
[all …]
/linux-4.1.27/drivers/pnp/
Dcard.c19 struct pnp_card *card) in match_card()
70 static int card_probe(struct pnp_card *card, struct pnp_card_driver *drv) in card_probe()
106 static struct pnp_id *pnp_add_card_id(struct pnp_card *card, char *id) in pnp_add_card_id()
135 static void pnp_free_card_ids(struct pnp_card *card) in pnp_free_card_ids()
150 struct pnp_card *card = to_pnp_card(dmdev); in pnp_release_card() local
158 struct pnp_card *card; in pnp_alloc_card() local
187 struct pnp_card *card = to_pnp_card(dmdev); in pnp_show_card_name() local
199 struct pnp_card *card = to_pnp_card(dmdev); in pnp_show_card_ids() local
211 static int pnp_interface_attach_card(struct pnp_card *card) in pnp_interface_attach_card()
233 int pnp_add_card(struct pnp_card *card) in pnp_add_card()
[all …]
/linux-4.1.27/drivers/net/wireless/libertas/
Dif_spi.c81 static void free_if_spi_card(struct if_spi_card *card) in free_if_spi_card()
133 static void spu_transaction_init(struct if_spi_card *card) in spu_transaction_init()
144 static void spu_transaction_finish(struct if_spi_card *card) in spu_transaction_finish()
153 static int spu_write(struct if_spi_card *card, u16 reg, const u8 *buf, int len) in spu_write()
186 static inline int spu_write_u16(struct if_spi_card *card, u16 reg, u16 val) in spu_write_u16()
206 static int spu_read(struct if_spi_card *card, u16 reg, u8 *buf, int len) in spu_read()
257 static inline int spu_read_u16(struct if_spi_card *card, u16 reg, u16 *val) in spu_read_u16()
272 static int spu_read_u32(struct if_spi_card *card, u16 reg, u32 *val) in spu_read_u32()
292 static int spu_wait_for_u16(struct if_spi_card *card, u16 reg, in spu_wait_for_u16()
322 static int spu_wait_for_u32(struct if_spi_card *card, u32 reg, u32 target) in spu_wait_for_u32()
[all …]
Dif_sdio.c147 static u16 if_sdio_read_scratch(struct if_sdio_card *card, int *err) in if_sdio_read_scratch()
166 static u8 if_sdio_read_rx_unit(struct if_sdio_card *card) in if_sdio_read_rx_unit()
179 static u16 if_sdio_read_rx_len(struct if_sdio_card *card, int *err) in if_sdio_read_rx_len()
206 static int if_sdio_handle_cmd(struct if_sdio_card *card, in if_sdio_handle_cmd()
240 static int if_sdio_handle_data(struct if_sdio_card *card, in if_sdio_handle_data()
278 static int if_sdio_handle_event(struct if_sdio_card *card, in if_sdio_handle_event()
315 static int if_sdio_wait_status(struct if_sdio_card *card, const u8 condition) in if_sdio_wait_status()
335 static int if_sdio_card_to_host(struct if_sdio_card *card) in if_sdio_card_to_host()
420 struct if_sdio_card *card; in if_sdio_host_to_card_worker() local
464 static int if_sdio_prog_helper(struct if_sdio_card *card, in if_sdio_prog_helper()
[all …]
Dif_cs.c109 static inline unsigned int if_cs_read8(struct if_cs_card *card, uint reg) in if_cs_read8()
116 static inline unsigned int if_cs_read16(struct if_cs_card *card, uint reg) in if_cs_read16()
124 struct if_cs_card *card, in if_cs_read16_rep()
135 static inline void if_cs_write8(struct if_cs_card *card, uint reg, u8 val) in if_cs_write8()
142 static inline void if_cs_write16(struct if_cs_card *card, uint reg, u16 val) in if_cs_write16()
150 struct if_cs_card *card, in if_cs_write16_rep()
174 static int if_cs_poll_while_fw_download(struct if_cs_card *card, uint addr, u8 reg) in if_cs_poll_while_fw_download()
337 static inline void if_cs_enable_ints(struct if_cs_card *card) in if_cs_enable_ints()
343 static inline void if_cs_disable_ints(struct if_cs_card *card) in if_cs_disable_ints()
354 struct if_cs_card *card = (struct if_cs_card *)priv->card; in if_cs_send_cmd() local
[all …]
/linux-4.1.27/drivers/bluetooth/
Dbtmrvl_sdio.c219 static int btmrvl_sdio_get_rx_unit(struct btmrvl_sdio_card *card) in btmrvl_sdio_get_rx_unit()
231 static int btmrvl_sdio_read_fw_status(struct btmrvl_sdio_card *card, u16 *dat) in btmrvl_sdio_read_fw_status()
251 static int btmrvl_sdio_read_rx_len(struct btmrvl_sdio_card *card, u16 *dat) in btmrvl_sdio_read_rx_len()
263 static int btmrvl_sdio_enable_host_int_mask(struct btmrvl_sdio_card *card, in btmrvl_sdio_enable_host_int_mask()
277 static int btmrvl_sdio_disable_host_int_mask(struct btmrvl_sdio_card *card, in btmrvl_sdio_disable_host_int_mask()
298 static int btmrvl_sdio_poll_card_status(struct btmrvl_sdio_card *card, u8 bits) in btmrvl_sdio_poll_card_status()
322 static int btmrvl_sdio_verify_fw_download(struct btmrvl_sdio_card *card, in btmrvl_sdio_verify_fw_download()
345 static int btmrvl_sdio_download_helper(struct btmrvl_sdio_card *card) in btmrvl_sdio_download_helper()
443 static int btmrvl_sdio_download_fw_w_helper(struct btmrvl_sdio_card *card) in btmrvl_sdio_download_fw_w_helper()
594 struct btmrvl_sdio_card *card = priv->btmrvl_dev.card; in btmrvl_sdio_card_to_host() local
[all …]
/linux-4.1.27/drivers/isdn/icn/
Dicn.c57 icn_free_queue(icn_card *card, int channel) in icn_free_queue()
96 icn_disable_ram(icn_card *card) in icn_disable_ram()
105 icn_enable_ram(icn_card *card) in icn_enable_ram()
116 icn_map_channel(icn_card *card, int channel) in icn_map_channel()
142 icn_lock_channel(icn_card *card, int channel) in icn_lock_channel()
197 icn_trymaplock_channel(icn_card *card, int channel) in icn_trymaplock_channel()
228 icn_maprelease_channel(icn_card *card, int channel) in icn_maprelease_channel()
249 icn_pollbchan_receive(int channel, icn_card *card) in icn_pollbchan_receive()
300 icn_pollbchan_send(int channel, icn_card *card) in icn_pollbchan_send()
385 icn_card *card = (icn_card *) data; in icn_pollbchan() local
[all …]
/linux-4.1.27/drivers/isdn/hysdn/
Dboardergo.c37 hysdn_card *card = dev_id; /* parameter from irq */ in ergo_interrupt() local
76 hysdn_card *card = container_of(ugli_api, hysdn_card, irq_queue); in ergo_irq_bh() local
128 ergo_stopcard(hysdn_card *card) in ergo_stopcard()
153 ergo_set_errlog_state(hysdn_card *card, int on) in ergo_set_errlog_state()
183 ergo_testram(hysdn_card *card) in ergo_testram()
214 ergo_writebootimg(struct HYSDN_CARD *card, unsigned char *buf, in ergo_writebootimg()
261 ergo_writebootseq(struct HYSDN_CARD *card, unsigned char *buf, int len) in ergo_writebootseq()
322 ergo_waitpofready(struct HYSDN_CARD *card) in ergo_waitpofready()
396 ergo_releasehardware(hysdn_card *card) in ergo_releasehardware()
413 ergo_inithardware(hysdn_card *card) in ergo_inithardware()
Dhysdn_proclog.c57 hysdn_card_errlog(hysdn_card *card, tErrLogEntry *logp, int maxsize) in hysdn_card_errlog()
69 hysdn_addlog(hysdn_card *card, char *fmt, ...) in hysdn_addlog()
101 put_log_buffer(hysdn_card *card, char *cp) in put_log_buffer()
159 hysdn_card *card = file->private_data; in hysdn_log_write() local
176 hysdn_card *card = PDE_DATA(file_inode(file)); in hysdn_log_read() local
206 hysdn_card *card = PDE_DATA(ino); in hysdn_log_open() local
244 hysdn_card *card; in hysdn_log_close() local
290 hysdn_card *card = PDE_DATA(file_inode(file)); in hysdn_log_poll() local
324 hysdn_proclog_init(hysdn_card *card) in hysdn_proclog_init()
349 hysdn_proclog_release(hysdn_card *card) in hysdn_proclog_release()
Dhysdn_net.c63 hysdn_card *card = dev->ml_priv; in net_open() local
158 hysdn_tx_netack(hysdn_card *card) in hysdn_tx_netack()
184 hysdn_rx_netpkt(hysdn_card *card, unsigned char *buf, unsigned short len) in hysdn_rx_netpkt()
218 hysdn_tx_netget(hysdn_card *card) in hysdn_tx_netget()
247 hysdn_net_create(hysdn_card *card) in hysdn_net_create()
294 hysdn_net_release(hysdn_card *card) in hysdn_net_release()
319 hysdn_net_getname(hysdn_card *card) in hysdn_net_getname()
Dhycapi.c85 hysdn_card *card = NULL; in hycapi_remove_ctr() local
120 hysdn_card *card = cinfo->card; in hycapi_sendmsg_internal() local
156 hysdn_card *card = cinfo->card; in hycapi_register_internal() local
228 hysdn_card *card = cinfo->card; in hycapi_register_appl() local
265 hysdn_card *card = cinfo->card; in hycapi_release_internal() local
323 int hycapi_capi_release(hysdn_card *card) in hycapi_capi_release()
343 int hycapi_capi_stop(hysdn_card *card) in hycapi_capi_stop()
442 hysdn_card *card = cinfo->card; in hycapi_proc_show() local
528 hycapi_rx_capipkt(hysdn_card *card, unsigned char *buf, unsigned short len) in hycapi_rx_capipkt()
633 void hycapi_tx_capiack(hysdn_card *card) in hycapi_tx_capiack()
[all …]
Dhysdn_sched.c31 hysdn_sched_rx(hysdn_card *card, unsigned char *buf, unsigned short len, in hysdn_sched_rx()
74 hysdn_sched_tx(hysdn_card *card, unsigned char *buf, in hysdn_sched_tx()
150 hysdn_tx_cfgline(hysdn_card *card, unsigned char *line, unsigned short chan) in hysdn_tx_cfgline()
Dhysdn_boot.c85 pof_handle_data(hysdn_card *card, int datlen) in pof_handle_data()
174 pof_write_buffer(hysdn_card *card, int datlen) in pof_write_buffer()
271 pof_write_open(hysdn_card *card, unsigned char **bufp) in pof_write_open()
313 pof_write_close(hysdn_card *card) in pof_write_close()
337 EvalSysrTokData(hysdn_card *card, unsigned char *cp, int len) in EvalSysrTokData()
Dhysdn_procconf.c38 hysdn_card *card; /* card the device is connected to */ member
231 hysdn_card *card; in hysdn_conf_open() local
306 hysdn_card *card; in hysdn_conf_close() local
362 hysdn_card *card; in hysdn_procconf_init() local
395 hysdn_card *card; in hysdn_procconf_release() local
Dhysdn_init.c62 hysdn_card *card; in hysdn_pci_init_one() local
114 hysdn_card *card = pci_get_drvdata(akt_pcidev); in hysdn_pci_remove_one() local
/linux-4.1.27/sound/core/
Dinit.c110 static inline int init_info_for_card(struct snd_card *card) in init_info_for_card()
132 #define init_info_for_card(card) argument
173 void snd_device_initialize(struct device *dev, struct snd_card *card) in snd_device_initialize()
212 struct snd_card *card; in snd_card_new() local
302 int snd_card_locked(int card) in snd_card_locked()
400 int snd_card_disconnect(struct snd_card *card) in snd_card_disconnect()
462 static int snd_card_do_free(struct snd_card *card) in snd_card_do_free()
491 int snd_card_free_when_closed(struct snd_card *card) in snd_card_free_when_closed()
514 int snd_card_free(struct snd_card *card) in snd_card_free()
544 static bool card_id_ok(struct snd_card *card, const char *id) in card_id_ok()
[all …]
Ddevice.c44 int snd_device_new(struct snd_card *card, enum snd_device_type type, in snd_device_new()
97 static struct snd_device *look_for_dev(struct snd_card *card, void *device_data) in look_for_dev()
121 void snd_device_disconnect(struct snd_card *card, void *device_data) in snd_device_disconnect()
145 void snd_device_free(struct snd_card *card, void *device_data) in snd_device_free()
186 int snd_device_register(struct snd_card *card, void *device_data) in snd_device_register()
204 int snd_device_register_all(struct snd_card *card) in snd_device_register_all()
223 void snd_device_disconnect_all(struct snd_card *card) in snd_device_disconnect_all()
237 void snd_device_free_all(struct snd_card *card) in snd_device_free_all()
Dcontrol.c51 struct snd_card *card; in snd_ctl_open() local
119 struct snd_card *card; in snd_ctl_release() local
154 void snd_ctl_notify(struct snd_card *card, unsigned int mask, in snd_ctl_notify()
314 static bool snd_ctl_remove_numid_conflict(struct snd_card *card, in snd_ctl_remove_numid_conflict()
333 static int snd_ctl_find_hole(struct snd_card *card, unsigned int count) in snd_ctl_find_hole()
361 int snd_ctl_add(struct snd_card *card, struct snd_kcontrol *kcontrol) in snd_ctl_add()
424 int snd_ctl_replace(struct snd_card *card, struct snd_kcontrol *kcontrol, in snd_ctl_replace()
488 int snd_ctl_remove(struct snd_card *card, struct snd_kcontrol *kcontrol) in snd_ctl_remove()
515 int snd_ctl_remove_id(struct snd_card *card, struct snd_ctl_elem_id *id) in snd_ctl_remove_id()
545 struct snd_card *card = file->card; in snd_ctl_remove_user_ctl() local
[all …]
Dsound.c69 void snd_request_card(int card) in snd_request_card()
138 int card = SNDRV_MINOR_CARD(minor); in autoload_device() local
189 static int snd_find_free_minor(int type, struct snd_card *card, int dev) in snd_find_free_minor()
212 static int snd_find_free_minor(int type, struct snd_card *card, int dev) in snd_find_free_minor()
260 int snd_register_device(int type, struct snd_card *card, int dev, in snd_register_device()
Dinfo.c595 int snd_info_card_create(struct snd_card *card) in snd_info_card_create()
619 int snd_info_card_register(struct snd_card *card) in snd_info_card_register()
639 void snd_info_card_id_change(struct snd_card *card) in snd_info_card_id_change()
657 void snd_info_card_disconnect(struct snd_card *card) in snd_info_card_disconnect()
673 int snd_info_card_free(struct snd_card *card) in snd_info_card_free()
821 struct snd_info_entry *snd_info_create_card_entry(struct snd_card *card, in snd_info_create_card_entry()
887 int snd_card_proc_new(struct snd_card *card, const char *name, in snd_card_proc_new()
Dsound_oss.c67 static int snd_oss_kernel_minor(int type, struct snd_card *card, int dev) in snd_oss_kernel_minor()
107 int snd_register_oss_device(int type, struct snd_card *card, int dev, in snd_register_oss_device()
171 int snd_unregister_oss_device(int type, struct snd_card *card, int dev) in snd_unregister_oss_device()
/linux-4.1.27/drivers/isdn/hardware/avm/
Db1dma.c86 static inline void b1dma_writel(avmcard *card, u32 value, int off) in b1dma_writel()
91 static inline u32 b1dma_readl(avmcard *card, int off) in b1dma_readl()
108 static int b1dma_tolink(avmcard *card, void *buf, unsigned int len) in b1dma_tolink()
122 static int b1dma_fromlink(avmcard *card, void *buf, unsigned int len) in b1dma_fromlink()
136 static int WriteReg(avmcard *card, u32 reg, u8 val) in WriteReg()
147 static u8 ReadReg(avmcard *card, u32 reg) in ReadReg()
218 void b1dma_reset(avmcard *card) in b1dma_reset()
242 static int b1dma_detect(avmcard *card) in b1dma_detect()
291 int t1pci_detect(avmcard *card) in t1pci_detect()
327 int b1pciv4_detect(avmcard *card) in b1pciv4_detect()
[all …]
Db1.c67 avmcard *card; in b1_alloc_card() local
94 void b1_free_card(avmcard *card) in b1_free_card()
145 void b1_getrevision(avmcard *card) in b1_getrevision()
152 int b1_load_t4file(avmcard *card, capiloaddatapart *t4file) in b1_load_t4file()
194 int b1_load_config(avmcard *card, capiloaddatapart *config) in b1_load_config()
245 int b1_loaded(avmcard *card) in b1_loaded()
281 avmcard *card = cinfo->card; in b1_load_firmware() local
325 avmcard *card = cinfo->card; in b1_reset_ctr() local
344 avmcard *card = cinfo->card; in b1_register_appl() local
366 avmcard *card = cinfo->card; in b1_release_appl() local
[all …]
Dc4.c146 static inline int wait_for_doorbell(avmcard *card, unsigned long t) in wait_for_doorbell()
159 static int c4_poke(avmcard *card, unsigned long off, unsigned long value) in c4_poke()
177 static int c4_peek(avmcard *card, unsigned long off, unsigned long *valuep) in c4_peek()
195 static int c4_load_t4file(avmcard *card, capiloaddatapart *t4file) in c4_load_t4file()
296 static void c4_reset(avmcard *card) in c4_reset()
316 static int c4_detect(avmcard *card) in c4_detect()
410 static void c4_dispatch_tx(avmcard *card) in c4_dispatch_tx()
480 static void queue_pollack(avmcard *card) in queue_pollack()
503 static void c4_handle_rx(avmcard *card) in c4_handle_rx()
666 static irqreturn_t c4_handle_interrupt(avmcard *card) in c4_handle_interrupt()
[all …]
Db1pci.c66 avmcard *card; in b1pci_probe() local
148 avmcard *card = pci_get_drvdata(pdev); in b1pci_remove() local
185 avmcard *card; in b1pciv4_probe() local
287 avmcard *card = pci_get_drvdata(pdev); in b1pciv4_remove() local
350 avmcard *card = pci_get_drvdata(pdev); in b1pci_pci_remove() local
Dt1isa.c137 avmcard *card = devptr; in t1isa_interrupt() local
288 avmcard *card = cinfo->card; in t1isa_load_firmware() local
331 avmcard *card = cinfo->card; in t1isa_reset_ctr() local
349 avmcard *card; in t1isa_remove() local
375 avmcard *card; in t1isa_probe() local
461 avmcard *card = cinfo->card; in t1isa_send_message() local
Db1pcmcia.c43 avmcard *card = cinfo->card; in b1pcmcia_remove_ctr() local
64 avmcard *card; in b1pcmcia_add_card() local
177 avmcard *card; in b1pcmcia_delcard() local
/linux-4.1.27/drivers/firewire/
Dcore-card.c103 static void generate_config_rom(struct fw_card *card, __be32 *config_rom) in generate_config_rom()
165 struct fw_card *card; in update_config_roms() local
232 static int reset_bus(struct fw_card *card, bool short_reset) in reset_bus()
240 void fw_schedule_bus_reset(struct fw_card *card, bool delayed, bool short_reset) in fw_schedule_bus_reset()
255 struct fw_card *card = container_of(work, struct fw_card, br_work.work); in br_work() local
271 static void allocate_broadcast_channel(struct fw_card *card, int generation) in allocate_broadcast_channel()
293 void fw_schedule_bm_work(struct fw_card *card, unsigned long delay) in fw_schedule_bm_work()
302 struct fw_card *card = container_of(work, struct fw_card, bm_work.work); in bm_work() local
527 void fw_card_initialize(struct fw_card *card, in fw_card_initialize()
559 int fw_card_add(struct fw_card *card, in fw_card_add()
[all …]
Dcore-transaction.c87 struct fw_card *card, int rcode) in close_transaction()
119 int fw_cancel_transaction(struct fw_card *card, in fw_cancel_transaction()
143 struct fw_card *card = t->card; in split_transaction_timeout_callback() local
159 struct fw_card *card) in start_split_transaction_timeout()
178 struct fw_card *card, int status) in transmit_complete_callback()
285 static int allocate_tlabel(struct fw_card *card) in allocate_tlabel()
350 void fw_send_request(struct fw_card *card, struct fw_transaction *t, int tcode, in fw_send_request()
400 static void transaction_callback(struct fw_card *card, int rcode, in transaction_callback()
419 int fw_run_transaction(struct fw_card *card, int tcode, int destination_id, in fw_run_transaction()
442 struct fw_card *card, int status) in transmit_phy_packet_callback()
[all …]
Dcore-iso.c67 int fw_iso_buffer_map_dma(struct fw_iso_buffer *buffer, struct fw_card *card, in fw_iso_buffer_map_dma()
90 int fw_iso_buffer_init(struct fw_iso_buffer *buffer, struct fw_card *card, in fw_iso_buffer_init()
126 struct fw_card *card) in fw_iso_buffer_destroy()
163 struct fw_iso_context *fw_iso_context_create(struct fw_card *card, in fw_iso_context_create()
235 static int manage_bandwidth(struct fw_card *card, int irm_id, int generation, in manage_bandwidth()
273 static int manage_channel(struct fw_card *card, int irm_id, int generation, in manage_channel()
325 static void deallocate_channel(struct fw_card *card, int irm_id, in deallocate_channel()
362 void fw_iso_resource_manage(struct fw_card *card, int generation, in fw_iso_resource_manage()
Dcore-topology.c183 static struct fw_node *build_tree(struct fw_card *card, in build_tree()
325 static void for_each_fw_node(struct fw_card *card, struct fw_node *root, in for_each_fw_node()
359 static void report_lost_node(struct fw_card *card, in report_lost_node()
369 static void report_found_node(struct fw_card *card, in report_found_node()
390 void fw_destroy_nodes(struct fw_card *card) in fw_destroy_nodes()
422 static void update_tree(struct fw_card *card, struct fw_node *root) in update_tree()
503 static void update_topology_map(struct fw_card *card, in update_topology_map()
519 void fw_core_handle_bus_reset(struct fw_card *card, int node_id, int generation, in fw_core_handle_bus_reset()
/linux-4.1.27/drivers/net/wan/
Dhd64572.c51 #define sca_in(reg, card) readb(card->scabase + (reg)) argument
52 #define sca_out(value, reg, card) writeb(value, card->scabase + (reg)) argument
53 #define sca_inw(reg, card) readw(card->scabase + (reg)) argument
54 #define sca_outw(value, reg, card) writew(value, card->scabase + (reg)) argument
55 #define sca_inl(reg, card) readl(card->scabase + (reg)) argument
56 #define sca_outl(value, reg, card) writel(value, card->scabase + (reg)) argument
130 card_t *card = port->card; in sca_init_port() local
192 card_t* card = port->card; in sca_msci_intr() local
202 static inline void sca_rx(card_t *card, port_t *port, pkt_desc __iomem *desc, in sca_rx()
237 card_t *card = port->card; in sca_rx_done() local
[all …]
Dwanxl.c59 struct card *card; member
74 struct card { struct
82 struct card_status *status; /* shared between host and card */ argument
97 return &port->card->status->port_status[port->node]; in get_status() argument
196 static inline void wanxl_rx_intr(struct card *card) in wanxl_rx_intr()
248 struct card *card = dev_id; in wanxl_intr() local
481 static int wanxl_puts_command(struct card *card, u32 cmd) in wanxl_puts_command()
498 static void wanxl_reset(struct card *card) in wanxl_reset()
514 struct card *card = pci_get_drvdata(pdev); in wanxl_pci_remove_one() local
563 struct card *card; in wanxl_pci_init_one() local
Dhd64570.c59 static inline int sca_intr_status(card_t *card) in sca_intr_status()
152 card_t *card = port_to_card(port); in sca_init_port() local
225 card_t* card = port_to_card(port); in sca_msci_intr() local
243 static inline void sca_rx(card_t *card, port_t *port, pkt_desc __iomem *desc, in sca_rx()
294 card_t *card = port_to_card(port); in sca_rx_intr() local
346 card_t* card = port_to_card(port); in sca_tx_intr() local
379 card_t *card = dev_id; in sca_intr() local
409 card_t* card = port_to_card(port); in sca_set_port() local
463 card_t* card = port_to_card(port); in sca_open() local
527 card_t* card = port_to_card(port); in sca_close() local
[all …]
Dc101.c87 #define sca_in(reg, card) readb((card)->win0base + C101_SCA + (reg)) argument
88 #define sca_out(value, reg, card) writeb(value, (card)->win0base + C101_SCA + (reg)) argument
89 #define sca_inw(reg, card) readw((card)->win0base + C101_SCA + (reg)) argument
92 #define sca_outw(value, reg, card) do { \ argument
100 #define winsize(card) (C101_WINDOW_SIZE) argument
101 #define win0base(card) ((card)->win0base) argument
102 #define winbase(card) ((card)->win0base + 0x2000) argument
103 #define get_port(card, port) (card) argument
107 static inline u8 sca_get_page(card_t *card) in sca_get_page()
112 static inline void openwin(card_t *card, u8 page) in openwin()
[all …]
Dn2.c99 struct card_s *card; member
135 #define sca_reg(reg, card) (0x8000 | (card)->io | \ argument
137 #define sca_in(reg, card) inb(sca_reg(reg, card)) argument
138 #define sca_out(value, reg, card) outb(value, sca_reg(reg, card)) argument
139 #define sca_inw(reg, card) inw(sca_reg(reg, card)) argument
140 #define sca_outw(value, reg, card) outw(value, sca_reg(reg, card)) argument
145 #define winsize(card) (USE_WINDOWSIZE) argument
146 #define winbase(card) ((card)->winbase) argument
147 #define get_port(card, port) ((card)->ports[port].valid ? \ argument
151 static __inline__ u8 sca_get_page(card_t *card) in sca_get_page()
[all …]
Dfarsync.c429 struct fst_card_info *card; /* Card we're associated with */ member
679 fst_cpureset(struct fst_card_info *card) in fst_cpureset()
724 fst_cpurelease(struct fst_card_info *card) in fst_cpurelease()
746 fst_clear_intr(struct fst_card_info *card) in fst_clear_intr()
760 fst_enable_intr(struct fst_card_info *card) in fst_enable_intr()
772 fst_disable_intr(struct fst_card_info *card) in fst_disable_intr()
805 fst_init_dma(struct fst_card_info *card) in fst_init_dma()
821 fst_tx_dma_complete(struct fst_card_info *card, struct fst_port_info *port, in fst_tx_dma_complete()
851 fst_rx_dma_complete(struct fst_card_info *card, struct fst_port_info *port, in fst_rx_dma_complete()
885 fst_rx_dma(struct fst_card_info *card, dma_addr_t dma, u32 mem, int len) in fst_rx_dma()
[all …]
Dpci200syn.c70 struct card_s *card; member
98 #define get_port(card, port) (&card->ports[port]) argument
99 #define sca_flush(card) (sca_in(IER0, card)); argument
122 card_t *card = port->card; in pci200_set_iface() local
245 card_t *card = pci_get_drvdata(pdev); in pci200_pci_remove_one() local
281 card_t *card; in pci200_pci_init_one() local
/linux-4.1.27/drivers/memstick/core/
Dmemstick.c31 static int memstick_dev_match(struct memstick_dev *card, in memstick_dev_match()
46 struct memstick_dev *card = container_of(dev, struct memstick_dev, in memstick_bus_match() local
65 struct memstick_dev *card = container_of(dev, struct memstick_dev, in memstick_uevent() local
82 struct memstick_dev *card = container_of(dev, struct memstick_dev, in memstick_device_probe() local
99 struct memstick_dev *card = container_of(dev, struct memstick_dev, in memstick_device_remove() local
118 struct memstick_dev *card = container_of(dev, struct memstick_dev, in memstick_device_suspend() local
131 struct memstick_dev *card = container_of(dev, struct memstick_dev, in memstick_device_resume() local
196 struct memstick_dev *card = container_of(dev, struct memstick_dev, in memstick_free_card() local
201 static int memstick_dummy_check(struct memstick_dev *card) in memstick_dummy_check()
327 static int h_memstick_read_dev_id(struct memstick_dev *card, in h_memstick_read_dev_id()
[all …]
Dmspro_block.c139 struct memstick_dev *card; member
525 static int h_mspro_block_req_init(struct memstick_dev *card, in h_mspro_block_req_init()
535 static int h_mspro_block_default(struct memstick_dev *card, in h_mspro_block_default()
541 static int h_mspro_block_default_bad(struct memstick_dev *card, in h_mspro_block_default_bad()
547 static int h_mspro_block_get_ro(struct memstick_dev *card, in h_mspro_block_get_ro()
563 static int h_mspro_block_wait_for_ced(struct memstick_dev *card, in h_mspro_block_wait_for_ced()
578 static int h_mspro_block_transfer_data(struct memstick_dev *card, in h_mspro_block_transfer_data()
674 static void h_mspro_block_setup_cmd(struct memstick_dev *card, u64 offset, in h_mspro_block_setup_cmd()
697 static int mspro_block_issue_req(struct memstick_dev *card, int chunk) in mspro_block_issue_req()
743 static int mspro_block_complete_req(struct memstick_dev *card, int error) in mspro_block_complete_req()
[all …]
Dms_block.c221 static int msb_run_state_machine(struct msb_data *msb, int (*state_func) in msb_run_state_machine()
224 struct memstick_dev *card = msb->card; in msb_run_state_machine() local
328 static int h_msb_default_bad(struct memstick_dev *card, in h_msb_default_bad()
339 static int h_msb_read_page(struct memstick_dev *card, in h_msb_read_page()
475 static int h_msb_write_block(struct memstick_dev *card, in h_msb_write_block()
587 static int h_msb_send_command(struct memstick_dev *card, in h_msb_send_command()
657 static int h_msb_reset(struct memstick_dev *card, in h_msb_reset()
680 static int h_msb_parallel_switch(struct memstick_dev *card, in h_msb_parallel_switch()
729 struct memstick_dev *card = msb->card; in msb_reset() local
1693 static int msb_init_card(struct memstick_dev *card) in msb_init_card()
[all …]
/linux-4.1.27/drivers/staging/vme/devices/
Dvme_pio2_gpio.c37 struct pio2_card *card = gpio_to_pio2_card(chip); in pio2_gpio_get() local
75 struct pio2_card *card = gpio_to_pio2_card(chip); in pio2_gpio_set() local
105 struct pio2_card *card = gpio_to_pio2_card(chip); in pio2_gpio_dir_in() local
124 struct pio2_card *card = gpio_to_pio2_card(chip); in pio2_gpio_dir_out() local
143 int pio2_gpio_reset(struct pio2_card *card) in pio2_gpio_reset()
188 int pio2_gpio_init(struct pio2_card *card) in pio2_gpio_init()
219 void pio2_gpio_exit(struct pio2_card *card) in pio2_gpio_exit()
Dvme_pio2_core.c47 static int pio2_get_led(struct pio2_card *card) in pio2_get_led()
53 static int pio2_set_led(struct pio2_card *card, int state) in pio2_set_led()
80 struct pio2_card *card = ptr; in pio2_int() local
126 static int pio2_reset_card(struct pio2_card *card) in pio2_reset_card()
216 struct pio2_card *card; in pio2_probe() local
451 struct pio2_card *card = dev_get_drvdata(&vdev->dev); in pio2_remove() local
Dvme_pio2_cntr.c24 static int pio2_cntr_irq_set(struct pio2_card *card, int id) in pio2_cntr_irq_set()
47 int pio2_cntr_reset(struct pio2_card *card) in pio2_cntr_reset()
/linux-4.1.27/drivers/block/
Dumem.c150 static int get_userbit(struct cardinfo *card, int bit) in get_userbit()
158 static int set_userbit(struct cardinfo *card, int bit, unsigned char state) in set_userbit()
175 static void set_led(struct cardinfo *card, int shift, unsigned char state) in set_led()
191 static void dump_regs(struct cardinfo *card) in dump_regs()
208 static void dump_dmastat(struct cardinfo *card, unsigned int dmastat) in dump_dmastat()
252 static void mm_start_io(struct cardinfo *card) in mm_start_io()
304 static void activate(struct cardinfo *card) in activate()
339 static int add_bio(struct cardinfo *card) in add_bio()
423 struct cardinfo *card = (struct cardinfo *)data; in process_page() local
514 struct cardinfo *card = cb->data; in mm_unplug() local
[all …]
/linux-4.1.27/drivers/net/can/softing/
Dsofting_fw.c30 static int _softing_fct_cmd(struct softing *card, int16_t cmd, uint16_t vector, in _softing_fct_cmd()
64 static int softing_fct_cmd(struct softing *card, int16_t cmd, const char *msg) in softing_fct_cmd()
76 int softing_bootloader_command(struct softing *card, int16_t cmd, in softing_bootloader_command()
144 int softing_load_fw(const char *file, struct softing *card, in softing_load_fw()
229 int softing_load_app_fw(const char *file, struct softing *card) in softing_load_app_fw()
327 static int softing_reset_chip(struct softing *card) in softing_reset_chip()
349 int softing_chip_poweron(struct softing *card) in softing_chip_poweron()
383 static void softing_initialize_timestamp(struct softing *card) in softing_initialize_timestamp()
396 ktime_t softing_raw2ktime(struct softing *card, u32 raw) in softing_raw2ktime()
431 struct softing *card; in softing_startstop() local
[all …]
Dsofting_main.c41 static inline void softing_set_reset_dpram(struct softing *card) in softing_set_reset_dpram()
51 static inline void softing_clr_reset_dpram(struct softing *card) in softing_clr_reset_dpram()
66 struct softing *card = priv->card; in softing_netdev_start_xmit() local
160 static int softing_handle_1(struct softing *card) in softing_handle_1()
331 struct softing *card = (struct softing *)dev_id; in softing_irq_thread() local
369 struct softing *card = (struct softing *)dev_id; in softing_irq_v2() local
379 struct softing *card = (struct softing *)dev_id; in softing_irq_v1() local
431 int softing_enable_irq(struct softing *card, int enable) in softing_enable_irq()
457 static void softing_card_shutdown(struct softing *card) in softing_card_shutdown()
480 static int softing_card_boot(struct softing *card) in softing_card_boot()
[all …]
/linux-4.1.27/sound/ppc/
Dsnd_ps3.c119 static int snd_ps3_verify_dma_stop(struct snd_ps3_card_info *card, in snd_ps3_verify_dma_stop()
161 static void snd_ps3_wait_for_dma_stop(struct snd_ps3_card_info *card) in snd_ps3_wait_for_dma_stop()
190 static void snd_ps3_kick_dma(struct snd_ps3_card_info *card) in snd_ps3_kick_dma()
201 static dma_addr_t v_to_bus(struct snd_ps3_card_info *card, void *paddr, int ch) in v_to_bus()
212 static void snd_ps3_bump_buffer(struct snd_ps3_card_info *card, in snd_ps3_bump_buffer()
228 static int snd_ps3_program_dma(struct snd_ps3_card_info *card, in snd_ps3_program_dma()
319 struct snd_ps3_card_info *card = dev_id; in snd_ps3_interrupt() local
390 static int snd_ps3_change_avsetting(struct snd_ps3_card_info *card) in snd_ps3_change_avsetting()
454 struct snd_ps3_card_info *card = snd_pcm_substream_chip(substream); in snd_ps3_set_avsetting() local
528 struct snd_ps3_card_info *card = snd_pcm_substream_chip(substream); in snd_ps3_pcm_open() local
[all …]
Dpowermac.c56 struct snd_card *card; in snd_pmac_probe() local
146 struct snd_card *card = dev_get_drvdata(dev); in snd_pmac_driver_suspend() local
153 struct snd_card *card = dev_get_drvdata(dev); in snd_pmac_driver_resume() local
/linux-4.1.27/drivers/net/can/sja1000/
Dpeak_pcmcia.c168 static void pcan_start_led_timer(struct pcan_pccard *card) in pcan_start_led_timer()
177 static void pcan_stop_led_timer(struct pcan_pccard *card) in pcan_stop_led_timer()
195 struct pcan_pccard *card = priv->priv; in pcan_write_canreg() local
220 static u8 pcan_read_reg(struct pcan_pccard *card, int port) in pcan_read_reg()
228 static void pcan_write_reg(struct pcan_pccard *card, int port, u8 v) in pcan_write_reg()
244 static inline int pcan_pccard_present(struct pcan_pccard *card) in pcan_pccard_present()
253 static int pcan_wait_spi_busy(struct pcan_pccard *card) in pcan_wait_spi_busy()
271 static int pcan_write_eeprom(struct pcan_pccard *card, u16 addr, u8 v) in pcan_write_eeprom()
350 static void pcan_set_leds(struct pcan_pccard *card, u8 led_mask, u8 state) in pcan_set_leds()
370 static inline void pcan_set_can_power(struct pcan_pccard *card, int onoff) in pcan_set_can_power()
[all …]
Dpeak_pci.c165 static inline void pita_set_scl_highz(struct peak_pciec_card *card) in pita_set_scl_highz()
171 static inline void pita_set_sda_highz(struct peak_pciec_card *card) in pita_set_sda_highz()
177 static void peak_pciec_init_pita_gpio(struct peak_pciec_card *card) in peak_pciec_init_pita_gpio()
186 struct peak_pciec_card *card = (struct peak_pciec_card *)data; in pita_setsda() local
205 struct peak_pciec_card *card = (struct peak_pciec_card *)data; in pita_setscl() local
224 struct peak_pciec_card *card = (struct peak_pciec_card *)data; in pita_getsda() local
234 struct peak_pciec_card *card = (struct peak_pciec_card *)data; in pita_getscl() local
245 static int peak_pciec_write_pca9553(struct peak_pciec_card *card, in peak_pciec_write_pca9553()
278 struct peak_pciec_card *card = in peak_pciec_led_work() local
324 static void peak_pciec_set_leds(struct peak_pciec_card *card, u8 led_mask, u8 s) in peak_pciec_set_leds()
[all …]
Dems_pci.c118 static u8 ems_pci_v1_readb(struct ems_pci_card *card, unsigned int port) in ems_pci_v1_readb()
136 struct ems_pci_card *card = (struct ems_pci_card *)priv->priv; in ems_pci_v1_post_irq() local
156 struct ems_pci_card *card = (struct ems_pci_card *)priv->priv; in ems_pci_v2_post_irq() local
185 struct ems_pci_card *card = pci_get_drvdata(pdev); in ems_pci_del_card() local
211 static void ems_pci_card_reset(struct ems_pci_card *card) in ems_pci_card_reset()
226 struct ems_pci_card *card; in ems_pci_add_card() local
/linux-4.1.27/drivers/mmc/card/
Dblock.c201 struct mmc_card *card = md->queue.card; in power_ro_lock_show() local
221 struct mmc_card *card; in power_ro_lock_store() local
387 static int ioctl_rpmb_card_status_poll(struct mmc_card *card, u32 *status, in ioctl_rpmb_card_status_poll()
419 static int ioctl_do_sanitize(struct mmc_card *card) in ioctl_do_sanitize()
452 struct mmc_card *card; in mmc_blk_ioctl_cmd() local
646 static inline int mmc_blk_part_switch(struct mmc_card *card, in mmc_blk_part_switch()
674 static u32 mmc_sd_num_wr_blocks(struct mmc_card *card) in mmc_sd_num_wr_blocks()
729 static int get_card_status(struct mmc_card *card, u32 *status, int retries) in get_card_status()
744 static int card_busy_detect(struct mmc_card *card, unsigned int timeout_ms, in card_busy_detect()
792 static int send_stop(struct mmc_card *card, unsigned int timeout_ms, in send_stop()
[all …]
/linux-4.1.27/drivers/media/pci/bt8xx/
Dbttv-if.c46 struct pci_dev* bttv_get_pcidev(unsigned int card) in bttv_get_pcidev()
57 int bttv_gpio_enable(unsigned int card, unsigned long mask, unsigned long data) in bttv_gpio_enable()
75 int bttv_read_gpio(unsigned int card, unsigned long *data) in bttv_read_gpio()
97 int bttv_write_gpio(unsigned int card, unsigned long mask, unsigned long data) in bttv_write_gpio()
Ddvb-bt8xx.c56 struct dvb_bt8xx_card *card = (struct dvb_bt8xx_card *)data; in dvb_bt8xx_task() local
74 struct dvb_bt8xx_card *card = dvbdmx->priv; in dvb_bt8xx_start_feed() local
95 struct dvb_bt8xx_card *card = dvbdmx->priv; in dvb_bt8xx_stop_feed() local
252 struct dvb_bt8xx_card *card = fe->dvb->priv; in pinnsat_tuner_init() local
262 struct dvb_bt8xx_card *card = fe->dvb->priv; in pinnsat_tuner_sleep() local
276 struct dvb_bt8xx_card *card = (struct dvb_bt8xx_card *) fe->dvb->priv; in microtune_mt7202dtf_tuner_set_params() local
472 struct dvb_bt8xx_card *card = (struct dvb_bt8xx_card *) fe->dvb->priv; in vp3021_alps_tded4_tuner_set_params() local
597 static void frontend_init(struct dvb_bt8xx_card *card, u32 type) in frontend_init()
724 static int dvb_bt8xx_load_card(struct dvb_bt8xx_card *card, u32 type) in dvb_bt8xx_load_card()
817 struct dvb_bt8xx_card *card; in dvb_bt8xx_probe() local
[all …]
/linux-4.1.27/drivers/isdn/capi/
Dcapidrv.c332 static capidrv_plci *new_plci(capidrv_contr *card, int chan) in new_plci()
352 static capidrv_plci *find_plci_by_plci(capidrv_contr *card, u32 plci) in find_plci_by_plci()
361 static capidrv_plci *find_plci_by_msgid(capidrv_contr *card, u16 msgid) in find_plci_by_msgid()
370 static capidrv_plci *find_plci_by_ncci(capidrv_contr *card, u32 ncci) in find_plci_by_ncci()
379 static void free_plci(capidrv_contr *card, capidrv_plci *plcip) in free_plci()
399 static inline capidrv_ncci *new_ncci(capidrv_contr *card, in new_ncci()
424 static inline capidrv_ncci *find_ncci(capidrv_contr *card, u32 ncci) in find_ncci()
438 static inline capidrv_ncci *find_ncci_by_msgid(capidrv_contr *card, in find_ncci_by_msgid()
453 static void free_ncci(capidrv_contr *card, struct capidrv_ncci *nccip) in free_ncci()
504 static void send_message(capidrv_contr *card, _cmsg *cmsg) in send_message()
[all …]
/linux-4.1.27/sound/firewire/
Diso-resources.c64 static int current_bandwidth_overhead(struct fw_card *card) in current_bandwidth_overhead()
79 static int wait_isoch_resource_delay_after_bus_reset(struct fw_card *card) in wait_isoch_resource_delay_after_bus_reset()
108 struct fw_card *card = fw_parent_device(r->unit)->card; in fw_iso_resources_allocate() local
166 struct fw_card *card = fw_parent_device(r->unit)->card; in fw_iso_resources_update() local
213 struct fw_card *card = fw_parent_device(r->unit)->card; in fw_iso_resources_free() local
/linux-4.1.27/sound/arm/
Dpxa2xx-ac97.c113 static int pxa2xx_ac97_do_suspend(struct snd_card *card) in pxa2xx_ac97_do_suspend()
126 static int pxa2xx_ac97_do_resume(struct snd_card *card) in pxa2xx_ac97_do_resume()
145 struct snd_card *card = dev_get_drvdata(dev); in pxa2xx_ac97_suspend() local
156 struct snd_card *card = dev_get_drvdata(dev); in pxa2xx_ac97_resume() local
170 struct snd_card *card; in pxa2xx_ac97_probe() local
229 struct snd_card *card = platform_get_drvdata(dev); in pxa2xx_ac97_remove() local
Daaci.c756 static int aaci_do_suspend(struct snd_card *card) in aaci_do_suspend()
764 static int aaci_do_resume(struct snd_card *card) in aaci_do_resume()
772 struct snd_card *card = dev_get_drvdata(dev); in aaci_suspend() local
778 struct snd_card *card = dev_get_drvdata(dev); in aaci_resume() local
889 static void aaci_free_card(struct snd_card *card) in aaci_free_card()
899 struct snd_card *card; in aaci_init_card() local
1075 struct snd_card *card = amba_get_drvdata(dev); in aaci_remove() local
/linux-4.1.27/sound/soc/omap/
Drx51.c62 struct snd_soc_card *card = dapm->card; in rx51_ext_control() local
108 struct snd_soc_card *card = rtd->card; in rx51_startup() local
144 struct snd_soc_card *card = snd_kcontrol_chip(kcontrol); in rx51_set_spk() local
159 struct snd_soc_card *card = dapm->card; in rx51_spk_event() local
192 struct snd_soc_card *card = snd_kcontrol_chip(kcontrol); in rx51_set_input() local
214 struct snd_soc_card *card = snd_kcontrol_chip(kcontrol); in rx51_set_jack() local
289 struct snd_soc_card *card = rtd->card; in rx51_aic34_init() local
337 static int rx51_card_remove(struct snd_soc_card *card) in rx51_card_remove()
399 struct snd_soc_card *card = &rx51_sound_card; in rx51_soc_probe() local
Dams-delta.c101 struct snd_soc_card *card = snd_kcontrol_chip(kcontrol); in ams_delta_set_audio_mode() local
174 struct snd_soc_card *card = snd_kcontrol_chip(kcontrol); in ams_delta_get_audio_mode() local
464 struct snd_soc_card *card = rtd->card; in ams_delta_cx20442_init() local
516 static int ams_delta_card_remove(struct snd_soc_card *card) in ams_delta_card_remove()
558 struct snd_soc_card *card = &ams_delta_audio_card; in ams_delta_probe() local
574 struct snd_soc_card *card = platform_get_drvdata(pdev); in ams_delta_remove() local
Domap-abe-twl6040.c50 struct snd_soc_card *card = rtd->card; in omap_abe_hw_params() local
170 struct snd_soc_card *card = rtd->card; in omap_abe_twl6040_init() local
244 struct snd_soc_card *card = &omap_abe_card; in omap_abe_probe() local
337 struct snd_soc_card *card = platform_get_drvdata(pdev); in omap_abe_remove() local
Domap-twl4030.c163 struct snd_soc_card *card = rtd->card; in omap_twl4030_init() local
212 static int omap_twl4030_card_remove(struct snd_soc_card *card) in omap_twl4030_card_remove()
265 struct snd_soc_card *card = &omap_twl4030_card; in omap_twl4030_probe() local
/linux-4.1.27/sound/isa/wavefront/
Dwavefront.c102 snd_wavefront_pnp (int dev, snd_wavefront_card_t *acard, struct pnp_card_link *card, in snd_wavefront_pnp()
234 static struct snd_hwdep *snd_wavefront_new_synth(struct snd_card *card, in snd_wavefront_new_synth()
259 static struct snd_hwdep *snd_wavefront_new_fx(struct snd_card *card, in snd_wavefront_new_fx()
285 static struct snd_rawmidi *snd_wavefront_new_midi(struct snd_card *card, in snd_wavefront_new_midi()
326 snd_wavefront_free(struct snd_card *card) in snd_wavefront_free()
340 struct snd_card *card; in snd_wavefront_card_new() local
363 snd_wavefront_probe (struct snd_card *card, int dev) in snd_wavefront_probe()
565 struct snd_card *card; in snd_wavefront_isa_probe() local
605 struct snd_card *card; in snd_wavefront_pnp_detect() local
Dwavefront_midi.c96 struct snd_card *card; in get_wavefront_midi() local
115 static void snd_wavefront_midi_output_write(snd_wavefront_card_t *card) in snd_wavefront_midi_output_write()
354 snd_wavefront_card_t *card = (snd_wavefront_card_t *)data; in snd_wavefront_midi_output_timer() local
404 snd_wavefront_midi_interrupt (snd_wavefront_card_t *card) in snd_wavefront_midi_interrupt()
457 snd_wavefront_midi_enable_virtual (snd_wavefront_card_t *card) in snd_wavefront_midi_enable_virtual()
470 snd_wavefront_midi_disable_virtual (snd_wavefront_card_t *card) in snd_wavefront_midi_disable_virtual()
483 snd_wavefront_midi_start (snd_wavefront_card_t *card) in snd_wavefront_midi_start()
/linux-4.1.27/drivers/tty/
Disicom.c207 struct isi_board *card; member
237 static int lock_card(struct isi_board *card) in lock_card()
257 static void unlock_card(struct isi_board *card) in unlock_card()
269 struct isi_board *card = port->card; in raise_dtr() local
285 struct isi_board *card = port->card; in drop_dtr() local
301 struct isi_board *card = port->card; in raise_rts() local
317 struct isi_board *card = port->card; in drop_rts() local
335 struct isi_board *card = ip->card; in isicom_dtr_rts() local
359 struct isi_board *card = port->card; in drop_dtr_rts() local
405 short count = (BOARD_COUNT-1), card; in isicom_tx() local
[all …]
Dcyclades.c297 struct cyclades_card *card = port->card; in cyy_writeb() local
304 struct cyclades_card *card = port->card; in cyy_readb() local
309 static inline bool cy_is_Z(struct cyclades_card *card) in cy_is_Z()
319 static inline bool cyz_fpga_loaded(struct cyclades_card *card) in cyz_fpga_loaded()
324 static inline bool cyz_is_loaded(struct cyclades_card *card) in cyz_is_loaded()
825 struct cyclades_card *card = info->card; in cyy_change_rts_dtr() local
1205 struct cyclades_card *card = info->card; in cyz_rx_restart() local
1226 unsigned int port, card; in cyz_poll() local
1267 struct cyclades_card *card; in cy_startup() local
1392 struct cyclades_card *card = info->card; in start_xmit() local
[all …]
/linux-4.1.27/sound/soc/tegra/
Dtegra_wm8903.c63 struct snd_soc_card *card = rtd->card; in tegra_wm8903_hw_params() local
132 struct snd_soc_card *card = dapm->card; in tegra_wm8903_event_int_spk() local
148 struct snd_soc_card *card = dapm->card; in tegra_wm8903_event_hp() local
174 struct snd_soc_card *card = rtd->card; in tegra_wm8903_init() local
200 static int tegra_wm8903_remove(struct snd_soc_card *card) in tegra_wm8903_remove()
244 struct snd_soc_card *card = &snd_soc_tegra_wm8903; in tegra_wm8903_driver_probe() local
368 struct snd_soc_card *card = platform_get_drvdata(pdev); in tegra_wm8903_driver_remove() local
Dtegra_rt5677.c57 struct snd_soc_card *card = rtd->card; in tegra_rt5677_asoc_hw_params() local
84 struct snd_soc_card *card = dapm->card; in tegra_rt5677_event_hp() local
172 static int tegra_rt5677_card_remove(struct snd_soc_card *card) in tegra_rt5677_card_remove()
215 struct snd_soc_card *card = &snd_soc_tegra_rt5677; in tegra_rt5677_probe() local
311 struct snd_soc_card *card = platform_get_drvdata(pdev); in tegra_rt5677_remove() local
Dtegra_alc5632.c44 struct snd_soc_card *card = rtd->card; in tegra_alc5632_asoc_hw_params() local
123 static int tegra_alc5632_card_remove(struct snd_soc_card *card) in tegra_alc5632_card_remove()
162 struct snd_soc_card *card = &snd_soc_tegra_alc5632; in tegra_alc5632_probe() local
231 struct snd_soc_card *card = platform_get_drvdata(pdev); in tegra_alc5632_remove() local
Dtegra_rt5640.c55 struct snd_soc_card *card = rtd->card; in tegra_rt5640_asoc_hw_params() local
129 static int tegra_rt5640_card_remove(struct snd_soc_card *card) in tegra_rt5640_card_remove()
167 struct snd_soc_card *card = &snd_soc_tegra_rt5640; in tegra_rt5640_probe() local
236 struct snd_soc_card *card = platform_get_drvdata(pdev); in tegra_rt5640_remove() local
Dtegra_max98090.c53 struct snd_soc_card *card = rtd->card; in tegra_max98090_asoc_hw_params() local
179 static int tegra_max98090_card_remove(struct snd_soc_card *card) in tegra_max98090_card_remove()
222 struct snd_soc_card *card = &snd_soc_tegra_max98090; in tegra_max98090_probe() local
295 struct snd_soc_card *card = platform_get_drvdata(pdev); in tegra_max98090_remove() local
Dtegra_wm8753.c58 struct snd_soc_card *card = rtd->card; in tegra_wm8753_hw_params() local
125 struct snd_soc_card *card = &snd_soc_tegra_wm8753; in tegra_wm8753_driver_probe() local
189 struct snd_soc_card *card = platform_get_drvdata(pdev); in tegra_wm8753_driver_remove() local
Dtrimslice.c53 struct snd_soc_card *card = rtd->card; in trimslice_asoc_hw_params() local
120 struct snd_soc_card *card = &snd_soc_trimslice; in tegra_snd_trimslice_probe() local
177 struct snd_soc_card *card = platform_get_drvdata(pdev); in tegra_snd_trimslice_remove() local
Dtegra_wm9712.c74 struct snd_soc_card *card = &snd_soc_tegra_wm9712; in tegra_wm9712_driver_probe() local
146 struct snd_soc_card *card = platform_get_drvdata(pdev); in tegra_wm9712_driver_remove() local
/linux-4.1.27/sound/isa/es1688/
Des1688.c98 static int snd_es1688_legacy_create(struct snd_card *card, in snd_es1688_legacy_create()
137 static int snd_es1688_probe(struct snd_card *card, unsigned int n) in snd_es1688_probe()
186 struct snd_card *card; in snd_es1688_isa_probe() local
232 static int snd_card_es968_pnp(struct snd_card *card, unsigned int n, in snd_card_es968_pnp()
260 struct snd_card *card; in snd_es968_pnp_detect() local
305 struct snd_card *card = pnp_get_card_drvdata(pcard); in snd_es968_pnp_suspend() local
315 struct snd_card *card = pnp_get_card_drvdata(pcard); in snd_es968_pnp_resume() local
/linux-4.1.27/sound/soc/samsung/
Dlittlemill.c22 static int littlemill_set_bias_level(struct snd_soc_card *card, in littlemill_set_bias_level()
65 static int littlemill_set_bias_level_post(struct snd_soc_card *card, in littlemill_set_bias_level_post()
170 struct snd_soc_card *card = w->dapm->card; in bbclk_ev() local
246 static int littlemill_late_probe(struct snd_soc_card *card) in littlemill_late_probe()
302 struct snd_soc_card *card = &littlemill; in littlemill_probe() local
Dtobermory.c22 static int tobermory_set_bias_level(struct snd_soc_card *card, in tobermory_set_bias_level()
61 static int tobermory_set_bias_level_post(struct snd_soc_card *card, in tobermory_set_bias_level_post()
171 static int tobermory_late_probe(struct snd_soc_card *card) in tobermory_late_probe()
216 struct snd_soc_card *card = &tobermory; in tobermory_probe() local
Dspeyside.c24 static int speyside_set_bias_level(struct snd_soc_card *card, in speyside_set_bias_level()
56 static int speyside_set_bias_level_post(struct snd_soc_card *card, in speyside_set_bias_level_post()
168 static int speyside_late_probe(struct snd_soc_card *card) in speyside_late_probe()
321 struct snd_soc_card *card = &speyside; in speyside_probe() local
Dodroidx2_max98090.c26 static int odroidx2_late_probe(struct snd_soc_card *card) in odroidx2_late_probe()
98 struct snd_soc_card *card = &odroidx2; in odroidx2_audio_probe() local
156 struct snd_soc_card *card = platform_get_drvdata(pdev); in odroidx2_audio_remove() local
Dsnow.c36 static int snow_late_probe(struct snd_soc_card *card) in snow_late_probe()
67 struct snd_soc_card *card = &snow_snd; in snow_probe() local
/linux-4.1.27/drivers/net/wireless/orinoco/
Dorinoco_nortel.c67 struct orinoco_pci_card *card = priv->card; in orinoco_nortel_cor_reset() local
90 static int orinoco_nortel_hw_init(struct orinoco_pci_card *card) in orinoco_nortel_hw_init()
146 struct orinoco_pci_card *card; in orinoco_nortel_init_one() local
260 struct orinoco_pci_card *card = priv->card; in orinoco_nortel_remove_one() local
Dorinoco_plx.c113 struct orinoco_pci_card *card = priv->card; in orinoco_plx_cor_reset() local
140 static int orinoco_plx_hw_init(struct orinoco_pci_card *card) in orinoco_plx_hw_init()
185 struct orinoco_pci_card *card; in orinoco_plx_init_one() local
299 struct orinoco_pci_card *card = priv->card; in orinoco_plx_remove_one() local
Dorinoco_cs.c73 struct orinoco_pccard *card = priv->card; in orinoco_cs_hard_reset() local
98 struct orinoco_pccard *card; in orinoco_cs_probe() local
211 struct orinoco_pccard *card = priv->card; in orinoco_cs_suspend() local
225 struct orinoco_pccard *card = priv->card; in orinoco_cs_resume() local
Dairport.c40 struct airport *card = priv->card; in airport_suspend() local
68 struct airport *card = priv->card; in airport_resume() local
91 struct airport *card = priv->card; in airport_detach() local
151 struct airport *card; in airport_attach() local
Dorinoco_tmd.c63 struct orinoco_pci_card *card = priv->card; in orinoco_tmd_cor_reset() local
96 struct orinoco_pci_card *card; in orinoco_tmd_init_one() local
193 struct orinoco_pci_card *card = priv->card; in orinoco_tmd_remove_one() local
/linux-4.1.27/sound/isa/ad1816a/
Dad1816a.c97 static int snd_card_ad1816a_pnp(int dev, struct pnp_card_link *card, in snd_card_ad1816a_pnp()
142 struct snd_card *card; in snd_card_ad1816a_probe() local
221 static int snd_ad1816a_pnp_detect(struct pnp_card_link *card, in snd_ad1816a_pnp_detect()
250 struct snd_card *card = pnp_get_card_drvdata(pcard); in snd_ad1816a_pnp_suspend() local
259 struct snd_card *card = pnp_get_card_drvdata(pcard); in snd_ad1816a_pnp_resume() local
/linux-4.1.27/sound/usb/usx2y/
Dus122l.c52 static int us122l_create_usbmidi(struct snd_card *card) in us122l_create_usbmidi()
74 static int us144_create_usbmidi(struct snd_card *card) in us144_create_usbmidi()
457 static int usb_stream_hwdep_new(struct snd_card *card) in usb_stream_hwdep_new()
482 static bool us122l_create_card(struct snd_card *card) in us122l_create_card()
530 static void snd_us122l_free(struct snd_card *card) in snd_us122l_free()
543 struct snd_card *card; in usx2y_create_card() local
580 struct snd_card *card; in us122l_usb_probe() local
608 struct snd_card *card; in snd_us122l_probe() local
635 struct snd_card *card; in snd_us122l_disconnect() local
667 struct snd_card *card; in snd_us122l_suspend() local
[all …]
Dusbusx2y.c340 struct snd_card * card; in usX2Y_create_card() local
378 struct snd_card * card; in usX2Y_usb_probe() local
404 struct snd_card *card; in snd_usX2Y_probe() local
428 static void snd_usX2Y_card_private_free(struct snd_card *card) in snd_usX2Y_card_private_free()
444 struct snd_card *card = ptr; in usX2Y_usb_disconnect() local
DusX2Yhwdep.c140 static int usX2Y_create_usbmidi(struct snd_card *card) in usX2Y_create_usbmidi()
178 static int usX2Y_create_alsa_devices(struct snd_card *card) in usX2Y_create_alsa_devices()
247 int usX2Y_hwdep_new(struct snd_card *card, struct usb_device* device) in usX2Y_hwdep_new()
/linux-4.1.27/sound/soc/
Dsoc-core.c459 static void soc_init_card_debugfs(struct snd_soc_card *card) in soc_init_card_debugfs()
480 static void soc_cleanup_card_debugfs(struct snd_soc_card *card) in soc_cleanup_card_debugfs()
527 static inline void soc_init_card_debugfs(struct snd_soc_card *card) in soc_init_card_debugfs()
531 static inline void soc_cleanup_card_debugfs(struct snd_soc_card *card) in soc_cleanup_card_debugfs()
545 struct snd_pcm_substream *snd_soc_get_dai_substream(struct snd_soc_card *card, in snd_soc_get_dai_substream()
560 struct snd_soc_pcm_runtime *snd_soc_get_pcm_runtime(struct snd_soc_card *card, in snd_soc_get_pcm_runtime()
587 struct snd_soc_card *card = dev_get_drvdata(dev); in snd_soc_suspend() local
724 struct snd_soc_card *card = in soc_resume_deferred() local
828 struct snd_soc_card *card = dev_get_drvdata(dev); in snd_soc_resume() local
927 static int soc_bind_dai_link(struct snd_soc_card *card, int num) in soc_bind_dai_link()
[all …]
Dsoc-dapm.c272 void dapm_mark_endpoints_dirty(struct snd_soc_card *card) in dapm_mark_endpoints_dirty()
476 static void dapm_reset(struct snd_soc_card *card) in dapm_reset()
540 struct snd_soc_card *card = dapm->card; in snd_soc_dapm_set_bias_level() local
676 struct snd_card *card = dapm->card->snd_card; in dapm_create_or_share_mixmux_kcontrol() local
852 struct snd_card *card = dapm->card->snd_card; in dapm_new_dai_link() local
1066 struct snd_soc_card *card = dai->component->card; in snd_soc_dapm_dai_get_connected_widgets() local
1250 static void dapm_seq_check_event(struct snd_soc_card *card, in dapm_seq_check_event()
1303 static void dapm_seq_run_coalesced(struct snd_soc_card *card, in dapm_seq_run_coalesced()
1361 static void dapm_seq_run(struct snd_soc_card *card, in dapm_seq_run()
1463 static void dapm_widget_update(struct snd_soc_card *card) in dapm_widget_update()
[all …]
/linux-4.1.27/drivers/usb/gadget/function/
Du_uac1.c155 size_t u_audio_playback(struct gaudio *card, void *buf, size_t count) in u_audio_playback()
190 int u_audio_get_playback_channels(struct gaudio *card) in u_audio_get_playback_channels()
195 int u_audio_get_playback_rate(struct gaudio *card) in u_audio_get_playback_rate()
204 static int gaudio_open_snd_dev(struct gaudio *card) in gaudio_open_snd_dev()
292 int gaudio_setup(struct gaudio *card) in gaudio_setup()
/linux-4.1.27/drivers/uwb/
Dwhci.c27 u64 whci_capdata_quirks(struct whci_card *card, u64 capdata) in whci_capdata_quirks()
92 static int whci_add_cap(struct whci_card *card, int n) in whci_add_cap()
132 static void whci_del_cap(struct whci_card *card, int n) in whci_del_cap()
155 struct whci_card *card; in whci_probe() local
226 struct whci_card *card = pci_get_drvdata(pci); in whci_remove() local
/linux-4.1.27/sound/isa/cs423x/
Dcs4236.c321 struct pnp_card_link *card, in snd_card_cs423x_pnpc()
360 static void snd_card_cs4236_free(struct snd_card *card) in snd_card_cs4236_free()
370 struct snd_card *card; in snd_cs423x_card_new() local
382 static int snd_cs423x_probe(struct snd_card *card, int dev) in snd_cs423x_probe()
487 struct snd_card *card; in snd_cs423x_isa_probe() local
510 static int snd_cs423x_suspend(struct snd_card *card) in snd_cs423x_suspend()
518 static int snd_cs423x_resume(struct snd_card *card) in snd_cs423x_resume()
558 struct snd_card *card; in snd_cs423x_pnpbios_detect() local
629 struct snd_card *card; in snd_cs423x_pnpc_detect() local
Dcs4231.c93 struct snd_card *card; in snd_cs4231_probe() local
157 struct snd_card *card = dev_get_drvdata(dev); in snd_cs4231_suspend() local
167 struct snd_card *card = dev_get_drvdata(dev); in snd_cs4231_resume() local
/linux-4.1.27/sound/soc/pxa/
Dzylonite.c171 static int zylonite_probe(struct snd_soc_card *card) in zylonite_probe()
198 static int zylonite_remove(struct snd_soc_card *card) in zylonite_remove()
208 static int zylonite_suspend_post(struct snd_soc_card *card) in zylonite_suspend_post()
216 static int zylonite_resume_pre(struct snd_soc_card *card) in zylonite_resume_pre()
Dtosa.c105 struct snd_soc_card *card = snd_kcontrol_chip(kcontrol); in tosa_set_jack() local
125 struct snd_soc_card *card = snd_kcontrol_chip(kcontrol); in tosa_set_spk() local
237 struct snd_soc_card *card = ⤩ in tosa_probe() local
258 struct snd_soc_card *card = platform_get_drvdata(pdev); in tosa_remove() local
Dspitz.c174 struct snd_soc_card *card = snd_kcontrol_chip(kcontrol); in spitz_set_jack() local
194 struct snd_soc_card *card = snd_kcontrol_chip(kcontrol); in spitz_set_spk() local
290 struct snd_soc_card *card = &snd_soc_spitz; in spitz_probe() local
325 struct snd_soc_card *card = platform_get_drvdata(pdev); in spitz_remove() local
Dpoodle.c148 struct snd_soc_card *card = snd_kcontrol_chip(kcontrol); in poodle_set_jack() local
168 struct snd_soc_card *card = snd_kcontrol_chip(kcontrol); in poodle_set_spk() local
268 struct snd_soc_card *card = &poodle; in poodle_probe() local
290 struct snd_soc_card *card = platform_get_drvdata(pdev); in poodle_remove() local
Dcorgi.c173 struct snd_soc_card *card = snd_kcontrol_chip(kcontrol); in corgi_set_jack() local
193 struct snd_soc_card *card = snd_kcontrol_chip(kcontrol); in corgi_set_spk() local
293 struct snd_soc_card *card = &corgi; in corgi_probe() local
307 struct snd_soc_card *card = platform_get_drvdata(pdev); in corgi_remove() local
Dimote2.c70 struct snd_soc_card *card = &imote2; in imote2_probe() local
84 struct snd_soc_card *card = platform_get_drvdata(pdev); in imote2_remove() local
Dttc-dkb.c126 struct snd_soc_card *card = &ttc_dkb_card; in ttc_dkb_probe() local
141 struct snd_soc_card *card = platform_get_drvdata(pdev); in ttc_dkb_remove() local
De750_wm9705.c113 struct snd_soc_card *card = &e750; in e750_probe() local
134 struct snd_soc_card *card = platform_get_drvdata(pdev); in e750_remove() local
De800_wm9712.c112 struct snd_soc_card *card = &e800; in e800_probe() local
133 struct snd_soc_card *card = platform_get_drvdata(pdev); in e800_remove() local
/linux-4.1.27/sound/isa/
Dcmi8330.c169 struct snd_card *card; member
309 static int snd_cmi8330_mixer(struct snd_card *card, struct snd_cmi8330 *acard) in snd_cmi8330_mixer()
333 struct pnp_card_link *card, in snd_cmi8330_pnp()
440 static int snd_cmi8330_pcm(struct snd_card *card, struct snd_cmi8330 *chip) in snd_cmi8330_pcm()
482 static int snd_cmi8330_suspend(struct snd_card *card) in snd_cmi8330_suspend()
493 static int snd_cmi8330_resume(struct snd_card *card) in snd_cmi8330_resume()
520 struct snd_card *card; in snd_cmi8330_card_new() local
536 static int snd_cmi8330_probe(struct snd_card *card, int dev) in snd_cmi8330_probe()
636 struct snd_card *card; in snd_cmi8330_isa_probe() local
691 struct snd_card *card; in snd_cmi8330_pnp_detect() local
Dals100.c121 struct pnp_card_link *card, in snd_card_als100_pnp()
192 struct snd_card *card; in snd_card_als100_probe() local
291 static int snd_als100_pnp_detect(struct pnp_card_link *card, in snd_als100_pnp_detect()
319 struct snd_card *card = pnp_get_card_drvdata(pcard); in snd_als100_pnp_suspend() local
331 struct snd_card *card = pnp_get_card_drvdata(pcard); in snd_als100_pnp_resume() local
Dazt2320.c103 struct pnp_card_link *card, in snd_card_azt2320_pnp()
182 struct snd_card *card; in snd_card_azt2320_probe() local
269 static int snd_azt2320_pnp_detect(struct pnp_card_link *card, in snd_azt2320_pnp_detect()
297 struct snd_card *card = pnp_get_card_drvdata(pcard); in snd_azt2320_pnp_suspend() local
308 struct snd_card *card = pnp_get_card_drvdata(pcard); in snd_azt2320_pnp_resume() local
Dcmi8328.c76 struct snd_card *card; member
147 struct snd_card *card; in snd_cmi8328_mixer() local
219 struct snd_card *card; in snd_cmi8328_probe() local
407 struct snd_card *card = dev_get_drvdata(pdev); in snd_cmi8328_remove() local
429 struct snd_card *card = dev_get_drvdata(pdev); in snd_cmi8328_suspend() local
445 struct snd_card *card = dev_get_drvdata(pdev); in snd_cmi8328_resume() local
Dopl3sa2.c223 static int snd_opl3sa2_detect(struct snd_card *card) in snd_opl3sa2_detect()
301 struct snd_card *card = dev_id; in snd_opl3sa2_interrupt() local
498 static int snd_opl3sa2_mixer(struct snd_card *card) in snd_opl3sa2_mixer()
554 static int snd_opl3sa2_suspend(struct snd_card *card, pm_message_t state) in snd_opl3sa2_suspend()
568 static int snd_opl3sa2_resume(struct snd_card *card) in snd_opl3sa2_resume()
621 static void snd_opl3sa2_free(struct snd_card *card) in snd_opl3sa2_free()
632 struct snd_card *card; in snd_opl3sa2_card_new() local
650 static int snd_opl3sa2_probe(struct snd_card *card, int dev) in snd_opl3sa2_probe()
729 struct snd_card *card; in snd_opl3sa2_pnp_detect() local
789 struct snd_card *card; in snd_opl3sa2_pnp_cdetect() local
[all …]
/linux-4.1.27/drivers/mtd/maps/
Dvmu-flash.c63 struct memcard *card; in ofs_to_block() local
94 struct memcard *card; in vmu_blockread() local
114 struct memcard *card; in maple_vmu_read_block() local
231 struct memcard *card; in maple_vmu_write_block() local
308 struct memcard *card; in vmu_flash_read_char() local
356 struct memcard *card; in vmu_flash_read() local
422 struct memcard *card; in vmu_flash_write() local
505 struct memcard *card; in vmu_queryblocks() local
603 struct memcard *card; in vmu_connect() local
695 struct memcard *card; in vmu_disconnect() local
[all …]
/linux-4.1.27/sound/soc/qcom/
Dstorm.c31 struct snd_soc_card *card = soc_runtime->card; in storm_ops_hw_params() local
77 static int storm_parse_of(struct snd_soc_card *card) in storm_parse_of()
102 struct snd_soc_card *card = &storm_soc_card; in storm_platform_probe() local
/linux-4.1.27/sound/isa/sb/
Dsb16.c254 struct pnp_card_link *card, in snd_card_sb16_pnp()
311 static void snd_sb16_free(struct snd_card *card) in snd_sb16_free()
329 struct snd_card *card; in snd_sb16_card_new() local
341 static int snd_sb16_probe(struct snd_card *card, int dev) in snd_sb16_probe()
468 static int snd_sb16_suspend(struct snd_card *card, pm_message_t state) in snd_sb16_suspend()
479 static int snd_sb16_resume(struct snd_card *card) in snd_sb16_resume()
494 struct snd_card *card; in snd_sb16_isa_probe1() local
610 struct snd_card *card; in snd_sb16_pnp_detect() local
Dsb8.c73 static void snd_sb8_free(struct snd_card *card) in snd_sb8_free()
100 struct snd_card *card; in snd_sb8_probe() local
216 struct snd_card *card = dev_get_drvdata(dev); in snd_sb8_suspend() local
228 struct snd_card *card = dev_get_drvdata(dev); in snd_sb8_resume() local
Djazz16.c223 struct snd_card *card; in snd_jazz16_probe() local
344 struct snd_card *card = dev_get_drvdata(devptr); in snd_jazz16_remove() local
354 struct snd_card *card = dev_get_drvdata(pdev); in snd_jazz16_suspend() local
366 struct snd_card *card = dev_get_drvdata(pdev); in snd_jazz16_resume() local
/linux-4.1.27/sound/pci/ctxfi/
Dxfi.c63 struct snd_card *card; in ct_card_probe() local
132 struct snd_card *card = dev_get_drvdata(dev); in ct_card_suspend() local
140 struct snd_card *card = dev_get_drvdata(dev); in ct_card_resume() local
/linux-4.1.27/include/sound/
Dinfo.h83 struct snd_card *card; member
163 static inline struct snd_info_entry *snd_info_create_card_entry(struct snd_card *card, const char *… in snd_info_create_card_entry()
166 static inline int snd_info_card_create(struct snd_card *card) { return 0; } in snd_info_card_create()
167 static inline int snd_info_card_register(struct snd_card *card) { return 0; } in snd_info_card_register()
168 static inline int snd_info_card_free(struct snd_card *card) { return 0; } in snd_info_card_free()
169 static inline void snd_info_card_disconnect(struct snd_card *card) { } in snd_info_card_disconnect()
170 static inline void snd_info_card_id_change(struct snd_card *card) { } in snd_info_card_id_change()
173 static inline int snd_card_proc_new(struct snd_card *card, const char *name, in snd_card_proc_new()
Dcore.h83 struct snd_card *card; /* card which holds this device */ member
153 static inline void snd_power_lock(struct snd_card *card) in snd_power_lock()
158 static inline void snd_power_unlock(struct snd_card *card) in snd_power_unlock()
163 static inline unsigned int snd_power_get_state(struct snd_card *card) in snd_power_get_state()
168 static inline void snd_power_change_state(struct snd_card *card, unsigned int state) in snd_power_change_state()
179 #define snd_power_lock(card) do { (void)(card); } while (0) argument
180 #define snd_power_unlock(card) do { (void)(card); } while (0) argument
181 static inline int snd_power_wait(struct snd_card *card, unsigned int state) { return 0; } in snd_power_wait()
182 #define snd_power_get_state(card) ({ (void)(card); SNDRV_CTL_POWER_D0; }) argument
183 #define snd_power_change_state(card, state) do { (void)(card); } while (0) argument
[all …]
/linux-4.1.27/sound/pci/vx222/
Dvx222.c137 static int snd_vx222_create(struct snd_card *card, struct pci_dev *pci, in snd_vx222_create()
194 struct snd_card *card; in snd_vx222_probe() local
262 struct snd_card *card = dev_get_drvdata(dev); in snd_vx222_suspend() local
270 struct snd_card *card = dev_get_drvdata(dev); in snd_vx222_resume() local
/linux-4.1.27/sound/isa/opti9xx/
Dopti92x-ad1848.c594 struct snd_card *card; in snd_opti93x_mixer() local
706 static int snd_card_opti9xx_detect(struct snd_card *card,
732 struct pnp_card_link *card,
800 static void snd_card_opti9xx_free(struct snd_card *card)
816 static int snd_opti9xx_probe(struct snd_card *card)
936 struct snd_card *card; local
963 struct snd_card *card; local
1034 static int snd_opti9xx_suspend(struct snd_card *card)
1043 static int snd_opti9xx_resume(struct snd_card *card)
1091 struct snd_card *card; local
/linux-4.1.27/sound/drivers/mpu401/
Dmpu401.c70 struct snd_card *card; in snd_mpu401_create() local
109 struct snd_card *card; in snd_mpu401_probe() local
188 struct snd_card *card; in snd_mpu401_pnp_probe() local
214 struct snd_card *card = (struct snd_card *) pnp_get_drvdata(dev); in snd_mpu401_pnp_remove() local
/linux-4.1.27/sound/soc/intel/boards/
Dcht_bsw_rt5672.c47 static inline struct snd_soc_dai *cht_get_codec_dai(struct snd_soc_card *card) in cht_get_codec_dai()
66 struct snd_soc_card *card = dapm->card; in platform_clock_control() local
294 static int cht_suspend_pre(struct snd_soc_card *card) in cht_suspend_pre()
308 static int cht_resume_post(struct snd_soc_card *card) in cht_resume_post()
/linux-4.1.27/sound/isa/gus/
Dgusmax.c76 struct snd_card *card; member
127 static void snd_gusmax_init(int dev, struct snd_card *card, in snd_gusmax_init()
145 struct snd_card *card = chip->card; in snd_gusmax_mixer() local
192 static void snd_gusmax_free(struct snd_card *card) in snd_gusmax_free()
212 struct snd_card *card; in snd_gusmax_probe() local
Dgusextreme.c97 static int snd_gusextreme_es1688_create(struct snd_card *card, in snd_gusextreme_es1688_create()
136 static int snd_gusextreme_gus_card_create(struct snd_card *card, in snd_gusextreme_gus_card_create()
211 static int snd_gusextreme_mixer(struct snd_card *card) in snd_gusextreme_mixer()
239 struct snd_card *card; in snd_gusextreme_probe() local
Dinterwave.c118 struct snd_card *card; member
216 struct snd_card *card = iwcard->card; in snd_interwave_detect_stb() local
506 struct snd_card *card = chip->card; in snd_interwave_mixer() local
555 struct pnp_card_link *card, in snd_interwave_pnp()
609 static void snd_interwave_free(struct snd_card *card) in snd_interwave_free()
625 struct snd_card *card; in snd_interwave_card_new() local
641 static int snd_interwave_probe(struct snd_card *card, int dev) in snd_interwave_probe()
774 struct snd_card *card; in snd_interwave_isa_probe1() local
863 struct snd_card *card; in snd_interwave_pnp_detect() local
/linux-4.1.27/sound/soc/atmel/
Dsam9g20_wm8731.c64 static int at91sam9g20ek_set_bias_level(struct snd_soc_card *card, in at91sam9g20ek_set_bias_level()
168 struct snd_soc_card *card = &snd_soc_at91sam9g20ek; in at91sam9g20ek_audio_probe() local
258 struct snd_soc_card *card = platform_get_drvdata(pdev); in at91sam9g20ek_audio_remove() local
Datmel_wm8904.c84 struct snd_soc_card *card = &atmel_asoc_wm8904_card; in atmel_asoc_wm8904_dt_init() local
129 struct snd_soc_card *card = &atmel_asoc_wm8904_card; in atmel_asoc_wm8904_probe() local
162 struct snd_soc_card *card = platform_get_drvdata(pdev); in atmel_asoc_wm8904_remove() local
/linux-4.1.27/drivers/isdn/hardware/eicon/
Didifunc.c63 udiva_card *card; in find_card_in_list() local
86 udiva_card *card = NULL; in um_new_card() local
119 udiva_card *card = NULL; in um_remove_card() local
138 udiva_card *card; in remove_all_idi_proc() local
/linux-4.1.27/sound/soc/au1x/
Ddb1000.c39 struct snd_soc_card *card = &db1000_ac97; in db1000_audio_probe() local
46 struct snd_soc_card *card = platform_get_drvdata(pdev); in db1000_audio_remove() local
/linux-4.1.27/sound/soc/sirf/
Dsirf-audio.c27 struct snd_soc_card *card = dapm->card; in sirf_audio_hp_event() local
39 struct snd_soc_card *card = dapm->card; in sirf_audio_spk_event() local
85 struct snd_soc_card *card = &snd_soc_sirf_audio_card; in sirf_audio_probe() local
/linux-4.1.27/sound/isa/msnd/
Dmsnd_pinnacle.c218 static int snd_msnd_probe(struct snd_card *card) in snd_msnd_probe()
383 static int upload_dsp_code(struct snd_card *card) in upload_dsp_code()
428 static int snd_msnd_initialize(struct snd_card *card) in snd_msnd_initialize()
469 static int snd_msnd_dsp_full_reset(struct snd_card *card) in snd_msnd_dsp_full_reset()
540 static int snd_msnd_attach(struct snd_card *card) in snd_msnd_attach()
638 static void snd_msnd_unload(struct snd_card *card) in snd_msnd_unload()
895 struct snd_card *card; in snd_msnd_isa_probe() local
1087 struct snd_card *card; in snd_msnd_pnp_detect() local
/linux-4.1.27/arch/x86/boot/
Dvideo-mode.c33 struct card_info *card; in probe_cards() local
54 struct card_info *card; in mode_defined() local
73 struct card_info *card; in raw_set_mode() local
/linux-4.1.27/sound/soc/cirrus/
Dsimone.c44 struct snd_soc_card *card = &snd_soc_simone; in simone_probe() local
66 struct snd_soc_card *card = platform_get_drvdata(pdev); in simone_remove() local
Dedb93xx.c84 struct snd_soc_card *card = &snd_soc_edb93xx; in edb93xx_probe() local
105 struct snd_soc_card *card = platform_get_drvdata(pdev); in edb93xx_remove() local
Dsnappercl15.c94 struct snd_soc_card *card = &snd_soc_snappercl15; in snappercl15_probe() local
115 struct snd_soc_card *card = platform_get_drvdata(pdev); in snappercl15_remove() local
/linux-4.1.27/sound/pci/emu10k1/
Demu10k1.c106 struct snd_card *card; in snd_card_emu10k1_probe() local
215 struct snd_card *card = dev_get_drvdata(dev); in snd_emu10k1_suspend() local
241 struct snd_card *card = dev_get_drvdata(dev); in snd_emu10k1_resume() local
/linux-4.1.27/sound/soc/fsl/
Dmpc8610_hpcd.c36 struct snd_soc_card card; member
55 static int mpc8610_hpcd_machine_probe(struct snd_soc_card *card) in mpc8610_hpcd_machine_probe()
139 static int mpc8610_hpcd_machine_remove(struct snd_soc_card *card) in mpc8610_hpcd_machine_remove()
374 struct snd_soc_card *card = platform_get_drvdata(pdev); in mpc8610_hpcd_remove() local
Dimx-wm8962.c33 struct snd_soc_card card; member
68 static int imx_wm8962_set_bias_level(struct snd_soc_card *card, in imx_wm8962_set_bias_level()
136 static int imx_wm8962_late_probe(struct snd_soc_card *card) in imx_wm8962_late_probe()
293 struct snd_soc_card *card = platform_get_drvdata(pdev); in imx_wm8962_remove() local
Dp1022_rdk.c76 struct snd_soc_card card; member
93 static int p1022_rdk_machine_probe(struct snd_soc_card *card) in p1022_rdk_machine_probe()
165 static int p1022_rdk_machine_remove(struct snd_soc_card *card) in p1022_rdk_machine_remove()
332 struct snd_soc_card *card = platform_get_drvdata(pdev); in p1022_rdk_remove() local
Dp1022_ds.c69 struct snd_soc_card card; member
87 static int p1022_ds_machine_probe(struct snd_soc_card *card) in p1022_ds_machine_probe()
161 static int p1022_ds_machine_remove(struct snd_soc_card *card) in p1022_ds_machine_remove()
382 struct snd_soc_card *card = platform_get_drvdata(pdev); in p1022_ds_remove() local
Dpcm030-audio-fabric.c26 struct snd_soc_card *card; member
58 struct snd_soc_card *card = &pcm030_card; in pcm030_fabric_probe() local
/linux-4.1.27/sound/isa/ad1848/
Dad1848.c89 struct snd_card *card; in snd_ad1848_probe() local
141 struct snd_card *card = dev_get_drvdata(dev); in snd_ad1848_suspend() local
151 struct snd_card *card = dev_get_drvdata(dev); in snd_ad1848_resume() local
/linux-4.1.27/drivers/net/ethernet/amd/
Dni65.c176 static struct card { struct
183 char *cardname; argument
185 } cards[] = { argument
/linux-4.1.27/drivers/isdn/hisax/
Dnj_u.c150 static int nju_cs_init(struct IsdnCard *card, struct IsdnCardState *cs) in nju_cs_init()
188 static int nju_cs_init_rest(struct IsdnCard *card, struct IsdnCardState *cs) in nju_cs_init_rest()
221 int setup_netjet_u(struct IsdnCard *card) in setup_netjet_u()
Dnj_s.c189 static int njs_cs_init(struct IsdnCard *card, struct IsdnCardState *cs) in njs_cs_init()
226 static int njs_cs_init_rest(struct IsdnCard *card, struct IsdnCardState *cs) in njs_cs_init_rest()
258 int setup_netjet_s(struct IsdnCard *card) in setup_netjet_s()
/linux-4.1.27/sound/pci/cs5535audio/
Dcs5535audio_pm.c60 struct snd_card *card = dev_get_drvdata(dev); in snd_cs5535audio_suspend() local
79 struct snd_card *card = dev_get_drvdata(dev); in snd_cs5535audio_resume() local
/linux-4.1.27/sound/pci/oxygen/
Doxygen_lib.c587 static void oxygen_card_free(struct snd_card *card) in oxygen_card_free()
611 struct snd_card *card; in oxygen_pci_probe() local
749 struct snd_card *card = dev_get_drvdata(dev); in oxygen_pci_suspend() local
803 struct snd_card *card = dev_get_drvdata(dev); in oxygen_pci_resume() local
832 struct snd_card *card = pci_get_drvdata(pci); in oxygen_pci_shutdown() local
/linux-4.1.27/sound/pci/
Dcs5530.c63 struct snd_card *card; member
105 static int snd_cs5530_create(struct snd_card *card, in snd_cs5530_create()
254 struct snd_card *card; in snd_cs5530_probe() local
/linux-4.1.27/drivers/staging/rts5208/
Drtsx_card.c883 int enable_card_clock(struct rtsx_chip *chip, u8 card) in enable_card_clock()
904 int disable_card_clock(struct rtsx_chip *chip, u8 card) in disable_card_clock()
925 int card_power_on(struct rtsx_chip *chip, u8 card) in card_power_on()
963 int card_power_off(struct rtsx_chip *chip, u8 card) in card_power_off()
1028 int card_share_mode(struct rtsx_chip *chip, int card) in card_share_mode()
1074 int select_card(struct rtsx_chip *chip, int card) in select_card()
1138 int detect_card_cd(struct rtsx_chip *chip, int card) in detect_card_cd()
Drtsx_transport.c234 int rtsx_send_cmd(struct rtsx_chip *chip, u8 card, int timeout) in rtsx_send_cmd()
323 static int rtsx_transfer_sglist_adma_partial(struct rtsx_chip *chip, u8 card, in rtsx_transfer_sglist_adma_partial()
487 static int rtsx_transfer_sglist_adma(struct rtsx_chip *chip, u8 card, in rtsx_transfer_sglist_adma()
634 static int rtsx_transfer_buf(struct rtsx_chip *chip, u8 card, void *buf, in rtsx_transfer_buf()
717 int rtsx_transfer_data_partial(struct rtsx_chip *chip, u8 card, in rtsx_transfer_data_partial()
746 int rtsx_transfer_data(struct rtsx_chip *chip, u8 card, void *buf, size_t len, in rtsx_transfer_data()
/linux-4.1.27/sound/core/oss/
Dmixer_oss.c43 struct snd_card *card; in snd_mixer_oss_open() local
99 struct snd_card *card = fmixer->card; in snd_mixer_oss_info() local
115 struct snd_card *card = fmixer->card; in snd_mixer_oss_info_obsolete() local
384 int snd_mixer_oss_ioctl_card(struct snd_card *card, unsigned int cmd, unsigned long arg) in snd_mixer_oss_ioctl_card()
505 struct snd_card *card = mixer->card; in snd_mixer_oss_test_id() local
523 struct snd_card *card = fmixer->card; in snd_mixer_oss_get_volume1_vol() local
561 struct snd_card *card = fmixer->card; in snd_mixer_oss_get_volume1_sw() local
625 struct snd_card *card = fmixer->card; in snd_mixer_oss_put_volume1_vol() local
666 struct snd_card *card = fmixer->card; in snd_mixer_oss_put_volume1_sw() local
799 struct snd_card *card = fmixer->card; in snd_mixer_oss_get_recsrc2() local
[all …]
/linux-4.1.27/sound/soc/blackfin/
Dbf5xx-ad1836.c75 struct snd_soc_card *card = &bf5xx_ad1836; in bf5xx_ad1836_driver_probe() local
98 struct snd_soc_card *card = platform_get_drvdata(pdev); in bf5xx_ad1836_driver_remove() local
Dbfin-eval-adau1701.c93 struct snd_soc_card *card = &bfin_eval_adau1701; in bfin_eval_adau1701_probe() local
102 struct snd_soc_card *card = platform_get_drvdata(pdev); in bfin_eval_adau1701_remove() local
/linux-4.1.27/sound/pci/hda/
Dhda_tegra.c250 struct snd_card *card = dev_get_drvdata(dev); in hda_tegra_suspend() local
265 struct snd_card *card = dev_get_drvdata(dev); in hda_tegra_resume() local
340 struct snd_card *card = chip->card; in hda_tegra_first_init() local
410 static int hda_tegra_create(struct snd_card *card, in hda_tegra_create()
455 struct snd_card *card; in hda_tegra_probe() local
519 struct snd_card *card = dev_get_drvdata(&pdev->dev); in hda_tegra_shutdown() local
/linux-4.1.27/sound/pcmcia/vx/
Dvxpocket.c135 static int snd_vxpocket_new(struct snd_card *card, int ibl, in snd_vxpocket_new()
189 struct snd_card *card = chip->card; in snd_vxpocket_assign_resources() local
298 struct snd_card *card; in vxpocket_probe() local
/linux-4.1.27/include/pcmcia/
Ddevice_id.h17 #define PCMCIA_DEVICE_MANF_CARD(manf, card) { \ argument
89 #define PCMCIA_DEVICE_MANF_CARD_PROD_ID1(manf, card, v1, vh1) { \ argument
98 #define PCMCIA_DEVICE_MANF_CARD_PROD_ID3(manf, card, v3, vh3) { \ argument
110 #define PCMCIA_MFC_DEVICE_MANF_CARD(mfc, manf, card) { \ argument
159 #define PCMCIA_PFC_DEVICE_MANF_CARD(mfc, manf, card) { \ argument
208 #define PCMCIA_DEVICE_CIS_MANF_CARD(manf, card, _cisfile) { \ argument
251 #define PCMCIA_MFC_DEVICE_CIS_MANF_CARD(mfc, manf, card, _cisfile) { \ argument

1234