/drivers/acpi/ |
D | utils.c | 97 union acpi_object *element = &(package->package.elements[i]); in acpi_extract_package() local 99 if (!element) { in acpi_extract_package() 103 switch (element->type) { in acpi_extract_package() 133 (element->string.length * sizeof(char)) + in acpi_extract_package() 140 (element->buffer.length * sizeof(u8)); in acpi_extract_package() 183 union acpi_object *element = &(package->package.elements[i]); in acpi_extract_package() local 185 if (!element) { in acpi_extract_package() 189 switch (element->type) { in acpi_extract_package() 195 element->integer.value; in acpi_extract_package() 202 element->integer.value; in acpi_extract_package() [all …]
|
D | scan.c | 663 union acpi_object *element = NULL; in acpi_bus_extract_wakeup_device_power_package() local 668 element = &(package->package.elements[0]); in acpi_bus_extract_wakeup_device_power_package() 669 if (!element) in acpi_bus_extract_wakeup_device_power_package() 671 if (element->type == ACPI_TYPE_PACKAGE) { in acpi_bus_extract_wakeup_device_power_package() 672 if ((element->package.count < 2) || in acpi_bus_extract_wakeup_device_power_package() 673 (element->package.elements[0].type != in acpi_bus_extract_wakeup_device_power_package() 675 || (element->package.elements[1].type != ACPI_TYPE_INTEGER)) in acpi_bus_extract_wakeup_device_power_package() 678 element->package.elements[0].reference.handle; in acpi_bus_extract_wakeup_device_power_package() 680 (u32) element->package.elements[1].integer.value; in acpi_bus_extract_wakeup_device_power_package() 681 } else if (element->type == ACPI_TYPE_INTEGER) { in acpi_bus_extract_wakeup_device_power_package() [all …]
|
D | battery.c | 302 union acpi_object *element; in extract_package() local 308 element = &package->package.elements[i]; in extract_package() 311 if (element->type == ACPI_TYPE_STRING || in extract_package() 312 element->type == ACPI_TYPE_BUFFER) in extract_package() 313 strncpy(ptr, element->string.pointer, 32); in extract_package() 314 else if (element->type == ACPI_TYPE_INTEGER) { in extract_package() 315 strncpy(ptr, (u8 *)&element->integer.value, in extract_package() 322 *x = (element->type == ACPI_TYPE_INTEGER) ? in extract_package() 323 element->integer.value : -1; in extract_package()
|
D | processor_idle.c | 398 union acpi_object *element; in acpi_processor_get_power_info_cst() local 405 element = &(cst->package.elements[i]); in acpi_processor_get_power_info_cst() 406 if (element->type != ACPI_TYPE_PACKAGE) in acpi_processor_get_power_info_cst() 409 if (element->package.count != 4) in acpi_processor_get_power_info_cst() 412 obj = &(element->package.elements[0]); in acpi_processor_get_power_info_cst() 424 obj = &(element->package.elements[1]); in acpi_processor_get_power_info_cst() 480 obj = &(element->package.elements[2]); in acpi_processor_get_power_info_cst() 486 obj = &(element->package.elements[3]); in acpi_processor_get_power_info_cst()
|
/drivers/s390/net/ |
D | qeth_core_offl.c | 110 int element = 0; in qeth_eddp_fill_buffer() local 122 if (element == 0) in qeth_eddp_fill_buffer() 152 if (ctx->elements[element].length != 0) { in qeth_eddp_fill_buffer() 153 buffer->element[buf->next_element_to_fill]. in qeth_eddp_fill_buffer() 154 addr = ctx->elements[element].addr; in qeth_eddp_fill_buffer() 155 buffer->element[buf->next_element_to_fill]. in qeth_eddp_fill_buffer() 156 length = ctx->elements[element].length; in qeth_eddp_fill_buffer() 157 buffer->element[buf->next_element_to_fill]. in qeth_eddp_fill_buffer() 158 flags = ctx->elements[element].flags; in qeth_eddp_fill_buffer() 161 element++; in qeth_eddp_fill_buffer() [all …]
|
D | qeth_core_main.c | 76 int element, cnt, dlen; in __qeth_fill_buffer_frag() local 79 element = *next_element_to_fill; in __qeth_fill_buffer_frag() 83 buffer->element[element].flags = in __qeth_fill_buffer_frag() 86 buffer->element[element].flags = in __qeth_fill_buffer_frag() 90 buffer->element[element].addr = skb->data; in __qeth_fill_buffer_frag() 91 buffer->element[element].length = dlen; in __qeth_fill_buffer_frag() 92 element++; in __qeth_fill_buffer_frag() 98 buffer->element[element].addr = (char *)addr; in __qeth_fill_buffer_frag() 99 buffer->element[element].length = frag->size; in __qeth_fill_buffer_frag() 101 buffer->element[element].flags = in __qeth_fill_buffer_frag() [all …]
|
/drivers/infiniband/core/ |
D | sysfs.c | 448 struct port_table_attribute *element; in alloc_group_attrs() local 456 element = kzalloc(sizeof(struct port_table_attribute), in alloc_group_attrs() 458 if (!element) in alloc_group_attrs() 461 if (snprintf(element->name, sizeof(element->name), in alloc_group_attrs() 462 "%d", i) >= sizeof(element->name)) { in alloc_group_attrs() 463 kfree(element); in alloc_group_attrs() 467 element->attr.attr.name = element->name; in alloc_group_attrs() 468 element->attr.attr.mode = S_IRUGO; in alloc_group_attrs() 469 element->attr.show = show; in alloc_group_attrs() 470 element->index = i; in alloc_group_attrs() [all …]
|
D | uverbs_main.c | 414 __u64 element, __u64 event, in ib_uverbs_async_handler() argument 433 entry->desc.async.element = element; in ib_uverbs_async_handler() 448 struct ib_ucq_object *uobj = container_of(event->element.cq->uobject, in ib_uverbs_cq_event_handler() 460 uobj = container_of(event->element.qp->uobject, in ib_uverbs_qp_event_handler() 472 uobj = container_of(event->element.srq->uobject, in ib_uverbs_srq_event_handler() 486 ib_uverbs_async_handler(file, event->element.port_num, event->event, in ib_uverbs_event_handler()
|
/drivers/usb/host/ |
D | uhci-hcd.h | 129 __le32 element; /* Queue element (TD) pointer */ member 167 __le32 element = qh->element; in qh_element() local 170 return element; in qh_element()
|
D | uhci-debug.c | 153 __le32 element = qh_element(qh); in uhci_show_qh() local 170 le32_to_cpu(qh->link), le32_to_cpu(element)); in uhci_show_qh() 180 if (element & UHCI_PTR_QH) in uhci_show_qh() 183 if (element & UHCI_PTR_DEPTH) in uhci_show_qh() 186 if (element & cpu_to_le32(8)) in uhci_show_qh() 189 if (!(element & ~(UHCI_PTR_QH | UHCI_PTR_DEPTH))) in uhci_show_qh() 203 if (element != LINK_TO_TD(td)) in uhci_show_qh()
|
D | uhci-q.c | 256 qh->element = UHCI_PTR_TERM; in uhci_alloc_qh() 351 qh->element = UHCI_PTR_TERM; in uhci_cleanup_queue() 490 qh->element = LINK_TO_TD(td); in uhci_activate_qh() 1111 qh->element = LINK_TO_TD(td); in uhci_fixup_short_transfer() 1125 qh->element = td->link; in uhci_fixup_short_transfer() 1214 qh->element = UHCI_PTR_TERM; in uhci_result_common() 1685 qh->element = qh->post_td->link; in uhci_advance_check()
|
/drivers/net/ixp2000/ |
D | ixp2400_rx.uc | 13 * only one full element list is used. This includes, for example, 314 * Copy the mpacket and give back the RBUF element. 317 .reg element 322 alu_shf[element, 0x7f, and, $rsw0, >>24] 328 alu_shf[temp, temp, or, element, <<11] 335 alu[temp, RBUF_ELEMENT_DONE, or, element, <<16]
|
D | ixp2400_tx.uc | 139 * Determine tbuf element index, SOP/EOP flags, mpacket 222 * Mark TBUF element as ready-to-be-transmitted.
|
/drivers/net/wireless/iwlwifi/ |
D | iwl-rx.c | 192 struct list_head *element; in iwl_rx_queue_restock() local 202 element = rxq->rx_free.next; in iwl_rx_queue_restock() 203 rxb = list_entry(element, struct iwl_rx_mem_buffer, list); in iwl_rx_queue_restock() 204 list_del(element); in iwl_rx_queue_restock() 244 struct list_head *element; in iwl_rx_allocate() local 255 element = rxq->rx_used.next; in iwl_rx_allocate() 256 rxb = list_entry(element, struct iwl_rx_mem_buffer, list); in iwl_rx_allocate() 257 list_del(element); in iwl_rx_allocate()
|
/drivers/net/sfc/ |
D | bitfield.h | 130 #define EFX_EXTRACT64(element, min, max, low, high) \ argument 131 EFX_EXTRACT_NATIVE(le64_to_cpu(element), min, max, low, high) 137 #define EFX_EXTRACT32(element, min, max, low, high) \ argument 138 EFX_EXTRACT_NATIVE(le32_to_cpu(element), min, max, low, high)
|
/drivers/infiniband/hw/amso1100/ |
D | c2_ae.c | 233 ib_event.element.qp = &qp->ibqp; in c2_ae_event() 303 ib_event.element.cq = &cq->ibcq; in c2_ae_event()
|
/drivers/infiniband/hw/cxgb3/ |
D | iwch_ev.c | 82 event.element.cq = &chp->ibcq; in post_qp_event() 84 event.element.qp = &qhp->ibqp; in post_qp_event()
|
/drivers/staging/et131x/ |
D | et1310_rx.c | 924 struct list_head *element; in nic_rx_pkts() local 1025 element = pRxLocal->RecvList.next; in nic_rx_pkts() 1026 pMpRfd = (PMP_RFD) list_entry(element, MP_RFD, list_node); in nic_rx_pkts() 1192 struct list_head *element; in et131x_reset_recv() local 1202 element = pAdapter->RxRing.RecvPendingList.next; in et131x_reset_recv() 1204 pMpRfd = (PMP_RFD) list_entry(element, MP_RFD, list_node); in et131x_reset_recv()
|
/drivers/net/wireless/ipw2x00/ |
D | ipw2100.c | 700 struct list_head *element; in ipw2100_hw_send_command() local 742 element = priv->msg_free_list.next; in ipw2100_hw_send_command() 744 packet = list_entry(element, struct ipw2100_tx_packet, list); in ipw2100_hw_send_command() 758 list_del(element); in ipw2100_hw_send_command() 761 list_add_tail(element, &priv->msg_pend_list); in ipw2100_hw_send_command() 2758 struct list_head *element; in __ipw2100_tx_process() local 2767 element = priv->fw_pend_list.next; in __ipw2100_tx_process() 2769 packet = list_entry(element, struct ipw2100_tx_packet, list); in __ipw2100_tx_process() 2833 list_del(element); in __ipw2100_tx_process() 2881 list_add_tail(element, &priv->tx_free_list); in __ipw2100_tx_process() [all …]
|
/drivers/infiniband/hw/mthca/ |
D | mthca_mad.c | 124 event.element.port_num = port_num; in smp_snoop() 137 event.element.port_num = port_num; in smp_snoop()
|
D | mthca_catas.c | 90 event.element.port_num = 0; in handle_catas()
|
/drivers/infiniband/ulp/ipoib/ |
D | ipoib_verbs.c | 276 if (record->element.port_num != priv->port) in ipoib_event() 280 record->device->name, record->element.port_num); in ipoib_event()
|
/drivers/platform/x86/ |
D | panasonic-laptop.c | 295 union acpi_object *element = &(hkey->package.elements[i]); in acpi_pcc_retrieve_biosdata() local 296 if (likely(element->type == ACPI_TYPE_INTEGER)) { in acpi_pcc_retrieve_biosdata() 297 sinf[i] = element->integer.value; in acpi_pcc_retrieve_biosdata()
|
/drivers/infiniband/hw/mlx4/ |
D | mad.c | 166 event.element.port_num = port_num; in smp_snoop() 179 event.element.port_num = port_num; in smp_snoop()
|
/drivers/s390/scsi/ |
D | zfcp_qdio.c | 37 return &q->sbal[sbal_idx]->element[sbale_idx]; in zfcp_qdio_sbale() 469 sbale = &(adapter->resp_q.sbal[cc]->element[0]); in zfcp_qdio_open()
|