Home
last modified time | relevance | path

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

12

/linux-4.19.296/drivers/media/usb/dvb-usb-v2/
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 …]
Ddvb_usb_core.c42 if (!d->props->download_firmware) { in dvb_usbv2_download_firmware()
58 ret = d->props->download_firmware(d, fw); in dvb_usbv2_download_firmware()
74 if (!d->props->i2c_algo) in dvb_usbv2_i2c_init()
78 d->i2c_adap.algo = d->props->i2c_algo; in dvb_usbv2_i2c_init()
138 if (dvb_usbv2_disable_rc_polling || !d->props->get_rc_config) in dvb_usbv2_remote_init()
142 ret = d->props->get_rc_config(d, &d->rc); in dvb_usbv2_remote_init()
162 dev->driver_name = d->props->driver_name; in dvb_usbv2_remote_init()
242 return usb_urb_initv2(&adap->stream, &adap->props->stream); in dvb_usbv2_adapter_stream_init()
279 if (d->props->get_stream_config) { in dvb_usb_start_feed()
280 memcpy(&stream_props, &adap->props->stream, in dvb_usb_start_feed()
[all …]
Ddvb_usb_urb.c29 if (!wbuf || !wlen || !d->props->generic_bulk_ctrl_endpoint || in dvb_usb_v2_generic_io()
30 !d->props->generic_bulk_ctrl_endpoint_response) { in dvb_usb_v2_generic_io()
38 d->props->generic_bulk_ctrl_endpoint), wbuf, wlen, in dvb_usb_v2_generic_io()
48 if (d->props->generic_bulk_ctrl_delay) in dvb_usb_v2_generic_io()
49 usleep_range(d->props->generic_bulk_ctrl_delay, in dvb_usb_v2_generic_io()
50 d->props->generic_bulk_ctrl_delay in dvb_usb_v2_generic_io()
54 d->props->generic_bulk_ctrl_endpoint_response), in dvb_usb_v2_generic_io()
Ddvb_usb_common.h29 const struct usb_data_stream_properties *props);
32 struct usb_data_stream_properties *props);
Ddvb_usb.h107 .props = (props_), \
125 const struct dvb_usb_device_properties *props; member
291 struct usb_data_stream_properties props; member
331 const struct dvb_usb_adapter_properties *props; member
375 const struct dvb_usb_device_properties *props; member
/linux-4.19.296/drivers/hid/
Dhid-picolcd_backlight.c42 data->lcd_brightness = bdev->props.brightness & 0x0ff; in picolcd_set_brightness()
43 data->lcd_power = bdev->props.power; in picolcd_set_brightness()
67 struct backlight_properties props; in picolcd_init_backlight() local
76 memset(&props, 0, sizeof(props)); in picolcd_init_backlight()
77 props.type = BACKLIGHT_RAW; in picolcd_init_backlight()
78 props.max_brightness = 0xff; in picolcd_init_backlight()
80 &picolcd_blops, &props); in picolcd_init_backlight()
85 bdev->props.brightness = 0xff; in picolcd_init_backlight()
114 data->backlight->props.power = FB_BLANK_POWERDOWN; in picolcd_suspend_backlight()
116 data->lcd_power = data->backlight->props.power = bl_power; in picolcd_suspend_backlight()
Dhid-picolcd_lcd.c83 ldev->props.max_contrast = 0x0ff; in picolcd_init_lcd()
/linux-4.19.296/include/linux/
Dbacklight.h91 struct backlight_properties props; member
137 bd->props.power = FB_BLANK_UNBLANK; in backlight_enable()
138 bd->props.fb_blank = FB_BLANK_UNBLANK; in backlight_enable()
139 bd->props.state &= ~BL_CORE_FBBLANK; in backlight_enable()
153 bd->props.power = FB_BLANK_POWERDOWN; in backlight_disable()
154 bd->props.fb_blank = FB_BLANK_POWERDOWN; in backlight_disable()
155 bd->props.state |= BL_CORE_FBBLANK; in backlight_disable()
172 const struct backlight_properties *props);
176 const struct backlight_properties *props);
Dlcd.h68 struct lcd_properties props; member
/linux-4.19.296/drivers/media/tuners/
Dtuner-i2c.h36 static inline int tuner_i2c_xfer_send(struct tuner_i2c_props *props, in tuner_i2c_xfer_send() argument
39 struct i2c_msg msg = { .addr = props->addr, .flags = 0, in tuner_i2c_xfer_send()
41 int ret = i2c_transfer(props->adap, &msg, 1); in tuner_i2c_xfer_send()
46 static inline int tuner_i2c_xfer_recv(struct tuner_i2c_props *props, in tuner_i2c_xfer_recv() argument
49 struct i2c_msg msg = { .addr = props->addr, .flags = I2C_M_RD, in tuner_i2c_xfer_recv()
51 int ret = i2c_transfer(props->adap, &msg, 1); in tuner_i2c_xfer_recv()
56 static inline int tuner_i2c_xfer_send_recv(struct tuner_i2c_props *props, in tuner_i2c_xfer_send_recv() argument
60 struct i2c_msg msg[2] = { { .addr = props->addr, .flags = 0, in tuner_i2c_xfer_send_recv()
62 { .addr = props->addr, .flags = I2C_M_RD, in tuner_i2c_xfer_send_recv()
64 int ret = i2c_transfer(props->adap, msg, 2); in tuner_i2c_xfer_send_recv()
/linux-4.19.296/drivers/gpio/
Dgpio-aspeed.c43 const struct aspeed_bank_props *props; member
262 static inline bool is_bank_props_sentinel(const struct aspeed_bank_props *props) in is_bank_props_sentinel() argument
264 return !(props->input || props->output); in is_bank_props_sentinel()
270 const struct aspeed_bank_props *props = gpio->config->props; in find_bank_props() local
272 while (!is_bank_props_sentinel(props)) { in find_bank_props()
273 if (props->bank == GPIO_BANK(offset)) in find_bank_props()
274 return props; in find_bank_props()
275 props++; in find_bank_props()
283 const struct aspeed_bank_props *props = find_bank_props(gpio, offset); in have_gpio() local
288 (!props || ((props->input | props->output) & GPIO_BIT(offset))); in have_gpio()
[all …]
/linux-4.19.296/drivers/i2c/muxes/
Di2c-demux-pinctrl.c213 struct property *props; in i2c_demux_pinctrl_probe() local
225 props = devm_kcalloc(&pdev->dev, num_chan, sizeof(*props), GFP_KERNEL); in i2c_demux_pinctrl_probe()
227 if (!priv || !props) in i2c_demux_pinctrl_probe()
245 props[i].name = devm_kstrdup(&pdev->dev, "status", GFP_KERNEL); in i2c_demux_pinctrl_probe()
246 props[i].value = devm_kstrdup(&pdev->dev, "ok", GFP_KERNEL); in i2c_demux_pinctrl_probe()
247 if (!props[i].name || !props[i].value) { in i2c_demux_pinctrl_probe()
251 props[i].length = 3; in i2c_demux_pinctrl_probe()
254 of_changeset_update_property(&priv->chan[i].chgset, adap_np, &props[i]); in i2c_demux_pinctrl_probe()
/linux-4.19.296/drivers/media/v4l2-core/
Dv4l2-fwnode.c744 const char * const *props, unsigned int nprops) in v4l2_fwnode_reference_get_int_prop() argument
772 if (fwnode_property_read_u32(child, *props, &val)) in v4l2_fwnode_reference_get_int_prop()
788 props++; in v4l2_fwnode_reference_get_int_prop()
821 const char *prop, const char * const *props, unsigned int nprops) in v4l2_fwnode_reference_parse_int_props() argument
831 props, nprops); in v4l2_fwnode_reference_parse_int_props()
853 dev_fwnode(dev), prop, index, props, in v4l2_fwnode_reference_parse_int_props()
887 const char * const *props; in v4l2_async_notifier_parse_fwnode_sensor_common() member
889 } props[] = { in v4l2_async_notifier_parse_fwnode_sensor_common() local
895 for (i = 0; i < ARRAY_SIZE(props); i++) { in v4l2_async_notifier_parse_fwnode_sensor_common()
898 if (props[i].props && is_acpi_node(dev_fwnode(dev))) in v4l2_async_notifier_parse_fwnode_sensor_common()
[all …]
/linux-4.19.296/drivers/misc/mei/
Dclient.h67 return &me_cl->props.protocol_name; in mei_me_cl_uuid()
79 return me_cl->props.protocol_version; in mei_me_cl_ver()
145 return cl->me_cl ? cl->me_cl->props.max_msg_length : 0; in mei_cl_mtu()
157 return cl->me_cl && cl->me_cl->props.fixed_address; in mei_cl_is_fixed_address()
170 return cl->me_cl->props.single_recv_buf; in mei_cl_is_single_recv_buf()
Ddebugfs.c65 me_cl->props.fixed_address, in mei_dbgfs_read_meclients()
66 &me_cl->props.protocol_name, in mei_dbgfs_read_meclients()
67 me_cl->props.max_number_of_connections, in mei_dbgfs_read_meclients()
68 me_cl->props.max_msg_length, in mei_dbgfs_read_meclients()
69 me_cl->props.single_recv_buf, in mei_dbgfs_read_meclients()
Dmain.c373 if (me_cl->props.fixed_address) { in mei_ioctl_connect_client()
387 me_cl->props.protocol_version); in mei_ioctl_connect_client()
389 me_cl->props.max_msg_length); in mei_ioctl_connect_client()
393 client->max_msg_length = me_cl->props.max_msg_length; in mei_ioctl_connect_client()
394 client->protocol_version = me_cl->props.protocol_version; in mei_ioctl_connect_client()
/linux-4.19.296/drivers/iio/afe/
Diio-rescale.c24 int (*props)(struct device *dev, struct rescale *rescale); member
244 .props = rescale_current_sense_amplifier_props,
248 .props = rescale_current_sense_shunt_props,
252 .props = rescale_voltage_divider_props,
303 ret = rescale->cfg->props(dev, rescale); in rescale_probe()
/linux-4.19.296/lib/xz/
Dxz_dec_lzma2.c816 static bool lzma_props(struct xz_dec_lzma2 *s, uint8_t props) in lzma_props() argument
818 if (props > (4 * 5 + 4) * 9 + 8) in lzma_props()
822 while (props >= 9 * 5) { in lzma_props()
823 props -= 9 * 5; in lzma_props()
830 while (props >= 9) { in lzma_props()
831 props -= 9; in lzma_props()
835 s->lzma.lc = props; in lzma_props()
1149 XZ_EXTERN enum xz_ret xz_dec_lzma2_reset(struct xz_dec_lzma2 *s, uint8_t props) in xz_dec_lzma2_reset() argument
1152 if (props > 39) in xz_dec_lzma2_reset()
1155 s->dict.size = 2 + (props & 1); in xz_dec_lzma2_reset()
[all …]
Dxz_private.h123 uint8_t props);
/linux-4.19.296/include/drm/
Ddrm_property.h245 const struct drm_prop_enum_list *props,
249 const struct drm_prop_enum_list *props,
/linux-4.19.296/drivers/auxdisplay/
Dht16k33.c196 int brightness = bl->props.brightness; in ht16k33_bl_update_status()
199 if (bl->props.power != FB_BLANK_UNBLANK || in ht16k33_bl_update_status()
200 bl->props.fb_blank != FB_BLANK_UNBLANK || in ht16k33_bl_update_status()
201 bl->props.state & BL_CORE_FBBLANK || brightness == 0) { in ht16k33_bl_update_status()
455 bl->props.brightness = dft_brightness; in ht16k33_probe()
/linux-4.19.296/drivers/hid/intel-ish-hid/ishtp/
Dclient-buffers.c30 size_t len = cl->device->fw_client->props.max_msg_length; in ishtp_cl_alloc_rx_ring()
68 size_t len = cl->device->fw_client->props.max_msg_length; in ishtp_cl_alloc_tx_ring()
/linux-4.19.296/include/net/
Dxdp_sock.h33 struct xdp_umem_props props; member
/linux-4.19.296/drivers/media/common/
Dcx2341x.c1347 u32 props; in cx2341x_s_ctrl() local
1375 props = (hdl->audio_sampling_freq->val << 0) | in cx2341x_s_ctrl()
1380 props |= 3 << 12; in cx2341x_s_ctrl()
1382 props |= hdl->audio_emphasis->val << 12; in cx2341x_s_ctrl()
1385 props |= in cx2341x_s_ctrl()
1394 props |= in cx2341x_s_ctrl()
1399 CX2341X_ENC_SET_AUDIO_PROPERTIES, 1, props); in cx2341x_s_ctrl()
1403 hdl->audio_properties = props; in cx2341x_s_ctrl()
/linux-4.19.296/fs/btrfs/
DMakefile13 uuid-tree.o props.o free-space-tree.o tree-checker.o

12