Home
last modified time | relevance | path

Searched refs:props (Results 1 – 25 of 247) sorted by relevance

12345678910

/linux/drivers/dpll/zl3073x/
H A Dprop.c85 struct zl3073x_pin_props *props, in zl3073x_prop_pin_package_label_set() argument
110 snprintf(props->package_label, sizeof(props->package_label), "%s%u%s", in zl3073x_prop_pin_package_label_set()
116 props->dpll_props.package_label = props->package_label; in zl3073x_prop_pin_package_label_set()
130 struct zl3073x_pin_props *props, in zl3073x_prop_pin_fwnode_get() argument
163 props->fwnode = pin_node; in zl3073x_prop_pin_fwnode_get()
166 props->package_label, pin_node ? "" : "NOT "); in zl3073x_prop_pin_fwnode_get()
195 struct zl3073x_pin_props *props; in zl3073x_pin_props_get() local
201 props = kzalloc_obj(*props); in zl3073x_pin_props_get()
202 if (!props) in zl3073x_pin_props_get()
207 props->dpll_props.type = DPLL_PIN_TYPE_EXT; in zl3073x_pin_props_get()
[all …]
/linux/drivers/media/usb/dvb-usb-v2/
H A Dusb_urb.c17 struct usb_data_stream_properties *props);
92 struct usb_data_stream_properties *props) in usb_urb_submitv2() argument
96 if (props) { in usb_urb_submitv2()
97 ret = usb_urb_reconfig(stream, props); in usb_urb_submitv2()
141 for (i = 0; i < stream->props.count; i++) { in usb_urb_alloc_bulk_urbs()
153 stream->props.endpoint), in usb_urb_alloc_bulk_urbs()
155 stream->props.u.bulk.buffersize, in usb_urb_alloc_bulk_urbs()
168 for (i = 0; i < stream->props.count; i++) { in usb_urb_alloc_isoc_urbs()
173 stream->props.u.isoc.framesperurb, GFP_ATOMIC); in usb_urb_alloc_isoc_urbs()
187 stream->props.endpoint); in usb_urb_alloc_isoc_urbs()
[all …]
/linux/drivers/media/usb/dvb-usb/
H A Ddvb-usb-init.c31 for (n = 0; n < d->props.num_adapters; n++) { in dvb_usb_adapter_init()
36 memcpy(&adap->props, &d->props.adapter[n], sizeof(struct dvb_usb_adapter_properties)); in dvb_usb_adapter_init()
38 for (o = 0; o < adap->props.num_frontends; o++) { in dvb_usb_adapter_init()
39 struct dvb_usb_adapter_fe_properties *props = &adap->props.fe[o]; in dvb_usb_adapter_init() local
41 if (d->udev->speed == USB_SPEED_FULL && !(props->caps & DVB_USB_ADAP_HAS_PID_FILTER)) { in dvb_usb_adapter_init()
46 if ((d->udev->speed == USB_SPEED_FULL && props->caps & DVB_USB_ADAP_HAS_PID_FILTER) || in dvb_usb_adapter_init()
47 (props->caps & DVB_USB_ADAP_NEED_PID_FILTERING)) { in dvb_usb_adapter_init()
48 info("will use the device's hardware PID filter (table count: %d).", props->pid_filter_count); in dvb_usb_adapter_init()
50 adap->fe_adap[o].max_feed_count = props->pid_filter_count; in dvb_usb_adapter_init()
59 props->caps & DVB_USB_ADAP_HAS_PID_FILTER) { in dvb_usb_adapter_init()
[all …]
H A Dusb-urb.c142 if ((i = usb_allocate_stream_buffers(stream,stream->props.count, in usb_bulk_urb_init()
143 stream->props.u.bulk.buffersize)) < 0) in usb_bulk_urb_init()
147 for (i = 0; i < stream->props.count; i++) { in usb_bulk_urb_init()
156 usb_rcvbulkpipe(stream->udev,stream->props.endpoint), in usb_bulk_urb_init()
158 stream->props.u.bulk.buffersize, in usb_bulk_urb_init()
172 if ((i = usb_allocate_stream_buffers(stream,stream->props.count, in usb_isoc_urb_init()
173 stream->props.u.isoc.framesize*stream->props.u.isoc.framesperurb)) < 0) in usb_isoc_urb_init()
177 for (i = 0; i < stream->props.count; i++) { in usb_isoc_urb_init()
181 stream->urb_list[i] = usb_alloc_urb(stream->props.u.isoc.framesperurb, GFP_KERNEL); in usb_isoc_urb_init()
194 urb->pipe = usb_rcvisocpipe(stream->udev,stream->props.endpoint); in usb_isoc_urb_init()
[all …]
H A Ddvb-usb-dvb.c34 if (adap->props.fe[adap->active_fe].streaming_ctrl != NULL) { in dvb_usb_ctrl_feed()
35 ret = adap->props.fe[adap->active_fe].streaming_ctrl(adap, 0); in dvb_usb_ctrl_feed()
50 if (adap->props.fe[adap->active_fe].caps & DVB_USB_ADAP_HAS_PID_FILTER && in dvb_usb_ctrl_feed()
52 adap->props.fe[adap->active_fe].pid_filter != NULL) in dvb_usb_ctrl_feed()
53 adap->props.fe[adap->active_fe].pid_filter(adap, dvbdmxfeed->index, dvbdmxfeed->pid, onoff); in dvb_usb_ctrl_feed()
60 if (adap->props.fe[adap->active_fe].caps & DVB_USB_ADAP_HAS_PID_FILTER && in dvb_usb_ctrl_feed()
61 adap->props.fe[adap->active_fe].caps & in dvb_usb_ctrl_feed()
63 adap->props.fe[adap->active_fe].pid_filter_ctrl != NULL) { in dvb_usb_ctrl_feed()
64 ret = adap->props.fe[adap->active_fe].pid_filter_ctrl(adap, in dvb_usb_ctrl_feed()
72 if (adap->props.fe[adap->active_fe].streaming_ctrl != NULL) { in dvb_usb_ctrl_feed()
[all …]
H A Ddvb-usb-urb.c20 if (d->props.generic_bulk_ctrl_endpoint == 0) { in dvb_usb_generic_rw()
32 d->props.generic_bulk_ctrl_endpoint), wbuf,wlen,&actlen, in dvb_usb_generic_rw()
46 d->props.generic_bulk_ctrl_endpoint_response ? in dvb_usb_generic_rw()
47 d->props.generic_bulk_ctrl_endpoint_response : in dvb_usb_generic_rw()
48 d->props.generic_bulk_ctrl_endpoint),rbuf,rlen,&actlen, in dvb_usb_generic_rw()
95 for (i = 0; i < adap->props.num_frontends; i++) { in dvb_usb_adapter_stream_init()
98 if (adap->props.fe[i].caps & DVB_USB_ADAP_RECEIVES_204_BYTE_TS) in dvb_usb_adapter_stream_init()
102 if (adap->props.fe[i].caps & DVB_USB_ADAP_RECEIVES_RAW_PAYLOAD) in dvb_usb_adapter_stream_init()
109 &adap->props.fe[i].stream); in dvb_usb_adapter_stream_init()
119 for (i = 0; i < adap->props.num_frontends; i++) in dvb_usb_adapter_stream_exit()
/linux/arch/powerpc/platforms/powermac/
H A Dbacklight.c74 struct backlight_properties *props; in pmac_backlight_key_worker() local
77 props = &pmac_backlight->props; in pmac_backlight_key_worker()
79 brightness = props->brightness + in pmac_backlight_key_worker()
81 (props->max_brightness / 15)); in pmac_backlight_key_worker()
85 else if (brightness > props->max_brightness) in pmac_backlight_key_worker()
86 brightness = props->max_brightness; in pmac_backlight_key_worker()
88 props->brightness = brightness; in pmac_backlight_key_worker()
113 struct backlight_properties *props; in __pmac_backlight_set_legacy_brightness() local
115 props = &pmac_backlight->props; in __pmac_backlight_set_legacy_brightness()
116 props->brightness = brightness * in __pmac_backlight_set_legacy_brightness()
[all …]
/linux/drivers/resctrl/
H A Dtest_mpam_devices.c99 mpam_set_feature(mpam_feat_cpor_part, &fake_ris1.props); in test_mpam_enable_merge_features()
100 mpam_set_feature(mpam_feat_cpor_part, &fake_ris2.props); in test_mpam_enable_merge_features()
101 fake_ris1.props.cpbm_wd = 4; in test_mpam_enable_merge_features()
102 fake_ris2.props.cpbm_wd = 4; in test_mpam_enable_merge_features()
106 KUNIT_EXPECT_TRUE(test, mpam_has_feature(mpam_feat_cpor_part, &fake_class.props)); in test_mpam_enable_merge_features()
107 KUNIT_EXPECT_EQ(test, fake_class.props.cpbm_wd, 4); in test_mpam_enable_merge_features()
123 mpam_set_feature(mpam_feat_cpor_part, &fake_ris1.props); in test_mpam_enable_merge_features()
124 mpam_set_feature(mpam_feat_cmax_cmin, &fake_ris2.props); in test_mpam_enable_merge_features()
125 fake_ris1.props.cpbm_wd = 4; in test_mpam_enable_merge_features()
126 fake_ris2.props.cmax_wd = 4; in test_mpam_enable_merge_features()
[all …]
H A Dmpam_devices.c795 struct mpam_props *props = &ris->props; in mpam_ris_hw_probe() local
805 props->cmax_wd = FIELD_GET(MPAMF_CCAP_IDR_CMAX_WD, ccap_features); in mpam_ris_hw_probe()
806 if (props->cmax_wd && in mpam_ris_hw_probe()
808 mpam_set_feature(mpam_feat_cmax_softlim, props); in mpam_ris_hw_probe()
810 if (props->cmax_wd && in mpam_ris_hw_probe()
812 mpam_set_feature(mpam_feat_cmax_cmax, props); in mpam_ris_hw_probe()
814 if (props->cmax_wd && in mpam_ris_hw_probe()
816 mpam_set_feature(mpam_feat_cmax_cmin, props); in mpam_ris_hw_probe()
818 props->cassoc_wd = FIELD_GET(MPAMF_CCAP_IDR_CASSOC_WD, ccap_features); in mpam_ris_hw_probe()
819 if (props->cassoc_wd && in mpam_ris_hw_probe()
[all …]
/linux/drivers/acpi/x86/
H A Dapple.c31 union acpi_object *props, *newprops; in acpi_extract_apple_properties() local
38 props = acpi_evaluate_dsm_typed(adev->handle, &apple_prp_guid, 1, 0, in acpi_extract_apple_properties()
40 if (!props) in acpi_extract_apple_properties()
43 if (!props->buffer.length) in acpi_extract_apple_properties()
46 if (props->buffer.pointer[0] != 3) { in acpi_extract_apple_properties()
49 props->buffer.length, props->buffer.pointer); in acpi_extract_apple_properties()
53 ACPI_FREE(props); in acpi_extract_apple_properties()
54 props = acpi_evaluate_dsm_typed(adev->handle, &apple_prp_guid, 1, 1, in acpi_extract_apple_properties()
56 if (!props) in acpi_extract_apple_properties()
59 numprops = props->package.count / 2; in acpi_extract_apple_properties()
[all …]
/linux/drivers/video/backlight/
H A Daat2870_bl.c34 val /= bd->props.max_brightness; in aat2870_brightness()
64 if ((brightness < 0) || (bd->props.max_brightness < brightness)) { in aat2870_bl_update_status()
70 bd->props.brightness, bd->props.power, bd->props.state); in aat2870_bl_update_status()
102 struct backlight_properties props; in aat2870_bl_probe() local
125 memset(&props, 0, sizeof(struct backlight_properties)); in aat2870_bl_probe()
127 props.type = BACKLIGHT_RAW; in aat2870_bl_probe()
130 &props); in aat2870_bl_probe()
154 bd->props.max_brightness = pdata->max_brightness; in aat2870_bl_probe()
156 bd->props.max_brightness = 255; in aat2870_bl_probe()
159 bd->props.power = BACKLIGHT_POWER_ON; in aat2870_bl_probe()
[all …]
H A Dktd2801-backlight.c28 struct expresswire_common_props props; member
39 expresswire_power_off(&ktd2801->props); in ktd2801_update_status()
45 expresswire_enable(&ktd2801->props); in ktd2801_update_status()
49 expresswire_write_u8(&ktd2801->props, brightness); in ktd2801_update_status()
71 ktd2801->props.timing = ktd2801_timing; in ktd2801_backlight_probe()
89 ktd2801->props.ctrl_gpio = devm_gpiod_get(dev, "ctrl", GPIOD_OUT_HIGH); in ktd2801_backlight_probe()
90 if (IS_ERR(ktd2801->props.ctrl_gpio)) in ktd2801_backlight_probe()
91 return dev_err_probe(dev, PTR_ERR(ktd2801->props.ctrl_gpio), in ktd2801_backlight_probe()
93 gpiod_set_consumer_name(ktd2801->props.ctrl_gpio, dev_name(dev)); in ktd2801_backlight_probe()
101 bd->props.max_brightness = max_brightness; in ktd2801_backlight_probe()
[all …]
H A Dbacklight.c93 bd->props.state &= ~BL_CORE_FBBLANK; in backlight_notify_blank()
98 bd->props.state |= BL_CORE_FBBLANK; in backlight_notify_blank()
142 return sysfs_emit(buf, "%d\n", bd->props.power); in bl_power_show()
160 if (bd->props.power != power) { in bl_power_store()
161 old_power = bd->props.power; in bl_power_store()
162 bd->props.power = power; in bl_power_store()
165 bd->props.power = old_power; in bl_power_store()
183 return sysfs_emit(buf, "%d\n", bd->props.brightness); in brightness_show()
193 if (brightness > bd->props.max_brightness) in backlight_device_set_brightness()
197 bd->props.brightness = brightness; in backlight_device_set_brightness()
[all …]
H A Dpandora_bl.c41 int brightness = bl->props.brightness; in pandora_backlight_update_status()
45 if (bl->props.power != BACKLIGHT_POWER_ON) in pandora_backlight_update_status()
47 if (bl->props.state & BL_CORE_FBBLANK) in pandora_backlight_update_status()
49 if (bl->props.state & BL_CORE_SUSPENDED) in pandora_backlight_update_status()
110 struct backlight_properties props; in pandora_backlight_probe() local
119 memset(&props, 0, sizeof(props)); in pandora_backlight_probe()
120 props.max_brightness = MAX_USER_VALUE; in pandora_backlight_probe()
121 props.type = BACKLIGHT_RAW; in pandora_backlight_probe()
123 priv, &pandora_backlight_ops, &props); in pandora_backlight_probe()
135 bl->props.brightness = MAX_USER_VALUE; in pandora_backlight_probe()
H A Dgpio_backlight.c51 struct backlight_properties props; in gpio_backlight_probe() local
70 memset(&props, 0, sizeof(props)); in gpio_backlight_probe()
71 props.type = BACKLIGHT_RAW; in gpio_backlight_probe()
72 props.max_brightness = 1; in gpio_backlight_probe()
74 &gpio_backlight_ops, &props); in gpio_backlight_probe()
83 bl->props.power = def_value ? BACKLIGHT_POWER_ON in gpio_backlight_probe()
86 bl->props.power = BACKLIGHT_POWER_OFF; in gpio_backlight_probe()
88 bl->props.power = BACKLIGHT_POWER_ON; in gpio_backlight_probe()
90 bl->props.brightness = 1; in gpio_backlight_probe()
H A Dlp8788_bl.c63 if (bl_dev->props.state & BL_CORE_SUSPENDED) in lp8788_bl_update_status()
64 bl_dev->props.brightness = 0; in lp8788_bl_update_status()
66 lp8788_write_byte(bl->lp, LP8788_BL_BRIGHTNESS, bl_dev->props.brightness); in lp8788_bl_update_status()
79 struct backlight_properties props; in lp8788_backlight_register() local
81 memset(&props, 0, sizeof(struct backlight_properties)); in lp8788_backlight_register()
82 props.type = BACKLIGHT_PLATFORM; in lp8788_backlight_register()
83 props.max_brightness = MAX_BRIGHTNESS; in lp8788_backlight_register()
86 props.brightness = 0; in lp8788_backlight_register()
90 &lp8788_bl_ops, &props); in lp8788_backlight_register()
172 bl_dev->props.brightness = 0; in lp8788_backlight_remove()
/linux/drivers/infiniband/hw/mlx5/
H A Dmad.c598 struct ib_port_attr *props) in mlx5_query_mad_ifc_port() argument
624 props->lid = be16_to_cpup((__be16 *)(out_mad->data + 16)); in mlx5_query_mad_ifc_port()
625 props->lmc = out_mad->data[34] & 0x7; in mlx5_query_mad_ifc_port()
626 props->sm_lid = be16_to_cpup((__be16 *)(out_mad->data + 18)); in mlx5_query_mad_ifc_port()
627 props->sm_sl = out_mad->data[36] & 0xf; in mlx5_query_mad_ifc_port()
628 props->state = out_mad->data[32] & 0xf; in mlx5_query_mad_ifc_port()
629 props->phys_state = out_mad->data[33] >> 4; in mlx5_query_mad_ifc_port()
630 props->port_cap_flags = be32_to_cpup((__be32 *)(out_mad->data + 20)); in mlx5_query_mad_ifc_port()
631 props->gid_tbl_len = out_mad->data[50]; in mlx5_query_mad_ifc_port()
632 props->max_msg_sz = 1 << MLX5_CAP_GEN(mdev, log_max_msg); in mlx5_query_mad_ifc_port()
[all …]
/linux/drivers/hid/
H A Dhid-picolcd_backlight.c31 data->lcd_brightness = bdev->props.brightness & 0x0ff; in picolcd_set_brightness()
32 data->lcd_power = bdev->props.power; in picolcd_set_brightness()
51 struct backlight_properties props; in picolcd_init_backlight() local
60 memset(&props, 0, sizeof(props)); in picolcd_init_backlight()
61 props.type = BACKLIGHT_RAW; in picolcd_init_backlight()
62 props.max_brightness = 0xff; in picolcd_init_backlight()
64 &picolcd_blops, &props); in picolcd_init_backlight()
69 bdev->props.brightness = 0xff; in picolcd_init_backlight()
98 data->backlight->props.power = BACKLIGHT_POWER_OFF; in picolcd_suspend_backlight()
100 data->lcd_power = data->backlight->props.power = bl_power; in picolcd_suspend_backlight()
/linux/drivers/accel/habanalabs/common/
H A Dstate_dump.c272 base_addr = sds->props[SP_SYNC_OBJ_BASE_ADDR] + in hl_state_dump_read_sync_objects()
273 sds->props[SP_NEXT_SYNC_OBJ_ADDR] * index; in hl_state_dump_read_sync_objects()
275 sync_objects = vmalloc(sds->props[SP_SYNC_OBJ_AMOUNT] * sizeof(u32)); in hl_state_dump_read_sync_objects()
279 for (i = 0; i < sds->props[SP_SYNC_OBJ_AMOUNT]; ++i) in hl_state_dump_read_sync_objects()
332 for (i = 0; i < sds->props[SP_SYNC_OBJ_AMOUNT]; ++i) { in hl_state_dump_print_syncs_single_block()
339 sync_object_addr = sds->props[SP_SYNC_OBJ_BASE_ADDR] + in hl_state_dump_print_syncs_single_block()
340 sds->props[SP_NEXT_SYNC_OBJ_ADDR] * index + in hl_state_dump_print_syncs_single_block()
423 for (index = 0; index < sds->props[SP_NUM_CORES]; ++index) { in hl_state_dump_print_syncs()
456 monitors = vmalloc(sds->props[SP_MONITORS_AMOUNT] * in hl_state_dump_alloc_read_sm_block_monitors()
461 base_addr = sds->props[SP_NEXT_SYNC_OBJ_ADDR] * index; in hl_state_dump_alloc_read_sm_block_monitors()
[all …]
/linux/drivers/power/supply/
H A Dmacsmc-power.c650 enum power_supply_property *props; in macsmc_power_probe() local
689 props = devm_kcalloc(dev, MACSMC_MAX_BATT_PROPS, in macsmc_power_probe()
692 if (!props) in macsmc_power_probe()
698 props[nprops++] = POWER_SUPPLY_PROP_STATUS; in macsmc_power_probe()
699 props[nprops++] = POWER_SUPPLY_PROP_PRESENT; in macsmc_power_probe()
700 props[nprops++] = POWER_SUPPLY_PROP_VOLTAGE_NOW; in macsmc_power_probe()
701 props[nprops++] = POWER_SUPPLY_PROP_CURRENT_NOW; in macsmc_power_probe()
702 props[nprops++] = POWER_SUPPLY_PROP_POWER_NOW; in macsmc_power_probe()
703 props[nprops++] = POWER_SUPPLY_PROP_CAPACITY; in macsmc_power_probe()
704 props[nprops++] = POWER_SUPPLY_PROP_CAPACITY_LEVEL; in macsmc_power_probe()
[all …]
/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Doverlay.c49 } props; member
251 if (property == nv_plane->props.colorkey) in nv_set_property()
253 else if (property == nv_plane->props.contrast) in nv_set_property()
255 else if (property == nv_plane->props.brightness) in nv_set_property()
257 else if (property == nv_plane->props.hue) in nv_set_property()
259 else if (property == nv_plane->props.saturation) in nv_set_property()
307 plane->props.colorkey = drm_property_create_range( in nv10_overlay_init()
309 plane->props.contrast = drm_property_create_range( in nv10_overlay_init()
311 plane->props.brightness = drm_property_create_range( in nv10_overlay_init()
313 plane->props.hue = drm_property_create_range( in nv10_overlay_init()
[all …]
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_backlight.c81 int val = bd->props.brightness; in nv40_set_intensity()
98 struct backlight_properties *props, in nv40_backlight_init() argument
107 props->max_brightness = 31; in nv40_backlight_init()
147 ret = bd->props.brightness; in nv50_edp_get_brightness()
188 ret = drm_edp_backlight_set_level(aux, &nv_bl->edp_info, bd->props.brightness); in nv50_edp_set_brightness()
233 struct backlight_properties *props, in nv50_backlight_init() argument
278 props->brightness = current_level; in nv50_backlight_init()
279 props->max_brightness = bl->edp_info.max; in nv50_backlight_init()
286 props->max_brightness = 100; in nv50_backlight_init()
298 struct backlight_properties props = {0}; in nouveau_backlight_init() local
[all …]
/linux/drivers/media/tuners/
H A Dtuner-i2c.h24 static inline int tuner_i2c_xfer_send(struct tuner_i2c_props *props, in tuner_i2c_xfer_send() argument
27 struct i2c_msg msg = { .addr = props->addr, .flags = 0, in tuner_i2c_xfer_send()
29 int ret = i2c_transfer(props->adap, &msg, 1); in tuner_i2c_xfer_send()
34 static inline int tuner_i2c_xfer_recv(struct tuner_i2c_props *props, in tuner_i2c_xfer_recv() argument
37 struct i2c_msg msg = { .addr = props->addr, .flags = I2C_M_RD, in tuner_i2c_xfer_recv()
39 int ret = i2c_transfer(props->adap, &msg, 1); in tuner_i2c_xfer_recv()
44 static inline int tuner_i2c_xfer_send_recv(struct tuner_i2c_props *props, in tuner_i2c_xfer_send_recv() argument
48 struct i2c_msg msg[2] = { { .addr = props->addr, .flags = 0, in tuner_i2c_xfer_send_recv()
50 { .addr = props->addr, .flags = I2C_M_RD, in tuner_i2c_xfer_send_recv()
52 int ret = i2c_transfer(props->adap, msg, 2); in tuner_i2c_xfer_send_recv()
/linux/drivers/gpu/drm/i915/selftests/
H A Dintel_scheduler_helpers.c39 saved->timeslice = engine->props.timeslice_duration_ms; in intel_selftest_modify_policy()
40 saved->preempt_timeout = engine->props.preempt_timeout_ms; in intel_selftest_modify_policy()
54 engine->props.timeslice_duration_ms = REDUCED_TIMESLICE; in intel_selftest_modify_policy()
55 engine->props.preempt_timeout_ms = REDUCED_PREEMPT; in intel_selftest_modify_policy()
59 engine->props.preempt_timeout_ms = 0; in intel_selftest_modify_policy()
83 engine->props.timeslice_duration_ms = saved->timeslice; in intel_selftest_restore_policy()
84 engine->props.preempt_timeout_ms = saved->preempt_timeout; in intel_selftest_restore_policy()
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_crat.c1078 struct kfd_mem_properties *props; in find_subtype_mem() local
1080 list_for_each_entry(props, &dev->mem_props, list) { in find_subtype_mem()
1081 if (props->heap_type == heap_type in find_subtype_mem()
1082 && props->flags == flags in find_subtype_mem()
1083 && props->width == width) in find_subtype_mem()
1084 return props; in find_subtype_mem()
1095 struct kfd_mem_properties *props; in kfd_parse_subtype_mem() local
1133 props = find_subtype_mem(heap_type, flags, width, dev); in kfd_parse_subtype_mem()
1134 if (props) { in kfd_parse_subtype_mem()
1135 props->size_in_bytes += size_in_bytes; in kfd_parse_subtype_mem()
[all …]

12345678910