/openbmc/linux/samples/kobject/ |
H A D | kobject-example.c | 92 static struct attribute *attrs[] = { variable 106 .attrs = attrs,
|
/openbmc/linux/include/crypto/internal/ |
H A D | cryptouser.h | 8 int crypto_reportstat(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, struct nlattr **attrs); 12 struct nlattr **attrs) in crypto_reportstat() argument
|
/openbmc/u-boot/arch/arm/mach-uniphier/arm64/ |
H A D | mem_map.c | 15 .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) | 23 .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
|
/openbmc/u-boot/arch/arm/mach-owl/ |
H A D | sysmap-s900.c | 17 .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) | 23 .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
|
/openbmc/u-boot/arch/arm/mach-snapdragon/ |
H A D | sysmap-apq8016.c | 16 .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) | 23 .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
|
H A D | sysmap-apq8096.c | 16 .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) | 23 .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
|
/openbmc/u-boot/arch/arm/mach-tegra/ |
H A D | arm64-mmu.c | 20 .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) | 27 .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
|
/openbmc/u-boot/arch/arm/mach-exynos/ |
H A D | mmu-arm64.c | 16 .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) | 23 .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
|
/openbmc/linux/drivers/net/ieee802154/ |
H A D | mac802154_hwsim.c | 350 if (!info->attrs[MAC802154_HWSIM_ATTR_RADIO_ID]) in hwsim_del_radio_nl() 353 idx = nla_get_u32(info->attrs[MAC802154_HWSIM_ATTR_RADIO_ID]); in hwsim_del_radio_nl() 462 if (!info->attrs[MAC802154_HWSIM_ATTR_RADIO_ID]) in hwsim_get_radio_nl() 584 if (!info->attrs[MAC802154_HWSIM_ATTR_RADIO_ID] || in hwsim_new_edge_nl() 585 !info->attrs[MAC802154_HWSIM_ATTR_RADIO_EDGE]) in hwsim_new_edge_nl() 594 v0 = nla_get_u32(info->attrs[MAC802154_HWSIM_ATTR_RADIO_ID]); in hwsim_new_edge_nl() 646 if (!info->attrs[MAC802154_HWSIM_ATTR_RADIO_ID] || in hwsim_del_edge_nl() 647 !info->attrs[MAC802154_HWSIM_ATTR_RADIO_EDGE]) in hwsim_del_edge_nl() 656 v0 = nla_get_u32(info->attrs[MAC802154_HWSIM_ATTR_RADIO_ID]); in hwsim_del_edge_nl() 694 if (!info->attrs[MAC802154_HWSIM_ATTR_RADIO_ID] || in hwsim_set_edge_lqi() [all …]
|
/openbmc/phosphor-webui/app/common/directives/ |
H A D | input.js | 6 return function(scope, element, attrs) { argument 14 if (!scope[attrs.ngModel] && elem) {
|
/openbmc/linux/include/net/ |
H A D | xdp_sock_drv.h | 60 unsigned long attrs) in xsk_pool_dma_unmap() argument 62 xp_dma_unmap(pool, attrs); in xsk_pool_dma_unmap() 66 struct device *dev, unsigned long attrs) in xsk_pool_dma_map() argument 70 return xp_dma_map(pool, dev, attrs, umem->pgs, umem->npgs); in xsk_pool_dma_map() 277 unsigned long attrs) in xsk_pool_dma_unmap() argument 282 struct device *dev, unsigned long attrs) in xsk_pool_dma_map() argument
|
/openbmc/linux/net/sunrpc/xprtrdma/ |
H A D | svc_rdma_transport.c | 400 if (newxprt->sc_max_send_sges > dev->attrs.max_send_sge) in svc_rdma_accept() 401 newxprt->sc_max_send_sges = dev->attrs.max_send_sge; in svc_rdma_accept() 408 if (rq_depth > dev->attrs.max_qp_wr) { in svc_rdma_accept() 410 dev->attrs.max_qp_wr); in svc_rdma_accept() 411 rq_depth = dev->attrs.max_qp_wr; in svc_rdma_accept() 420 if (newxprt->sc_sq_depth > dev->attrs.max_qp_wr) { in svc_rdma_accept() 422 dev->attrs.max_qp_wr); in svc_rdma_accept() 423 newxprt->sc_sq_depth = dev->attrs.max_qp_wr; in svc_rdma_accept() 468 if (!(dev->attrs.device_cap_flags & IB_DEVICE_MEM_MGT_EXTENSIONS)) in svc_rdma_accept() 491 dev->attrs.max_qp_init_rd_atom); in svc_rdma_accept()
|
/openbmc/linux/drivers/iio/ |
H A D | industrialio-event.c | 530 attr = indio_dev->info->event_attrs->attrs; in iio_device_register_eventset() 543 ev_int->group.attrs = kcalloc(attrcount + 1, in iio_device_register_eventset() 544 sizeof(ev_int->group.attrs[0]), in iio_device_register_eventset() 546 if (ev_int->group.attrs == NULL) { in iio_device_register_eventset() 551 memcpy(ev_int->group.attrs, in iio_device_register_eventset() 552 indio_dev->info->event_attrs->attrs, in iio_device_register_eventset() 553 sizeof(ev_int->group.attrs[0]) * attrcount_orig); in iio_device_register_eventset() 557 ev_int->group.attrs[attrn++] = &p->dev_attr.attr; in iio_device_register_eventset() 570 kfree(ev_int->group.attrs); in iio_device_register_eventset() 604 kfree(ev_int->group.attrs); in iio_device_unregister_eventset()
|
H A D | industrialio-buffer.c | 1454 struct attribute **attrs; in iio_buffer_register_legacy_sysfs_groups() local 1457 attrs = kcalloc(buffer_attrcount + 1, sizeof(*attrs), GFP_KERNEL); in iio_buffer_register_legacy_sysfs_groups() 1458 if (!attrs) in iio_buffer_register_legacy_sysfs_groups() 1461 memcpy(attrs, buffer_attrs, buffer_attrcount * sizeof(*attrs)); in iio_buffer_register_legacy_sysfs_groups() 1464 group->attrs = attrs; in iio_buffer_register_legacy_sysfs_groups() 1471 attrs = kcalloc(scan_el_attrcount + 1, sizeof(*attrs), GFP_KERNEL); in iio_buffer_register_legacy_sysfs_groups() 1472 if (!attrs) { in iio_buffer_register_legacy_sysfs_groups() 1481 group->attrs = attrs; in iio_buffer_register_legacy_sysfs_groups() 1617 if (buffer->attrs) { in __iio_buffer_alloc_sysfs_and_mask() 1678 if (buffer->attrs) in __iio_buffer_alloc_sysfs_and_mask() [all …]
|
/openbmc/u-boot/board/broadcom/bcm968580xref/ |
H A D | bcm968580xref.c | 19 .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) | 26 .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
|
/openbmc/u-boot/board/broadcom/bcm963158/ |
H A D | bcm963158.c | 19 .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) | 26 .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
|
/openbmc/linux/tools/testing/selftests/damon/ |
H A D | _chk_dependency.sh | 21 for f in attrs target_ids monitor_on 31 for f in attrs target_ids monitor_on
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | opal-sensor-groups.c | 139 sg->sg.attrs[count] = in add_attr_group() 198 sgs[i].sg.attrs = kcalloc(nr_attrs + 1, in opal_sensor_groups_init() 199 sizeof(*sgs[i].sg.attrs), in opal_sensor_groups_init() 202 if (!sgs[i].sg.attrs) { in opal_sensor_groups_init() 232 kfree(sgs[i].sg.attrs); in opal_sensor_groups_init()
|
/openbmc/qemu/hw/nubus/ |
H A D | nubus-bus.c | 32 unsigned size, MemTxAttrs attrs) in nubus_slot_write() argument 39 unsigned size, MemTxAttrs attrs) in nubus_slot_read() argument 57 MemTxAttrs attrs) in nubus_super_slot_write() argument 65 MemTxAttrs attrs) in nubus_super_slot_read() argument
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/ |
H A D | 0017-arm-corstone1000-add-mmc-for-fvp.patch | 28 + .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) | 36 .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) | 47 + .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) | 55 .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
|
/openbmc/linux/drivers/hwtracing/intel_th/ |
H A D | gth.c | 370 struct attribute **attrs; in intel_th_master_attributes() local 373 attrs = devm_kcalloc(gth->dev, nattrs, sizeof(void *), GFP_KERNEL); in intel_th_master_attributes() 374 if (!attrs) in intel_th_master_attributes() 397 attrs[i] = &master_attrs[i].attr.attr; in intel_th_master_attributes() 404 gth->master_group.attrs = attrs; in intel_th_master_attributes() 412 struct attribute **attrs; in intel_th_output_attributes() local 417 attrs = devm_kcalloc(gth->dev, nattrs, sizeof(void *), GFP_KERNEL); in intel_th_output_attributes() 418 if (!attrs) in intel_th_output_attributes() 450 attrs[idx] = &out_attrs[idx].attr.attr; in intel_th_output_attributes() 459 gth->output_group.attrs = attrs; in intel_th_output_attributes() [all …]
|
/openbmc/qemu/system/ |
H A D | dma-helpers.c | 22 uint8_t c, dma_addr_t len, MemTxAttrs attrs) in dma_memory_set() argument 26 return address_space_set(as, addr, c, len, attrs); in dma_memory_set() 280 MemTxAttrs attrs) in dma_buf_rw() argument 293 res |= dma_memory_rw(sg->as, entry.base, ptr, xfer, dir, attrs); in dma_buf_rw() 306 QEMUSGList *sg, MemTxAttrs attrs) in dma_buf_read() argument 308 return dma_buf_rw(ptr, len, residual, sg, DMA_DIRECTION_FROM_DEVICE, attrs); in dma_buf_read() 312 QEMUSGList *sg, MemTxAttrs attrs) in dma_buf_write() argument 314 return dma_buf_rw(ptr, len, residual, sg, DMA_DIRECTION_TO_DEVICE, attrs); in dma_buf_write()
|
/openbmc/linux/include/rdma/ |
H A D | uverbs_named_ioctl.h | 32 .attrs = &UVERBS_METHOD_ATTRS(_method_id), \ 46 .attrs = &UVERBS_METHOD_ATTRS(_method_id), \ 93 .attrs = &UVERBS_METHOD_ATTRS(_method_id), \
|
/openbmc/linux/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_devlink.c | 80 struct devlink_port_attrs attrs = {}; in ionic_devlink_register() local 83 attrs.flavour = DEVLINK_PORT_FLAVOUR_PHYSICAL; in ionic_devlink_register() 84 devlink_port_attrs_set(&ionic->dl_port, &attrs); in ionic_devlink_register()
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | mcdi_mon.c | 286 struct efx_mcdi_mon_attribute *attr = &hwmon->attrs[hwmon->n_attrs]; in efx_mcdi_mon_add_attr() 300 hwmon->group.attrs[hwmon->n_attrs++] = &attr->dev_attr.attr; in efx_mcdi_mon_add_attr() 353 hwmon->attrs = kcalloc(n_attrs, sizeof(*hwmon->attrs), GFP_KERNEL); in efx_mcdi_mon_probe() 354 if (!hwmon->attrs) { in efx_mcdi_mon_probe() 358 hwmon->group.attrs = kcalloc(n_attrs + 1, sizeof(struct attribute *), in efx_mcdi_mon_probe() 360 if (!hwmon->group.attrs) { in efx_mcdi_mon_probe() 526 kfree(hwmon->attrs); in efx_mcdi_mon_remove() 527 kfree(hwmon->group.attrs); in efx_mcdi_mon_remove()
|