Searched refs:attrs (Results 226 - 250 of 1383) sorted by relevance

1234567891011>>

/linux-master/drivers/perf/hisilicon/
H A Dhisi_uncore_pa_pmu.c318 .attrs = hisi_pa_pmu_v2_format_attr,
330 .attrs = hisi_pa_pmu_v2_events_attr,
345 .attrs = hisi_pa_pmu_v3_events_attr,
356 .attrs = hisi_h60pa_pmu_events_attr,
367 .attrs = hisi_pa_pmu_cpumask_attrs,
379 .attrs = hisi_pa_pmu_identifier_attrs,
/linux-master/arch/powerpc/platforms/pseries/
H A Dibmebus.c71 unsigned long attrs)
84 unsigned long attrs)
94 unsigned long attrs)
103 unsigned long attrs)
111 unsigned long attrs)
127 unsigned long attrs)
67 ibmebus_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t flag, unsigned long attrs) argument
81 ibmebus_free_coherent(struct device *dev, size_t size, void *vaddr, dma_addr_t dma_handle, unsigned long attrs) argument
89 ibmebus_map_page(struct device *dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction direction, unsigned long attrs) argument
99 ibmebus_unmap_page(struct device *dev, dma_addr_t dma_addr, size_t size, enum dma_data_direction direction, unsigned long attrs) argument
108 ibmebus_map_sg(struct device *dev, struct scatterlist *sgl, int nents, enum dma_data_direction direction, unsigned long attrs) argument
124 ibmebus_unmap_sg(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction direction, unsigned long attrs) argument
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dmacsec.c209 static int macsec_set_replay_protection(struct mlx5_macsec_obj_attrs *attrs, void *aso_ctx) argument
213 if (!attrs->replay_protect)
216 switch (attrs->replay_window) {
239 struct mlx5_macsec_obj_attrs *attrs,
252 MLX5_SET(macsec_offload_obj, obj, confidentiality_en, attrs->encrypt);
253 MLX5_SET(macsec_offload_obj, obj, dekn, attrs->enc_key_id);
255 MLX5_SET(macsec_offload_obj, obj, macsec_aso_access_pd, attrs->aso_pdn);
256 MLX5_SET(macsec_aso, aso_ctx, mode_parameter, attrs->next_pn);
259 if (attrs->epn_state.epn_enabled) {
265 MLX5_SET(macsec_offload_obj, obj, epn_msb, attrs
238 mlx5e_macsec_create_object(struct mlx5_core_dev *mdev, struct mlx5_macsec_obj_attrs *attrs, bool is_tx, u32 *macsec_obj_id) argument
1271 macsec_build_accel_attrs(struct mlx5e_macsec_sa *sa, struct mlx5_macsec_obj_attrs *attrs) argument
1307 mlx5e_macsec_modify_obj(struct mlx5_core_dev *mdev, struct mlx5_macsec_obj_attrs *attrs, u32 macsec_id) argument
1483 struct mlx5_macsec_obj_attrs attrs = {}; local
[all...]
/linux-master/drivers/infiniband/hw/qedr/
H A Dverbs.c1191 struct ib_qp_init_attr *attrs,
1196 /* QP0... attrs->qp_type == IB_QPT_GSI */
1197 if (attrs->qp_type != IB_QPT_RC &&
1198 attrs->qp_type != IB_QPT_GSI &&
1199 attrs->qp_type != IB_QPT_XRC_INI &&
1200 attrs->qp_type != IB_QPT_XRC_TGT) {
1203 attrs->qp_type);
1207 if (attrs->cap.max_send_wr > qattr->max_sqe) {
1210 attrs->cap.max_send_wr, qattr->max_sqe);
1214 if (attrs
1190 qedr_check_qp_attrs(struct ib_pd *ibpd, struct qedr_dev *dev, struct ib_qp_init_attr *attrs, struct ib_udata *udata) argument
1342 qedr_set_common_qp_params(struct qedr_dev *dev, struct qedr_qp *qp, struct qedr_pd *pd, struct ib_qp_init_attr *attrs) argument
1420 qedr_check_srq_params(struct qedr_dev *dev, struct ib_srq_init_attr *attrs, struct ib_udata *udata) argument
1728 qedr_init_common_qp_in_params(struct qedr_dev *dev, struct qedr_pd *pd, struct qedr_qp *qp, struct ib_qp_init_attr *attrs, bool fmr_and_reserved_lkey, struct qed_rdma_create_qp_in_params *params) argument
1839 qedr_create_user_qp(struct qedr_dev *dev, struct qedr_qp *qp, struct ib_pd *ibpd, struct ib_udata *udata, struct ib_qp_init_attr *attrs) argument
2161 qedr_create_kernel_qp(struct qedr_dev *dev, struct qedr_qp *qp, struct ib_pd *ibpd, struct ib_qp_init_attr *attrs) argument
2259 qedr_create_qp(struct ib_qp *ibqp, struct ib_qp_init_attr *attrs, struct ib_udata *udata) argument
[all...]
/linux-master/drivers/hwtracing/intel_th/
H A Dgth.c370 struct attribute **attrs; local
373 attrs = devm_kcalloc(gth->dev, nattrs, sizeof(void *), GFP_KERNEL);
374 if (!attrs)
397 attrs[i] = &master_attrs[i].attr.attr;
404 gth->master_group.attrs = attrs;
412 struct attribute **attrs; local
417 attrs = devm_kcalloc(gth->dev, nattrs, sizeof(void *), GFP_KERNEL);
418 if (!attrs)
450 attrs[id
[all...]
/linux-master/drivers/hwmon/
H A Dvt8231.c744 { .attrs = vt8231_attributes_temps[0] },
745 { .attrs = vt8231_attributes_temps[1] },
746 { .attrs = vt8231_attributes_temps[2] },
747 { .attrs = vt8231_attributes_temps[3] },
748 { .attrs = vt8231_attributes_temps[4] },
749 { .attrs = vt8231_attributes_temps[5] },
793 { .attrs = vt8231_attributes_volts[0] },
794 { .attrs = vt8231_attributes_volts[1] },
795 { .attrs = vt8231_attributes_volts[2] },
796 { .attrs
[all...]
/linux-master/drivers/infiniband/hw/ocrdma/
H A Docrdma_hw.h127 int ocrdma_mbx_create_qp(struct ocrdma_qp *, struct ib_qp_init_attr *attrs,
131 struct ib_qp_attr *attrs, int attr_mask);
/linux-master/drivers/iio/trigger/
H A Diio-trig-sysfs.c72 .attrs = iio_sysfs_trig_attrs,
119 .attrs = iio_sysfs_trigger_attrs,
/linux-master/block/
H A Dblk-crypto-sysfs.c59 .attrs = blk_crypto_attrs,
91 .attrs = blk_crypto_mode_attrs,
/linux-master/tools/gpio/
H A Dlsgpio.c95 if (info->attrs[i].id == GPIO_V2_LINE_ATTR_ID_DEBOUNCE)
97 info->attrs[i].debounce_period_us);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dact_stats.c113 list_for_each_entry(attr, &flow->attrs, list) {
144 list_for_each_entry(attr, &flow->attrs, list) {
/linux-master/drivers/iio/light/
H A Dtsl4531.c62 .attrs = tsl4531_attributes,
143 .attrs = &tsl4531_attribute_group,
H A Dal3010.c69 .attrs = al3010_attributes,
164 .attrs = &al3010_attribute_group,
/linux-master/drivers/iio/temperature/
H A Dtsys02d.c115 .attrs = tsys02d_attributes,
121 .attrs = &tsys02d_attribute_group,
/linux-master/net/ethtool/
H A Dprivflags.c135 if (!info->attrs[ETHTOOL_A_PRIVFLAGS_FLAGS])
149 struct nlattr **tb = info->attrs;
H A Dpse-pd.c121 return !!info->attrs[ETHTOOL_A_PODL_PSE_ADMIN_CONTROL];
129 struct nlattr **tb = info->attrs;
H A Dmodule.c107 struct nlattr **tb = info->attrs;
129 struct nlattr **tb = info->attrs;
/linux-master/net/xdp/
H A Dxsk_buff_pool.c355 static void __xp_dma_unmap(struct xsk_dma_map *dma_map, unsigned long attrs) argument
365 DMA_BIDIRECTIONAL, attrs);
373 void xp_dma_unmap(struct xsk_buff_pool *pool, unsigned long attrs) argument
389 __xp_dma_unmap(dma_map, attrs);
435 unsigned long attrs, struct page **pages, u32 nr_pages)
458 DMA_BIDIRECTIONAL, attrs);
460 __xp_dma_unmap(dma_map, attrs);
473 __xp_dma_unmap(dma_map, attrs);
434 xp_dma_map(struct xsk_buff_pool *pool, struct device *dev, unsigned long attrs, struct page **pages, u32 nr_pages) argument
/linux-master/arch/x86/events/
H A Drapl.c390 .attrs = rapl_pmu_attrs,
416 * "events" group (with empty attrs) before updating
425 .attrs = attrs_empty,
436 .attrs = rapl_formats_attr,
455 .attrs = rapl_events_cores,
467 .attrs = rapl_events_pkg,
479 .attrs = rapl_events_ram,
491 .attrs = rapl_events_gpu,
503 .attrs = rapl_events_psys,
/linux-master/drivers/block/
H A Dnbd.c1965 if (info->attrs[NBD_ATTR_SIZE_BYTES])
1966 bytes = nla_get_u64(info->attrs[NBD_ATTR_SIZE_BYTES]);
1968 if (info->attrs[NBD_ATTR_BLOCK_SIZE_BYTES])
1969 bsize = nla_get_u64(info->attrs[NBD_ATTR_BLOCK_SIZE_BYTES]);
1987 if (info->attrs[NBD_ATTR_INDEX]) {
1988 index = nla_get_u32(info->attrs[NBD_ATTR_INDEX]);
2059 if (info->attrs[NBD_ATTR_TIMEOUT])
2061 nla_get_u64(info->attrs[NBD_ATTR_TIMEOUT]));
2062 if (info->attrs[NBD_ATTR_DEAD_CONN_TIMEOUT]) {
2064 nla_get_u64(info->attrs[NBD_ATTR_DEAD_CONN_TIMEOU
[all...]
/linux-master/net/sunrpc/xprtrdma/
H A Dsvc_rdma_transport.c415 if (newxprt->sc_max_send_sges > dev->attrs.max_send_sge)
416 newxprt->sc_max_send_sges = dev->attrs.max_send_sge;
419 if (rq_depth > dev->attrs.max_qp_wr) {
420 rq_depth = dev->attrs.max_qp_wr;
433 if (newxprt->sc_sq_depth > dev->attrs.max_qp_wr)
434 newxprt->sc_sq_depth = dev->attrs.max_qp_wr;
478 if (!(dev->attrs.device_cap_flags & IB_DEVICE_MEM_MGT_EXTENSIONS))
501 dev->attrs.max_qp_init_rd_atom);
/linux-master/include/uapi/linux/
H A Dgpio.h159 * @attrs.
160 * @num_attrs: the number of attributes in @attrs
162 * @attrs: the configuration attributes associated with the requested
172 struct gpio_v2_line_config_attribute attrs[GPIO_V2_LINE_NUM_ATTRS_MAX]; member in struct:gpio_v2_line_config
216 * @num_attrs: the number of attributes in @attrs
220 * @attrs: the configuration attributes associated with the line
229 struct gpio_v2_line_attribute attrs[GPIO_V2_LINE_NUM_ATTRS_MAX]; member in struct:gpio_v2_line_info
/linux-master/arch/arc/kernel/
H A Dperf_event.c201 struct attribute **attrs; member in struct:arc_pmu
643 .attrs = arc_pmu_format_attrs,
657 * We don't add attrs here as we don't have pre-defined list of perf events.
658 * We will generate and add attrs dynamically in probe() after we read HW
672 arc_pmu->attrs[j] = &(arc_pmu->attr[j].attr.attr);
682 arc_pmu->attrs = devm_kmalloc_array(dev, arc_pmu->n_events + 1,
683 sizeof(*arc_pmu->attrs), GFP_KERNEL | __GFP_ZERO);
684 if (!arc_pmu->attrs)
786 arc_pmu_events_attr_gr.attrs = arc_pmu->attrs;
[all...]
/linux-master/include/linux/
H A Dcpu.h48 extern int cpu_add_dev_attr_group(struct attribute_group *attrs);
49 extern void cpu_remove_dev_attr_group(struct attribute_group *attrs);
/linux-master/drivers/pps/
H A Dsysfs.c93 .attrs = pps_attrs,

Completed in 325 milliseconds

1234567891011>>