| /linux/drivers/mmc/core/ |
| H A D | mmc.c | 65 static int mmc_decode_cid(struct mmc_card *card) in mmc_decode_cid() argument 67 u32 *resp = card->raw_cid; in mmc_decode_cid() 73 add_device_randomness(&card->raw_cid, sizeof(card->raw_cid)); in mmc_decode_cid() 79 switch (card->csd.mmca_vsn) { in mmc_decode_cid() 82 card->cid.manfid = unstuff_bits(resp, 104, 24); in mmc_decode_cid() 83 card->cid.prod_name[0] = unstuff_bits(resp, 96, 8); in mmc_decode_cid() 84 card->cid.prod_name[1] = unstuff_bits(resp, 88, 8); in mmc_decode_cid() 85 card->cid.prod_name[2] = unstuff_bits(resp, 80, 8); in mmc_decode_cid() 86 card->cid.prod_name[3] = unstuff_bits(resp, 72, 8); in mmc_decode_cid() 87 card->cid.prod_name[4] = unstuff_bits(resp, 64, 8); in mmc_decode_cid() [all …]
|
| H A D | bus.c | 35 struct mmc_card *card = mmc_dev_to_card(dev); in type_show() local 37 switch (card->type) { in type_show() 61 const struct mmc_card *card = mmc_dev_to_card(dev); in mmc_bus_uevent() local 66 switch (card->type) { in mmc_bus_uevent() 89 if (mmc_card_sdio(card) || mmc_card_sd_combo(card)) { in mmc_bus_uevent() 91 card->cis.vendor, card->cis.device); in mmc_bus_uevent() 96 card->major_rev, card->minor_rev); in mmc_bus_uevent() 100 for (i = 0; i < card->num_info; i++) { in mmc_bus_uevent() 101 retval = add_uevent_var(env, "SDIO_INFO%u=%s", i+1, card->info[i]); in mmc_bus_uevent() 111 if (mmc_card_sdio(card)) in mmc_bus_uevent() [all …]
|
| /linux/sound/core/ |
| H A D | init.c | 85 int (*snd_mixer_oss_notify_callback)(struct snd_card *card, int free_flag); 123 * @card: card to assign, optional 127 int snd_device_alloc(struct device **dev_p, struct snd_card *card) in snd_device_alloc() argument 136 if (card) in snd_device_alloc() 137 dev->parent = &card->card_dev; in snd_device_alloc() 145 static int snd_card_init(struct snd_card *card, struct device *parent, 148 static int snd_card_do_free(struct snd_card *card); 159 * @idx: card index (address) [0 ... (SNDRV_CARDS-1)] 160 * @xid: card identificatio 175 struct snd_card *card; snd_card_new() local 231 struct snd_card *card; snd_devm_card_new() local 265 struct snd_card *card; snd_card_free_on_error() local 276 snd_card_init(struct snd_card * card,struct device * parent,int idx,const char * xid,struct module * module,size_t extra_size) snd_card_init() argument 386 struct snd_card *card; snd_card_ref() local 397 snd_card_locked(int card) snd_card_locked() argument 491 snd_card_disconnect(struct snd_card * card) snd_card_disconnect() argument 569 snd_card_disconnect_sync(struct snd_card * card) snd_card_disconnect_sync() argument 580 snd_card_do_free(struct snd_card * card) snd_card_do_free() argument 612 snd_card_free_when_closed(struct snd_card * card) snd_card_free_when_closed() argument 636 snd_card_free(struct snd_card * card) snd_card_free() argument 677 card_id_ok(struct snd_card * card,const char * id) card_id_ok() argument 691 copy_valid_id_string(struct snd_card * card,const char * src,const char * nid) copy_valid_id_string() argument 711 snd_card_set_id_no_lock(struct snd_card * card,const char * src,const char * nid) snd_card_set_id_no_lock() argument 765 snd_card_set_id(struct snd_card * card,const char * nid) snd_card_set_id() argument 778 struct snd_card *card = container_of(dev, struct snd_card, card_dev); id_show() local 785 struct snd_card *card = container_of(dev, struct snd_card, card_dev); id_store() local 813 struct snd_card *card = container_of(dev, struct snd_card, card_dev); number_show() local 836 snd_card_add_dev_attr(struct snd_card * card,const struct attribute_group * group) snd_card_add_dev_attr() argument 870 snd_card_register(struct snd_card * card) snd_card_register() argument 934 struct snd_card *card; snd_card_info_read() local 958 struct snd_card *card; snd_card_info_read_oss() local 980 struct snd_card *card; snd_card_module_info_read() local 1027 snd_component_add(struct snd_card * card,const char * component) snd_component_add() argument 1059 snd_card_file_add(struct snd_card * card,struct file * file) snd_card_file_add() argument 1093 snd_card_file_remove(struct snd_card * card,struct file * file) snd_card_file_remove() argument 1138 snd_power_ref_and_wait(struct snd_card * card) snd_power_ref_and_wait() argument 1159 snd_power_wait(struct snd_card * card) snd_power_wait() argument [all...] |
| /linux/drivers/s390/net/ |
| H A D | qeth_l2_main.c | 32 static int qeth_l2_setdelmac_makerc(struct qeth_card *card, u16 retcode) in qeth_l2_setdelmac_makerc() argument 37 QETH_CARD_TEXT_(card, 2, "err%04x", retcode); in qeth_l2_setdelmac_makerc() 66 static int qeth_l2_send_setdelmac_cb(struct qeth_card *card, in qeth_l2_send_setdelmac_cb() argument 72 return qeth_l2_setdelmac_makerc(card, cmd->hdr.return_code); in qeth_l2_send_setdelmac_cb() 75 static int qeth_l2_send_setdelmac(struct qeth_card *card, const __u8 *mac, in qeth_l2_send_setdelmac() argument 81 QETH_CARD_TEXT(card, 2, "L2sdmac"); in qeth_l2_send_setdelmac() 82 iob = qeth_ipa_alloc_cmd(card, ipacmd, QETH_PROT_IPV4, in qeth_l2_send_setdelmac() 89 return qeth_send_ipa_cmd(card, iob, qeth_l2_send_setdelmac_cb, NULL); in qeth_l2_send_setdelmac() 92 static int qeth_l2_send_setmac(struct qeth_card *card, const __u8 *mac) in qeth_l2_send_setmac() argument 96 QETH_CARD_TEXT(card, 2, "L2Setmac"); in qeth_l2_send_setmac() [all …]
|
| H A D | qeth_l3_main.c | 55 static struct qeth_ipaddr *qeth_l3_find_addr_by_ip(struct qeth_card *card, in qeth_l3_find_addr_by_ip() argument 62 hash_for_each_possible(card->rx_mode_addrs, addr, hnode, key) in qeth_l3_find_addr_by_ip() 66 hash_for_each_possible(card->ip_htable, addr, hnode, key) in qeth_l3_find_addr_by_ip() 87 static bool qeth_l3_is_addr_covered_by_ipato(struct qeth_card *card, in qeth_l3_is_addr_covered_by_ipato() argument 95 if (!card->ipato.enabled) in qeth_l3_is_addr_covered_by_ipato() 102 list_for_each_entry(ipatoe, &card->ipato.entries, entry) { in qeth_l3_is_addr_covered_by_ipato() 113 if ((addr->proto == QETH_PROT_IPV4) && card->ipato.invert4) in qeth_l3_is_addr_covered_by_ipato() 115 else if ((addr->proto == QETH_PROT_IPV6) && card->ipato.invert6) in qeth_l3_is_addr_covered_by_ipato() 121 static int qeth_l3_delete_ip(struct qeth_card *card, in qeth_l3_delete_ip() argument 128 QETH_CARD_TEXT(card, 2, "delrxip"); in qeth_l3_delete_ip() [all …]
|
| H A D | qeth_core_main.c | 67 static void qeth_issue_next_read_cb(struct qeth_card *card, 71 static void qeth_free_qdio_queues(struct qeth_card *card); 73 static const char *qeth_get_cardname(struct qeth_card *card) in qeth_get_cardname() argument 75 if (IS_VM_NIC(card)) { in qeth_get_cardname() 76 switch (card->info.type) { in qeth_get_cardname() 89 switch (card->info.type) { in qeth_get_cardname() 106 const char *qeth_get_cardname_short(struct qeth_card *card) in qeth_get_cardname_short() argument 108 if (IS_VM_NIC(card)) { in qeth_get_cardname_short() 109 switch (card->info.type) { in qeth_get_cardname_short() 122 switch (card in qeth_get_cardname_short() 159 qeth_set_allowed_threads(struct qeth_card * card,unsigned long threads,int clear_start_mask) qeth_set_allowed_threads() argument 173 qeth_threads_running(struct qeth_card * card,unsigned long threads) qeth_threads_running() argument 185 qeth_clear_working_pool_list(struct qeth_card * card) qeth_clear_working_pool_list() argument 212 qeth_free_buffer_pool(struct qeth_card * card) qeth_free_buffer_pool() argument 244 qeth_alloc_buffer_pool(struct qeth_card * card) qeth_alloc_buffer_pool() argument 264 qeth_resize_buffer_pool(struct qeth_card * card,unsigned int count) qeth_resize_buffer_pool() argument 345 qeth_cq_init(struct qeth_card * card) qeth_cq_init() argument 366 qeth_free_cq(struct qeth_card * card) qeth_free_cq() argument 374 qeth_alloc_cq(struct qeth_card * card) qeth_alloc_cq() argument 434 __qeth_issue_next_read(struct qeth_card * card) __qeth_issue_next_read() argument 466 qeth_issue_next_read(struct qeth_card * card) qeth_issue_next_read() argument 477 qeth_enqueue_cmd(struct qeth_card * card,struct qeth_cmd_buffer * iob) qeth_enqueue_cmd() argument 485 qeth_dequeue_cmd(struct qeth_card * card,struct qeth_cmd_buffer * iob) qeth_dequeue_cmd() argument 499 qeth_flush_local_addrs4(struct qeth_card * card) qeth_flush_local_addrs4() argument 513 qeth_flush_local_addrs6(struct qeth_card * card) qeth_flush_local_addrs6() argument 527 qeth_flush_local_addrs(struct qeth_card * card) qeth_flush_local_addrs() argument 533 qeth_add_local_addrs4(struct qeth_card * card,struct qeth_ipacmd_local_addrs4 * cmd) qeth_add_local_addrs4() argument 576 qeth_add_local_addrs6(struct qeth_card * card,struct qeth_ipacmd_local_addrs6 * cmd) qeth_add_local_addrs6() argument 619 qeth_del_local_addrs4(struct qeth_card * card,struct qeth_ipacmd_local_addrs4 * cmd) qeth_del_local_addrs4() argument 649 qeth_del_local_addrs6(struct qeth_card * card,struct qeth_ipacmd_local_addrs6 * cmd) qeth_del_local_addrs6() argument 679 qeth_next_hop_is_local_v4(struct qeth_card * card,struct sk_buff * skb) qeth_next_hop_is_local_v4() argument 706 qeth_next_hop_is_local_v6(struct qeth_card * card,struct sk_buff * skb) qeth_next_hop_is_local_v6() argument 735 struct qeth_card *card = m->private; qeth_debugfs_local_addr_show() local 752 qeth_issue_ipa_msg(struct qeth_ipa_cmd * cmd,int rc,struct qeth_card * card) qeth_issue_ipa_msg() argument 768 qeth_default_link_info(struct qeth_card * card) qeth_default_link_info() argument 811 qeth_check_ipa_data(struct qeth_card * card,struct qeth_ipa_cmd * cmd) qeth_check_ipa_data() argument 877 qeth_clear_ipacmd_list(struct qeth_card * card) qeth_clear_ipacmd_list() argument 890 qeth_check_idx_response(struct qeth_card * card,unsigned char * buffer) qeth_check_idx_response() argument 911 qeth_release_buffer_cb(struct qeth_card * card,struct qeth_cmd_buffer * iob,unsigned int data_length) qeth_release_buffer_cb() argument 953 qeth_issue_next_read_cb(struct qeth_card * card,struct qeth_cmd_buffer * iob,unsigned int data_length) qeth_issue_next_read_cb() argument 1027 qeth_set_thread_start_bit(struct qeth_card * card,unsigned long thread) qeth_set_thread_start_bit() argument 1045 qeth_clear_thread_start_bit(struct qeth_card * card,unsigned long thread) qeth_clear_thread_start_bit() argument 1056 qeth_clear_thread_running_bit(struct qeth_card * card,unsigned long thread) qeth_clear_thread_running_bit() argument 1067 __qeth_do_run_thread(struct qeth_card * card,unsigned long thread) __qeth_do_run_thread() argument 1086 qeth_do_run_thread(struct qeth_card * card,unsigned long thread) qeth_do_run_thread() argument 1095 qeth_schedule_recovery(struct qeth_card * card) qeth_schedule_recovery() argument 1108 qeth_get_problem(struct qeth_card * card,struct ccw_device * cdev,struct irb * irb) qeth_get_problem() argument 1156 qeth_check_irb_error(struct qeth_card * card,struct ccw_device * cdev,struct irb * irb) qeth_check_irb_error() argument 1206 struct qeth_card *card; qeth_irq() local 1418 qeth_tx_complete_pending_bufs(struct qeth_card * card,struct qeth_qdio_out_q * queue,bool drain,int budget) qeth_tx_complete_pending_bufs() argument 1474 qeth_drain_output_queues(struct qeth_card * card) qeth_drain_output_queues() argument 1486 qeth_osa_set_output_queues(struct qeth_card * card,bool single) qeth_osa_set_output_queues() argument 1502 qeth_update_from_chp_desc(struct qeth_card * card) qeth_update_from_chp_desc() argument 1526 qeth_init_qdio_info(struct qeth_card * card) qeth_init_qdio_info() argument 1544 qeth_set_initial_options(struct qeth_card * card) qeth_set_initial_options() argument 1553 qeth_do_start_thread(struct qeth_card * card,unsigned long thread) qeth_do_start_thread() argument 1572 struct qeth_card *card = container_of(work, struct qeth_card, qeth_start_kernel_thread() local 1590 qeth_setup_card(struct qeth_card * card) qeth_setup_card() argument 1617 struct qeth_card *card = container_of(slr, struct qeth_card, qeth_core_sl_print() local 1626 struct qeth_card *card; qeth_alloc_card() local 1667 qeth_clear_channel(struct qeth_card * card,struct qeth_channel * channel) qeth_clear_channel() argument 1689 qeth_halt_channel(struct qeth_card * card,struct qeth_channel * channel) qeth_halt_channel() argument 1753 qeth_halt_channels(struct qeth_card * card) qeth_halt_channels() argument 1768 qeth_clear_channels(struct qeth_card * card) qeth_clear_channels() argument 1783 qeth_clear_halt_card(struct qeth_card * card,int halt) qeth_clear_halt_card() argument 1796 qeth_qdio_clear_card(struct qeth_card * card,int use_halt) qeth_qdio_clear_card() argument 1825 qeth_vm_detect_layer(struct qeth_card * card) qeth_vm_detect_layer() argument 1882 qeth_enforce_discipline(struct qeth_card * card) qeth_enforce_discipline() argument 1906 qeth_set_blkt_defaults(struct qeth_card * card) qeth_set_blkt_defaults() argument 1921 qeth_idx_init(struct qeth_card * card) qeth_idx_init() argument 1943 qeth_idx_finalize_cmd(struct qeth_card * card,struct qeth_cmd_buffer * iob) qeth_idx_finalize_cmd() argument 1961 qeth_mpc_finalize_cmd(struct qeth_card * card,struct qeth_cmd_buffer * iob) qeth_mpc_finalize_cmd() argument 1982 qeth_mpc_alloc_cmd(struct qeth_card * card,const void * data,unsigned int data_length) qeth_mpc_alloc_cmd() argument 2022 qeth_send_control_data(struct qeth_card * card,struct qeth_cmd_buffer * iob,int (* reply_cb)(struct qeth_card * cb_card,struct qeth_reply * cb_reply,unsigned long cb_cmd),void * reply_param) qeth_send_control_data() argument 2101 qeth_read_conf_data_cb(struct qeth_card * card,struct qeth_cmd_buffer * iob,unsigned int data_length) qeth_read_conf_data_cb() argument 2135 qeth_read_conf_data(struct qeth_card * card) qeth_read_conf_data() argument 2159 qeth_idx_check_activate_response(struct qeth_card * card,struct qeth_channel * channel,struct qeth_cmd_buffer * iob) qeth_idx_check_activate_response() argument 2193 qeth_idx_activate_read_channel_cb(struct qeth_card * card,struct qeth_cmd_buffer * iob,unsigned int data_length) qeth_idx_activate_read_channel_cb() argument 2227 qeth_idx_activate_write_channel_cb(struct qeth_card * card,struct qeth_cmd_buffer * iob,unsigned int data_length) qeth_idx_activate_write_channel_cb() argument 2255 qeth_idx_setup_activate_cmd(struct qeth_card * card,struct qeth_cmd_buffer * iob) qeth_idx_setup_activate_cmd() argument 2277 qeth_idx_activate_read_channel(struct qeth_card * card) qeth_idx_activate_read_channel() argument 2301 qeth_idx_activate_write_channel(struct qeth_card * card) qeth_idx_activate_write_channel() argument 2325 qeth_cm_enable_cb(struct qeth_card * card,struct qeth_reply * reply,unsigned long data) qeth_cm_enable_cb() argument 2339 qeth_cm_enable(struct qeth_card * card) qeth_cm_enable() argument 2357 qeth_cm_setup_cb(struct qeth_card * card,struct qeth_reply * reply,unsigned long data) qeth_cm_setup_cb() argument 2371 qeth_cm_setup(struct qeth_card * card) qeth_cm_setup() argument 2390 qeth_is_supported_link_type(struct qeth_card * card,u8 link_type) qeth_is_supported_link_type() argument 2401 qeth_update_max_mtu(struct qeth_card * card,unsigned int max_mtu) qeth_update_max_mtu() argument 2455 qeth_ulp_enable_cb(struct qeth_card * card,struct qeth_reply * reply,unsigned long data) qeth_ulp_enable_cb() argument 2490 qeth_mpc_select_prot_type(struct qeth_card * card) qeth_mpc_select_prot_type() argument 2495 qeth_ulp_enable(struct qeth_card * card) qeth_ulp_enable() argument 2520 qeth_ulp_setup_cb(struct qeth_card * card,struct qeth_reply * reply,unsigned long data) qeth_ulp_setup_cb() argument 2541 qeth_ulp_setup(struct qeth_card * card) qeth_ulp_setup() argument 2628 qeth_alloc_qdio_queues(struct qeth_card * card) qeth_alloc_qdio_queues() argument 2688 qeth_free_qdio_queues(struct qeth_card * card) qeth_free_qdio_queues() argument 2714 qeth_fill_qib_parms(struct qeth_card * card,struct qeth_qib_parms * parms) qeth_fill_qib_parms() argument 2754 qeth_qdio_activate(struct qeth_card * card) qeth_qdio_activate() argument 2760 qeth_dm_act(struct qeth_card * card) qeth_dm_act() argument 2777 qeth_mpc_initialize(struct qeth_card * card) qeth_mpc_initialize() argument 2833 qeth_print_status_message(struct qeth_card * card) qeth_print_status_message() argument 2877 qeth_initialize_working_pool_list(struct qeth_card * card) qeth_initialize_working_pool_list() argument 2890 qeth_find_free_buffer_pool_entry(struct qeth_card * card) qeth_find_free_buffer_pool_entry() argument 2931 qeth_init_input_buffer(struct qeth_card * card,struct qeth_qdio_buffer * buf) qeth_init_input_buffer() argument 2972 qeth_tx_select_bulk_max(struct qeth_card * card,struct qeth_qdio_out_q * queue) qeth_tx_select_bulk_max() argument 2984 qeth_init_qdio_queues(struct qeth_card * card) qeth_init_qdio_queues() argument 3037 qeth_ipa_finalize_cmd(struct qeth_card * card,struct qeth_cmd_buffer * iob) qeth_ipa_finalize_cmd() argument 3046 qeth_prepare_ipa_cmd(struct qeth_card * card,struct qeth_cmd_buffer * iob,u16 cmd_length) qeth_prepare_ipa_cmd() argument 3074 qeth_ipa_alloc_cmd(struct qeth_card * card,enum qeth_ipa_cmds cmd_code,enum qeth_prot_versions prot,unsigned int data_length) qeth_ipa_alloc_cmd() argument 3104 qeth_send_ipa_cmd_cb(struct qeth_card * card,struct qeth_reply * reply,unsigned long data) qeth_send_ipa_cmd_cb() argument 3118 qeth_send_ipa_cmd(struct qeth_card * card,struct qeth_cmd_buffer * iob,int (* reply_cb)(struct qeth_card *,struct qeth_reply *,unsigned long),void * reply_param) qeth_send_ipa_cmd() argument 3143 qeth_send_startlan_cb(struct qeth_card * card,struct qeth_reply * reply,unsigned long data) qeth_send_startlan_cb() argument 3154 qeth_send_startlan(struct qeth_card * card) qeth_send_startlan() argument 3174 qeth_query_setadapterparms_cb(struct qeth_card * card,struct qeth_reply * reply,unsigned long data) qeth_query_setadapterparms_cb() argument 3197 qeth_get_adapter_cmd(struct qeth_card * card,enum qeth_ipa_setadp_cmd adp_cmd,unsigned int data_length) qeth_get_adapter_cmd() argument 3219 qeth_query_setadapterparms(struct qeth_card * card) qeth_query_setadapterparms() argument 3233 qeth_query_ipassists_cb(struct qeth_card * card,struct qeth_reply * reply,unsigned long data) qeth_query_ipassists_cb() argument 3267 qeth_query_ipassists(struct qeth_card * card,enum qeth_prot_versions prot) qeth_query_ipassists() argument 3281 qeth_query_switch_attributes_cb(struct qeth_card * card,struct qeth_reply * reply,unsigned long data) qeth_query_switch_attributes_cb() argument 3301 qeth_query_switch_attributes(struct qeth_card * card,struct qeth_switch_info * sw_info) qeth_query_switch_attributes() argument 3318 qeth_get_diag_cmd(struct qeth_card * card,enum qeth_diags_cmds sub_cmd,unsigned int data_length) qeth_get_diag_cmd() argument 3337 qeth_query_setdiagass_cb(struct qeth_card * card,struct qeth_reply * reply,unsigned long data) qeth_query_setdiagass_cb() argument 3352 qeth_query_setdiagass(struct qeth_card * card) qeth_query_setdiagass() argument 3363 qeth_get_trap_id(struct qeth_card * card,struct qeth_trap_id * tid) qeth_get_trap_id() argument 3387 qeth_hw_trap_cb(struct qeth_card * card,struct qeth_reply * reply,unsigned long data) qeth_hw_trap_cb() argument 3400 qeth_hw_trap(struct qeth_card * card,enum qeth_diags_trap_action action) qeth_hw_trap() argument 3429 qeth_check_qdio_errors(struct qeth_card * card,struct qdio_buffer * buf,unsigned int qdio_error,const char * dbftext) qeth_check_qdio_errors() argument 3450 qeth_rx_refill_queue(struct qeth_card * card,unsigned int count) qeth_rx_refill_queue() argument 3509 struct qeth_card *card = container_of(to_delayed_work(work), qeth_buffer_reclaim_work() local 3519 qeth_handle_send_error(struct qeth_card * card,struct qeth_qdio_out_buffer * buffer,unsigned int qdio_err) qeth_handle_send_error() argument 3602 struct qeth_card *card = queue->card; qeth_flush_buffers() local 3744 struct qeth_card *card = (struct qeth_card *)card_ptr; qeth_qdio_poll() local 3749 qeth_configure_cq(struct qeth_card * card,enum qeth_cq cq) qeth_configure_cq() argument 3759 qeth_qdio_handle_aob(struct qeth_card * card,struct qaob * aob) qeth_qdio_handle_aob() argument 3771 qeth_qdio_cq_handler(struct qeth_card * card,unsigned int qdio_err,unsigned int queue,int first_element,int count) qeth_qdio_cq_handler() argument 3818 struct qeth_card *card = (struct qeth_card *)card_ptr; qeth_qdio_input_handler() local 3832 struct qeth_card *card = (struct qeth_card *) card_ptr; qeth_qdio_output_handler() local 3842 qeth_get_priority_queue(struct qeth_card * card,struct sk_buff * skb) qeth_get_priority_queue() argument 4140 __qeth_xmit(struct qeth_card * card,struct qeth_qdio_out_q * queue,struct sk_buff * skb,unsigned int elements,struct qeth_hdr * hdr,unsigned int offset,unsigned int hd_len) __qeth_xmit() argument 4218 qeth_do_send_packet(struct qeth_card * card,struct qeth_qdio_out_q * queue,struct sk_buff * skb,struct qeth_hdr * hdr,unsigned int offset,unsigned int hd_len,unsigned int elements_needed) qeth_do_send_packet() argument 4319 qeth_xmit(struct qeth_card * card,struct sk_buff * skb,struct qeth_qdio_out_q * queue,__be16 proto,void (* fill_header)(struct qeth_qdio_out_q * queue,struct qeth_hdr * hdr,struct sk_buff * skb,__be16 proto,unsigned int data_len)) qeth_xmit() argument 4380 qeth_setadp_promisc_mode_cb(struct qeth_card * card,struct qeth_reply * reply,unsigned long data) qeth_setadp_promisc_mode_cb() argument 4397 qeth_setadp_promisc_mode(struct qeth_card * card,bool enable) qeth_setadp_promisc_mode() argument 4417 qeth_setadpparms_change_macaddr_cb(struct qeth_card * card,struct qeth_reply * reply,unsigned long data) qeth_setadpparms_change_macaddr_cb() argument 4439 qeth_setadpparms_change_macaddr(struct qeth_card * card) qeth_setadpparms_change_macaddr() argument 4462 qeth_setadpparms_set_access_ctrl_cb(struct qeth_card * card,struct qeth_reply * reply,unsigned long data) qeth_setadpparms_set_access_ctrl_cb() argument 4526 qeth_setadpparms_set_access_ctrl(struct qeth_card * card,enum qeth_ipa_isolation_modes mode) qeth_setadpparms_set_access_ctrl() argument 4563 struct qeth_card *card; qeth_tx_timeout() local 4573 struct qeth_card *card = dev->ml_priv; qeth_mdio_read() local 4637 qeth_snmp_command_cb(struct qeth_card * card,struct qeth_reply * reply,unsigned long data) qeth_snmp_command_cb() argument 4687 qeth_snmp_command(struct qeth_card * card,char __user * udata) qeth_snmp_command() argument 4743 qeth_setadpparms_query_oat_cb(struct qeth_card * card,struct qeth_reply * reply,unsigned long data) qeth_setadpparms_query_oat_cb() argument 4770 qeth_query_oat_command(struct qeth_card * card,char __user * udata) qeth_query_oat_command() argument 4819 qeth_init_link_info_oat_cb(struct qeth_card * card,struct qeth_reply * reply_priv,unsigned long data) qeth_init_link_info_oat_cb() argument 4906 qeth_init_link_info(struct qeth_card * card) qeth_init_link_info() argument 4948 qeth_vm_request_mac(struct qeth_card * card) qeth_vm_request_mac() argument 4996 qeth_determine_capabilities(struct qeth_card * card) qeth_determine_capabilities() argument 5046 qeth_read_ccw_conf_data(struct qeth_card * card) qeth_read_ccw_conf_data() argument 5073 qeth_qdio_establish(struct qeth_card * card) qeth_qdio_establish() argument 5147 qeth_core_free_card(struct qeth_card * card) qeth_core_free_card() argument 5159 qeth_trace_features(struct qeth_card * card) qeth_trace_features() argument 5194 qeth_hardsetup_card(struct qeth_card * card,bool * carrier_ok) qeth_hardsetup_card() argument 5338 qeth_set_online(struct qeth_card * card,const struct qeth_discipline * disc) qeth_set_online() argument 5385 qeth_set_offline(struct qeth_card * card,const struct qeth_discipline * disc,bool resetting) qeth_set_offline() argument 5437 struct qeth_card *card = data; qeth_do_reset() local 5467 qeth_l3_rebuild_skb(struct qeth_card * card,struct sk_buff * skb,struct qeth_hdr * hdr) qeth_l3_rebuild_skb() argument 5525 qeth_receive_skb(struct qeth_card * card,struct sk_buff * skb,bool uses_frags,bool is_cso) qeth_receive_skb() argument 5569 qeth_extract_skb(struct qeth_card * card,struct qeth_qdio_buffer * qethbuffer,u8 * element_no,int * __offset) qeth_extract_skb() argument 5749 qeth_extract_skbs(struct qeth_card * card,int budget,struct qeth_qdio_buffer * buf,bool * done) qeth_extract_skbs() argument 5768 qeth_rx_poll(struct qeth_card * card,int budget) qeth_rx_poll() argument 5823 qeth_cq_poll(struct qeth_card * card) qeth_cq_poll() argument 5843 struct qeth_card *card = container_of(napi, struct qeth_card, napi); qeth_poll() local 5886 struct qeth_card *card = queue->card; qeth_iqd_tx_complete() local 5938 struct qeth_card *card = queue->card; qeth_tx_poll() local 6020 qeth_setassparms_get_caps_cb(struct qeth_card * card,struct qeth_reply * reply,unsigned long data) qeth_setassparms_get_caps_cb() argument 6035 qeth_setassparms_cb(struct qeth_card * card,struct qeth_reply * reply,unsigned long data) qeth_setassparms_cb() argument 6054 qeth_get_setassparms_cmd(struct qeth_card * card,enum qeth_ipa_funcs ipa_func,u16 cmd_code,unsigned int data_length,enum qeth_prot_versions prot) qeth_get_setassparms_cmd() argument 6082 qeth_send_simple_setassparms_prot(struct qeth_card * card,enum qeth_ipa_funcs ipa_func,u16 cmd_code,u32 * data,enum qeth_prot_versions prot) qeth_send_simple_setassparms_prot() argument 6157 qeth_setup_discipline(struct qeth_card * card,enum qeth_discipline_id discipline) qeth_setup_discipline() argument 6198 qeth_remove_discipline(struct qeth_card * card) qeth_remove_discipline() argument 6241 qeth_add_dbf_entry(struct qeth_card * card,char * name) qeth_add_dbf_entry() argument 6282 qeth_alloc_netdev(struct qeth_card * card) qeth_alloc_netdev() argument 6338 struct qeth_card *card; qeth_core_probe_device() local 6422 struct qeth_card *card = dev_get_drvdata(&gdev->dev); qeth_core_remove_device() local 6441 struct qeth_card *card = dev_get_drvdata(&gdev->dev); qeth_core_set_online() local 6463 struct qeth_card *card = dev_get_drvdata(&gdev->dev); qeth_core_set_offline() local 6475 struct qeth_card *card = dev_get_drvdata(&gdev->dev); qeth_core_shutdown() local 6525 struct qeth_card *card = dev->ml_priv; qeth_siocdevprivate() local 6551 struct qeth_card *card = dev->ml_priv; qeth_do_ioctl() local 6577 qeth_start_csum_cb(struct qeth_card * card,struct qeth_reply * reply,unsigned long data) qeth_start_csum_cb() argument 6590 qeth_set_csum_off(struct qeth_card * card,enum qeth_ipa_funcs cstype,enum qeth_prot_versions prot) qeth_set_csum_off() argument 6597 qeth_set_csum_on(struct qeth_card * card,enum qeth_ipa_funcs cstype,enum qeth_prot_versions prot,u8 * lp2lp) qeth_set_csum_on() argument 6657 qeth_set_ipa_csum(struct qeth_card * card,bool on,int cstype,enum qeth_prot_versions prot,u8 * lp2lp) qeth_set_ipa_csum() argument 6664 qeth_start_tso_cb(struct qeth_card * card,struct qeth_reply * reply,unsigned long data) qeth_start_tso_cb() argument 6678 qeth_set_tso_off(struct qeth_card * card,enum qeth_prot_versions prot) qeth_set_tso_off() argument 6685 qeth_set_tso_on(struct qeth_card * card,enum qeth_prot_versions prot) qeth_set_tso_on() argument 6735 qeth_set_ipa_tso(struct qeth_card * card,bool on,enum qeth_prot_versions prot) qeth_set_ipa_tso() argument 6741 qeth_set_ipa_rx_csum(struct qeth_card * card,bool on) qeth_set_ipa_rx_csum() argument 6770 struct qeth_card *card = dev->ml_priv; qeth_enable_hw_features() local 6790 qeth_check_restricted_features(struct qeth_card * card,netdev_features_t changed,netdev_features_t actual) qeth_check_restricted_features() argument 6810 struct qeth_card *card = dev->ml_priv; qeth_set_features() local 6864 struct qeth_card *card = dev->ml_priv; qeth_fix_features() local 6888 struct qeth_card *card = dev->ml_priv; qeth_features_check() local 6942 struct qeth_card *card = dev->ml_priv; qeth_get_stats64() local 6996 qeth_set_real_num_tx_queues(struct qeth_card * card,unsigned int count) qeth_set_real_num_tx_queues() argument 7032 struct qeth_card *card = dev->ml_priv; qeth_osa_select_queue() local 7043 struct qeth_card *card = dev->ml_priv; qeth_open() local 7072 struct qeth_card *card = dev->ml_priv; qeth_stop() local [all...] |
| /linux/drivers/media/pci/bt8xx/ |
| H A D | dvb-bt8xx.c | 45 struct dvb_bt8xx_card *card = dev_get_drvdata(&bt->adapter->dev); in dvb_bt8xx_work() local 47 dprintk("%d\n", card->bt->finished_block); in dvb_bt8xx_work() 49 while (card->bt->last_block != card->bt->finished_block) { in dvb_bt8xx_work() 50 (card->bt->TS_Size ? dvb_dmx_swfilter_204 : dvb_dmx_swfilter) in dvb_bt8xx_work() 51 (&card->demux, in dvb_bt8xx_work() 52 &card->bt->buf_cpu[card->bt->last_block * in dvb_bt8xx_work() 53 card->bt->block_bytes], in dvb_bt8xx_work() 54 card->bt->block_bytes); in dvb_bt8xx_work() 55 card->bt->last_block = (card->bt->last_block + 1) % in dvb_bt8xx_work() 56 card->bt->block_count; in dvb_bt8xx_work() [all …]
|
| /linux/drivers/net/can/softing/ |
| H A D | softing_fw.c | 19 static int _softing_fct_cmd(struct softing *card, int16_t cmd, uint16_t vector, in _softing_fct_cmd() argument 25 iowrite16(cmd, &card->dpram[DPRAM_FCT_PARAM]); in _softing_fct_cmd() 26 iowrite8(vector >> 8, &card->dpram[DPRAM_FCT_HOST + 1]); in _softing_fct_cmd() 27 iowrite8(vector, &card->dpram[DPRAM_FCT_HOST]); in _softing_fct_cmd() 34 ret = ioread8(&card->dpram[DPRAM_FCT_HOST]) + in _softing_fct_cmd() 35 (ioread8(&card->dpram[DPRAM_FCT_HOST + 1]) << 8); in _softing_fct_cmd() 40 return ioread16(&card->dpram[DPRAM_FCT_RESULT]); in _softing_fct_cmd() 49 dev_alert(&card->pdev->dev, "firmware %s failed (%i)\n", msg, ret); in _softing_fct_cmd() 53 static int softing_fct_cmd(struct softing *card, int16_t cmd, const char *msg) in softing_fct_cmd() argument 57 ret = _softing_fct_cmd(card, cmd, 0, msg); in softing_fct_cmd() [all …]
|
| H A D | softing_main.c | 31 static inline void softing_set_reset_dpram(struct softing *card) in softing_set_reset_dpram() argument 33 if (card->pdat->generation >= 2) { in softing_set_reset_dpram() 34 spin_lock_bh(&card->spin); in softing_set_reset_dpram() 35 iowrite8(ioread8(&card->dpram[DPRAM_V2_RESET]) & ~1, in softing_set_reset_dpram() 36 &card->dpram[DPRAM_V2_RESET]); in softing_set_reset_dpram() 37 spin_unlock_bh(&card->spin); in softing_set_reset_dpram() 41 static inline void softing_clr_reset_dpram(struct softing *card) in softing_clr_reset_dpram() argument 43 if (card->pdat->generation >= 2) { in softing_clr_reset_dpram() 44 spin_lock_bh(&card->spin); in softing_clr_reset_dpram() 45 iowrite8(ioread8(&card->dpram[DPRAM_V2_RESET]) | 1, in softing_clr_reset_dpram() [all …]
|
| /linux/drivers/net/wireless/marvell/libertas/ |
| H A D | if_sdio.c | 131 static void if_sdio_finish_power_on(struct if_sdio_card *card); 132 static int if_sdio_power_off(struct if_sdio_card *card); 144 static u16 if_sdio_read_scratch(struct if_sdio_card *card, int *err) in if_sdio_read_scratch() argument 149 scratch = sdio_readb(card->func, card->scratch_reg, &ret); in if_sdio_read_scratch() 151 scratch |= sdio_readb(card->func, card->scratch_reg + 1, in if_sdio_read_scratch() 163 static u8 if_sdio_read_rx_unit(struct if_sdio_card *card) in if_sdio_read_rx_unit() argument 168 rx_unit = sdio_readb(card->func, IF_SDIO_RX_UNIT, &ret); in if_sdio_read_rx_unit() 176 static u16 if_sdio_read_rx_len(struct if_sdio_card *card, int *err) in if_sdio_read_rx_len() argument 181 switch (card->model) { in if_sdio_read_rx_len() 184 rx_len = if_sdio_read_scratch(card, &ret); in if_sdio_read_rx_len() [all …]
|
| H A D | if_spi.c | 77 static void free_if_spi_card(struct if_spi_card *card) in free_if_spi_card() argument 81 list_for_each_entry_safe(packet, tmp, &card->cmd_packet_list, list) { in free_if_spi_card() 85 list_for_each_entry_safe(packet, tmp, &card->data_packet_list, list) { in free_if_spi_card() 89 kfree(card); in free_if_spi_card() 126 static void spu_transaction_init(struct if_spi_card *card) in spu_transaction_init() argument 128 if (!time_after(jiffies, card->prev_xfer_time + 1)) { in spu_transaction_init() 137 static void spu_transaction_finish(struct if_spi_card *card) in spu_transaction_finish() argument 139 card->prev_xfer_time = jiffies; in spu_transaction_finish() 146 static int spu_write(struct if_spi_card *card, u16 reg, const u8 *buf, int len) in spu_write() argument 162 spu_transaction_init(card); in spu_write() [all …]
|
| /linux/drivers/net/ethernet/dec/tulip/ |
| H A D | xircom_cb.c | 113 static void xircom_up(struct xircom_private *card); 118 static void investigate_read_descriptor(struct net_device *dev,struct xircom_private *card, int des… 119 static void investigate_write_descriptor(struct net_device *dev, struct xircom_private *card, int d… 120 static void read_mac_address(struct xircom_private *card); 121 static void transceiver_voodoo(struct xircom_private *card); 122 static void initialize_card(struct xircom_private *card); 123 static void trigger_transmit(struct xircom_private *card); 124 static void trigger_receive(struct xircom_private *card); 125 static void setup_descriptors(struct xircom_private *card); 126 static void remove_descriptors(struct xircom_private *card); [all …]
|
| /linux/drivers/net/wan/ |
| H A D | farsync.c | 42 /* Number of ports (per card) and cards supported 53 * of frames on the way down to the card 54 * so that we can keep the card busy 105 #define FST_MEMSIZE 0x100000 /* Size of card memory (1Mb) */ 177 /* Interrupts from the card are caused by various events which are presented 318 /* Number of times the card thinks the host has 426 struct fst_card_info *card; /* Card we're associated with */ member 427 int index; /* Port index on the card */ 443 /* Per card information 452 unsigned int type; /* Type index of card */ 664 fst_cpureset(struct fst_card_info * card) fst_cpureset() argument 706 fst_cpurelease(struct fst_card_info * card) fst_cpurelease() argument 726 fst_clear_intr(struct fst_card_info * card) fst_clear_intr() argument 740 fst_enable_intr(struct fst_card_info * card) fst_enable_intr() argument 751 fst_disable_intr(struct fst_card_info * card) fst_disable_intr() argument 782 fst_init_dma(struct fst_card_info * card) fst_init_dma() argument 797 fst_tx_dma_complete(struct fst_card_info * card,struct fst_port_info * port,int len,int txpos) fst_tx_dma_complete() argument 825 fst_rx_dma_complete(struct fst_card_info * card,struct fst_port_info * port,int len,struct sk_buff * skb,int rxp) fst_rx_dma_complete() argument 858 fst_rx_dma(struct fst_card_info * card,dma_addr_t dma,u32 mem,int len) fst_rx_dma() argument 881 fst_tx_dma(struct fst_card_info * card,dma_addr_t dma,u32 mem,int len) fst_tx_dma() argument 908 struct fst_card_info *card; fst_issue_cmd() local 979 struct fst_card_info *card; fst_rx_config() local 1006 struct fst_card_info *card; fst_tx_config() local 1028 fst_intr_te1_alarm(struct fst_card_info * card,struct fst_port_info * port) fst_intr_te1_alarm() argument 1072 fst_intr_ctlchg(struct fst_card_info * card,struct fst_port_info * port) fst_intr_ctlchg() argument 1095 fst_log_rx_error(struct fst_card_info * card,struct fst_port_info * port,unsigned char dmabits,int rxp,unsigned short len) fst_log_rx_error() argument 1128 fst_recover_rx_error(struct fst_card_info * card,struct fst_port_info * port,unsigned char dmabits,int rxp,unsigned short len) fst_recover_rx_error() argument 1164 fst_intr_rx(struct fst_card_info * card,struct fst_port_info * port) fst_intr_rx() argument 1278 do_bottom_half_tx(struct fst_card_info * card) do_bottom_half_tx() argument 1378 do_bottom_half_rx(struct fst_card_info * card) do_bottom_half_rx() argument 1412 struct fst_card_info *card = dev_id; fst_intr() local 1563 check_started_ok(struct fst_card_info * card) check_started_ok() argument 1605 set_conf_from_info(struct fst_card_info * card,struct fst_port_info * port,struct fstioc_info * info) set_conf_from_info() argument 1694 gather_conf_info(struct fst_card_info * card,struct fst_port_info * port,struct fstioc_info * info) gather_conf_info() argument 1786 fst_set_iface(struct fst_card_info * card,struct fst_port_info * port,struct if_settings * ifs) fst_set_iface() argument 1858 fst_get_iface(struct fst_card_info * card,struct fst_port_info * port,struct if_settings * ifs) fst_get_iface() argument 1913 struct fst_card_info *card; fst_siocdevprivate() local 2024 struct fst_card_info *card; fst_ioctl() local 2144 struct fst_card_info *card; fst_close() local 2181 struct fst_card_info *card; fst_tx_timeout() local 2199 struct fst_card_info *card; fst_start_xmit() local 2292 fst_init_card(struct fst_card_info * card) fst_init_card() argument 2335 struct fst_card_info *card; fst_add_one() local 2539 struct fst_card_info *card; fst_remove_one() local [all...] |
| H A D | hd64572.c | 48 #define sca_in(reg, card) readb((card)->scabase + (reg)) argument 49 #define sca_out(value, reg, card) writeb(value, (card)->scabase + (reg)) argument 50 #define sca_inw(reg, card) readw((card)->scabase + (reg)) argument 51 #define sca_outw(value, reg, card) writew(value, (card)->scabase + (reg)) argument 52 #define sca_inl(reg, card) readl((card)->scabase + (reg)) argument 53 #define sca_outl(value, reg, card) writel(value, (card)->scabase + (reg)) argument 65 sca_outl(sca_inl(IER0, port->card) | in enable_intr() 66 (port->chan ? 0x08002200 : 0x00080022), IER0, port->card); in enable_intr() 71 sca_outl(sca_inl(IER0, port->card) & in disable_intr() 72 (port->chan ? 0x00FF00FF : 0xFF00FF00), IER0, port->card); in disable_intr() [all …]
|
| H A D | pc300too.c | 3 * Cyclades PC300 synchronous serial card driver for Linux 55 enum { PC300_RSV = 1, PC300_X21, PC300_TE }; /* card types */ 75 struct card_s *card; member 104 #define get_port(card, port) ((port) < (card)->n_ports ? \ argument 105 (&(card)->ports[port]) : (NULL)) 111 card_t *card = port->card; in pc300_set_iface() local 112 u32 __iomem *init_ctrl = &card->plxbase->init_ctrl; in pc300_set_iface() 118 port->card); in pc300_set_iface() 249 card_t *card = pci_get_drvdata(pdev); pc300_pci_remove_one() local 285 card_t *card; pc300_pci_init_one() local [all...] |
| H A D | n2.c | 91 struct card_s *card; member 123 #define sca_reg(reg, card) (0x8000 | (card)->io | \ argument 125 #define sca_in(reg, card) inb(sca_reg(reg, card)) argument 126 #define sca_out(value, reg, card) outb(value, sca_reg(reg, card)) argument 127 #define sca_inw(reg, card) inw(sca_reg(reg, card)) argument 128 #define sca_outw(value, reg, card) outw(value, sca_reg(reg, card)) argument 130 #define port_to_card(port) ((port)->card) 133 #define winsize(card) (USE_WINDOWSIZE) argument 134 #define winbase(card) ((card)->winbase) argument 135 #define get_port(card, port) ((card)->ports[port].valid ? \ argument [all …]
|
| H A D | hd64570.c | 55 static inline int sca_intr_status(card_t *card) in sca_intr_status() argument 58 u8 isr0 = sca_in(ISR0, card); in sca_intr_status() 59 u8 isr1 = sca_in(ISR1, card); in sca_intr_status() 75 if (sca_in(DSR_TX(0), card) & DSR_EOM) in sca_intr_status() 78 if (sca_in(DSR_TX(1), card) & DSR_EOM) in sca_intr_status() 148 card_t *card = port_to_card(port); in sca_init_port() local 156 openwin(card, 0); in sca_init_port() 161 u16 buffs = transmit ? card->tx_ring_buffers in sca_init_port() 162 : card->rx_ring_buffers; in sca_init_port() 177 DSR_RX(phy_node(port)), card); in sca_init_port() [all …]
|
| /linux/drivers/atm/ |
| H A D | solos-pci.c | 3 * Driver for the Solos PCI ADSL2+ card, designed to support Linux by 67 #define RX_BUF(card, nr) ((card->buffers) + (nr)*(card->buffer_size)*2) argument 68 #define TX_BUF(card, nr) ((card->buffers) + (nr)*(card->buffer_size)*2 + (card->buffer_size)) argument 69 #define FLASH_BUF ((card->buffers) + 4*(card 185 struct solos_card *card = atmdev->dev_data; solos_param_show() local 240 struct solos_card *card = atmdev->dev_data; solos_param_store() local 339 process_status(struct solos_card * card,int port,struct sk_buff * skb) process_status() argument 410 process_command(struct solos_card * card,int port,struct sk_buff * skb) process_command() argument 448 struct solos_card *card = atmdev->dev_data; console_show() local 465 send_command(struct solos_card * card,int dev,const char * buf,size_t size) send_command() argument 498 struct solos_card *card = atmdev->dev_data; console_store() local 520 struct solos_card *card = dev_get_drvdata(dev); geos_gpio_store() local 545 struct solos_card *card = dev_get_drvdata(dev); geos_gpio_show() local 558 struct solos_card *card = dev_get_drvdata(dev); hardware_show() local 624 flash_upgrade(struct solos_card * card,int chip) flash_upgrade() argument 743 struct solos_card *card = dev_id; solos_irq() local 759 struct solos_card *card = (void *)card_arg; solos_bh() local 920 struct solos_card *card = vcc->dev->dev_data; popen() local 953 struct solos_card *card = vcc->dev->dev_data; pclose() local 1028 fpga_queue(struct solos_card * card,int port,struct sk_buff * skb,struct atm_vcc * vcc) fpga_queue() argument 1049 fpga_tx(struct solos_card * card) fpga_tx() argument 1139 struct solos_card *card = vcc->dev->dev_data; psend() local 1197 struct solos_card *card; fpga_probe() local 1352 atm_init(struct solos_card * card,struct device * parent) atm_init() argument 1400 atm_remove(struct solos_card * card) atm_remove() argument 1434 struct solos_card *card = pci_get_drvdata(dev); fpga_remove() local [all...] |
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | sdio.c | 554 struct sdio_mmc_card *card = NULL; in mwifiex_sdio_probe() local 559 card = devm_kzalloc(&func->dev, sizeof(*card), GFP_KERNEL); in mwifiex_sdio_probe() 560 if (!card) in mwifiex_sdio_probe() 563 init_completion(&card->fw_done); in mwifiex_sdio_probe() 565 card->func = func; in mwifiex_sdio_probe() 567 func->card->quirks |= MMC_QUIRK_BLKSZ_FOR_BYTE_MODE; in mwifiex_sdio_probe() 572 card->firmware = data->firmware; in mwifiex_sdio_probe() 573 card->firmware_sdiouart = data->firmware_sdiouart; in mwifiex_sdio_probe() 574 card->reg = data->reg; in mwifiex_sdio_probe() 575 card->max_ports = data->max_ports; in mwifiex_sdio_probe() [all …]
|
| /linux/drivers/net/can/sja1000/ |
| H A D | peak_pcmcia.c | 154 static void pcan_set_leds(struct pcan_pccard *card, u8 mask, u8 state); 159 static void pcan_start_led_timer(struct pcan_pccard *card) in pcan_start_led_timer() argument 161 if (!timer_pending(&card->led_timer)) in pcan_start_led_timer() 162 mod_timer(&card->led_timer, jiffies + HZ); in pcan_start_led_timer() 168 static void pcan_stop_led_timer(struct pcan_pccard *card) in pcan_stop_led_timer() argument 170 timer_delete_sync(&card->led_timer); in pcan_stop_led_timer() 186 struct pcan_pccard *card = priv->priv; in pcan_write_canreg() local 187 int c = (priv->reg_base - card->ioport_addr) / PCC_CHAN_SIZE; in pcan_write_canreg() 194 pcan_set_leds(card, PCC_LED(c), PCC_LED_ON); in pcan_write_canreg() 198 pcan_set_leds(card, PCC_LED(c), PCC_LED_SLOW); in pcan_write_canreg() [all …]
|
| H A D | ems_pci.c | 128 static u8 ems_pci_v1_readb(struct ems_pci_card *card, unsigned int port) in ems_pci_v1_readb() argument 130 return readb(card->base_addr + (port * 4)); in ems_pci_v1_readb() 146 struct ems_pci_card *card = priv->priv; in ems_pci_v1_post_irq() local 150 card->conf_addr + PITA2_ICR); in ems_pci_v1_post_irq() 166 struct ems_pci_card *card = priv->priv; in ems_pci_v2_post_irq() local 168 writel(PLX_ICSR_ENA_CLR, card->conf_addr + PLX_ICSR); in ems_pci_v2_post_irq() 184 struct ems_pci_card *card = priv->priv; in ems_pci_v3_post_irq() local 186 writel(ASIX_LINTSR_INT0AC, card->conf_addr + ASIX_LINTSR); in ems_pci_v3_post_irq() 212 struct ems_pci_card *card = pci_get_drvdata(pdev); in ems_pci_del_card() local 216 for (i = 0; i < card->channels; i++) { in ems_pci_del_card() [all …]
|
| /linux/drivers/memstick/core/ |
| H A D | memstick.c | 28 static int memstick_dev_match(struct memstick_dev *card, in memstick_dev_match() argument 32 if ((id->type == card->id.type) in memstick_dev_match() 33 && (id->category == card->id.category) in memstick_dev_match() 34 && (id->class == card->id.class)) in memstick_dev_match() 43 struct memstick_dev *card = container_of(dev, struct memstick_dev, in memstick_bus_match() local 51 if (memstick_dev_match(card, ids)) in memstick_bus_match() 61 const struct memstick_dev *card = container_of_const(dev, struct memstick_dev, in memstick_uevent() local 64 if (add_uevent_var(env, "MEMSTICK_TYPE=%02X", card->id.type)) in memstick_uevent() 67 if (add_uevent_var(env, "MEMSTICK_CATEGORY=%02X", card->id.category)) in memstick_uevent() 70 if (add_uevent_var(env, "MEMSTICK_CLASS=%02X", card->id.class)) in memstick_uevent() [all …]
|
| /linux/include/sound/ |
| H A D | soc-card.h | 3 * soc-card.h 16 static inline void snd_soc_card_mutex_lock_root(struct snd_soc_card *card) in snd_soc_card_mutex_lock_root() argument 18 mutex_lock_nested(&card->mutex, SND_SOC_CARD_CLASS_ROOT); in snd_soc_card_mutex_lock_root() 21 static inline void snd_soc_card_mutex_lock(struct snd_soc_card *card) in snd_soc_card_mutex_lock() argument 23 mutex_lock_nested(&card->mutex, SND_SOC_CARD_CLASS_RUNTIME); in snd_soc_card_mutex_lock() 26 static inline void snd_soc_card_mutex_unlock(struct snd_soc_card *card) in snd_soc_card_mutex_unlock() argument 28 mutex_unlock(&card->mutex); in snd_soc_card_mutex_unlock() 33 int snd_soc_card_jack_new(struct snd_soc_card *card, const char *id, int type, 35 int snd_soc_card_jack_new_pins(struct snd_soc_card *card, const char *id, 40 int snd_soc_card_suspend_pre(struct snd_soc_card *card); 63 snd_soc_card_set_pci_ssid(struct snd_soc_card * card,unsigned short vendor,unsigned short device) snd_soc_card_set_pci_ssid() argument 72 snd_soc_card_get_pci_ssid(struct snd_soc_card * card,unsigned short * vendor,unsigned short * device) snd_soc_card_get_pci_ssid() argument 85 snd_soc_card_set_pci_ssid(struct snd_soc_card * card,unsigned short vendor,unsigned short device) snd_soc_card_set_pci_ssid() argument 91 snd_soc_card_get_pci_ssid(struct snd_soc_card * card,unsigned short * vendor,unsigned short * device) snd_soc_card_get_pci_ssid() argument 100 snd_soc_card_set_drvdata(struct snd_soc_card * card,void * data) snd_soc_card_set_drvdata() argument 106 snd_soc_card_get_drvdata(struct snd_soc_card * card) snd_soc_card_get_drvdata() argument 112 snd_soc_card_get_codec_dai(struct snd_soc_card * card,const char * dai_name) snd_soc_card_get_codec_dai() argument [all...] |
| /linux/sound/soc/ |
| H A D | soc-core.c | 136 if (!component->card->debugfs_card_root) in soc_init_component_debugfs() 146 component->card->debugfs_card_root); in soc_init_component_debugfs() 151 component->card->debugfs_card_root); in soc_init_component_debugfs() 192 static void soc_init_card_debugfs(struct snd_soc_card *card) in soc_init_card_debugfs() argument 194 card->debugfs_card_root = debugfs_create_dir(card->name, in soc_init_card_debugfs() 197 snd_soc_dapm_debugfs_init(snd_soc_card_to_dapm(card), card->debugfs_card_root); in soc_init_card_debugfs() 200 static void soc_cleanup_card_debugfs(struct snd_soc_card *card) in soc_init_card_debugfs() 202 debugfs_remove_recursive(card in soc_init_card_debugfs() 203 soc_cleanup_card_debugfs(struct snd_soc_card * card) soc_cleanup_card_debugfs() argument 229 soc_init_card_debugfs(struct snd_soc_card * card) soc_init_card_debugfs() argument 230 soc_cleanup_card_debugfs(struct snd_soc_card * card) soc_cleanup_card_debugfs() argument 411 snd_soc_get_pcm_runtime(struct snd_soc_card * card,struct snd_soc_dai_link * dai_link) snd_soc_get_pcm_runtime() argument 502 soc_new_pcm_runtime(struct snd_soc_card * card,struct snd_soc_dai_link * dai_link) soc_new_pcm_runtime() argument 591 snd_soc_fill_dummy_dai(struct snd_soc_card * card) snd_soc_fill_dummy_dai() argument 613 snd_soc_flush_all_delayed_work(struct snd_soc_card * card) snd_soc_flush_all_delayed_work() argument 622 soc_playback_digital_mute(struct snd_soc_card * card,int mute) soc_playback_digital_mute() argument 641 soc_dapm_suspend_resume(struct snd_soc_card * card,int event) soc_dapm_suspend_resume() argument 659 struct snd_soc_card *card = dev_get_drvdata(dev); snd_soc_suspend() local 760 struct snd_soc_card *card = soc_resume_deferred() local 802 struct snd_soc_card *card = dev_get_drvdata(dev); snd_soc_resume() local 822 soc_resume_init(struct snd_soc_card * card) soc_resume_init() argument 830 soc_resume_init(struct snd_soc_card * card) soc_resume_init() argument 948 soc_dai_link_sanity_check(struct snd_soc_card * card,struct snd_soc_dai_link * link) soc_dai_link_sanity_check() argument 1079 snd_soc_compensate_channel_connection_map(struct snd_soc_card * card,struct snd_soc_dai_link * dai_link) snd_soc_compensate_channel_connection_map() argument 1146 snd_soc_remove_pcm_runtime(struct snd_soc_card * card,struct snd_soc_pcm_runtime * rtd) snd_soc_remove_pcm_runtime() argument 1174 snd_soc_add_pcm_runtime(struct snd_soc_card * card,struct snd_soc_dai_link * dai_link) snd_soc_add_pcm_runtime() argument 1268 snd_soc_add_pcm_runtimes(struct snd_soc_card * card,struct snd_soc_dai_link * dai_link,int num_dai_link) snd_soc_add_pcm_runtimes() argument 1511 soc_init_pcm_runtime(struct snd_soc_card * card,struct snd_soc_pcm_runtime * rtd) soc_init_pcm_runtime() argument 1556 soc_set_name_prefix(struct snd_soc_card * card,struct snd_soc_component * component) soc_set_name_prefix() argument 1601 soc_probe_component(struct snd_soc_card * card,struct snd_soc_component * component) soc_probe_component() argument 1693 soc_remove_link_dais(struct snd_soc_card * card) soc_remove_link_dais() argument 1706 soc_probe_link_dais(struct snd_soc_card * card) soc_probe_link_dais() argument 1723 soc_remove_link_components(struct snd_soc_card * card) soc_remove_link_components() argument 1741 soc_probe_link_components(struct snd_soc_card * card) soc_probe_link_components() argument 1763 soc_unbind_aux_dev(struct snd_soc_card * card) soc_unbind_aux_dev() argument 1774 soc_bind_aux_dev(struct snd_soc_card * card) soc_bind_aux_dev() argument 1794 soc_probe_aux_devices(struct snd_soc_card * card) soc_probe_aux_devices() argument 1814 soc_remove_aux_devices(struct snd_soc_card * card) soc_remove_aux_devices() argument 1886 append_dmi_string(struct snd_soc_card * card,const char * str) append_dmi_string() argument 1930 snd_soc_set_dmi_name(struct snd_soc_card * card) snd_soc_set_dmi_name() argument 1980 snd_soc_set_dmi_name(struct snd_soc_card * card) snd_soc_set_dmi_name() argument 1986 soc_check_tplg_fes(struct snd_soc_card * card) soc_check_tplg_fes() argument 2068 soc_setup_card_name(card,name,name1,name2) global() argument 2070 __soc_setup_card_name(struct snd_soc_card * card,char * name,int len,const char * name1,const char * name2) __soc_setup_card_name() argument 2113 soc_cleanup_card_resources(struct snd_soc_card * card) soc_cleanup_card_resources() argument 2152 snd_soc_unbind_card(struct snd_soc_card * card) snd_soc_unbind_card() argument 2160 snd_soc_bind_card(struct snd_soc_card * card) snd_soc_bind_card() argument 2324 devm_snd_soc_bind_card(struct device * dev,struct snd_soc_card * card) devm_snd_soc_bind_card() argument 2344 snd_soc_rebind_card(struct snd_soc_card * card) snd_soc_rebind_card() argument 2364 struct snd_soc_card *card = platform_get_drvdata(pdev); soc_probe() local 2385 struct snd_soc_card *card = dev_get_drvdata(dev); snd_soc_poweroff() local 2469 snd_soc_add_controls(struct snd_card * card,struct device * dev,const struct snd_kcontrol_new * controls,int num_controls,const char * prefix,void * data) snd_soc_add_controls() argument 2501 struct snd_card *card = component->card->snd_card; snd_soc_add_component_controls() local 2521 struct snd_card *card = soc_card->snd_card; snd_soc_add_card_controls() local 2541 struct snd_card *card = dai->component->card->snd_card; snd_soc_add_dai_controls() local 2554 snd_soc_register_card(struct snd_soc_card * card) snd_soc_register_card() argument 2603 snd_soc_unregister_card(struct snd_soc_card * card) snd_soc_unregister_card() argument 2830 struct snd_soc_card *card = component->card; snd_soc_del_component_unlocked() local 2884 struct snd_soc_card *card, *c; snd_soc_add_component() local 2972 snd_soc_of_parse_card_name(struct snd_soc_card * card,const char * propname) snd_soc_of_parse_card_name() argument 3009 snd_soc_of_parse_audio_simple_widgets(struct snd_soc_card * card,const char * propname) snd_soc_of_parse_audio_simple_widgets() argument 3089 snd_soc_of_parse_pin_switches(struct snd_soc_card * card,const char * prop) snd_soc_of_parse_pin_switches() argument 3215 snd_soc_of_parse_audio_routing(struct snd_soc_card * card,const char * propname) snd_soc_of_parse_audio_routing() argument 3266 snd_soc_of_parse_aux_devs(struct snd_soc_card * card,const char * propname) snd_soc_of_parse_aux_devs() argument [all...] |
| /linux/drivers/mtd/maps/ |
| H A D | vmu-flash.c | 61 struct memcard *card; in ofs_to_block() local 67 card = maple_get_drvdata(mdev); in ofs_to_block() 69 if (src_ofs >= card->parts[partition].numblocks * card->blocklen) in ofs_to_block() 72 num = src_ofs / card->blocklen; in ofs_to_block() 73 if (num > card->parts[partition].numblocks) in ofs_to_block() 81 vblock->ofs = src_ofs % card->blocklen; in ofs_to_block() 92 struct memcard *card; in vmu_blockread() local 95 card = maple_get_drvdata(mdev); in vmu_blockread() 98 if (unlikely(!card in vmu_blockread() 112 struct memcard *card; maple_vmu_read_block() local 229 struct memcard *card; maple_vmu_write_block() local 306 struct memcard *card; vmu_flash_read_char() local 354 struct memcard *card; vmu_flash_read() local 420 struct memcard *card; vmu_flash_write() local 503 struct memcard *card; vmu_queryblocks() local 601 struct memcard *card; vmu_connect() local 691 struct memcard *card; vmu_disconnect() local 713 struct memcard *card; vmu_can_unload() local [all...] |