Home
last modified time | relevance | path

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

12345678910>>...31

/openbmc/linux/drivers/media/usb/dvb-usb-v2/
H A Dusb_urb.c96 if (props) { in usb_urb_submitv2()
153 stream->props.endpoint), in usb_urb_alloc_bulk_urbs()
187 stream->props.endpoint); in usb_urb_alloc_isoc_urbs()
255 if (!props) in usb_urb_reconfig()
262 buf_size = props->u.isoc.framesize * props->u.isoc.framesperurb; in usb_urb_reconfig()
277 if (stream->props.type == props->type && in usb_urb_reconfig()
278 stream->props.count == props->count && in usb_urb_reconfig()
279 stream->props.endpoint == props->endpoint) { in usb_urb_reconfig()
297 memcpy(&stream->props, props, sizeof(*props)); in usb_urb_reconfig()
311 if (!stream || !props) in usb_urb_initv2()
[all …]
H A Ddvb_usb_core.c61 if (!d->props->i2c_algo) in dvb_usbv2_i2c_init()
761 adap->props = &d->props->adapter[i]; in dvb_usbv2_adapter_init()
870 if (d->props->init) { in dvb_usbv2_init()
871 ret = d->props->init(d); in dvb_usbv2_init()
918 d->props = driver_info->props; in dvb_usbv2_probe()
939 if (d->props->probe) { in dvb_usbv2_probe()
994 if (d->props->disconnect) in dvb_usbv2_probe()
1015 if (d->props->exit) in dvb_usbv2_disconnect()
1016 d->props->exit(d); in dvb_usbv2_disconnect()
1111 if (d->props->init) in dvb_usbv2_reset_resume()
[all …]
/openbmc/linux/drivers/media/usb/dvb-usb/
H A Ddvb-usb-init.c36 memcpy(&adap->props, &d->props.adapter[n], sizeof(struct dvb_usb_adapter_properties)); in dvb_usb_adapter_init()
39 struct dvb_usb_adapter_fe_properties *props = &adap->props.fe[o]; in dvb_usb_adapter_init() local
65 if (props->size_of_priv > 0) { in dvb_usb_adapter_init()
149 d->props.priv_destroy(d); in dvb_usb_exit()
174 ret = d->props.priv_init(d); in dvb_usb_init()
202 d->props.priv_destroy(d); in dvb_usb_init()
224 desc = &props->devices[i]; in dvb_usb_find_device()
237 desc = &props->devices[i]; in dvb_usb_find_device()
244 props->identify_state(udev, props, &desc, cold); in dvb_usb_find_device()
258 if (d->props.power_ctrl) in dvb_usb_device_power_ctrl()
[all …]
H A Ddvb-usb-remote.c261 err = d->props.rc.core.rc_query(d); in dvb_usb_read_remote_control()
279 dev->map_name = d->props.rc.core.rc_codes; in rc_core_dvb_usb_remote_init()
298 if (!d->props.rc.core.rc_query || d->props.rc.core.bulk_mode) in rc_core_dvb_usb_remote_init()
304 rc_interval = d->props.rc.core.rc_interval; in rc_core_dvb_usb_remote_init()
320 if (d->props.rc.legacy.rc_map_table && d->props.rc.legacy.rc_query) in dvb_usb_remote_init()
321 d->props.rc.mode = DVB_RC_LEGACY; in dvb_usb_remote_init()
322 else if (d->props.rc.core.rc_codes) in dvb_usb_remote_init()
323 d->props.rc.mode = DVB_RC_CORE; in dvb_usb_remote_init()
331 if (d->props.rc.legacy.rc_interval < 40) in dvb_usb_remote_init()
334 if (d->props.rc.mode == DVB_RC_LEGACY) in dvb_usb_remote_init()
[all …]
H A Dusb-urb.c143 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()
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()
196 urb->interval = stream->props.u.isoc.interval; in usb_isoc_urb_init()
205 frame_offset += stream->props.u.isoc.framesize; in usb_isoc_urb_init()
215 if (stream == NULL || props == NULL) in usb_urb_init()
218 memcpy(&stream->props, props, sizeof(*props)); in usb_urb_init()
[all …]
/openbmc/linux/arch/powerpc/platforms/powermac/
H A Dbacklight.c110 props = &pmac_backlight->props; in pmac_backlight_key_worker()
121 props->brightness = brightness; in pmac_backlight_key_worker()
148 props = &pmac_backlight->props; in __pmac_backlight_set_legacy_brightness()
150 (props->max_brightness + 1) / in __pmac_backlight_set_legacy_brightness()
153 if (props->brightness > props->max_brightness) in __pmac_backlight_set_legacy_brightness()
154 props->brightness = props->max_brightness; in __pmac_backlight_set_legacy_brightness()
155 else if (props->brightness < 0) in __pmac_backlight_set_legacy_brightness()
156 props->brightness = 0; in __pmac_backlight_set_legacy_brightness()
197 props = &pmac_backlight->props; in pmac_backlight_get_legacy_brightness()
199 result = props->brightness * in pmac_backlight_get_legacy_brightness()
[all …]
/openbmc/linux/include/sound/
H A Dsimple_card_utils.h84 #define simple_props_to_dlc_cpu(props, i) ((props)->cpus + i) argument
85 #define simple_props_to_dlc_codec(props, i) ((props)->codecs + i) argument
86 #define simple_props_to_dlc_platform(props, i) ((props)->platforms + i) argument
88 #define simple_props_to_dai_cpu(props, i) ((props)->cpu_dai + i) argument
89 #define simple_props_to_dai_codec(props, i) ((props)->codec_dai + i) argument
90 #define simple_props_to_codec_conf(props, i) ((props)->codec_conf + i) argument
94 ((i) < (props)->num.cpus) && \
110 (props)->codec_conf && \
261 if (props->adata.convert_rate) in asoc_simple_debug_info()
263 if (props->adata.convert_channels) in asoc_simple_debug_info()
[all …]
/openbmc/linux/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_verbs.c66 struct ib_device_attr *props, in pvrdma_query_device() argument
97 props->atomic_cap = in pvrdma_query_device()
101 props->masked_atomic_cap = props->atomic_cap; in pvrdma_query_device()
129 struct ib_port_attr *props) in pvrdma_query_port() argument
155 props->port_cap_flags = in pvrdma_query_port()
158 props->ip_gids = true; in pvrdma_query_port()
163 props->lid = resp->attrs.lid; in pvrdma_query_port()
164 props->sm_lid = resp->attrs.sm_lid; in pvrdma_query_port()
165 props->lmc = resp->attrs.lmc; in pvrdma_query_port()
167 props->sm_sl = resp->attrs.sm_sl; in pvrdma_query_port()
[all …]
/openbmc/qemu/tests/qtest/
H A Dnuma-test.c97 QDict *cpu, *props; in test_query_cpus() local
105 props = qdict_get_qdict(cpu, "props"); in test_query_cpus()
107 node = qdict_get_int(props, "node-id"); in test_query_cpus()
139 QDict *cpu, *props; in pc_numa_cpu() local
144 props = qdict_get_qdict(cpu, "props"); in pc_numa_cpu()
147 node = qdict_get_int(props, "node-id"); in pc_numa_cpu()
192 QDict *cpu, *props; in spapr_numa_cpu() local
197 props = qdict_get_qdict(cpu, "props"); in spapr_numa_cpu()
236 QDict *cpu, *props; in aarch64_numa_cpu() local
241 props = qdict_get_qdict(cpu, "props"); in aarch64_numa_cpu()
[all …]
/openbmc/linux/drivers/infiniband/hw/usnic/
H A Dusnic_ib_verbs.c292 memset(props, 0, sizeof(*props)); in usnic_ib_query_device()
315 props->max_pkeys = 0; in usnic_ib_query_device()
317 props->masked_atomic_cap = props->atomic_cap; in usnic_ib_query_device()
321 props->max_srq = 0; in usnic_ib_query_device()
322 props->max_srq_wr = 0; in usnic_ib_query_device()
354 props->lid = 0; in usnic_ib_query_port()
355 props->lmc = 1; in usnic_ib_query_port()
356 props->sm_lid = 0; in usnic_ib_query_port()
357 props->sm_sl = 0; in usnic_ib_query_port()
364 props->phys_state = in usnic_ib_query_port()
[all …]
/openbmc/qemu/target/i386/
H A Dcpu-sysemu.c45 static const char *props[] = { in x86_cpu_static_props() local
63 for (i = 0; props[i]; i++) { in x86_cpu_static_props()
64 qdict_put_null(d, props[i]); in x86_cpu_static_props()
87 qdict_put_obj(props, prop, value); in x86_cpu_expand_prop()
136 for (prop = qdict_first(props); prop; prop = qdict_next(props, prop)) { in object_apply_props()
158 if (props) { in x86_cpu_from_model()
187 QDict *props = NULL; in qmp_query_cpu_model_expansion() local
196 props = qdict_new(); in qmp_query_cpu_model_expansion()
198 ret->model->props = QOBJECT(props); in qmp_query_cpu_model_expansion()
204 x86_cpu_to_dict(xc, props); in qmp_query_cpu_model_expansion()
[all …]
/openbmc/linux/drivers/video/backlight/
H A Daat2870_bl.c35 val /= bd->props.max_brightness; in aat2870_brightness()
71 bd->props.brightness, bd->props.power, bd->props.state); in aat2870_bl_update_status()
109 struct backlight_properties props; in aat2870_bl_probe() local
134 props.type = BACKLIGHT_RAW; in aat2870_bl_probe()
137 &props); in aat2870_bl_probe()
161 bd->props.max_brightness = pdata->max_brightness; in aat2870_bl_probe()
163 bd->props.max_brightness = 255; in aat2870_bl_probe()
166 bd->props.power = FB_BLANK_UNBLANK; in aat2870_bl_probe()
167 bd->props.brightness = bd->props.max_brightness; in aat2870_bl_probe()
186 bd->props.power = FB_BLANK_POWERDOWN; in aat2870_bl_remove()
[all …]
H A Domap1_bl.c95 if (bl->current_intensity != dev->props.brightness) { in omapbl_update_status()
97 omapbl_send_intensity(dev->props.brightness); in omapbl_update_status()
98 bl->current_intensity = dev->props.brightness; in omapbl_update_status()
101 if (dev->props.fb_blank != bl->powermode) in omapbl_update_status()
102 omapbl_set_power(dev, dev->props.fb_blank); in omapbl_update_status()
121 struct backlight_properties props; in omapbl_probe() local
135 props.type = BACKLIGHT_RAW; in omapbl_probe()
136 props.max_brightness = OMAPBL_MAX_INTENSITY; in omapbl_probe()
138 bl, &omapbl_ops, &props); in omapbl_probe()
152 dev->props.fb_blank = FB_BLANK_UNBLANK; in omapbl_probe()
[all …]
H A Dbacklight.c128 bd->props.fb_blank = fb_blank; in fb_notifier_callback()
204 if (bd->props.power != power) { in bl_power_store()
205 old_power = bd->props.power; in bl_power_store()
206 bd->props.power = power; in bl_power_store()
209 bd->props.power = old_power; in bl_power_store()
241 bd->props.brightness = brightness; in backlight_device_set_brightness()
428 if (props) { in backlight_device_register()
429 memcpy(&new_bd->props, props, in backlight_device_register()
431 if (props->type <= 0 || props->type >= BACKLIGHT_TYPE_MAX) { in backlight_device_register()
487 if (bd->props.type == type) { in backlight_device_get_by_type()
[all …]
H A Dpandora_bl.c42 int brightness = bl->props.brightness; in pandora_backlight_update_status()
46 if (bl->props.power != FB_BLANK_UNBLANK) in pandora_backlight_update_status()
48 if (bl->props.state & BL_CORE_FBBLANK) in pandora_backlight_update_status()
50 if (bl->props.state & BL_CORE_SUSPENDED) in pandora_backlight_update_status()
111 struct backlight_properties props; in pandora_backlight_probe() local
122 memset(&props, 0, sizeof(props)); in pandora_backlight_probe()
123 props.max_brightness = MAX_USER_VALUE; in pandora_backlight_probe()
124 props.type = BACKLIGHT_RAW; in pandora_backlight_probe()
126 priv, &pandora_backlight_ops, &props); in pandora_backlight_probe()
138 bl->props.brightness = MAX_USER_VALUE; in pandora_backlight_probe()
H A Dgpio_backlight.c52 struct backlight_properties props; in gpio_backlight_probe() local
75 memset(&props, 0, sizeof(props)); in gpio_backlight_probe()
76 props.type = BACKLIGHT_RAW; in gpio_backlight_probe()
77 props.max_brightness = 1; in gpio_backlight_probe()
79 &gpio_backlight_ops, &props); in gpio_backlight_probe()
88 bl->props.power = def_value ? FB_BLANK_UNBLANK in gpio_backlight_probe()
91 bl->props.power = FB_BLANK_POWERDOWN; in gpio_backlight_probe()
93 bl->props.power = FB_BLANK_UNBLANK; in gpio_backlight_probe()
95 bl->props.brightness = 1; in gpio_backlight_probe()
/openbmc/linux/drivers/acpi/x86/
H A Dapple.c31 union acpi_object *props, *newprops; in acpi_extract_apple_properties() local
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()
56 if (!props) in acpi_extract_apple_properties()
59 numprops = props->package.count / 2; in acpi_extract_apple_properties()
69 union acpi_object *key = &props->package.elements[i * 2]; in acpi_extract_apple_properties()
107 union acpi_object *key = &props->package.elements[i * 2]; in acpi_extract_apple_properties()
[all …]
/openbmc/qemu/hw/core/
H A Dmachine.c786 if (props->has_core_id && !slot->props.has_core_id) { in machine_set_cpu_numa_node()
801 if (props->has_die_id && !slot->props.has_die_id) { in machine_set_cpu_numa_node()
807 if (props->has_thread_id && props->thread_id != slot->props.thread_id) { in machine_set_cpu_numa_node()
811 if (props->has_core_id && props->core_id != slot->props.core_id) { in machine_set_cpu_numa_node()
816 props->cluster_id != slot->props.cluster_id) { in machine_set_cpu_numa_node()
820 if (props->has_die_id && props->die_id != slot->props.die_id) { in machine_set_cpu_numa_node()
824 if (props->has_socket_id && props->socket_id != slot->props.socket_id) { in machine_set_cpu_numa_node()
832 slot->props.node_id != props->node_id) { in machine_set_cpu_numa_node()
840 slot->props.node_id = props->node_id; in machine_set_cpu_numa_node()
841 slot->props.has_node_id = props->has_node_id; in machine_set_cpu_numa_node()
[all …]
/openbmc/linux/include/linux/
H A Dbacklight.h284 struct backlight_properties props; member
368 bd->props.power = FB_BLANK_UNBLANK; in backlight_enable()
369 bd->props.fb_blank = FB_BLANK_UNBLANK; in backlight_enable()
370 bd->props.state &= ~BL_CORE_FBBLANK; in backlight_enable()
384 bd->props.power = FB_BLANK_POWERDOWN; in backlight_disable()
385 bd->props.fb_blank = FB_BLANK_POWERDOWN; in backlight_disable()
386 bd->props.state |= BL_CORE_FBBLANK; in backlight_disable()
405 return bd->props.power != FB_BLANK_UNBLANK || in backlight_is_blank()
406 bd->props.fb_blank != FB_BLANK_UNBLANK || in backlight_is_blank()
426 return bd->props.brightness; in backlight_get_brightness()
[all …]
/openbmc/linux/net/ipv4/
H A Dipcomp.c67 t->id.spi = x->props.saddr.a4; in ipcomp_tunnel_create()
70 t->props.family = AF_INET; in ipcomp_tunnel_create()
71 t->props.mode = x->props.mode; in ipcomp_tunnel_create()
72 t->props.saddr.a4 = x->props.saddr.a4; in ipcomp_tunnel_create()
73 t->props.flags = x->props.flags; in ipcomp_tunnel_create()
74 t->props.extra_flags = x->props.extra_flags; in ipcomp_tunnel_create()
104 x->props.saddr.a4, IPPROTO_IPIP, AF_INET); in ipcomp_tunnel_attach()
125 x->props.header_len = 0; in ipcomp4_init_state()
126 switch (x->props.mode) { in ipcomp4_init_state()
130 x->props.header_len += sizeof(struct iphdr); in ipcomp4_init_state()
[all …]
/openbmc/linux/drivers/hid/
H A Dhid-picolcd_backlight.c32 data->lcd_brightness = bdev->props.brightness & 0x0ff; in picolcd_set_brightness()
33 data->lcd_power = bdev->props.power; in picolcd_set_brightness()
57 struct backlight_properties props; in picolcd_init_backlight() local
66 memset(&props, 0, sizeof(props)); in picolcd_init_backlight()
67 props.type = BACKLIGHT_RAW; in picolcd_init_backlight()
68 props.max_brightness = 0xff; in picolcd_init_backlight()
70 &picolcd_blops, &props); in picolcd_init_backlight()
75 bdev->props.brightness = 0xff; in picolcd_init_backlight()
104 data->backlight->props.power = FB_BLANK_POWERDOWN; in picolcd_suspend_backlight()
106 data->lcd_power = data->backlight->props.power = bl_power; in picolcd_suspend_backlight()
/openbmc/linux/drivers/infiniband/hw/cxgb4/
H A Dprovider.c279 props->max_mr_size = T4_MAX_MR_SIZE; in c4iw_query_device()
287 props->max_sge_rd = 1; in c4iw_query_device()
291 props->max_qp_init_rd_atom = props->max_qp_rd_atom; in c4iw_query_device()
295 props->max_pd = T4_MAX_NUM_PD; in c4iw_query_device()
296 props->local_ca_ack_delay = 0; in c4iw_query_device()
297 props->max_fast_reg_page_list_len = in c4iw_query_device()
304 struct ib_port_attr *props) in c4iw_query_port() argument
309 &props->active_width); in c4iw_query_port()
311 props->port_cap_flags = in c4iw_query_port()
317 props->gid_tbl_len = 1; in c4iw_query_port()
[all …]
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dmad.c545 struct ib_port_attr *props) in mlx5_query_mad_ifc_port() argument
572 props->lmc = out_mad->data[34] & 0x7; in mlx5_query_mad_ifc_port()
574 props->sm_sl = out_mad->data[36] & 0xf; in mlx5_query_mad_ifc_port()
578 props->gid_tbl_len = out_mad->data[50]; in mlx5_query_mad_ifc_port()
592 props->port_cap_flags2 = in mlx5_query_mad_ifc_port()
605 props->active_speed = 16; /* FDR */ in mlx5_query_mad_ifc_port()
608 props->active_speed = 32; /* EDR */ in mlx5_query_mad_ifc_port()
613 props->active_speed = IB_SPEED_HDR; in mlx5_query_mad_ifc_port()
618 props->active_speed = IB_SPEED_NDR; in mlx5_query_mad_ifc_port()
624 if (props->active_speed == 4) { in mlx5_query_mad_ifc_port()
[all …]
/openbmc/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()
340 sds->props[SP_NEXT_SYNC_OBJ_ADDR] * index + in hl_state_dump_print_syncs_single_block()
614 n_fences = sds->props[SP_NUM_OF_TPC_ENGINES]; in hl_state_dump_print_engine_fences()
615 base_addr = sds->props[SP_TPC0_CMDQ]; in hl_state_dump_print_engine_fences()
616 next_fence = sds->props[SP_NEXT_TPC]; in hl_state_dump_print_engine_fences()
620 base_addr = sds->props[SP_MME_CMDQ]; in hl_state_dump_print_engine_fences()
621 next_fence = sds->props[SP_NEXT_MME]; in hl_state_dump_print_engine_fences()
625 base_addr = sds->props[SP_DMA_CMDQ]; in hl_state_dump_print_engine_fences()
635 sds->props[SP_FENCE0_CNT_OFFSET], in hl_state_dump_print_engine_fences()
[all …]
/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_provider.c69 memset(props, 0, sizeof *props); in mthca_query_device()
71 props->fw_ver = mdev->fw_ver; in mthca_query_device()
88 props->max_mr_size = ~0ull; in mthca_query_device()
101 props->max_res_rd_atom = props->max_qp_rd_atom * props->max_qp; in mthca_query_device()
111 props->max_total_mcast_qp_attach = props->max_mcast_qp_attach * in mthca_query_device()
112 props->max_mcast_grp; in mthca_query_device()
122 u32 port, struct ib_port_attr *props) in mthca_query_port() argument
152 props->max_msg_sz = 0x80000000; in mthca_query_port()
172 struct ib_device_modify *props) in mthca_modify_device() argument
190 struct ib_port_modify *props) in mthca_modify_port() argument
[all …]

12345678910>>...31