/openbmc/linux/security/integrity/ima/ |
H A D | ima_api.c | 39 struct ima_template_desc *desc) in ima_alloc_init_template() argument 45 if (desc) in ima_alloc_init_template() 46 template_desc = desc; in ima_alloc_init_template()
|
/openbmc/linux/drivers/soc/ti/ |
H A D | knav_qmss_queue.c | 710 void *desc; in kdesc_empty_pool() local 720 desc = knav_pool_desc_dma_to_virt(pool, dma); in kdesc_empty_pool() 721 if (!desc) { in kdesc_empty_pool() 909 void knav_pool_desc_put(void *ph, void *desc) in knav_pool_desc_put() argument 913 dma = knav_pool_desc_virt_to_dma(pool, desc); in knav_pool_desc_put() 928 int knav_pool_desc_map(void *ph, void *desc, unsigned size, in knav_pool_desc_map() argument 932 *dma = knav_pool_desc_virt_to_dma(pool, desc); in knav_pool_desc_map() 958 void *desc; in knav_pool_desc_unmap() local 961 desc = knav_pool_desc_dma_to_virt(pool, dma); in knav_pool_desc_unmap() 963 prefetch(desc); in knav_pool_desc_unmap() [all …]
|
/openbmc/linux/drivers/dma/ |
H A D | pxa_dma.c | 225 struct pxad_desc_hw *desc; in descriptors_show() local 232 desc = phys_to_virt(phys_desc); in descriptors_show() 233 dcmd = desc->dcmd; in descriptors_show() 238 i, phys_desc, desc); in descriptors_show() 239 seq_printf(s, "\tDDADR = %08x\n", desc->ddadr); in descriptors_show() 240 seq_printf(s, "\tDSADR = %08x\n", desc->dsadr); in descriptors_show() 241 seq_printf(s, "\tDTADR = %08x\n", desc->dtadr); in descriptors_show() 249 phys_desc = desc->ddadr; in descriptors_show() 493 struct pxad_desc_sw *desc) in pxad_launch_chan() argument 496 "%s(): desc=%p\n", __func__, desc); in pxad_launch_chan() [all …]
|
/openbmc/linux/drivers/net/ethernet/packetengines/ |
H A D | hamachi.c | 1421 struct hamachi_desc *desc = &(hmp->rx_ring[entry]); in hamachi_rx() local 1422 u32 desc_status = le32_to_cpu(desc->status_n_length); in hamachi_rx() 1430 leXX_to_cpu(desc->addr), in hamachi_rx() 1444 dev->name, desc, &hmp->rx_ring[hmp->cur_rx % RX_RING_SIZE]); in hamachi_rx() 1509 + entry*sizeof(*desc), pkt_len); in hamachi_rx() 1591 struct hamachi_desc *desc; in hamachi_rx() local 1594 desc = &(hmp->rx_ring[entry]); in hamachi_rx() 1602 desc->addr = cpu_to_leXX(dma_map_single(&hmp->pci_dev->dev, in hamachi_rx() 1607 desc->status_n_length = cpu_to_le32(hmp->rx_buf_sz); in hamachi_rx() 1609 desc->status_n_length |= cpu_to_le32(DescOwn | in hamachi_rx() [all …]
|
/openbmc/linux/drivers/tty/serial/ |
H A D | msm_serial.c | 168 struct dma_async_tx_descriptor *desc; member 498 dma->desc = dmaengine_prep_slave_single(dma->chan, dma->phys, in msm_handle_tx_dma() 502 if (!dma->desc) { in msm_handle_tx_dma() 507 dma->desc->callback = msm_complete_tx_dma; in msm_handle_tx_dma() 508 dma->desc->callback_param = msm_port; in msm_handle_tx_dma() 510 dma->cookie = dmaengine_submit(dma->desc); in msm_handle_tx_dma() 624 dma->desc = dmaengine_prep_slave_single(dma->chan, dma->phys, in msm_start_rx_dma() 627 if (!dma->desc) in msm_start_rx_dma() 630 dma->desc->callback = msm_complete_rx_dma; in msm_start_rx_dma() 631 dma->desc->callback_param = msm_port; in msm_start_rx_dma() [all …]
|
/openbmc/linux/drivers/cpuidle/ |
H A D | cpuidle-clps711x.c | 31 .desc = "CLPS711X HALT",
|
H A D | cpuidle-calxeda.c | 51 .desc = "Power Gate",
|
/openbmc/linux/drivers/crypto/caam/ |
H A D | key_gen.h | 44 void split_key_done(struct device *dev, u32 *desc, u32 err, void *context);
|
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
H A D | hw_atl_b0.c | 392 const u32 desc = AQ_NIC_CFG_TCVEC2RING(nic_cfg, tc, 0); in hw_atl_b0_hw_init_tx_tc_rate_limit() local 418 hw_atl_tps_tx_desc_rate_en_set(self, desc, en); in hw_atl_b0_hw_init_tx_tc_rate_limit() 428 hw_atl_tps_tx_desc_rate_x_set(self, desc, rate_int); in hw_atl_b0_hw_init_tx_tc_rate_limit() 429 hw_atl_tps_tx_desc_rate_y_set(self, desc, rate_frac); in hw_atl_b0_hw_init_tx_tc_rate_limit() 434 hw_atl_tps_tx_desc_rate_x_set(self, desc, 1U); in hw_atl_b0_hw_init_tx_tc_rate_limit() 435 hw_atl_tps_tx_desc_rate_y_set(self, desc, 0U); in hw_atl_b0_hw_init_tx_tc_rate_limit() 439 const u32 desc = AQ_NIC_CFG_TCVEC2RING(nic_cfg, tc, 0); in hw_atl_b0_hw_init_tx_tc_rate_limit() local 441 hw_atl_tps_tx_desc_rate_en_set(self, desc, 0U); in hw_atl_b0_hw_init_tx_tc_rate_limit() 442 hw_atl_tps_tx_desc_rate_x_set(self, desc, 1U); in hw_atl_b0_hw_init_tx_tc_rate_limit() 443 hw_atl_tps_tx_desc_rate_y_set(self, desc, 0U); in hw_atl_b0_hw_init_tx_tc_rate_limit()
|
/openbmc/linux/sound/usb/ |
H A D | endpoint.c | 726 struct usb_endpoint_descriptor *desc; in endpoint_set_syncinterval() local 732 desc = get_endpoint(alts, ep->ep_idx); in endpoint_set_syncinterval() 733 if (desc->bLength >= USB_DT_ENDPOINT_AUDIO_SIZE && in endpoint_set_syncinterval() 734 desc->bRefresh >= 1 && desc->bRefresh <= 9) in endpoint_set_syncinterval() 735 ep->syncinterval = desc->bRefresh; in endpoint_set_syncinterval() 738 else if (desc->bInterval >= 1 && desc->bInterval <= 16) in endpoint_set_syncinterval() 739 ep->syncinterval = desc->bInterval - 1; in endpoint_set_syncinterval() 743 ep->syncmaxsize = le16_to_cpu(desc->wMaxPacketSize); in endpoint_set_syncinterval()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | common.h | 172 const char *desc; /* product description */ member 553 const char *desc; /* PHY description */ member 580 unsigned int caps, const char *desc) in cphy_init() argument 584 phy->desc = desc; in cphy_init()
|
/openbmc/linux/drivers/usb/typec/ |
H A D | stusb160x.c | 346 struct typec_partner_desc desc; in stusb160x_attach() local 360 desc.usb_pd = false; in stusb160x_attach() 361 desc.accessory = stusb160x_get_accessory(status); in stusb160x_attach() 362 desc.identity = NULL; in stusb160x_attach() 364 chip->partner = typec_register_partner(chip->port, &desc); in stusb160x_attach()
|
/openbmc/linux/fs/reiserfs/ |
H A D | prints.c | 598 struct reiserfs_journal_desc *desc; in print_desc_block() local 603 desc = (struct reiserfs_journal_desc *)(bh->b_data); in print_desc_block() 605 (unsigned long long)bh->b_blocknr, get_desc_trans_id(desc), in print_desc_block() 606 get_desc_mount_id(desc), get_desc_trans_len(desc)); in print_desc_block()
|
/openbmc/linux/drivers/usb/gadget/function/ |
H A D | f_acm.c | 434 if (!acm->notify->desc) in acm_set_alt() 446 if (!acm->port.in->desc || !acm->port.out->desc) { in acm_set_alt() 453 acm->port.in->desc = NULL; in acm_set_alt() 454 acm->port.out->desc = NULL; in acm_set_alt()
|
/openbmc/linux/drivers/soc/qcom/ |
H A D | qcom-geni-se.c | 911 const struct geni_se_desc *desc; in geni_se_probe() local 914 desc = device_get_match_data(&pdev->dev); in geni_se_probe() 915 if (!desc) in geni_se_probe() 918 wrapper->num_clks = min_t(unsigned int, desc->num_clks, MAX_CLKS); in geni_se_probe() 921 wrapper->clks[i].id = desc->clks[i]; in geni_se_probe()
|
/openbmc/linux/drivers/acpi/apei/ |
H A D | apei-base.c | 462 const char *desc) in apei_resources_request() argument 499 desc); in apei_resources_request() 504 (unsigned long long)res->end - 1, desc); in apei_resources_request() 511 r = request_region(res->start, res->end - res->start, desc); in apei_resources_request() 516 (unsigned long long)res->end - 1, desc); in apei_resources_request()
|
/openbmc/linux/drivers/pinctrl/spear/ |
H A D | pinctrl-plgpio.c | 370 static void plgpio_irq_handler(struct irq_desc *desc) in plgpio_irq_handler() argument 372 struct gpio_chip *gc = irq_desc_get_handler_data(desc); in plgpio_irq_handler() 374 struct irq_chip *irqchip = irq_desc_get_chip(desc); in plgpio_irq_handler() 382 chained_irq_enter(irqchip, desc); in plgpio_irq_handler() 419 chained_irq_exit(irqchip, desc); in plgpio_irq_handler()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-brcmstb.c | 283 static void brcmstb_gpio_irq_handler(struct irq_desc *desc) in brcmstb_gpio_irq_handler() argument 285 struct brcmstb_gpio_priv *priv = irq_desc_get_handler_data(desc); in brcmstb_gpio_irq_handler() 286 struct irq_chip *chip = irq_desc_get_chip(desc); in brcmstb_gpio_irq_handler() 292 chained_irq_enter(chip, desc); in brcmstb_gpio_irq_handler() 295 chained_irq_exit(chip, desc); in brcmstb_gpio_irq_handler()
|
/openbmc/linux/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_main.c | 1514 txdr->desc = dma_alloc_coherent(&pdev->dev, txdr->size, &txdr->dma, in e1000_setup_tx_resources() 1516 if (!txdr->desc) { in e1000_setup_tx_resources() 1523 if (!e1000_check_64k_bound(adapter, txdr->desc, txdr->size)) { in e1000_setup_tx_resources() 1524 void *olddesc = txdr->desc; in e1000_setup_tx_resources() 1527 txdr->size, txdr->desc); in e1000_setup_tx_resources() 1529 txdr->desc = dma_alloc_coherent(&pdev->dev, txdr->size, in e1000_setup_tx_resources() 1532 if (!txdr->desc) { in e1000_setup_tx_resources() 1538 if (!e1000_check_64k_bound(adapter, txdr->desc, txdr->size)) { in e1000_setup_tx_resources() 1540 dma_free_coherent(&pdev->dev, txdr->size, txdr->desc, in e1000_setup_tx_resources() 1554 memset(txdr->desc, 0, txdr->size); in e1000_setup_tx_resources() [all …]
|
/openbmc/qemu/hw/core/ |
H A D | null-machine.c | 47 mc->desc = "empty machine"; in machine_none_machine_init()
|
/openbmc/linux/drivers/android/ |
H A D | binder.c | 1024 u32 desc, bool need_strong_ref) in binder_get_ref_olocked() argument 1032 if (desc < ref->data.desc) { in binder_get_ref_olocked() 1034 } else if (desc > ref->data.desc) { in binder_get_ref_olocked() 1096 new_ref->data.desc = (node == context->binder_context_mgr_node) ? 0 : 1; in binder_get_ref_for_node_olocked() 1099 if (ref->data.desc > new_ref->data.desc) in binder_get_ref_for_node_olocked() 1101 new_ref->data.desc = ref->data.desc + 1; in binder_get_ref_for_node_olocked() 1109 if (new_ref->data.desc < ref->data.desc) in binder_get_ref_for_node_olocked() 1111 else if (new_ref->data.desc > ref->data.desc) in binder_get_ref_for_node_olocked() 1124 proc->pid, new_ref->data.debug_id, new_ref->data.desc, in binder_get_ref_for_node_olocked() 1136 ref->proc->pid, ref->data.debug_id, ref->data.desc, in binder_cleanup_ref_olocked() [all …]
|
/openbmc/linux/arch/x86/kvm/ |
H A D | emulate.c | 566 static u32 desc_limit_scaled(struct desc_struct *desc) in desc_limit_scaled() argument 568 u32 limit = get_desc_limit(desc); in desc_limit_scaled() 570 return desc->g ? (limit << 12) | 0xfff : limit; in desc_limit_scaled() 631 struct desc_struct desc; in get_segment_selector() local 633 ctxt->ops->get_segment(ctxt, &selector, &desc, NULL, seg); in get_segment_selector() 642 struct desc_struct desc; in set_segment_selector() local 644 ctxt->ops->get_segment(ctxt, &dummy, &desc, &base3, seg); in set_segment_selector() 645 ctxt->ops->set_segment(ctxt, selector, &desc, base3, seg); in set_segment_selector() 693 struct desc_struct desc; in __linearize() local 715 usable = ctxt->ops->get_segment(ctxt, &sel, &desc, NULL, in __linearize() [all …]
|
/openbmc/u-boot/drivers/firmware/ |
H A D | ti_sci.c | 61 const struct ti_sci_desc *desc; member 100 if (rx_message_size > info->desc->max_msg_size || in ti_sci_setup_one_xfer() 101 tx_message_size > info->desc->max_msg_size || in ti_sci_setup_one_xfer() 139 ret = mbox_recv(chan, msg, info->desc->max_rx_timeout_us); in ti_sci_get_response() 162 if (msg->len > info->desc->max_msg_size) { in ti_sci_get_response() 164 __func__, msg->len, info->desc->max_msg_size); in ti_sci_get_response() 187 u8 secure_buf[info->desc->max_msg_size]; in ti_sci_do_xfer() 1972 info->desc->host_id); in ti_sci_of_to_info() 1993 info->desc = (void *)dev_get_driver_data(dev); in ti_sci_probe()
|
/openbmc/linux/drivers/regulator/ |
H A D | axp20x-regulator.c | 1516 const struct regulator_desc *desc = ®ulators[i]; in axp20x_regulator_probe() local 1545 new_desc = devm_kzalloc(&pdev->dev, sizeof(*desc), in axp20x_regulator_probe() 1552 desc = new_desc; in axp20x_regulator_probe() 1558 new_desc = devm_kzalloc(&pdev->dev, sizeof(*desc), in axp20x_regulator_probe() 1565 desc = new_desc; in axp20x_regulator_probe() 1570 new_desc = devm_kzalloc(&pdev->dev, sizeof(*desc), in axp20x_regulator_probe() 1577 desc = new_desc; in axp20x_regulator_probe() 1580 rdev = devm_regulator_register(&pdev->dev, desc, &config); in axp20x_regulator_probe() 1594 rdev->desc->name); in axp20x_regulator_probe()
|
/openbmc/qemu/hw/sparc/ |
H A D | sun4m.c | 1153 mc->desc = "Sun4m platform, SPARCstation 5"; in ss5_class_init() 1188 mc->desc = "Sun4m platform, SPARCstation 10"; in ss10_class_init() 1221 mc->desc = "Sun4m platform, SPARCserver 600MP"; in ss600mp_class_init() 1272 mc->desc = "Sun4m platform, SPARCstation 20"; in ss20_class_init() 1305 mc->desc = "Sun4m platform, SPARCstation Voyager"; in voyager_class_init() 1338 mc->desc = "Sun4m platform, SPARCstation LX"; in ss_lx_class_init() 1371 mc->desc = "Sun4m platform, SPARCstation 4"; in ss4_class_init() 1403 mc->desc = "Sun4m platform, SPARCClassic"; in scls_class_init() 1435 mc->desc = "Sun4m platform, SPARCbook"; in sbook_class_init()
|