• Home
  • Raw
  • Download

Lines Matching refs:h

17 	struct hpi_handle h;  member
26 handle.h.adapter_index = adapter_index; in hpi_indexes_to_handle()
27 handle.h.spare = 0; in hpi_indexes_to_handle()
28 handle.h.read_only = 0; in hpi_indexes_to_handle()
29 handle.h.obj_type = c_object; in hpi_indexes_to_handle()
30 handle.h.obj_index = object_index; in hpi_indexes_to_handle()
34 static u16 hpi_handle_indexes(const u32 h, u16 *p1, u16 *p2) in hpi_handle_indexes() argument
37 if (!h) in hpi_handle_indexes()
40 uhandle.w = h; in hpi_handle_indexes()
42 *p1 = (u16)uhandle.h.adapter_index; in hpi_handle_indexes()
44 *p2 = (u16)uhandle.h.obj_index; in hpi_handle_indexes()
59 return (char)uhandle.h.obj_type; in hpi_handle_object()
1365 #define hpi_control_param1_get(h, a, p1) \ argument
1366 hpi_control_param_get(h, a, 0, 0, p1, NULL)
1367 #define hpi_control_param2_get(h, a, p1, p2) \ argument
1368 hpi_control_param_get(h, a, 0, 0, p1, p2)
1670 hpi_init_message_responseV1(&hm.h, sizeof(hm), &hr, sizeof(hr), in hpi_cobranet_hmi_write()
1673 if (hpi_handle_indexes(h_control, &hm.h.adapter_index, in hpi_cobranet_hmi_write()
1674 &hm.h.obj_index)) in hpi_cobranet_hmi_write()
1684 hm.h.size = (u16)(sizeof(hm.h) + sizeof(hm.p) + byte_count); in hpi_cobranet_hmi_write()
1686 hpi_send_recvV1(&hm.h, &hr); in hpi_cobranet_hmi_write()
1696 hpi_init_message_responseV1(&hm.h, sizeof(hm), &hr.h, sizeof(hr), in hpi_cobranet_hmi_read()
1699 if (hpi_handle_indexes(h_control, &hm.h.adapter_index, in hpi_cobranet_hmi_read()
1700 &hm.h.obj_index)) in hpi_cobranet_hmi_read()
1710 hpi_send_recvV1(&hm.h, &hr.h); in hpi_cobranet_hmi_read()
1712 if (!hr.h.error && pb_data) { in hpi_cobranet_hmi_read()
1724 return hr.h.error; in hpi_cobranet_hmi_read()