Searched refs:phw (Results 1 - 7 of 7) sorted by relevance

/linux-4.1.27/sound/pci/asihpi/
H A Dhpi6205.c141 static int wait_dsp_ack(struct hpi_hw_obj *phw, int state, int timeout_us);
143 static void send_dsp_command(struct hpi_hw_obj *phw, int cmd);
249 struct hpi_hw_obj *phw = pao->priv; control_message() local
256 if (hpi_check_control_cache(phw->p_cache, phm, phr)) { control_message()
273 hpi_cmn_control_cache_sync_to_msg(phw->p_cache, phm, control_message()
505 struct hpi_hw_obj *phw; adapter_delete() local
511 phw = pao->priv; adapter_delete()
516 iowrite32(C6205_HDCR_WARMRESET, phw->prHDCR); adapter_delete()
529 struct hpi_hw_obj *phw = pao->priv; create_adapter_obj() local
539 phw->flag_outstream_just_reset[i] = 1; create_adapter_obj()
542 phw->prHSR = create_adapter_obj()
545 phw->prHDCR = create_adapter_obj()
548 phw->prDSPP = create_adapter_obj()
554 if (hpios_locked_mem_alloc(&phw->h_locked_mem, create_adapter_obj()
557 phw->p_interface_buffer = NULL; create_adapter_obj()
558 else if (hpios_locked_mem_get_virt_addr(&phw->h_locked_mem, create_adapter_obj()
559 (void *)&phw->p_interface_buffer)) create_adapter_obj()
560 phw->p_interface_buffer = NULL; create_adapter_obj()
563 phw->p_interface_buffer); create_adapter_obj()
565 if (phw->p_interface_buffer) { create_adapter_obj()
566 memset((void *)phw->p_interface_buffer, 0, create_adapter_obj()
568 phw->p_interface_buffer->dsp_ack = H620_HIF_UNKNOWN; create_adapter_obj()
581 if (!phw->p_interface_buffer) create_adapter_obj()
584 interface = phw->p_interface_buffer; create_adapter_obj()
587 if (!wait_dsp_ack(phw, H620_HIF_RESET, HPI6205_TIMEOUT * 10)) { create_adapter_obj()
591 /* Note that *pao, *phw are zeroed after allocation, create_adapter_obj()
598 err = hpios_locked_mem_alloc(&phw->h_control_cache, create_adapter_obj()
602 err = hpios_locked_mem_get_virt_addr(&phw-> create_adapter_obj()
609 phw->p_cache = create_adapter_obj()
615 if (!phw->p_cache) create_adapter_obj()
619 err = hpios_locked_mem_get_phys_addr(&phw-> create_adapter_obj()
628 if (hpios_locked_mem_valid(&phw->h_control_cache)) create_adapter_obj()
629 hpios_locked_mem_free(&phw->h_control_cache); create_adapter_obj()
633 send_dsp_command(phw, H620_HIF_IDLE); create_adapter_obj()
673 if (phw->p_cache) create_adapter_obj()
674 phw->p_cache->adap_idx = pao->index; create_adapter_obj()
680 phw->p_interface_buffer->instream_host_buffer_status; create_adapter_obj()
682 phw->p_interface_buffer->outstream_host_buffer_status; create_adapter_obj()
693 struct hpi_hw_obj *phw = pao->priv; delete_adapter_obj() local
696 if (hpios_locked_mem_valid(&phw->h_control_cache)) { delete_adapter_obj()
697 hpios_locked_mem_free(&phw->h_control_cache); delete_adapter_obj()
698 hpi_free_control_cache(phw->p_cache); delete_adapter_obj()
701 if (hpios_locked_mem_valid(&phw->h_locked_mem)) { delete_adapter_obj()
702 hpios_locked_mem_free(&phw->h_locked_mem); delete_adapter_obj()
703 phw->p_interface_buffer = NULL; delete_adapter_obj()
707 if (hpios_locked_mem_valid(&phw->instream_host_buffers[i])) { delete_adapter_obj()
708 hpios_locked_mem_free(&phw->instream_host_buffers[i]); delete_adapter_obj()
709 /*?phw->InStreamHostBuffers[i] = NULL; */ delete_adapter_obj()
710 phw->instream_host_buffer_size[i] = 0; delete_adapter_obj()
714 if (hpios_locked_mem_valid(&phw->outstream_host_buffers[i])) { delete_adapter_obj()
715 hpios_locked_mem_free(&phw->outstream_host_buffers delete_adapter_obj()
717 phw->outstream_host_buffer_size[i] = 0; delete_adapter_obj()
719 kfree(phw); delete_adapter_obj()
727 struct hpi_hw_obj *phw = pao->priv; adapter_irq_query_and_clear() local
730 hsr = ioread32(phw->prHSR); adapter_irq_query_and_clear()
733 iowrite32(C6205_HSR_INTSRC, phw->prHSR); adapter_irq_query_and_clear()
750 struct hpi_hw_obj *phw = pao->priv; outstream_host_buffer_allocate() local
751 struct bus_master_interface *interface = phw->p_interface_buffer; outstream_host_buffer_allocate()
765 phw->outstream_host_buffer_size[phm->obj_index]; outstream_host_buffer_allocate()
769 if (phw->outstream_host_buffer_size[phm->obj_index] == outstream_host_buffer_allocate()
775 if (hpios_locked_mem_valid(&phw->outstream_host_buffers[phm-> outstream_host_buffer_allocate()
777 hpios_locked_mem_free(&phw->outstream_host_buffers outstream_host_buffer_allocate()
780 err = hpios_locked_mem_alloc(&phw->outstream_host_buffers outstream_host_buffer_allocate()
786 phw->outstream_host_buffer_size[phm->obj_index] = 0; outstream_host_buffer_allocate()
791 (&phw->outstream_host_buffers[phm->obj_index], outstream_host_buffer_allocate()
801 hpios_locked_mem_free(&phw->outstream_host_buffers outstream_host_buffer_allocate()
803 phw->outstream_host_buffer_size[phm->obj_index] = 0; outstream_host_buffer_allocate()
824 phw->outstream_host_buffer_size[phm->obj_index] = outstream_host_buffer_allocate()
838 && hpios_locked_mem_valid(&phw-> outstream_host_buffer_allocate()
840 hpios_locked_mem_free(&phw->outstream_host_buffers outstream_host_buffer_allocate()
842 phw->outstream_host_buffer_size[phm->obj_index] = 0; outstream_host_buffer_allocate()
850 struct hpi_hw_obj *phw = pao->priv; outstream_host_buffer_get_info() local
851 struct bus_master_interface *interface = phw->p_interface_buffer; outstream_host_buffer_get_info()
855 if (hpios_locked_mem_valid(&phw->outstream_host_buffers[phm-> outstream_host_buffer_get_info()
857 if (hpios_locked_mem_get_virt_addr(&phw-> outstream_host_buffer_get_info()
879 struct hpi_hw_obj *phw = pao->priv; outstream_host_buffer_free() local
882 if (phw->outstream_host_buffer_size[phm->obj_index]) { outstream_host_buffer_free()
885 phw->outstream_host_buffer_size[phm->obj_index] = 0; outstream_host_buffer_free()
891 hpios_locked_mem_free(&phw->outstream_host_buffers outstream_host_buffer_free()
911 struct hpi_hw_obj *phw = pao->priv; outstream_write() local
912 struct bus_master_interface *interface = phw->p_interface_buffer; outstream_write()
916 if (!phw->outstream_host_buffer_size[phm->obj_index]) { outstream_write()
934 && hpios_locked_mem_valid(&phw->outstream_host_buffers[phm-> outstream_write()
940 if (hpios_locked_mem_get_virt_addr(&phw-> outstream_write()
968 if (phw->flag_outstream_just_reset[phm->obj_index]) { outstream_write()
971 phw->flag_outstream_just_reset[phm->obj_index] = 0; outstream_write()
985 struct hpi_hw_obj *phw = pao->priv; outstream_get_info() local
986 struct bus_master_interface *interface = phw->p_interface_buffer; outstream_get_info()
989 if (!phw->outstream_host_buffer_size[phm->obj_index]) { outstream_get_info()
1017 struct hpi_hw_obj *phw = pao->priv; outstream_reset() local
1018 phw->flag_outstream_just_reset[phm->obj_index] = 1; outstream_reset()
1036 struct hpi_hw_obj *phw = pao->priv; instream_host_buffer_allocate() local
1037 struct bus_master_interface *interface = phw->p_interface_buffer; instream_host_buffer_allocate()
1047 phw->instream_host_buffer_size[phm->obj_index]; instream_host_buffer_allocate()
1051 if (phw->instream_host_buffer_size[phm->obj_index] == instream_host_buffer_allocate()
1057 if (hpios_locked_mem_valid(&phw->instream_host_buffers[phm-> instream_host_buffer_allocate()
1059 hpios_locked_mem_free(&phw->instream_host_buffers instream_host_buffer_allocate()
1062 err = hpios_locked_mem_alloc(&phw->instream_host_buffers[phm-> instream_host_buffer_allocate()
1068 phw->instream_host_buffer_size[phm->obj_index] = 0; instream_host_buffer_allocate()
1073 (&phw->instream_host_buffers[phm->obj_index], instream_host_buffer_allocate()
1080 hpios_locked_mem_free(&phw->instream_host_buffers instream_host_buffer_allocate()
1082 phw->instream_host_buffer_size[phm->obj_index] = 0; instream_host_buffer_allocate()
1101 phw->instream_host_buffer_size[phm->obj_index] = instream_host_buffer_allocate()
1115 && hpios_locked_mem_valid(&phw-> instream_host_buffer_allocate()
1117 hpios_locked_mem_free(&phw->instream_host_buffers instream_host_buffer_allocate()
1119 phw->instream_host_buffer_size[phm->obj_index] = 0; instream_host_buffer_allocate()
1127 struct hpi_hw_obj *phw = pao->priv; instream_host_buffer_get_info() local
1128 struct bus_master_interface *interface = phw->p_interface_buffer; instream_host_buffer_get_info()
1132 if (hpios_locked_mem_valid(&phw->instream_host_buffers[phm-> instream_host_buffer_get_info()
1134 if (hpios_locked_mem_get_virt_addr(&phw-> instream_host_buffer_get_info()
1156 struct hpi_hw_obj *phw = pao->priv; instream_host_buffer_free() local
1159 if (phw->instream_host_buffer_size[phm->obj_index]) { instream_host_buffer_free()
1162 phw->instream_host_buffer_size[phm->obj_index] = 0; instream_host_buffer_free()
1168 hpios_locked_mem_free(&phw->instream_host_buffers instream_host_buffer_free()
1195 struct hpi_hw_obj *phw = pao->priv; instream_read() local
1196 struct bus_master_interface *interface = phw->p_interface_buffer; instream_read()
1203 if (!phw->instream_host_buffer_size[phm->obj_index]) { instream_read()
1216 if (hpios_locked_mem_valid(&phw->instream_host_buffers[phm-> instream_read()
1218 if (hpios_locked_mem_get_virt_addr(&phw-> instream_read()
1246 struct hpi_hw_obj *phw = pao->priv; instream_get_info() local
1247 struct bus_master_interface *interface = phw->p_interface_buffer; instream_get_info()
1249 if (!phw->instream_host_buffer_size[phm->obj_index]) { instream_get_info()
1275 struct hpi_hw_obj *phw = pao->priv; adapter_boot_load_dsp() local
1312 iowrite32(temp, phw->prHDCR); adapter_boot_load_dsp()
1316 temp = ioread32(phw->prHSR); adapter_boot_load_dsp()
1322 iowrite32(temp, phw->prHSR); adapter_boot_load_dsp()
1325 temp = ioread32(phw->prHDCR); adapter_boot_load_dsp()
1332 iowrite32(temp, phw->prDSPP); adapter_boot_load_dsp()
1333 if ((temp | C6205_DSPP_MAP1) != ioread32(phw->prDSPP)) adapter_boot_load_dsp()
1336 iowrite32(temp, phw->prDSPP); adapter_boot_load_dsp()
1337 if ((temp | C6205_DSPP_MAP1) != ioread32(phw->prDSPP)) adapter_boot_load_dsp()
1340 iowrite32(temp, phw->prDSPP); adapter_boot_load_dsp()
1341 if ((temp | C6205_DSPP_MAP1) != ioread32(phw->prDSPP)) adapter_boot_load_dsp()
1345 iowrite32(temp, phw->prDSPP); adapter_boot_load_dsp()
1346 if ((temp | C6205_DSPP_MAP1) != ioread32(phw->prDSPP)) adapter_boot_load_dsp()
1348 phw->dsp_page = 0; adapter_boot_load_dsp()
1480 if (phw->p_interface_buffer) { adapter_boot_load_dsp()
1484 phw->p_interface_buffer; adapter_boot_load_dsp()
1493 err = hpios_locked_mem_get_phys_addr(&phw->h_locked_mem, adapter_boot_load_dsp()
1510 temp = ioread32(phw->prHSR); adapter_boot_load_dsp()
1512 iowrite32(temp, phw->prHSR); adapter_boot_load_dsp()
1515 temp = ioread32(phw->prHDCR); adapter_boot_load_dsp()
1517 iowrite32(temp, phw->prHDCR); adapter_boot_load_dsp()
1531 struct hpi_hw_obj *phw = pao->priv; boot_loader_read_mem32() local
1546 if (dw4M_page != phw->dsp_page) { boot_loader_read_mem32()
1547 phw->dsp_page = dw4M_page; boot_loader_read_mem32()
1549 iowrite32(phw->dsp_page, phw->prDSPP); boot_loader_read_mem32()
1573 struct hpi_hw_obj *phw = pao->priv; boot_loader_write_mem32() local
1589 if (dw4M_page != phw->dsp_page) { boot_loader_write_mem32()
1590 phw->dsp_page = dw4M_page; boot_loader_write_mem32()
1592 iowrite32(phw->dsp_page, phw->prDSPP); boot_loader_write_mem32()
2005 struct hpi_hw_obj *phw = pao->priv; hpi6205_transfer_data() local
2009 struct bus_master_interface *interface = phw->p_interface_buffer; hpi6205_transfer_data()
2017 if (!wait_dsp_ack(phw, H620_HIF_IDLE, HPI6205_TIMEOUT)) hpi6205_transfer_data()
2034 send_dsp_command(phw, operation); hpi6205_transfer_data()
2036 temp2 = wait_dsp_ack(phw, operation, HPI6205_TIMEOUT); hpi6205_transfer_data()
2059 send_dsp_command(phw, H620_HIF_IDLE); hpi6205_transfer_data()
2067 static int wait_dsp_ack(struct hpi_hw_obj *phw, int state, int timeout_us) wait_dsp_ack() argument
2069 struct bus_master_interface *interface = phw->p_interface_buffer; wait_dsp_ack()
2083 static void send_dsp_command(struct hpi_hw_obj *phw, int cmd) send_dsp_command() argument
2085 struct bus_master_interface *interface = phw->p_interface_buffer; send_dsp_command()
2091 r = ioread32(phw->prHDCR); send_dsp_command()
2093 iowrite32(r, phw->prHDCR); send_dsp_command()
2095 iowrite32(r, phw->prHDCR); send_dsp_command()
2104 struct hpi_hw_obj *phw = pao->priv; message_response_sequence() local
2105 struct bus_master_interface *interface = phw->p_interface_buffer; message_response_sequence()
2122 if (!wait_dsp_ack(phw, H620_HIF_IDLE, HPI6205_TIMEOUT)) { message_response_sequence()
2129 send_dsp_command(phw, H620_HIF_GET_RESP); message_response_sequence()
2131 time_out2 = wait_dsp_ack(phw, H620_HIF_GET_RESP, HPI6205_TIMEOUT); message_response_sequence()
2164 send_dsp_command(phw, H620_HIF_IDLE); message_response_sequence()
2173 if (!wait_dsp_ack(phw, H620_HIF_IDLE, HPI6205_TIMEOUT)) { message_response_sequence()
H A Dhpi6000.c234 struct hpi_hw_obj *phw = pao->priv; control_message() local
253 if (hpi_check_control_cache(phw->p_cache, phm, phr)) control_message()
260 hpi_cmn_control_cache_sync_to_msg(phw->p_cache, phm, phr); control_message()
453 struct hpi_hw_obj *phw = pao->priv; subsys_create_adapter() local
454 phw->ado[dsp_index].pa_parent_adapter = pao; subsys_create_adapter()
478 struct hpi_hw_obj *phw = pao->priv; create_adapter_obj() local
483 phw->dw2040_HPICSR = pao->pci.ap_mem_base[0]; create_adapter_obj()
484 phw->dw2040_HPIDSP = pao->pci.ap_mem_base[1]; create_adapter_obj()
485 HPI_DEBUG_LOG(VERBOSE, "csr %p, dsp %p\n", phw->dw2040_HPICSR, create_adapter_obj()
486 phw->dw2040_HPIDSP); create_adapter_obj()
490 phw->ado[dsp_index].prHPI_control = create_adapter_obj()
491 phw->dw2040_HPIDSP + (CONTROL + create_adapter_obj()
494 phw->ado[dsp_index].prHPI_address = create_adapter_obj()
495 phw->dw2040_HPIDSP + (ADDRESS + create_adapter_obj()
497 phw->ado[dsp_index].prHPI_data = create_adapter_obj()
498 phw->dw2040_HPIDSP + (DATA + DSP_SPACING * dsp_index); create_adapter_obj()
500 phw->ado[dsp_index].prHPI_data_auto_inc = create_adapter_obj()
501 phw->dw2040_HPIDSP + (DATA_AUTOINC + create_adapter_obj()
505 phw->ado[dsp_index].prHPI_control, create_adapter_obj()
506 phw->ado[dsp_index].prHPI_address, create_adapter_obj()
507 phw->ado[dsp_index].prHPI_data, create_adapter_obj()
508 phw->ado[dsp_index].prHPI_data_auto_inc); create_adapter_obj()
510 phw->ado[dsp_index].pa_parent_adapter = pao; create_adapter_obj()
513 phw->pCI2040HPI_error_count = 0; create_adapter_obj()
519 phw->num_dsp = 1; create_adapter_obj()
527 phw->message_buffer_address_on_dsp = 0L; create_adapter_obj()
528 phw->response_buffer_address_on_dsp = 0L; create_adapter_obj()
555 if (phw->num_dsp == 2) { create_adapter_obj()
565 memset(&phw->control_cache[0], 0, create_adapter_obj()
570 hpi_read_word(&phw->ado[0], create_adapter_obj()
574 hpi_read_word(&phw->ado[0], create_adapter_obj()
577 phw->p_cache = create_adapter_obj()
580 &phw->control_cache[0] create_adapter_obj()
582 if (phw->p_cache) create_adapter_obj()
589 if (phw->p_cache) create_adapter_obj()
590 phw->p_cache->adap_idx = pao->index; create_adapter_obj()
597 struct hpi_hw_obj *phw = pao->priv; delete_adapter_obj() local
600 hpi_free_control_cache(phw->p_cache); delete_adapter_obj()
603 iowrite32(0x0003000F, phw->dw2040_HPICSR + HPI_RESET); delete_adapter_obj()
605 kfree(phw); delete_adapter_obj()
640 struct hpi_hw_obj *phw = pao->priv; hpi6000_adapter_boot_load_dsp() local
677 iowrite32(dw2040_reset, phw->dw2040_HPICSR + HPI_RESET); hpi6000_adapter_boot_load_dsp()
684 delay = ioread32(phw->dw2040_HPICSR + HPI_RESET); hpi6000_adapter_boot_load_dsp()
693 iowrite32(0x00000003, phw->dw2040_HPICSR + HPI_DATA_WIDTH); hpi6000_adapter_boot_load_dsp()
697 iowrite32(0x60000000, phw->dw2040_HPICSR + INTERRUPT_MASK_SET); hpi6000_adapter_boot_load_dsp()
703 iowrite32(dw2040_reset, phw->dw2040_HPICSR + HPI_RESET); hpi6000_adapter_boot_load_dsp()
705 phw->ado[0].c_dsp_rev = 'B'; /* revB */ hpi6000_adapter_boot_load_dsp()
706 phw->ado[1].c_dsp_rev = 'B'; /* revB */ hpi6000_adapter_boot_load_dsp()
710 iowrite32(dw2040_reset, phw->dw2040_HPICSR + HPI_RESET); hpi6000_adapter_boot_load_dsp()
712 iowrite32(dw2040_reset, phw->dw2040_HPICSR + HPI_RESET); hpi6000_adapter_boot_load_dsp()
716 iowrite32(dw2040_reset, phw->dw2040_HPICSR + HPI_RESET); hpi6000_adapter_boot_load_dsp()
721 for (dsp_index = 0; dsp_index < phw->num_dsp; dsp_index++) { hpi6000_adapter_boot_load_dsp()
722 struct dsp_obj *pdo = &phw->ado[dsp_index]; hpi6000_adapter_boot_load_dsp()
1088 phw->num_dsp = 2; hpi6000_adapter_boot_load_dsp()
1221 struct hpi_hw_obj *phw = pao->priv; hpi6000_dsp_block_write32() local
1222 struct dsp_obj *pdo = &phw->ado[dsp_index]; hpi6000_dsp_block_write32()
1259 struct hpi_hw_obj *phw = pao->priv; hpi6000_dsp_block_read32() local
1260 struct dsp_obj *pdo = &phw->ado[dsp_index]; hpi6000_dsp_block_read32()
1299 struct hpi_hw_obj *phw = pao->priv; hpi6000_message_response_sequence() local
1300 struct dsp_obj *pdo = &phw->ado[dsp_index]; hpi6000_message_response_sequence()
1316 if (phw->message_buffer_address_on_dsp == 0) { hpi6000_message_response_sequence()
1322 phw->message_buffer_address_on_dsp = address; hpi6000_message_response_sequence()
1328 address = phw->message_buffer_address_on_dsp; hpi6000_message_response_sequence()
1347 if (phw->response_buffer_address_on_dsp == 0) { hpi6000_message_response_sequence()
1355 phw->response_buffer_address_on_dsp = address; hpi6000_message_response_sequence()
1360 address = phw->response_buffer_address_on_dsp; hpi6000_message_response_sequence()
1418 struct hpi_hw_obj *phw = pao->priv; hpi6000_send_data() local
1419 struct dsp_obj *pdo = &phw->ado[dsp_index]; hpi6000_send_data()
1491 struct hpi_hw_obj *phw = pao->priv; hpi6000_get_data() local
1492 struct dsp_obj *pdo = &phw->ado[dsp_index]; hpi6000_get_data()
1555 struct hpi_hw_obj *phw = pao->priv; hpi6000_send_host_command() local
1556 struct dsp_obj *pdo = &phw->ado[dsp_index]; hpi6000_send_host_command()
1581 struct hpi_hw_obj *phw = pao->priv; hpi6000_check_PCI2040_error_flag() local
1584 hPI_error = ioread32(phw->dw2040_HPICSR + HPI_ERROR_REPORT); hpi6000_check_PCI2040_error_flag()
1587 iowrite32(0L, phw->dw2040_HPICSR + HPI_ERROR_REPORT); hpi6000_check_PCI2040_error_flag()
1588 phw->pCI2040HPI_error_count++; hpi6000_check_PCI2040_error_flag()
1601 struct hpi_hw_obj *phw = pao->priv; hpi6000_wait_dsp_ack() local
1602 struct dsp_obj *pdo = &phw->ado[dsp_index]; hpi6000_wait_dsp_ack()
1644 struct hpi_hw_obj *phw = pao->priv; hpi6000_update_control_cache() local
1645 struct dsp_obj *pdo = &phw->ado[dsp_index]; hpi6000_update_control_cache()
1692 (u32 *)&phw->control_cache[0], hpi6000_update_control_cache()
1744 struct hpi_hw_obj *phw = pao->priv; hw_message() local
1745 u16 num_dsp = phw->num_dsp; hw_message()
/linux-4.1.27/net/netfilter/
H A Dnfnetlink_log.c510 struct nfulnl_msg_packet_hw phw; __build_packet_message() local
513 memset(&phw, 0, sizeof(phw)); __build_packet_message()
514 len = dev_parse_header(skb, phw.hw_addr); __build_packet_message()
516 phw.hw_addrlen = htons(len); __build_packet_message()
517 if (nla_put(inst->skb, NFULA_HWADDR, sizeof(phw), &phw)) __build_packet_message()
H A Dnfnetlink_queue_core.c456 struct nfqnl_msg_packet_hw phw; nfqnl_build_packet_message() local
459 memset(&phw, 0, sizeof(phw)); nfqnl_build_packet_message()
460 len = dev_parse_header(entskb, phw.hw_addr); nfqnl_build_packet_message()
462 phw.hw_addrlen = htons(len); nfqnl_build_packet_message()
463 if (nla_put(skb, NFQA_HWADDR, sizeof(phw), &phw)) nfqnl_build_packet_message()
/linux-4.1.27/drivers/clk/
H A Dclk-cdce706.c67 #define to_hw_data(phw) (container_of((phw), struct cdce706_hw_data, hw))
/linux-4.1.27/drivers/net/ethernet/micrel/
H A Dksz884x.c980 * @phw: Hardware descriptor pointer to uncached physical memory.
987 struct ksz_hw_desc *phw; member in struct:ksz_desc
1601 desc->phw->ctrl.data = cpu_to_le32(status.data); reset_desc()
1609 desc->phw->buf.data = cpu_to_le32(desc->sw.buf.data); release_desc()
1611 desc->phw->ctrl.data = cpu_to_le32(desc->sw.ctrl.data); release_desc()
1625 desc->phw->addr = cpu_to_le32(addr); set_rx_buf()
1645 desc->phw->addr = cpu_to_le32(addr); set_tx_buf()
3846 cur->phw = desc++; hw_init_desc()
3849 previous->phw->next = cpu_to_le32(phys); hw_init_desc()
3851 previous->phw->next = cpu_to_le32(desc_info->ring_phys); hw_init_desc()
3853 previous->phw->buf.data = cpu_to_le32(previous->sw.buf.data); hw_init_desc()
4761 status.data = le32_to_cpu(desc->phw->ctrl.data); transmit_cleanup()
5057 status.data = le32_to_cpu(desc->phw->ctrl.data); dev_rcv_packets()
5093 status.data = le32_to_cpu(desc->phw->ctrl.data); port_rcv_packets()
5138 status.data = le32_to_cpu(desc->phw->ctrl.data); dev_rcv_special()
/linux-4.1.27/sound/pci/ali5451/
H A Dali5451.c1494 int channel, struct snd_pcm_hardware *phw) snd_ali_open()
1509 runtime->hw = *phw; snd_ali_open()
1493 snd_ali_open(struct snd_pcm_substream *substream, int rec, int channel, struct snd_pcm_hardware *phw) snd_ali_open() argument

Completed in 247 milliseconds