Home
last modified time | relevance | path

Searched refs:num_fields (Results 1 – 9 of 9) sorted by relevance

/drivers/mux/
Dmmio.c43 int num_fields; in mux_mmio_probe() local
65 num_fields = ret / 2; in mux_mmio_probe()
67 mux_chip = devm_mux_chip_alloc(dev, num_fields, num_fields * in mux_mmio_probe()
74 for (i = 0; i < num_fields; i++) { in mux_mmio_probe()
/drivers/gpu/drm/sti/
Dsti_plane.c48 int fpks, fipks, ms_since_last, num_frames, num_fields; in sti_plane_update_fps() local
86 num_fields = fps->curr_field_counter - fps->last_field_counter; in sti_plane_update_fps()
88 fipks = (num_fields * 1000000) / ms_since_last; in sti_plane_update_fps()
/drivers/media/platform/
Drcar_fdp1.c537 unsigned int num_fields; member
1278 for (i = 0; i < buf->num_fields; i++) { in fdp1_m2m_device_run()
1795 unsigned int num_fields; in fdp1_buf_prepare_field() local
1798 num_fields = V4L2_FIELD_HAS_BOTH(vbuf->field) ? 2 : 1; in fdp1_buf_prepare_field()
1801 fbuf->last_field = (field_num + 1) == num_fields; in fdp1_buf_prepare_field()
1911 buf->num_fields = V4L2_FIELD_HAS_BOTH(vbuf->field) ? 2 : 1; in fdp1_buf_prepare()
1912 for (i = 0; i < buf->num_fields; ++i) in fdp1_buf_prepare()
/drivers/net/wireless/ti/wlcore/
Dwlcore_i.h321 int num_fields; member
Dmain.c1356 int num_fields = 0, in_field = 0, fields_size = 0; in wl1271_validate_wowlan_pattern() local
1380 num_fields++; in wl1271_validate_wowlan_pattern()
1392 num_fields++; in wl1271_validate_wowlan_pattern()
1399 num_fields++; in wl1271_validate_wowlan_pattern()
1402 if (num_fields > WL1271_RX_FILTER_MAX_FIELDS) { in wl1271_validate_wowlan_pattern()
1427 for (i = 0; i < filter->num_fields; i++) in wl1271_rx_filter_free()
1439 if (filter->num_fields == WL1271_RX_FILTER_MAX_FIELDS) { in wl1271_rx_filter_alloc_field()
1444 field = &filter->fields[filter->num_fields]; in wl1271_rx_filter_alloc_field()
1452 filter->num_fields++; in wl1271_rx_filter_alloc_field()
1465 for (i = 0; i < filter->num_fields; i++) in wl1271_rx_filter_get_fields_size()
[all …]
Dacx.c1809 filter->action, filter->num_fields, fields_size); in wl1271_acx_set_rx_filter()
1822 acx->num_fields = filter->num_fields; in wl1271_acx_set_rx_filter()
Dacx.h940 u8 num_fields; member
/drivers/base/regmap/
Dregmap.c1290 int num_fields) in regmap_field_bulk_alloc() argument
1295 rf = kcalloc(num_fields, sizeof(*rf), GFP_KERNEL); in regmap_field_bulk_alloc()
1299 for (i = 0; i < num_fields; i++) { in regmap_field_bulk_alloc()
1326 int num_fields) in devm_regmap_field_bulk_alloc() argument
1331 rf = devm_kcalloc(dev, num_fields, sizeof(*rf), GFP_KERNEL); in devm_regmap_field_bulk_alloc()
1335 for (i = 0; i < num_fields; i++) { in devm_regmap_field_bulk_alloc()
/drivers/hid/usbhid/
Dhiddev.c742 rinfo.num_fields = report->maxfield; in hiddev_ioctl()