Home
last modified time | relevance | path

Searched refs:start_block (Results 1 – 15 of 15) sorted by relevance

/drivers/hwtracing/intel_th/
Dmsu.c81 int start_block; member
249 iter->start_block = -1; in msc_iter_init()
296 if (iter->start_block != -1) in msc_iter_block_start()
299 iter->start_block = msc_win_oldest_block(iter->win); in msc_iter_block_start()
300 iter->block = iter->start_block; in msc_iter_block_start()
323 iter->start_block = -1; in msc_iter_win_start()
333 iter->start_block = -1; in msc_iter_win_advance()
350 if (iter->wrap_count && iter->block == iter->start_block) { in msc_iter_block_advance()
367 if (!iter->wrap_count && iter->block == iter->start_block) in msc_iter_block_advance()
424 if (iter->block == iter->start_block && iter->wrap_count == 2) { in msc_buffer_iterate()
/drivers/uwb/
Dallocator.c226 int block_count = 0, start_block = 0; in uwb_rsv_fill_column_info() local
244 if ((block_count > safe_mas_in_row[start_block]) && in uwb_rsv_fill_column_info()
249 start_block = mas; in uwb_rsv_fill_column_info()
/drivers/media/platform/vivid/
Dvivid-vid-common.c833 if (edid->start_block == 0 && edid->blocks == 0) { in vidioc_g_edid()
839 if (edid->start_block >= dev->edid_blocks) in vidioc_g_edid()
841 if (edid->start_block + edid->blocks > dev->edid_blocks) in vidioc_g_edid()
842 edid->blocks = dev->edid_blocks - edid->start_block; in vidioc_g_edid()
Dvivid-vid-cap.c1705 if (dev->input_type[edid->pad] != HDMI || edid->start_block) in vidioc_s_edid()
/drivers/s390/block/
Ddasd_diag.h62 sblocknum_t start_block; member
/drivers/media/i2c/
Dtc358743.c1560 if (edid->start_block == 0 && edid->blocks == 0) { in tc358743_g_edid()
1568 if (edid->start_block >= state->edid_blocks_written || in tc358743_g_edid()
1572 if (edid->start_block + edid->blocks > state->edid_blocks_written) in tc358743_g_edid()
1573 edid->blocks = state->edid_blocks_written - edid->start_block; in tc358743_g_edid()
1575 i2c_rd(sd, EDID_RAM + (edid->start_block * EDID_BLOCK_SIZE), edid->edid, in tc358743_g_edid()
1589 __func__, edid->pad, edid->start_block, edid->blocks); in tc358743_s_edid()
1596 if (edid->start_block != 0) in tc358743_s_edid()
Dad9389b.c688 if (edid->start_block >= state->edid.segments * 2) in ad9389b_get_edid()
690 if (edid->blocks + edid->start_block >= state->edid.segments * 2) in ad9389b_get_edid()
691 edid->blocks = state->edid.segments * 2 - edid->start_block; in ad9389b_get_edid()
692 memcpy(edid->edid, &state->edid.data[edid->start_block * 128], in ad9389b_get_edid()
Dadv7511.c1217 if (edid->start_block == 0 && edid->blocks == 0) { in adv7511_get_edid()
1225 if (edid->start_block >= state->edid.segments * 2) in adv7511_get_edid()
1228 if (edid->start_block + edid->blocks > state->edid.segments * 2) in adv7511_get_edid()
1229 edid->blocks = state->edid.segments * 2 - edid->start_block; in adv7511_get_edid()
1231 memcpy(edid->edid, &state->edid.data[edid->start_block * 128], in adv7511_get_edid()
Dadv7604.c2239 if (edid->start_block == 0 && edid->blocks == 0) { in adv76xx_get_edid()
2247 if (edid->start_block >= state->edid.blocks) in adv76xx_get_edid()
2250 if (edid->start_block + edid->blocks > state->edid.blocks) in adv76xx_get_edid()
2251 edid->blocks = state->edid.blocks - edid->start_block; in adv76xx_get_edid()
2253 memcpy(edid->edid, data + edid->start_block * 128, edid->blocks * 128); in adv76xx_get_edid()
2271 if (edid->start_block != 0) in adv76xx_set_edid()
Dadv7842.c2479 if (edid->start_block == 0 && edid->blocks == 0) { in adv7842_get_edid()
2487 if (edid->start_block >= 2) in adv7842_get_edid()
2490 if (edid->start_block + edid->blocks > 2) in adv7842_get_edid()
2491 edid->blocks = 2 - edid->start_block; in adv7842_get_edid()
2493 memcpy(edid->edid, data + edid->start_block * 128, edid->blocks * 128); in adv7842_get_edid()
2507 if (e->start_block != 0) in adv7842_set_edid()
/drivers/media/v4l2-core/
Dv4l2-compat-ioctl32.c934 __u32 start_block; member
947 assign_in_user(&kp->start_block, &up->start_block) || in get_v4l2_edid32()
963 assign_in_user(&up->start_block, &kp->start_block) || in put_v4l2_edid32()
Dv4l2-ioctl.c874 p->pad, p->start_block, p->blocks); in v4l_print_edid()
/drivers/infiniband/hw/hfi1/
Dmad.c745 u32 start_block = am & 0x7ff; in __subn_get_opa_pkeytable() local
755 port, start_block, n_blocks_req); in __subn_get_opa_pkeytable()
764 if (start_block + n_blocks_req > n_blocks_avail || in __subn_get_opa_pkeytable()
768 start_block, n_blocks_req, n_blocks_avail, in __subn_get_opa_pkeytable()
777 if (start_block == 0) { in __subn_get_opa_pkeytable()
1431 u32 start_block = am & 0x7ff; in __subn_set_opa_pkeytable() local
1440 port, start_block, n_blocks_sent); in __subn_set_opa_pkeytable()
1447 if (start_block + n_blocks_sent > n_blocks_avail || in __subn_set_opa_pkeytable()
1450 start_block, n_blocks_sent, n_blocks_avail, in __subn_set_opa_pkeytable()
1459 if (start_block == 0 && set_pkeys(dd, port, p) != 0) { in __subn_set_opa_pkeytable()
[all …]
/drivers/media/pci/cobalt/
Dcobalt-driver.c522 .start_block = 0, in cobalt_subdevs_init()
615 .start_block = 0, in cobalt_subdevs_hsma_init()
/drivers/input/mouse/
Dcyapa_gen3.c742 size_t start_block, size_t block_count, in cyapa_gen3_write_blocks() argument
749 size_t block = start_block + i; in cyapa_gen3_write_blocks()