Home
last modified time | relevance | path

Searched refs:attrs (Results 201 – 225 of 1591) sorted by relevance

12345678910>>...64

/openbmc/linux/samples/kobject/
H A Dkobject-example.c92 static struct attribute *attrs[] = { variable
106 .attrs = attrs,
/openbmc/linux/include/crypto/internal/
H A Dcryptouser.h8 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 Dmem_map.c15 .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
23 .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
/openbmc/u-boot/arch/arm/mach-owl/
H A Dsysmap-s900.c17 .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
23 .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
/openbmc/u-boot/arch/arm/mach-snapdragon/
H A Dsysmap-apq8016.c16 .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
23 .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
H A Dsysmap-apq8096.c16 .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
23 .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
/openbmc/u-boot/arch/arm/mach-tegra/
H A Darm64-mmu.c20 .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
27 .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
/openbmc/u-boot/arch/arm/mach-exynos/
H A Dmmu-arm64.c16 .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
23 .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
/openbmc/linux/drivers/net/ieee802154/
H A Dmac802154_hwsim.c350 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 Dinput.js6 return function(scope, element, attrs) { argument
14 if (!scope[attrs.ngModel] && elem) {
/openbmc/linux/include/net/
H A Dxdp_sock_drv.h60 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 Dsvc_rdma_transport.c400 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 Dindustrialio-event.c530 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 Dindustrialio-buffer.c1454 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 Dbcm968580xref.c19 .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
26 .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
/openbmc/u-boot/board/broadcom/bcm963158/
H A Dbcm963158.c19 .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.sh21 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 Dopal-sensor-groups.c139 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 Dnubus-bus.c32 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 D0017-arm-corstone1000-add-mmc-for-fvp.patch28 + .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 Dgth.c370 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 Ddma-helpers.c22 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 Duverbs_named_ioctl.h32 .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 Dionic_devlink.c80 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 Dmcdi_mon.c286 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()

12345678910>>...64