Home
last modified time | relevance | path

Searched refs:middle (Results 1 – 25 of 134) sorted by relevance

123456

/linux-6.1.9/drivers/input/mouse/
Dvsxxxaa.c197 int left, middle, right; in vsxxxaa_handle_REL_packet() local
228 middle = buf[0] & 0x02; in vsxxxaa_handle_REL_packet()
235 left ? "L" : "l", middle ? "M" : "m", right ? "R" : "r"); in vsxxxaa_handle_REL_packet()
241 input_report_key(dev, BTN_MIDDLE, middle); in vsxxxaa_handle_REL_packet()
253 int left, middle, right, touch; in vsxxxaa_handle_ABS_packet() local
278 middle = buf[0] & 0x04; in vsxxxaa_handle_ABS_packet()
286 left ? "L" : "l", middle ? "M" : "m", in vsxxxaa_handle_ABS_packet()
293 input_report_key(dev, BTN_MIDDLE, middle); in vsxxxaa_handle_ABS_packet()
305 int left, middle, right; in vsxxxaa_handle_POR_packet() local
337 middle = buf[0] & 0x02; in vsxxxaa_handle_POR_packet()
[all …]
Dalps.c222 int left, int right, int middle) in alps_report_buttons() argument
238 input_report_key(dev, BTN_MIDDLE, middle); in alps_report_buttons()
254 int x, y, z, ges, fin, left, right, middle; in alps_process_packet_v1_v2() local
260 middle = 0; in alps_process_packet_v1_v2()
267 middle = packet[3] & 4; in alps_process_packet_v1_v2()
281 if ((middle = forward && back)) in alps_process_packet_v1_v2()
292 alps_report_buttons(dev2, dev, left, right, middle); in alps_process_packet_v1_v2()
302 middle |= packet[0] & 4; in alps_process_packet_v1_v2()
305 alps_report_buttons(dev, dev2, left, right, middle); in alps_process_packet_v1_v2()
548 input_report_key(dev, BTN_MIDDLE, f->middle); in alps_report_semi_mt_data()
[all …]
Dcypress_ps2.h148 unsigned int middle:1; member
/linux-6.1.9/tools/testing/radix-tree/
Dmain.c15 void __gang_check(unsigned long middle, long down, long up, int chunk, int hop) in __gang_check() argument
20 middle = 1 << 30; in __gang_check()
23 item_insert(&tree, middle + idx); in __gang_check()
25 item_check_absent(&tree, middle - down - 1); in __gang_check()
27 item_check_present(&tree, middle + idx); in __gang_check()
28 item_check_absent(&tree, middle + up); in __gang_check()
31 item_gang_check_present(&tree, middle - down, up + down, in __gang_check()
33 item_full_scan(&tree, middle - down, down + up, chunk); in __gang_check()
/linux-6.1.9/tools/testing/selftests/exec/
Dbinfmt_script.py51 middle = ""
55 middle += fill * (NAME_MAX - 1)
56 middle += '/'
58 middle += fill * remaining
60 dirpath = root + middle
67 buf=hashbang + leading + root + middle + target + arg + newline
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Druc.c234 int middle, in hfi1_make_ruc_header_16B() argument
267 middle = 0; in hfi1_make_ruc_header_16B()
273 middle = 0; in hfi1_make_ruc_header_16B()
279 middle = 0; in hfi1_make_ruc_header_16B()
281 if (middle) in hfi1_make_ruc_header_16B()
323 int middle, in hfi1_make_ruc_header_9B() argument
343 middle = 0; in hfi1_make_ruc_header_9B()
351 middle = 0; in hfi1_make_ruc_header_9B()
357 middle = 0; in hfi1_make_ruc_header_9B()
359 if (middle) in hfi1_make_ruc_header_9B()
[all …]
Duc.c31 int middle = 0; in hfi1_make_uc_req() local
183 middle = HFI1_CAP_IS_KSET(SDMA_AHG); in hfi1_make_uc_req()
208 middle = HFI1_CAP_IS_KSET(SDMA_AHG); in hfi1_make_uc_req()
234 middle, ps); in hfi1_make_uc_req()
/linux-6.1.9/lib/
Dmemcpy_kunit.c61 struct some_bytes middle = { in memcpy_test() local
95 compare("middle overwrite", dest, middle); in memcpy_test()
119 struct some_bytes middle = { in memmove_test() local
167 compare("middle overwrite", dest, middle); in memmove_test()
202 struct some_bytes middle = { in memset_test() local
249 compare("middle overwrite", dest, middle); in memset_test()
/linux-6.1.9/Documentation/devicetree/bindings/input/
Dgpio-mouse.txt16 - button-middle-gpios: GPIO line handle to the middle mouse button
30 button-middle-gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
Delan,ekth3000.yaml40 elan,middle-button:
42 description: touchpad has a physical middle button
/linux-6.1.9/Documentation/devicetree/bindings/input/touchscreen/
Dad7879.txt29 - adi,averaging : 0: 2 middle values (1 if median disabled)
30 1: 4 middle values
31 2: 8 middle values
/linux-6.1.9/tools/testing/selftests/mqueue/
Dmq_perf_tests.c354 clock_gettime(clock, &middle); \
358 nsec = ((middle.tv_sec - start.tv_sec) * 1000000000) + \
359 (middle.tv_nsec - start.tv_nsec); \
365 nsec = ((end.tv_sec - middle.tv_sec) * 1000000000) + \
366 (end.tv_nsec - middle.tv_nsec); \
432 struct timespec res, start, middle, end, send_total, recv_total; in perf_test_thread() local
/linux-6.1.9/Documentation/input/
Dshape.svg33 …family="sans-serif" font-size="144px" stroke-width=".025in" text-anchor="middle" xml:space="preser…
36 …family="sans-serif" font-size="144px" stroke-width=".025in" text-anchor="middle" xml:space="preser…
37 …family="sans-serif" font-size="144px" stroke-width=".025in" text-anchor="middle" xml:space="preser…
/linux-6.1.9/drivers/hwmon/
Dapplesmc.c409 int middle = begin + (end - begin) / 2; in applesmc_get_lower_bound() local
410 entry = applesmc_get_entry_by_index(middle); in applesmc_get_lower_bound()
416 begin = middle + 1; in applesmc_get_lower_bound()
418 end = middle; in applesmc_get_lower_bound()
431 int middle = begin + (end - begin) / 2; in applesmc_get_upper_bound() local
432 entry = applesmc_get_entry_by_index(middle); in applesmc_get_upper_bound()
438 end = middle; in applesmc_get_upper_bound()
440 begin = middle + 1; in applesmc_get_upper_bound()
Dmr75203.c391 u16 sys_freq, key, middle, low = 4, high = 8; in pvt_init() local
403 middle = (low + high + 1) / 2; in pvt_init()
404 key = DIV_ROUND_CLOSEST(sys_freq, middle); in pvt_init()
406 low = middle + 1; in pvt_init()
409 high = middle - 1; in pvt_init()
/linux-6.1.9/net/ceph/
Dmessenger_v1.c228 if (m->middle) in prepare_write_message()
229 con_out_kvec_add(con, m->middle->vec.iov_len, in prepare_write_message()
230 m->middle->vec.iov_base); in prepare_write_message()
240 if (m->middle) { in prepare_write_message()
241 crc = crc32c(0, m->middle->vec.iov_base, in prepare_write_message()
242 m->middle->vec.iov_len); in prepare_write_message()
1154 if (m->middle) in read_partial_message()
1155 m->middle->vec.iov_len = 0; in read_partial_message()
1170 if (m->middle) { in read_partial_message()
1171 ret = read_partial_message_section(con, &m->middle->vec, in read_partial_message()
[all …]
Dmessenger.c1958 BUG_ON(msg->middle); in ceph_alloc_middle()
1960 msg->middle = ceph_buffer_new(middle_len, GFP_NOFS); in ceph_alloc_middle()
1961 if (!msg->middle) in ceph_alloc_middle()
2017 if (middle_len && !con->in_msg->middle) { in ceph_con_in_msg_alloc()
2084 if (m->middle) { in ceph_msg_release()
2085 ceph_buffer_put(m->middle); in ceph_msg_release()
2086 m->middle = NULL; in ceph_msg_release()
2125 if (msg->middle) in ceph_msg_dump()
2128 msg->middle->vec.iov_base, in ceph_msg_dump()
2129 msg->middle->vec.iov_len, true); in ceph_msg_dump()
/linux-6.1.9/mm/kasan/
Dkasan_test.c287 size_t middle; in krealloc_more_oob_helper() local
290 middle = size1 + (size2 - size1) / 2; in krealloc_more_oob_helper()
304 ptr2[middle] = 'x'; in krealloc_more_oob_helper()
322 size_t middle; in krealloc_less_oob_helper() local
325 middle = size2 + (size1 - size2) / 2; in krealloc_less_oob_helper()
352 round_down(middle, KASAN_GRANULE_SIZE)); in krealloc_less_oob_helper()
353 KUNIT_EXPECT_LE(test, round_up(middle, KASAN_GRANULE_SIZE), in krealloc_less_oob_helper()
355 KUNIT_EXPECT_KASAN_FAIL(test, ptr2[middle] = 'x'); in krealloc_less_oob_helper()
/linux-6.1.9/fs/jfs/
Djfs_xtree.c946 int skip, maxentry, middle, righthalf, n; in xtSplitPage() local
1093 middle = maxentry >> 1; in xtSplitPage()
1094 righthalf = maxentry - middle; in xtSplitPage()
1099 if (skip <= middle) { in xtSplitPage()
1101 memmove(&rp->xad[XTENTRYSTART], &sp->xad[middle], in xtSplitPage()
1105 if (skip < middle) in xtSplitPage()
1107 (middle - skip) << L2XTSLOTSIZE); in xtSplitPage()
1115 sp->header.nextindex = cpu_to_le16(middle + 1); in xtSplitPage()
1129 n = skip - middle; in xtSplitPage()
1130 memmove(&rp->xad[XTENTRYSTART], &sp->xad[middle], in xtSplitPage()
[all …]
/linux-6.1.9/drivers/md/persistent-data/
Ddm-btree.c733 struct dm_block *left, *middle, *right, *parent; in split_two_into_three() local
754 r = new_block(s->info, &middle); in split_two_into_three()
759 mn = dm_block_data(middle); in split_two_into_three()
771 location = cpu_to_le64(dm_block_location(middle)); in split_two_into_three()
779 unlock_block(s->info, middle); in split_two_into_three()
790 unlock_block(s->info, middle); in split_two_into_three()
796 s->nodes[1] = middle; in split_two_into_three()
799 unlock_block(s->info, middle); in split_two_into_three()
/linux-6.1.9/Documentation/devicetree/bindings/display/hisilicon/
Ddw-dsi.txt3 A DSI Host Controller resides in the middle of display controller and external
/linux-6.1.9/drivers/input/tablet/
Daiptek.c419 int retval, macro, x, y, z, left, right, middle, p, dv, tip, bs, pck; in aiptek_irq() local
473 middle = (data[1] & aiptek->curSetting.mouseButtonMiddle >> 2) != 0 ? 1 : 0; in aiptek_irq()
476 input_report_key(inputdev, BTN_MIDDLE, middle); in aiptek_irq()
604 middle = (data[5] & aiptek->curSetting.mouseButtonMiddle) != 0 ? 1 : 0; in aiptek_irq()
626 input_report_key(inputdev, BTN_MIDDLE, middle); in aiptek_irq()
701 middle = (data[1] & aiptek->curSetting.mouseButtonMiddle) != 0 ? 1 : 0; in aiptek_irq()
/linux-6.1.9/Documentation/gpu/amdgpu/display/
Dmpo-overview.rst185 video playback in the middle of two displays, and it is up to the compositor to
203 MPO plane needs another pipe. As a result, when the video is in the middle of
209 middle of both displays needs 2 pipes.
228 - Now, if the user moves the video in the middle of 2 displays, one part of the
/linux-6.1.9/fs/overlayfs/
Dreaddir.c44 struct list_head middle; member
205 list_move_tail(&p->l_node, &rdd->middle); in ovl_fill_lowest()
211 list_add_tail(&p->l_node, &rdd->middle); in ovl_fill_lowest()
370 list_add(&rdd.middle, rdd.list); in ovl_dir_read_merged()
373 list_del(&rdd.middle); in ovl_dir_read_merged()
/linux-6.1.9/Documentation/x86/
Dmicrocode.rst125 be in the middle of an access to such an MSR. The usual observation is
152 system. If one thread is in the middle of executing WRMSR, a MCE will be
174 there is very little chance that it would be in the middle of executing

123456