/linux-master/drivers/infiniband/sw/rdmavt/ |
H A D | vt.c | 78 struct ib_device_attr *props, 86 * Return rvt_dev_info.dparms.props contents 88 *props = rdi->dparms.props; 115 * @props: structure to hold returned properties 120 struct ib_port_attr *props) 127 /* props being zeroed by the caller, avoid zeroing it here */ 128 props->sm_lid = rvp->sm_lid; 129 props->sm_sl = rvp->sm_sl; 130 props 77 rvt_query_device(struct ib_device *ibdev, struct ib_device_attr *props, struct ib_udata *uhw) argument 119 rvt_query_port(struct ib_device *ibdev, u32 port_num, struct ib_port_attr *props) argument 151 rvt_modify_port(struct ib_device *ibdev, u32 port_num, int port_modify_mask, struct ib_port_modify *props) argument [all...] |
/linux-master/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, argument 69 memset(props, 0, sizeof *props); 71 props->fw_ver = mdev->fw_ver; 81 props->device_cap_flags = mdev->device_cap_flags; 82 props->vendor_id = be32_to_cpup((__be32 *) (out_mad->data + 36)) & 84 props->vendor_part_id = be16_to_cpup((__be16 *) (out_mad->data + 30)); 85 props->hw_ver = be32_to_cpup((__be32 *) (out_mad->data + 32)); 86 memcpy(&props->sys_image_guid, out_mad->data + 4, 8); 88 props 121 mthca_query_port(struct ib_device *ibdev, u32 port, struct ib_port_attr *props) argument 170 mthca_modify_device(struct ib_device *ibdev, int mask, struct ib_device_modify *props) argument 188 mthca_modify_port(struct ib_device *ibdev, u32 port, int port_modify_mask, struct ib_port_modify *props) argument [all...] |
/linux-master/drivers/accel/habanalabs/common/ |
H A D | state_dump.c | 272 base_addr = sds->props[SP_SYNC_OBJ_BASE_ADDR] + 273 sds->props[SP_NEXT_SYNC_OBJ_ADDR] * index; 275 sync_objects = vmalloc(sds->props[SP_SYNC_OBJ_AMOUNT] * sizeof(u32)); 279 for (i = 0; i < sds->props[SP_SYNC_OBJ_AMOUNT]; ++i) 332 for (i = 0; i < sds->props[SP_SYNC_OBJ_AMOUNT]; ++i) { 339 sync_object_addr = sds->props[SP_SYNC_OBJ_BASE_ADDR] + 340 sds->props[SP_NEXT_SYNC_OBJ_ADDR] * index + 423 for (index = 0; index < sds->props[SP_NUM_CORES]; ++index) { 456 monitors = vmalloc(sds->props[SP_MONITORS_AMOUNT] * 461 base_addr = sds->props[SP_NEXT_SYNC_OBJ_ADD [all...] |
/linux-master/drivers/video/backlight/ |
H A D | backlight.c | 124 bd->props.state &= ~BL_CORE_FBBLANK; 130 bd->props.state |= BL_CORE_FBBLANK; 188 return sprintf(buf, "%d\n", bd->props.power); 206 if (bd->props.power != power) { 207 old_power = bd->props.power; 208 bd->props.power = power; 211 bd->props.power = old_power; 229 return sprintf(buf, "%d\n", bd->props.brightness); 239 if (brightness > bd->props.max_brightness) 243 bd->props 411 backlight_device_register(const char *name, struct device *parent, void *devdata, const struct backlight_ops *ops, const struct backlight_properties *props) argument 620 devm_backlight_device_register(struct device *dev, const char *name, struct device *parent, void *devdata, const struct backlight_ops *ops, const struct backlight_properties *props) argument [all...] |
H A D | kb3886_bl.c | 135 struct backlight_properties props; local 142 memset(&props, 0, sizeof(struct backlight_properties)); 143 props.type = BACKLIGHT_RAW; 144 props.max_brightness = machinfo->max_intensity; 148 &props); 154 kb3886_backlight_device->props.power = FB_BLANK_UNBLANK; 155 kb3886_backlight_device->props.brightness = machinfo->default_intensity;
|
H A D | da903x_bl.c | 101 struct backlight_properties props; local 130 memset(&props, 0, sizeof(props)); 131 props.type = BACKLIGHT_RAW; 132 props.max_brightness = max_brightness; 135 &da903x_backlight_ops, &props); 141 bl->props.brightness = max_brightness;
|
H A D | wm831x_bl.c | 117 struct backlight_properties props; local 182 memset(&props, 0, sizeof(props)); 183 props.type = BACKLIGHT_RAW; 184 props.max_brightness = max_isel; 186 data, &wm831x_backlight_ops, &props); 192 bl->props.brightness = max_isel;
|
H A D | lm3639_bl.c | 111 pdata->pwm_set_intensity(bl->props.brightness, 116 return bl->props.brightness; 120 ret = regmap_write(pchip->regmap, REG_BL_CONF_4, bl->props.brightness); 123 ret = regmap_write(pchip->regmap, REG_BL_CONF_3, bl->props.brightness); 127 if (!bl->props.brightness) 134 return bl->props.brightness; 137 return bl->props.brightness; 149 bl->props.brightness = pdata->pwm_get_intensity(); 153 return bl->props.brightness; 165 bl->props 304 struct backlight_properties props; local [all...] |
H A D | ktz8866.c | 130 struct backlight_properties props; local 154 memset(&props, 0, sizeof(props)); 155 props.type = BACKLIGHT_RAW; 156 props.max_brightness = MAX_BRIGHTNESS; 157 props.brightness = DEFAULT_BRIGHTNESS; 158 props.scale = BACKLIGHT_SCALE_LINEAR; 161 &client->dev, ktz, &ktz8866_backlight_ops, &props); 177 backlight_dev->props.brightness = 0;
|
H A D | bd6107.c | 120 struct backlight_properties props; local 153 memset(&props, 0, sizeof(props)); 154 props.type = BACKLIGHT_RAW; 155 props.max_brightness = 128; 156 props.brightness = clamp_t(unsigned int, pdata->def_value, 0, 157 props.max_brightness); 162 &bd6107_backlight_ops, &props); 178 backlight->props.brightness = 0;
|
H A D | mt6370-backlight.c | 130 struct backlight_properties *props) 201 props->max_brightness = min_t(u32, brightness, priv->def_max_brightness); 205 brightness = props->max_brightness; 207 props->brightness = min_t(u32, brightness, props->max_brightness); 212 props->scale = BACKLIGHT_SCALE_NON_LINEAR; 214 props->scale = BACKLIGHT_SCALE_LINEAR; 277 struct backlight_properties props = { local 304 ret = mt6370_init_backlight_properties(priv, &props); 310 &mt6370_bl_ops, &props); 129 mt6370_init_backlight_properties(struct mt6370_priv *priv, struct backlight_properties *props) argument [all...] |
/linux-master/net/ipv6/ |
H A D | ipcomp6.c | 84 t->id.spi = xfrm6_tunnel_alloc_spi(net, (xfrm_address_t *)&x->props.saddr); 90 t->props.family = AF_INET6; 91 t->props.mode = x->props.mode; 92 memcpy(t->props.saddr.a6, x->props.saddr.a6, sizeof(struct in6_addr)); 119 spi = xfrm6_tunnel_spi_lookup(net, (xfrm_address_t *)&x->props.saddr); 144 x->props.header_len = 0; 145 switch (x->props.mode) { 149 x->props [all...] |
/linux-master/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | overlay.c | 49 } props; member in struct:nouveau_plane 251 if (property == nv_plane->props.colorkey) 253 else if (property == nv_plane->props.contrast) 255 else if (property == nv_plane->props.brightness) 257 else if (property == nv_plane->props.hue) 259 else if (property == nv_plane->props.saturation) 307 plane->props.colorkey = drm_property_create_range( 309 plane->props.contrast = drm_property_create_range( 311 plane->props.brightness = drm_property_create_range( 313 plane->props [all...] |
/linux-master/drivers/infiniband/hw/hns/ |
H A D | hns_roce_main.c | 166 struct ib_device_attr *props, 171 memset(props, 0, sizeof(*props)); 173 props->fw_ver = hr_dev->caps.fw_ver; 174 props->sys_image_guid = cpu_to_be64(hr_dev->sys_image_guid); 175 props->max_mr_size = (u64)(~(0ULL)); 176 props->page_size_cap = hr_dev->caps.page_size_cap; 177 props->vendor_id = hr_dev->vendor_id; 178 props->vendor_part_id = hr_dev->vendor_part_id; 179 props 165 hns_roce_query_device(struct ib_device *ib_dev, struct ib_device_attr *props, struct ib_udata *uhw) argument 221 hns_roce_query_port(struct ib_device *ib_dev, u32 port_num, struct ib_port_attr *props) argument 288 hns_roce_modify_device(struct ib_device *ib_dev, int mask, struct ib_device_modify *props) argument [all...] |
/linux-master/drivers/misc/mei/ |
H A D | debugfs.c | 42 me_cl->props.fixed_address, 43 &me_cl->props.protocol_name, 44 me_cl->props.max_number_of_connections, 45 me_cl->props.max_msg_length, 46 me_cl->props.single_recv_buf, 48 me_cl->props.vt_supported);
|
H A D | client.h | 57 return &me_cl->props.protocol_name; 69 return me_cl->props.protocol_version; 81 return me_cl->props.max_number_of_connections; 93 return me_cl->props.fixed_address; 105 return me_cl->props.vt_supported == 1; 117 return me_cl->props.max_msg_length; 189 return cl->me_cl ? cl->me_cl->props.max_msg_length : 0; 201 return cl->me_cl && cl->me_cl->props.fixed_address; 214 return cl->me_cl->props.single_recv_buf;
|
/linux-master/drivers/infiniband/hw/mlx5/ |
H A D | main.c | 476 struct ib_port_attr *props) 500 /* Possible bad flows are checked before filling out props so in case 515 props->active_width = IB_WIDTH_4X; 516 props->active_speed = IB_SPEED_QDR; 518 translate_eth_proto_oper(eth_prot_oper, &props->active_speed, 519 &props->active_width, ext); 524 props->port_cap_flags |= IB_PORT_CM_SUP; 525 props->ip_gids = true; 526 props->gid_tbl_len = MLX5_CAP_ROCE(dev->mdev, 529 props 475 mlx5_query_port_roce(struct ib_device *device, u32 port_num, struct ib_port_attr *props) argument 673 get_atomic_caps(struct mlx5_ib_dev *dev, u8 atomic_size_qp, struct ib_device_attr *props) argument 695 get_atomic_caps_qp(struct mlx5_ib_dev *dev, struct ib_device_attr *props) argument 831 mlx5_ib_query_device(struct ib_device *ibdev, struct ib_device_attr *props, struct ib_udata *uhw) argument 1330 mlx5_query_hca_port(struct ib_device *ibdev, u32 port, struct ib_port_attr *props) argument 1398 mlx5_ib_query_port(struct ib_device *ibdev, u32 port, struct ib_port_attr *props) argument 1443 mlx5_ib_rep_query_port(struct ib_device *ibdev, u32 port, struct ib_port_attr *props) argument 1520 mlx5_ib_modify_device(struct ib_device *ibdev, int mask, struct ib_device_modify *props) argument 1583 mlx5_ib_modify_port(struct ib_device *ibdev, u32 port, int mask, struct ib_port_modify *props) argument [all...] |
/linux-master/drivers/power/supply/ |
H A D | wm97xx_battery.c | 159 int props = 1; /* POWER_SUPPLY_PROP_PRESENT */ local 187 props++; /* POWER_SUPPLY_PROP_STATUS */ 191 props++; /* POWER_SUPPLY_PROP_TECHNOLOGY */ 193 props++; /* POWER_SUPPLY_PROP_TEMP */ 195 props++; /* POWER_SUPPLY_PROP_VOLTAGE_NOW */ 197 props++; /* POWER_SUPPLY_PROP_VOLTAGE_MAX */ 199 props++; /* POWER_SUPPLY_PROP_VOLTAGE_MIN */ 201 prop = kcalloc(props, sizeof(*prop), GFP_KERNEL); 232 bat_psy_desc.num_properties = props;
|
/linux-master/include/linux/iio/afe/ |
H A D | rescale.h | 17 int (*props)(struct device *dev, struct rescale *rescale); member in struct:rescale_cfg
|
/linux-master/drivers/regulator/ |
H A D | rtmv20-regulator.c | 207 } props[] = { local 237 for (i = 0; i < ARRAY_SIZE(props); i++) { 241 int significant_bit = fls(props[i].mask); 242 int shift = ffs(props[i].mask) - 1; 244 if (props[i].max > 1) { 245 ret = device_property_read_u32(priv->dev, props[i].name, &temp); 247 temp = props[i].def; 249 temp = device_property_read_bool(priv->dev, props[i].name); 251 temp = clamp_to_selector(temp, props[i].min, props[ [all...] |
/linux-master/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_crat.c | 1077 struct kfd_mem_properties *props; local 1079 list_for_each_entry(props, &dev->mem_props, list) { 1080 if (props->heap_type == heap_type 1081 && props->flags == flags 1082 && props->width == width) 1083 return props; 1094 struct kfd_mem_properties *props; local 1132 props = find_subtype_mem(heap_type, flags, width, dev); 1133 if (props) { 1134 props 1163 struct kfd_cache_properties *props; local 1232 struct kfd_iolink_properties *props = NULL, *props2; local [all...] |
/linux-master/drivers/media/usb/dvb-usb/ |
H A D | dvb-usb-common.h | 30 const struct dvb_usb_device_properties *props); 34 extern int usb_urb_init(struct usb_data_stream *stream, struct usb_data_stream_properties *props);
|
/linux-master/drivers/infiniband/hw/usnic/ |
H A D | usnic_ib_verbs.h | 42 struct ib_device_attr *props, 45 struct ib_port_attr *props);
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_blend.c | 276 static const struct drm_prop_enum_list props[] = { local 291 props, ARRAY_SIZE(props), 576 static const struct drm_prop_enum_list props[] = { local 596 for (i = 0; i < ARRAY_SIZE(props); i++) { 599 if (!(BIT(props[i].type) & supported_modes)) 602 ret = drm_property_add_enum(prop, props[i].type, 603 props[i].name);
|
/linux-master/drivers/platform/x86/intel/ |
H A D | oaktrail.c | 216 u8 percent = (u8) b->props.brightness; 234 struct backlight_properties props; local 236 memset(&props, 0, sizeof(struct backlight_properties)); 237 props.type = BACKLIGHT_PLATFORM; 238 props.max_brightness = OT_EC_BL_BRIGHTNESS_MAX; 242 &props); 252 bd->props.brightness = get_backlight_brightness(bd); 253 bd->props.power = FB_BLANK_UNBLANK;
|