Home
last modified time | relevance | path

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

12345678910

/linux/drivers/dpll/zl3073x/
H A Dprop.c85 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-v2/
H A 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 …]
/linux/drivers/media/usb/dvb-usb/
H A Ddvb-usb-init.c31 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 Dusb-urb.c142 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 Ddvb-usb-dvb.c34 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 …]
H A Ddvb-usb-urb.c20 if (d->props.generic_bulk_ctrl_endpoint == 0) { in dvb_usb_generic_rw()
32 d->props.generic_bulk_ctrl_endpoint), wbuf,wlen,&actlen, in dvb_usb_generic_rw()
46 d->props.generic_bulk_ctrl_endpoint_response ? in dvb_usb_generic_rw()
47 d->props.generic_bulk_ctrl_endpoint_response : in dvb_usb_generic_rw()
48 d->props.generic_bulk_ctrl_endpoint),rbuf,rlen,&actlen, in dvb_usb_generic_rw()
95 for (i = 0; i < adap->props.num_frontends; i++) { in dvb_usb_adapter_stream_init()
98 if (adap->props.fe[i].caps & DVB_USB_ADAP_RECEIVES_204_BYTE_TS) in dvb_usb_adapter_stream_init()
102 if (adap->props.fe[i].caps & DVB_USB_ADAP_RECEIVES_RAW_PAYLOAD) in dvb_usb_adapter_stream_init()
109 &adap->props.fe[i].stream); in dvb_usb_adapter_stream_init()
119 for (i = 0; i < adap->props.num_frontends; i++) in dvb_usb_adapter_stream_exit()
/linux/arch/powerpc/platforms/powermac/
H A Dbacklight.c74 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/resctrl/
H A Dtest_mpam_devices.c99 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/drivers/acpi/x86/
H A Dapple.c31 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 Daat2870_bl.c34 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 Dbacklight.c93 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 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()
H 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()
H A Dlm3639_bl.c111 pdata->pwm_set_intensity(bl->props.brightness, in lm3639_bled_update_status()
116 return bl->props.brightness; in lm3639_bled_update_status()
120 ret = regmap_write(pchip->regmap, REG_BL_CONF_4, bl->props.brightness); in lm3639_bled_update_status()
123 ret = regmap_write(pchip->regmap, REG_BL_CONF_3, bl->props.brightness); in lm3639_bled_update_status()
127 if (!bl->props.brightness) in lm3639_bled_update_status()
134 return bl->props.brightness; in lm3639_bled_update_status()
137 return bl->props.brightness; in lm3639_bled_update_status()
149 bl->props.brightness = pdata->pwm_get_intensity(); in lm3639_bled_get_brightness()
153 return bl->props.brightness; in lm3639_bled_get_brightness()
165 bl->props.brightness = reg_val; in lm3639_bled_get_brightness()
[all …]
H A Dlp8788_bl.c63 if (bl_dev->props.state & BL_CORE_SUSPENDED) in lp8788_bl_update_status()
64 bl_dev->props.brightness = 0; in lp8788_bl_update_status()
66 lp8788_write_byte(bl->lp, LP8788_BL_BRIGHTNESS, bl_dev->props.brightness); in lp8788_bl_update_status()
79 struct backlight_properties props; in lp8788_backlight_register() local
81 memset(&props, 0, sizeof(struct backlight_properties)); in lp8788_backlight_register()
82 props.type = BACKLIGHT_PLATFORM; in lp8788_backlight_register()
83 props.max_brightness = MAX_BRIGHTNESS; in lp8788_backlight_register()
86 props.brightness = 0; in lp8788_backlight_register()
90 &lp8788_bl_ops, &props); in lp8788_backlight_register()
172 bl_dev->props.brightness = 0; in lp8788_backlight_remove()
/linux/drivers/infiniband/hw/mlx5/
H A Dmad.c598 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 Dprovider.c255 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 Dmthca_provider.c53 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/net/ipv4/
H A Dipcomp.c69 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/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()
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/drivers/hid/
H 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/drivers/gpu/drm/nouveau/dispnv04/
H A Doverlay.c49 } 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/gpu/drm/nouveau/
H A Dnouveau_backlight.c81 int val = bd->props.brightness; in nv40_set_intensity()
98 struct backlight_properties *props, in nv40_backlight_init() argument
107 props->max_brightness = 31; in nv40_backlight_init()
147 ret = bd->props.brightness; in nv50_edp_get_brightness()
188 ret = drm_edp_backlight_set_level(aux, &nv_bl->edp_info, bd->props.brightness); in nv50_edp_set_brightness()
233 struct backlight_properties *props, in nv50_backlight_init() argument
278 props->brightness = current_level; in nv50_backlight_init()
279 props->max_brightness = bl->edp_info.max; in nv50_backlight_init()
286 props->max_brightness = 100; in nv50_backlight_init()
298 struct backlight_properties props = {0}; in nouveau_backlight_init() local
[all …]
/linux/net/xfrm/
H A Dxfrm_state.c130 h = __xfrm_dst_hash(&x->id.daddr, &x->props.saddr, in xfrm_hash_transfer()
131 x->props.reqid, x->props.family, in xfrm_hash_transfer()
135 h = __xfrm_src_hash(&x->id.daddr, &x->props.saddr, in xfrm_hash_transfer()
136 x->props.family, in xfrm_hash_transfer()
142 x->id.proto, x->props.family, in xfrm_hash_transfer()
433 afinfo = xfrm_state_get_afinfo(x->props.family); in xfrm_set_type_offload()
451 request_module("xfrm-offload-%d-%d", x->props.family, in xfrm_set_type_offload()
1092 x->props.saddr = tmpl->saddr; in xfrm_init_tempstate()
1093 if (x->props.saddr.a4 == 0) in xfrm_init_tempstate()
1094 x->props.saddr.a4 = saddr->a4; in xfrm_init_tempstate()
[all …]
/linux/drivers/media/tuners/
H A Dtuner-i2c.h24 static inline int tuner_i2c_xfer_send(struct tuner_i2c_props *props, in tuner_i2c_xfer_send() argument
27 struct i2c_msg msg = { .addr = props->addr, .flags = 0, in tuner_i2c_xfer_send()
29 int ret = i2c_transfer(props->adap, &msg, 1); in tuner_i2c_xfer_send()
34 static inline int tuner_i2c_xfer_recv(struct tuner_i2c_props *props, in tuner_i2c_xfer_recv() argument
37 struct i2c_msg msg = { .addr = props->addr, .flags = I2C_M_RD, in tuner_i2c_xfer_recv()
39 int ret = i2c_transfer(props->adap, &msg, 1); in tuner_i2c_xfer_recv()
44 static inline int tuner_i2c_xfer_send_recv(struct tuner_i2c_props *props, in tuner_i2c_xfer_send_recv() argument
48 struct i2c_msg msg[2] = { { .addr = props->addr, .flags = 0, in tuner_i2c_xfer_send_recv()
50 { .addr = props->addr, .flags = I2C_M_RD, in tuner_i2c_xfer_send_recv()
52 int ret = i2c_transfer(props->adap, msg, 2); in tuner_i2c_xfer_send_recv()

12345678910