Home
last modified time | relevance | path

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

12345678910>>...26

/linux/drivers/leds/
A Dleds-expresswire.c19 usleep_range(props->timing.poweroff_us, props->timing.poweroff_us * 2); in expresswire_power_off()
25 gpiod_set_value(props->ctrl_gpio, 1); in expresswire_enable()
26 udelay(props->timing.detect_delay_us); in expresswire_enable()
27 gpiod_set_value(props->ctrl_gpio, 0); in expresswire_enable()
28 udelay(props->timing.detect_us); in expresswire_enable()
29 gpiod_set_value(props->ctrl_gpio, 1); in expresswire_enable()
35 gpiod_set_value(props->ctrl_gpio, 1); in expresswire_start()
36 udelay(props->timing.data_start_us); in expresswire_start()
42 gpiod_set_value(props->ctrl_gpio, 0); in expresswire_end()
67 expresswire_start(props); in expresswire_write_u8()
[all …]
/linux/drivers/media/usb/dvb-usb-v2/
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 …]
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 …]
/linux/drivers/media/usb/dvb-usb/
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 …]
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 …]
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 …]
A Ddvb-usb-dvb.c52 adap->props.fe[adap->active_fe].pid_filter != NULL) in dvb_usb_ctrl_feed()
61 adap->props.fe[adap->active_fe].caps & in dvb_usb_ctrl_feed()
164 if (adap->dev->props.read_mac_address) { in dvb_usb_adapter_dvb_init()
176 for (i = 0; i < adap->props.num_frontends; i++) { in dvb_usb_adapter_dvb_init()
237 int ret = (adap->props.frontend_ctrl) ? in dvb_usb_set_active_fe()
238 adap->props.frontend_ctrl(fe, onoff) : 0; in dvb_usb_set_active_fe()
281 for (i = 0; i < adap->props.num_frontends; i++) { in dvb_usb_adapter_frontend_init()
283 if (adap->props.fe[i].frontend_attach == NULL) { in dvb_usb_adapter_frontend_init()
290 ret = adap->props.fe[i].frontend_attach(adap); in dvb_usb_adapter_frontend_init()
321 if (adap->props.fe[i].tuner_attach != NULL) in dvb_usb_adapter_frontend_init()
[all …]
/linux/arch/powerpc/platforms/powermac/
A Dbacklight.c84 props = &pmac_backlight->props; in pmac_backlight_key_worker()
95 props->brightness = brightness; in pmac_backlight_key_worker()
122 props = &pmac_backlight->props; in __pmac_backlight_set_legacy_brightness()
124 (props->max_brightness + 1) / in __pmac_backlight_set_legacy_brightness()
127 if (props->brightness > props->max_brightness) in __pmac_backlight_set_legacy_brightness()
128 props->brightness = props->max_brightness; in __pmac_backlight_set_legacy_brightness()
129 else if (props->brightness < 0) in __pmac_backlight_set_legacy_brightness()
130 props->brightness = 0; in __pmac_backlight_set_legacy_brightness()
171 props = &pmac_backlight->props; in pmac_backlight_get_legacy_brightness()
173 result = props->brightness * in pmac_backlight_get_legacy_brightness()
[all …]
/linux/include/sound/
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 && \
270 if (props->adata.convert_rate) in simple_util_debug_info()
272 if (props->adata.convert_channels) in simple_util_debug_info()
[all …]
/linux/drivers/infiniband/hw/vmw_pvrdma/
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 …]
/linux/drivers/infiniband/hw/usnic/
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 …]
/linux/drivers/video/backlight/
A Daat2870_bl.c34 val /= bd->props.max_brightness; in aat2870_brightness()
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
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()
160 bd->props.brightness = bd->props.max_brightness; in aat2870_bl_probe()
179 bd->props.power = BACKLIGHT_POWER_OFF; in aat2870_bl_remove()
[all …]
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()
70 ktd2801->props.timing = ktd2801_timing; in ktd2801_backlight_probe()
88 ktd2801->props.ctrl_gpio = devm_gpiod_get(dev, "ctrl", GPIOD_OUT_HIGH); in ktd2801_backlight_probe()
89 if (IS_ERR(ktd2801->props.ctrl_gpio)) in ktd2801_backlight_probe()
90 return dev_err_probe(dev, PTR_ERR(ktd2801->props.ctrl_gpio), in ktd2801_backlight_probe()
92 gpiod_set_consumer_name(ktd2801->props.ctrl_gpio, dev_name(dev)); in ktd2801_backlight_probe()
100 bd->props.max_brightness = max_brightness; in ktd2801_backlight_probe()
[all …]
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()
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()
A Dbacklight.c130 bd->props.state |= BL_CORE_FBBLANK; in fb_notifier_callback()
206 if (bd->props.power != power) { in bl_power_store()
207 old_power = bd->props.power; in bl_power_store()
208 bd->props.power = power; in bl_power_store()
211 bd->props.power = old_power; in bl_power_store()
243 bd->props.brightness = brightness; in backlight_device_set_brightness()
434 if (props) { in backlight_device_register()
435 memcpy(&new_bd->props, props, in backlight_device_register()
437 if (props->type <= 0 || props->type >= BACKLIGHT_TYPE_MAX) { in backlight_device_register()
493 if (bd->props.type == type) { in backlight_device_get_by_type()
[all …]
/linux/drivers/acpi/x86/
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 …]
/linux/drivers/hid/
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/net/ipv4/
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 …]
/linux/drivers/infiniband/hw/mlx5/
A Dmad.c592 struct ib_port_attr *props) in mlx5_query_mad_ifc_port() argument
619 props->lmc = out_mad->data[34] & 0x7; in mlx5_query_mad_ifc_port()
625 props->gid_tbl_len = out_mad->data[50]; in mlx5_query_mad_ifc_port()
639 props->port_cap_flags2 = in mlx5_query_mad_ifc_port()
652 props->active_speed = 16; /* FDR */ in mlx5_query_mad_ifc_port()
655 props->active_speed = 32; /* EDR */ in mlx5_query_mad_ifc_port()
660 props->active_speed = IB_SPEED_HDR; in mlx5_query_mad_ifc_port()
665 props->active_speed = IB_SPEED_NDR; in mlx5_query_mad_ifc_port()
678 props->active_speed = IB_SPEED_XDR; in mlx5_query_mad_ifc_port()
684 if (props->active_speed == 4) { in mlx5_query_mad_ifc_port()
[all …]
/linux/drivers/infiniband/hw/cxgb4/
A Dprovider.c278 props->max_mr_size = T4_MAX_MR_SIZE; in c4iw_query_device()
286 props->max_sge_rd = 1; in c4iw_query_device()
290 props->max_qp_init_rd_atom = props->max_qp_rd_atom; in c4iw_query_device()
294 props->max_pd = T4_MAX_NUM_PD; in c4iw_query_device()
295 props->local_ca_ack_delay = 0; in c4iw_query_device()
296 props->max_fast_reg_page_list_len = in c4iw_query_device()
303 struct ib_port_attr *props) in c4iw_query_port() argument
308 &props->active_width); in c4iw_query_port()
310 props->port_cap_flags = in c4iw_query_port()
316 props->gid_tbl_len = 1; in c4iw_query_port()
[all …]
/linux/drivers/accel/habanalabs/common/
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 …]
/linux/drivers/infiniband/hw/mthca/
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 …]
/linux/drivers/gpu/drm/nouveau/dispnv04/
A Doverlay.c49 } props; member
251 if (property == nv_plane->props.colorkey) in nv_set_property()
257 else if (property == nv_plane->props.hue) in nv_set_property()
317 if (!plane->props.colorkey || in nv10_overlay_init()
318 !plane->props.contrast || in nv10_overlay_init()
319 !plane->props.brightness || in nv10_overlay_init()
320 !plane->props.hue || in nv10_overlay_init()
321 !plane->props.saturation) in nv10_overlay_init()
338 plane->props.hue, plane->hue); in nv10_overlay_init()
490 if (!plane->props.colorkey || in nv04_overlay_init()
[all …]
/linux/include/linux/
A Dleds-expresswire.h31 void expresswire_power_off(struct expresswire_common_props *props);
32 void expresswire_enable(struct expresswire_common_props *props);
33 void expresswire_start(struct expresswire_common_props *props);
34 void expresswire_end(struct expresswire_common_props *props);
35 void expresswire_set_bit(struct expresswire_common_props *props, bool bit);
36 void expresswire_write_u8(struct expresswire_common_props *props, u8 val);

Completed in 48 milliseconds

12345678910>>...26