| /linux/drivers/media/usb/dvb-usb-v2/ |
| H A D | usb_urb.c | 17 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 …]
|
| H A D | dvb_usb_core.c | 29 if (!d->props->download_firmware) { in dvb_usbv2_download_firmware() 45 ret = d->props->download_firmware(d, fw); in dvb_usbv2_download_firmware() 61 if (!d->props->i2c_algo) in dvb_usbv2_i2c_init() 65 d->i2c_adap.algo = d->props->i2c_algo; in dvb_usbv2_i2c_init() 125 if (dvb_usbv2_disable_rc_polling || !d->props->get_rc_config) in dvb_usbv2_remote_init() 129 ret = d->props->get_rc_config(d, &d->rc); in dvb_usbv2_remote_init() 149 dev->driver_name = d->props->driver_name; in dvb_usbv2_remote_init() 230 return usb_urb_initv2(&adap->stream, &adap->props->stream); in dvb_usbv2_adapter_stream_init() 267 if (d->props->get_stream_config) { in dvb_usb_start_feed() 268 memcpy(&stream_props, &adap->props->stream, in dvb_usb_start_feed() [all …]
|
| /linux/drivers/dpll/zl3073x/ |
| H A D | prop.c | 85 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/ |
| H A D | dvb-usb-init.c | 31 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 D | dvb-usb-remote.c | 49 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; in legacy_dvb_usb_getkeycode() 50 unsigned int keymap_size = d->props.rc.legacy.rc_map_size; in legacy_dvb_usb_getkeycode() 72 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; in legacy_dvb_usb_setkeycode() 73 unsigned int keymap_size = d->props.rc.legacy.rc_map_size; in legacy_dvb_usb_setkeycode() 123 if (d->props.rc.legacy.rc_query(d,&event,&state)) { in legacy_dvb_usb_read_remote_control() 187 schedule_delayed_work(&d->rc_query_work,msecs_to_jiffies(d->props.rc.legacy.rc_interval)); in legacy_dvb_usb_read_remote_control() 211 deb_rc("key map size: %d\n", d->props.rc.legacy.rc_map_size); in legacy_dvb_usb_remote_init() 212 for (i = 0; i < d->props.rc.legacy.rc_map_size; i++) { in legacy_dvb_usb_remote_init() 214 d->props.rc.legacy.rc_map_table[i].keycode, i); in legacy_dvb_usb_remote_init() 215 set_bit(d->props.rc.legacy.rc_map_table[i].keycode, input_dev->keybit); in legacy_dvb_usb_remote_init() [all …]
|
| H A D | usb-urb.c | 142 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 D | dvb-usb-dvb.c | 34 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 …]
|
| /linux/drivers/resctrl/ |
| H A D | test_mpam_devices.c | 99 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 …]
|
| /linux/arch/powerpc/platforms/powermac/ |
| H A D | backlight.c | 74 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/infiniband/hw/usnic/ |
| H A D | usnic_ib_verbs.c | 278 struct ib_device_attr *props, in usnic_ib_query_device() argument 292 memset(props, 0, sizeof(*props)); in usnic_ib_query_device() 295 memcpy(&props->sys_image_guid, &gid.global.interface_id, in usnic_ib_query_device() 297 usnic_ib_fw_string_to_u64(&info.fw_version[0], &props->fw_ver); in usnic_ib_query_device() 298 props->max_mr_size = USNIC_UIOM_MAX_MR_SIZE; in usnic_ib_query_device() 299 props->page_size_cap = USNIC_UIOM_PAGE_SIZE; in usnic_ib_query_device() 300 props->vendor_id = PCI_VENDOR_ID_CISCO; in usnic_ib_query_device() 301 props->vendor_part_id = PCI_DEVICE_ID_CISCO_VIC_USPACE_NIC; in usnic_ib_query_device() 302 props->hw_ver = us_ibdev->pdev->subsystem_device; in usnic_ib_query_device() 305 props->max_qp = qp_per_vf * in usnic_ib_query_device() [all …]
|
| /linux/drivers/acpi/x86/ |
| H A D | apple.c | 31 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 D | aat2870_bl.c | 34 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 D | backlight.c | 93 bd->props.state &= ~BL_CORE_FBBLANK; in backlight_notify_blank() 98 bd->props.state |= BL_CORE_FBBLANK; in backlight_notify_blank() 142 return sprintf(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 sprintf(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 D | pandora_bl.c | 41 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 D | gpio_backlight.c | 51 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()
|
| /linux/drivers/infiniband/hw/mlx5/ |
| H A D | mad.c | 598 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/infiniband/hw/cxgb4/ |
| H A D | provider.c | 255 static int c4iw_query_device(struct ib_device *ibdev, struct ib_device_attr *props, in c4iw_query_device() argument 267 addrconf_addr_eui48((u8 *)&props->sys_image_guid, in c4iw_query_device() 269 props->hw_ver = CHELSIO_CHIP_RELEASE(dev->rdev.lldi.adapter_type); in c4iw_query_device() 270 props->fw_ver = dev->rdev.lldi.fw_vers; in c4iw_query_device() 271 props->device_cap_flags = IB_DEVICE_MEM_WINDOW; in c4iw_query_device() 272 props->kernel_cap_flags = IBK_LOCAL_DMA_LKEY; in c4iw_query_device() 274 props->device_cap_flags |= IB_DEVICE_MEM_MGT_EXTENSIONS; in c4iw_query_device() 275 props->page_size_cap = T4_PAGESIZE_MASK; in c4iw_query_device() 276 props->vendor_id = (u32)dev->rdev.lldi.pdev->vendor; in c4iw_query_device() 277 props->vendor_part_id = (u32)dev->rdev.lldi.pdev->device; in c4iw_query_device() [all …]
|
| /linux/drivers/infiniband/hw/mthca/ |
| H A D | mthca_provider.c | 53 static int mthca_query_device(struct ib_device *ibdev, struct ib_device_attr *props, in mthca_query_device() argument 69 memset(props, 0, sizeof *props); in mthca_query_device() 71 props->fw_ver = mdev->fw_ver; in mthca_query_device() 81 props->device_cap_flags = mdev->device_cap_flags; in mthca_query_device() 82 props->vendor_id = be32_to_cpup((__be32 *) (out_mad->data + 36)) & in mthca_query_device() 84 props->vendor_part_id = be16_to_cpup((__be16 *) (out_mad->data + 30)); in mthca_query_device() 85 props->hw_ver = be32_to_cpup((__be32 *) (out_mad->data + 32)); in mthca_query_device() 86 memcpy(&props->sys_image_guid, out_mad->data + 4, 8); in mthca_query_device() 88 props->max_mr_size = ~0ull; in mthca_query_device() 89 props->page_size_cap = mdev->limits.page_size_cap; in mthca_query_device() [all …]
|
| /linux/drivers/accel/habanalabs/common/ |
| H A D | state_dump.c | 272 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/net/ipv4/ |
| H A D | ipcomp.c | 69 t->id.spi = x->props.saddr.a4; in ipcomp_tunnel_create() 72 t->props.family = AF_INET; in ipcomp_tunnel_create() 73 t->props.mode = x->props.mode; in ipcomp_tunnel_create() 74 t->props.saddr.a4 = x->props.saddr.a4; in ipcomp_tunnel_create() 75 t->props.flags = x->props.flags; in ipcomp_tunnel_create() 76 t->props.extra_flags = x->props.extra_flags; in ipcomp_tunnel_create() 106 x->props.saddr.a4, IPPROTO_IPIP, AF_INET); in ipcomp_tunnel_attach() 127 x->props.header_len = 0; in ipcomp4_init_state() 128 switch (x->props.mode) { in ipcomp4_init_state() 132 x->props.header_len += sizeof(struct iphdr); in ipcomp4_init_state() [all …]
|
| /linux/drivers/hid/ |
| H A D | hid-picolcd_backlight.c | 31 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/gpu/drm/nouveau/dispnv04/ |
| H A D | overlay.c | 49 } 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/infiniband/hw/hns/ |
| H A D | hns_roce_main.c | 219 struct ib_device_attr *props, in hns_roce_query_device() argument 224 memset(props, 0, sizeof(*props)); in hns_roce_query_device() 226 props->fw_ver = hr_dev->caps.fw_ver; in hns_roce_query_device() 227 props->sys_image_guid = cpu_to_be64(hr_dev->sys_image_guid); in hns_roce_query_device() 228 props->max_mr_size = (u64)(~(0ULL)); in hns_roce_query_device() 229 props->page_size_cap = hr_dev->caps.page_size_cap; in hns_roce_query_device() 230 props->vendor_id = hr_dev->vendor_id; in hns_roce_query_device() 231 props->vendor_part_id = hr_dev->vendor_part_id; in hns_roce_query_device() 232 props->hw_ver = hr_dev->hw_rev; in hns_roce_query_device() 233 props->max_qp = hr_dev->caps.num_qps; in hns_roce_query_device() [all …]
|
| /linux/drivers/leds/ |
| H A D | led-core.c | 478 struct led_properties *props) in led_parse_fwnode_props() argument 486 ret = fwnode_property_read_string(fwnode, "label", &props->label); in led_parse_fwnode_props() 493 ret = fwnode_property_read_u32(fwnode, "color", &props->color); in led_parse_fwnode_props() 496 else if (props->color >= LED_COLOR_ID_MAX) in led_parse_fwnode_props() 499 props->color_present = true; in led_parse_fwnode_props() 506 ret = fwnode_property_read_string(fwnode, "function", &props->function); in led_parse_fwnode_props() 517 &props->func_enum); in led_parse_fwnode_props() 523 props->func_enum_present = true; in led_parse_fwnode_props() 530 struct led_properties props = {}; in led_compose_name() local 538 led_parse_fwnode_props(dev, fwnode, &props); in led_compose_name() [all …]
|
| /linux/drivers/infiniband/sw/rdmavt/ |
| H A D | vt.c | 78 struct ib_device_attr *props, in rvt_query_device() argument 88 *props = rdi->dparms.props; in rvt_query_device() 120 struct ib_port_attr *props) in rvt_query_port() argument 128 props->sm_lid = rvp->sm_lid; in rvt_query_port() 129 props->sm_sl = rvp->sm_sl; in rvt_query_port() 130 props->port_cap_flags = rvp->port_cap_flags; in rvt_query_port() 131 props->max_msg_sz = 0x80000000; in rvt_query_port() 132 props->pkey_tbl_len = rvt_get_npkeys(rdi); in rvt_query_port() 133 props->bad_pkey_cntr = rvp->pkey_violations; in rvt_query_port() 134 props->qkey_viol_cntr = rvp->qkey_violations; in rvt_query_port() [all …]
|