| /drivers/input/touchscreen/ |
| A D | wacom_w8001.c | 109 memset(coord, 0, sizeof(*coord)); in parse_pen_data() 111 coord->rdy = data[0] & 0x20; in parse_pen_data() 113 coord->f1 = data[0] & 0x02; in parse_pen_data() 114 coord->f2 = data[0] & 0x04; in parse_pen_data() 230 if (!coord->f2) { in report_pen_events() 259 if (!coord->rdy) in report_pen_events() 266 unsigned int x = coord->x; in report_single_touch() 267 unsigned int y = coord->y; in report_single_touch() 285 struct w8001_coord coord; in w8001_interrupt() local 424 struct w8001_coord coord; in w8001_setup_pen() local [all …]
|
| A D | jornada720_ts.c | 55 int coord, high_bits = coords[3]; in jornada720_ts_average() local 57 coord = coords[0] | ((high_bits & 0x03) << 8); in jornada720_ts_average() 58 coord += coords[1] | ((high_bits & 0x0c) << 6); in jornada720_ts_average() 59 coord += coords[2] | ((high_bits & 0x30) << 4); in jornada720_ts_average() 61 return coord / 3; in jornada720_ts_average()
|
| A D | wm9712.c | 112 static int coord; variable 113 module_param(coord, int, 0); 114 MODULE_PARM_DESC(coord, "Polling coordinate mode"); 209 if (coord) in wm9712_phy_init() 383 if (coord) { in wm9712_poll_touch()
|
| A D | wm9713.c | 112 static int coord; variable 113 module_param(coord, int, 0); 114 MODULE_PARM_DESC(coord, "Polling coordinate mode"); 203 if (coord) in wm9713_phy_init() 394 if (coord) { in wm9713_poll_touch()
|
| A D | silead.c | 205 u8 *coord = buf + SILEAD_POINT_DATA_LEN; in silead_ts_handle_pen_data() local 222 get_unaligned_le16(&coord[SILEAD_POINT_X_OFF]) & 0xfff, in silead_ts_handle_pen_data() 223 get_unaligned_le16(&coord[SILEAD_POINT_Y_OFF]) & 0xfff); in silead_ts_handle_pen_data()
|
| /drivers/cxl/core/ |
| A D | cdat.c | 244 dpa_perf->coord[i] = dent->coord[i]; in update_perf_entry() 721 cxl_bandwidth_add(perf_ctx->coord, perf_ctx->coord, ep_coord); in cxl_endpoint_gather_bandwidth() 842 cxl_bandwidth_add(us_ctx->coord, us_ctx->coord, coords); in DEFINE_FREE() 896 cxl_bandwidth_add(hb_ctx->coord, hb_ctx->coord, ctx->coord); in cxl_rp_gather_bandwidth() 945 cxl_coordinates_combine(ctx->coord, ctx->coord, dport->coord); in cxl_hb_gather_bandwidth() 946 cxl_bandwidth_add(mw_ctx->coord, mw_ctx->coord, ctx->coord); in cxl_hb_gather_bandwidth() 964 memset(coord, 0, sizeof(coord)); in cxl_region_update_bandwidth() 966 cxl_bandwidth_add(coord, coord, ctx->coord); in cxl_region_update_bandwidth() 969 cxlr->coord[i].read_bandwidth = coord[i].read_bandwidth; in cxl_region_update_bandwidth() 970 cxlr->coord[i].write_bandwidth = coord[i].write_bandwidth; in cxl_region_update_bandwidth() [all …]
|
| A D | port.c | 2163 struct access_coordinate *coord) in cxl_endpoint_get_perf_coordinates() argument 2209 if (!coordinates_valid(dport->coord)) in cxl_endpoint_get_perf_coordinates() 2211 cxl_coordinates_combine(c, c, dport->coord); in cxl_endpoint_get_perf_coordinates() 2218 if (!coordinates_valid(dport->coord)) in cxl_endpoint_get_perf_coordinates() 2220 cxl_coordinates_combine(c, c, dport->coord); in cxl_endpoint_get_perf_coordinates() 2234 set_access_coordinates(coord, c); in cxl_endpoint_get_perf_coordinates() 2249 if (!coordinates_valid(dport->coord)) in cxl_port_get_switch_dport_bandwidth() 2253 c[i].read_bandwidth = dport->coord[i].read_bandwidth; in cxl_port_get_switch_dport_bandwidth() 2254 c[i].write_bandwidth = dport->coord[i].write_bandwidth; in cxl_port_get_switch_dport_bandwidth()
|
| A D | region.c | 50 if (cxlr->coord[level].attrib == 0) \ 53 return sysfs_emit(buf, "%u\n", cxlr->coord[level].attrib); \ 94 cxlr->coord[level].read_latency == 0) \ 98 cxlr->coord[level].write_latency == 0) \ 102 cxlr->coord[level].read_bandwidth == 0) \ 106 cxlr->coord[level].write_bandwidth == 0) \ 2444 if (cxlr->coord[i].read_bandwidth) { in cxl_region_update_coordinates() 2447 node_set_perf_attrs(nid, &cxlr->coord[i], i); in cxl_region_update_coordinates() 2513 perf = &cxlr->coord[ACCESS_COORDINATE_CPU]; in cxl_region_calculate_adistance()
|
| /drivers/acpi/numa/ |
| A D | hmat.c | 177 struct access_coordinate *coord) in acpi_get_genport_coordinates() argument 186 coord[ACCESS_COORDINATE_LOCAL] = in acpi_get_genport_coordinates() 188 coord[ACCESS_COORDINATE_CPU] = in acpi_get_genport_coordinates() 347 target->coord[access].read_latency = value; in hmat_update_target_access() 348 target->coord[access].write_latency = value; in hmat_update_target_access() 351 target->coord[access].read_latency = value; in hmat_update_target_access() 354 target->coord[access].write_latency = value; in hmat_update_target_access() 387 coord->read_latency, access); in hmat_update_target_coordinates() 389 coord->write_latency, access); in hmat_update_target_coordinates() 391 coord->read_bandwidth, access); in hmat_update_target_coordinates() [all …]
|
| /drivers/cxl/ |
| A D | acpi.c | 201 cxl_acpi_evaluate_qtg_dsm(acpi_handle handle, struct access_coordinate *coord, in cxl_acpi_evaluate_qtg_dsm() argument 206 [0].integer = { ACPI_TYPE_INTEGER, coord->read_latency }, in cxl_acpi_evaluate_qtg_dsm() 207 [1].integer = { ACPI_TYPE_INTEGER, coord->write_latency }, in cxl_acpi_evaluate_qtg_dsm() 208 [2].integer = { ACPI_TYPE_INTEGER, coord->read_bandwidth }, in cxl_acpi_evaluate_qtg_dsm() 209 [3].integer = { ACPI_TYPE_INTEGER, coord->write_bandwidth }, in cxl_acpi_evaluate_qtg_dsm() 283 struct access_coordinate *coord, int entries, in cxl_acpi_qos_class() argument 296 return cxl_acpi_evaluate_qtg_dsm(handle, coord, entries, qos_class); in cxl_acpi_qos_class() 620 return acpi_get_genport_coordinates(uid, dport->coord); in get_genport_coordinates()
|
| A D | cxl.h | 531 struct access_coordinate coord[ACCESS_COORDINATE_MAX]; member 642 struct access_coordinate *coord, int entries, 678 struct access_coordinate coord[ACCESS_COORDINATE_MAX]; member 896 struct access_coordinate *coord);
|
| A D | cxlmem.h | 391 struct access_coordinate coord[ACCESS_COORDINATE_MAX]; member
|
| /drivers/base/ |
| A D | node.c | 86 struct access_coordinate coord; member 193 to_access_nodes(dev)->coord.property); \ 216 void node_set_perf_attrs(unsigned int nid, struct access_coordinate *coord, in node_set_perf_attrs() argument 231 c->coord = *coord; in node_set_perf_attrs() 243 if (mempolicy_set_node_perf(nid, coord)) { in node_set_perf_attrs()
|