Home
last modified time | relevance | path

Searched refs:rdesc (Results 1 - 25 of 216) sorted by relevance

123456789

/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/queue/src/
H A Dqueue_access.c25 struct ia_css_queue *rdesc, in ia_css_queue_load()
29 if (!rdesc || !cb_desc) in ia_css_queue_load()
32 if (rdesc->location == IA_CSS_QUEUE_LOC_SP) { in ia_css_queue_load()
36 cb_desc->size = sp_dmem_load_uint8(rdesc->proc_id, in ia_css_queue_load()
37 rdesc->desc.remote.cb_desc_addr in ia_css_queue_load()
52 cb_desc->start = sp_dmem_load_uint8(rdesc->proc_id, in ia_css_queue_load()
53 rdesc->desc.remote.cb_desc_addr in ia_css_queue_load()
57 cb_desc->end = sp_dmem_load_uint8(rdesc->proc_id, in ia_css_queue_load()
58 rdesc->desc.remote.cb_desc_addr in ia_css_queue_load()
62 cb_desc->step = sp_dmem_load_uint8(rdesc in ia_css_queue_load()
24 ia_css_queue_load( struct ia_css_queue *rdesc, ia_css_circbuf_desc_t *cb_desc, uint32_t ignore_desc_flags) ia_css_queue_load() argument
79 ia_css_queue_store( struct ia_css_queue *rdesc, ia_css_circbuf_desc_t *cb_desc, uint32_t ignore_desc_flags) ia_css_queue_store() argument
126 ia_css_queue_item_load( struct ia_css_queue *rdesc, u8 position, ia_css_circbuf_elem_t *item) ia_css_queue_item_load() argument
153 ia_css_queue_item_store( struct ia_css_queue *rdesc, u8 position, ia_css_circbuf_elem_t *item) ia_css_queue_item_store() argument
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/runtime/queue/src/
H A Dqueue_access.c25 struct ia_css_queue *rdesc, in ia_css_queue_load()
29 if (!rdesc || !cb_desc) in ia_css_queue_load()
32 if (rdesc->location == IA_CSS_QUEUE_LOC_SP) { in ia_css_queue_load()
36 cb_desc->size = sp_dmem_load_uint8(rdesc->proc_id, in ia_css_queue_load()
37 rdesc->desc.remote.cb_desc_addr in ia_css_queue_load()
52 cb_desc->start = sp_dmem_load_uint8(rdesc->proc_id, in ia_css_queue_load()
53 rdesc->desc.remote.cb_desc_addr in ia_css_queue_load()
57 cb_desc->end = sp_dmem_load_uint8(rdesc->proc_id, in ia_css_queue_load()
58 rdesc->desc.remote.cb_desc_addr in ia_css_queue_load()
62 cb_desc->step = sp_dmem_load_uint8(rdesc in ia_css_queue_load()
24 ia_css_queue_load( struct ia_css_queue *rdesc, ia_css_circbuf_desc_t *cb_desc, uint32_t ignore_desc_flags) ia_css_queue_load() argument
79 ia_css_queue_store( struct ia_css_queue *rdesc, ia_css_circbuf_desc_t *cb_desc, uint32_t ignore_desc_flags) ia_css_queue_store() argument
126 ia_css_queue_item_load( struct ia_css_queue *rdesc, u8 position, ia_css_circbuf_elem_t *item) ia_css_queue_item_load() argument
153 ia_css_queue_item_store( struct ia_css_queue *rdesc, u8 position, ia_css_circbuf_elem_t *item) ia_css_queue_item_store() argument
[all...]
/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-samsung.c58 static __u8 *samsung_irda_report_fixup(struct hid_device *hdev, __u8 *rdesc, in samsung_irda_report_fixup() argument
61 if (*rsize == 184 && rdesc[175] == 0x25 && rdesc[176] == 0x40 && in samsung_irda_report_fixup()
62 rdesc[177] == 0x75 && rdesc[178] == 0x30 && in samsung_irda_report_fixup()
63 rdesc[179] == 0x95 && rdesc[180] == 0x01 && in samsung_irda_report_fixup()
64 rdesc[182] == 0x40) { in samsung_irda_report_fixup()
66 rdesc[176] = 0xff; in samsung_irda_report_fixup()
67 rdesc[17 in samsung_irda_report_fixup()
128 samsung_report_fixup(struct hid_device *hdev, __u8 *rdesc, unsigned int *rsize) samsung_report_fixup() argument
[all...]
H A Dhid-cypress.c32 static __u8 *cp_rdesc_fixup(struct hid_device *hdev, __u8 *rdesc, in cp_rdesc_fixup() argument
38 return rdesc; in cp_rdesc_fixup()
41 if (rdesc[i] == 0x29 && rdesc[i + 2] == 0x19) { in cp_rdesc_fixup()
42 rdesc[i] = 0x19; in cp_rdesc_fixup()
43 rdesc[i + 2] = 0x29; in cp_rdesc_fixup()
44 swap(rdesc[i + 3], rdesc[i + 1]); in cp_rdesc_fixup()
46 return rdesc; in cp_rdesc_fixup()
49 static __u8 *va_logical_boundary_fixup(struct hid_device *hdev, __u8 *rdesc, in va_logical_boundary_fixup() argument
70 cp_report_fixup(struct hid_device *hdev, __u8 *rdesc, unsigned int *rsize) cp_report_fixup() argument
[all...]
H A Dhid-elecom.c39 __u8 *rdesc, unsigned int rsize, in mouse_button_fixup()
42 if (rsize < 32 || rdesc[12] != 0x95 || in mouse_button_fixup()
43 rdesc[14] != 0x75 || rdesc[15] != 0x01 || in mouse_button_fixup()
44 rdesc[20] != 0x29 || rdesc[30] != 0x75) in mouse_button_fixup()
48 rdesc[13] = nbuttons; in mouse_button_fixup()
49 rdesc[21] = nbuttons; in mouse_button_fixup()
50 rdesc[31] = MOUSE_BUTTONS_MAX - nbuttons; in mouse_button_fixup()
53 static __u8 *elecom_report_fixup(struct hid_device *hdev, __u8 *rdesc, in elecom_report_fixup() argument
38 mouse_button_fixup(struct hid_device *hdev, __u8 *rdesc, unsigned int rsize, int nbuttons) mouse_button_fixup() argument
[all...]
H A Dhid-glorious.c29 static __u8 *glorious_report_fixup(struct hid_device *hdev, __u8 *rdesc, in glorious_report_fixup() argument
33 rdesc[84] == 129 && rdesc[112] == 129 && rdesc[140] == 129 && in glorious_report_fixup()
34 rdesc[85] == 3 && rdesc[113] == 3 && rdesc[141] == 3) { in glorious_report_fixup()
36 rdesc[85] = rdesc[113] = rdesc[14 in glorious_report_fixup()
[all...]
H A Dhid-holtek-mouse.c32 static __u8 *holtek_mouse_report_fixup(struct hid_device *hdev, __u8 *rdesc, in holtek_mouse_report_fixup() argument
44 if (*rsize >= 122 && rdesc[115] == 0xff && rdesc[116] == 0x7f in holtek_mouse_report_fixup()
45 && rdesc[120] == 0xff && rdesc[121] == 0x7f) { in holtek_mouse_report_fixup()
47 rdesc[116] = rdesc[121] = 0x2f; in holtek_mouse_report_fixup()
53 if (*rsize >= 113 && rdesc[106] == 0xff && rdesc[107] == 0x7f in holtek_mouse_report_fixup()
54 && rdesc[11 in holtek_mouse_report_fixup()
[all...]
H A Dhid-ortek.c25 static __u8 *ortek_report_fixup(struct hid_device *hdev, __u8 *rdesc, in ortek_report_fixup() argument
28 if (*rsize >= 56 && rdesc[54] == 0x25 && rdesc[55] == 0x01) { in ortek_report_fixup()
30 rdesc[55] = 0x92; in ortek_report_fixup()
31 } else if (*rsize >= 54 && rdesc[52] == 0x25 && rdesc[53] == 0x01) { in ortek_report_fixup()
33 rdesc[53] = 0x65; in ortek_report_fixup()
35 return rdesc; in ortek_report_fixup()
H A Dhid-sunplus.c21 static __u8 *sp_report_fixup(struct hid_device *hdev, __u8 *rdesc, in sp_report_fixup() argument
24 if (*rsize >= 112 && rdesc[104] == 0x26 && rdesc[105] == 0x80 && in sp_report_fixup()
25 rdesc[106] == 0x03) { in sp_report_fixup()
27 rdesc[105] = rdesc[110] = 0x03; in sp_report_fixup()
28 rdesc[106] = rdesc[111] = 0x21; in sp_report_fixup()
30 return rdesc; in sp_report_fixup()
H A Dhid-kye.c557 static __u8 *kye_consumer_control_fixup(struct hid_device *hdev, __u8 *rdesc, in kye_consumer_control_fixup() argument
566 rdesc[offset] == 0x05 && rdesc[offset + 1] == 0x0c && in kye_consumer_control_fixup()
568 rdesc[offset + 2] == 0x09 && rdesc[offset + 3] == 0x01 && in kye_consumer_control_fixup()
570 rdesc[offset + 10] == 0x2a && rdesc[offset + 12] > 0x2f) { in kye_consumer_control_fixup()
572 rdesc[offset + 12] = 0x2f; in kye_consumer_control_fixup()
574 return rdesc; in kye_consumer_control_fixup()
577 static __u8 *kye_report_fixup(struct hid_device *hdev, __u8 *rdesc, in kye_report_fixup() argument
[all...]
H A Dhid-petalynx.c22 static __u8 *pl_report_fixup(struct hid_device *hdev, __u8 *rdesc, in pl_report_fixup() argument
25 if (*rsize >= 62 && rdesc[39] == 0x2a && rdesc[40] == 0xf5 && in pl_report_fixup()
26 rdesc[41] == 0x00 && rdesc[59] == 0x26 && in pl_report_fixup()
27 rdesc[60] == 0xf9 && rdesc[61] == 0x00) { in pl_report_fixup()
29 rdesc[60] = 0xfa; in pl_report_fixup()
30 rdesc[40] = 0xfa; in pl_report_fixup()
32 return rdesc; in pl_report_fixup()
[all...]
H A Dhid-zydacron.c27 static __u8 *zc_report_fixup(struct hid_device *hdev, __u8 *rdesc, in zc_report_fixup() argument
31 rdesc[0x96] == 0xbc && rdesc[0x97] == 0xff && in zc_report_fixup()
32 rdesc[0xca] == 0xbc && rdesc[0xcb] == 0xff && in zc_report_fixup()
33 rdesc[0xe1] == 0xbc && rdesc[0xe2] == 0xff) { in zc_report_fixup()
36 rdesc[0x96] = rdesc[0xca] = rdesc[ in zc_report_fixup()
[all...]
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-samsung.c58 static __u8 *samsung_irda_report_fixup(struct hid_device *hdev, __u8 *rdesc, in samsung_irda_report_fixup() argument
61 if (*rsize == 184 && rdesc[175] == 0x25 && rdesc[176] == 0x40 && in samsung_irda_report_fixup()
62 rdesc[177] == 0x75 && rdesc[178] == 0x30 && in samsung_irda_report_fixup()
63 rdesc[179] == 0x95 && rdesc[180] == 0x01 && in samsung_irda_report_fixup()
64 rdesc[182] == 0x40) { in samsung_irda_report_fixup()
66 rdesc[176] = 0xff; in samsung_irda_report_fixup()
67 rdesc[17 in samsung_irda_report_fixup()
128 samsung_report_fixup(struct hid_device *hdev, __u8 *rdesc, unsigned int *rsize) samsung_report_fixup() argument
[all...]
H A Dhid-cypress.c32 static __u8 *cp_rdesc_fixup(struct hid_device *hdev, __u8 *rdesc, in cp_rdesc_fixup() argument
38 return rdesc; in cp_rdesc_fixup()
41 if (rdesc[i] == 0x29 && rdesc[i + 2] == 0x19) { in cp_rdesc_fixup()
42 rdesc[i] = 0x19; in cp_rdesc_fixup()
43 rdesc[i + 2] = 0x29; in cp_rdesc_fixup()
44 swap(rdesc[i + 3], rdesc[i + 1]); in cp_rdesc_fixup()
46 return rdesc; in cp_rdesc_fixup()
49 static __u8 *va_logical_boundary_fixup(struct hid_device *hdev, __u8 *rdesc, in va_logical_boundary_fixup() argument
70 cp_report_fixup(struct hid_device *hdev, __u8 *rdesc, unsigned int *rsize) cp_report_fixup() argument
[all...]
H A Dhid-elecom.c37 __u8 *rdesc, unsigned int rsize, in mouse_button_fixup()
44 if (rsize < 32 || rdesc[button_bit_count] != 0x95 || in mouse_button_fixup()
45 rdesc[button_report_size] != 0x75 || in mouse_button_fixup()
46 rdesc[button_report_size + 1] != 0x01 || in mouse_button_fixup()
47 rdesc[button_usage_maximum] != 0x29 || rdesc[padding_bit] != 0x75) in mouse_button_fixup()
51 rdesc[button_bit_count + 1] = nbuttons; in mouse_button_fixup()
52 rdesc[button_usage_maximum + 1] = nbuttons; in mouse_button_fixup()
53 rdesc[padding_bit + 1] = MOUSE_BUTTONS_MAX - nbuttons; in mouse_button_fixup()
56 static __u8 *elecom_report_fixup(struct hid_device *hdev, __u8 *rdesc, in elecom_report_fixup() argument
36 mouse_button_fixup(struct hid_device *hdev, __u8 *rdesc, unsigned int rsize, unsigned int button_bit_count, unsigned int padding_bit, unsigned int button_report_size, unsigned int button_usage_maximum, int nbuttons) mouse_button_fixup() argument
[all...]
H A Dhid-glorious.c29 static __u8 *glorious_report_fixup(struct hid_device *hdev, __u8 *rdesc, in glorious_report_fixup() argument
33 rdesc[84] == 129 && rdesc[112] == 129 && rdesc[140] == 129 && in glorious_report_fixup()
34 rdesc[85] == 3 && rdesc[113] == 3 && rdesc[141] == 3) { in glorious_report_fixup()
36 rdesc[85] = rdesc[113] = rdesc[14 in glorious_report_fixup()
[all...]
H A Dhid-kye.c362 static __u8 *kye_consumer_control_fixup(struct hid_device *hdev, __u8 *rdesc, in kye_consumer_control_fixup() argument
372 rdesc[offset] == 0x05 && rdesc[offset + 1] == 0x0c && in kye_consumer_control_fixup()
374 rdesc[offset + 2] == 0x09 && rdesc[offset + 3] == 0x01 && in kye_consumer_control_fixup()
376 rdesc[offset + 10] == 0x2a && rdesc[offset + 12] > 0x2f) { in kye_consumer_control_fixup()
378 rdesc[offset + 12] = 0x2f; in kye_consumer_control_fixup()
380 return rdesc; in kye_consumer_control_fixup()
402 static __u8 *kye_tablet_fixup(struct hid_device *hdev, __u8 *rdesc, unsigne argument
456 kye_report_fixup(struct hid_device *hdev, __u8 *rdesc, unsigned int *rsize) kye_report_fixup() argument
[all...]
H A Dhid-holtek-mouse.c32 static __u8 *holtek_mouse_report_fixup(struct hid_device *hdev, __u8 *rdesc, in holtek_mouse_report_fixup() argument
44 if (*rsize >= 122 && rdesc[115] == 0xff && rdesc[116] == 0x7f in holtek_mouse_report_fixup()
45 && rdesc[120] == 0xff && rdesc[121] == 0x7f) { in holtek_mouse_report_fixup()
47 rdesc[116] = rdesc[121] = 0x2f; in holtek_mouse_report_fixup()
53 if (*rsize >= 113 && rdesc[106] == 0xff && rdesc[107] == 0x7f in holtek_mouse_report_fixup()
54 && rdesc[11 in holtek_mouse_report_fixup()
[all...]
H A Dhid-ortek.c25 static __u8 *ortek_report_fixup(struct hid_device *hdev, __u8 *rdesc, in ortek_report_fixup() argument
28 if (*rsize >= 56 && rdesc[54] == 0x25 && rdesc[55] == 0x01) { in ortek_report_fixup()
30 rdesc[55] = 0x92; in ortek_report_fixup()
31 } else if (*rsize >= 54 && rdesc[52] == 0x25 && rdesc[53] == 0x01) { in ortek_report_fixup()
33 rdesc[53] = 0x65; in ortek_report_fixup()
35 return rdesc; in ortek_report_fixup()
H A Dhid-sunplus.c21 static __u8 *sp_report_fixup(struct hid_device *hdev, __u8 *rdesc, in sp_report_fixup() argument
24 if (*rsize >= 112 && rdesc[104] == 0x26 && rdesc[105] == 0x80 && in sp_report_fixup()
25 rdesc[106] == 0x03) { in sp_report_fixup()
27 rdesc[105] = rdesc[110] = 0x03; in sp_report_fixup()
28 rdesc[106] = rdesc[111] = 0x21; in sp_report_fixup()
30 return rdesc; in sp_report_fixup()
H A Dhid-petalynx.c22 static __u8 *pl_report_fixup(struct hid_device *hdev, __u8 *rdesc, in pl_report_fixup() argument
25 if (*rsize >= 62 && rdesc[39] == 0x2a && rdesc[40] == 0xf5 && in pl_report_fixup()
26 rdesc[41] == 0x00 && rdesc[59] == 0x26 && in pl_report_fixup()
27 rdesc[60] == 0xf9 && rdesc[61] == 0x00) { in pl_report_fixup()
29 rdesc[60] = 0xfa; in pl_report_fixup()
30 rdesc[40] = 0xfa; in pl_report_fixup()
32 return rdesc; in pl_report_fixup()
[all...]
/kernel/linux/linux-6.6/drivers/regulator/
H A Drtq2208-regulator.c94 const struct rtq2208_regulator_desc *rdesc = in rtq2208_set_mode() local
109 shift = ffs(rdesc->mode_mask) - 1; in rtq2208_set_mode()
110 return regmap_update_bits(rdev->regmap, rdesc->mode_reg, in rtq2208_set_mode()
111 rdesc->mode_mask, val << shift); in rtq2208_set_mode()
116 const struct rtq2208_regulator_desc *rdesc = in rtq2208_get_mode() local
121 ret = regmap_read(rdev->regmap, rdesc->mode_reg, &mode_val); in rtq2208_get_mode()
125 return (mode_val & rdesc->mode_mask) ? REGULATOR_MODE_FAST : REGULATOR_MODE_NORMAL; in rtq2208_get_mode()
165 const struct rtq2208_regulator_desc *rdesc = in rtq2208_set_suspend_enable() local
168 return regmap_set_bits(rdev->regmap, rdesc->suspend_config_reg, rdesc in rtq2208_set_suspend_enable()
173 const struct rtq2208_regulator_desc *rdesc = rtq2208_set_suspend_disable() local
181 const struct rtq2208_regulator_desc *rdesc = rtq2208_set_suspend_mode() local
343 struct rtq2208_regulator_desc *rdesc; rtq2208_of_get_fixed_voltage() local
376 rtq2208_init_regulator_desc(struct rtq2208_regulator_desc *rdesc, int mtp_sel, int idx, struct of_regulator_match *rtq2208_ldo_match, int *ldo_idx) rtq2208_init_regulator_desc() argument
444 rtq2208_parse_regulator_dt_data(int n_regulator, const unsigned int *regulator_idx_table, struct rtq2208_regulator_desc *rdesc[RTQ2208_LDO_MAX], struct device *dev) rtq2208_parse_regulator_dt_data() argument
514 struct rtq2208_regulator_desc *rdesc[RTQ2208_LDO_MAX]; rtq2208_probe() local
[all...]
H A Danatop-regulator.c29 struct regulator_desc rdesc; member
160 struct regulator_desc *rdesc; in anatop_regulator_probe() local
179 rdesc = &sreg->rdesc; in anatop_regulator_probe()
180 rdesc->type = REGULATOR_VOLTAGE; in anatop_regulator_probe()
181 rdesc->owner = THIS_MODULE; in anatop_regulator_probe()
183 of_property_read_string(np, "regulator-name", &rdesc->name); in anatop_regulator_probe()
184 if (!rdesc->name) { in anatop_regulator_probe()
189 initdata = of_get_regulator_init_data(dev, np, rdesc); in anatop_regulator_probe()
242 rdesc in anatop_regulator_probe()
[all...]
/kernel/linux/linux-5.10/drivers/regulator/
H A Danatop-regulator.c29 struct regulator_desc rdesc; member
160 struct regulator_desc *rdesc; in anatop_regulator_probe() local
179 rdesc = &sreg->rdesc; in anatop_regulator_probe()
180 rdesc->type = REGULATOR_VOLTAGE; in anatop_regulator_probe()
181 rdesc->owner = THIS_MODULE; in anatop_regulator_probe()
183 of_property_read_string(np, "regulator-name", &rdesc->name); in anatop_regulator_probe()
184 if (!rdesc->name) { in anatop_regulator_probe()
189 initdata = of_get_regulator_init_data(dev, np, rdesc); in anatop_regulator_probe()
242 rdesc in anatop_regulator_probe()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/hid/tests/
H A Dtest_multitouch.py105 rdesc=None,
112 super().__init__(name, application, rdesc_str, rdesc, input_info)
181 rdesc = None
184 rdesc = v
186 if rdesc is None:
189 if "Contact Max" not in [f.usage_name for f in rdesc]:
193 r = rdesc.create_report([self], None)
200 rdesc = None
203 rdesc = v
205 if rdesc i
[all...]

Completed in 10 milliseconds

123456789