Lines Matching refs:cmd

138 	u8 cmd[] = { 0x01, 0x00};  in cyapa_pip_state_parse()  local
159 cmd, sizeof(cmd), in cyapa_pip_state_parse()
292 u8 cmd[] = { 0x04, 0x00, 0x05, 0x00, 0x2f, 0x00, cmd_code }; in cyapa_gen6_config_dev_irq() local
298 error = cyapa_i2c_pip_cmd_irq_sync(cyapa, cmd, sizeof(cmd), in cyapa_gen6_config_dev_irq()
322 u8 cmd[] = { 0x04, 0x00, 0x06, 0x00, 0x2f, 0x00, 0x46, power_mode }; in cyapa_gen6_change_power_state() local
328 error = cyapa_i2c_pip_cmd_irq_sync(cyapa, cmd, sizeof(cmd), in cyapa_gen6_change_power_state()
391 u8 cmd[] = { 0x04, 0x00, 0x05, 0x00, 0x2f, 0x00, in cyapa_gen6_get_interval_setting() local
398 error = cyapa_i2c_pip_cmd_irq_sync(cyapa, cmd, sizeof(cmd), in cyapa_gen6_get_interval_setting()
569 } __packed cmd; in cyapa_pip_retrieve_data_structure() local
574 memset(&cmd, 0, sizeof(cmd)); in cyapa_pip_retrieve_data_structure()
575 put_unaligned_le16(PIP_OUTPUT_REPORT_ADDR, &cmd.head.addr); in cyapa_pip_retrieve_data_structure()
576 put_unaligned_le16(sizeof(cmd) - 2, &cmd.head.length); in cyapa_pip_retrieve_data_structure()
577 cmd.head.report_id = PIP_APP_CMD_REPORT_ID; in cyapa_pip_retrieve_data_structure()
578 cmd.head.cmd_code = PIP_RETRIEVE_DATA_STRUCTURE; in cyapa_pip_retrieve_data_structure()
579 put_unaligned_le16(read_offset, &cmd.read_offset); in cyapa_pip_retrieve_data_structure()
580 put_unaligned_le16(read_len, &cmd.read_length); in cyapa_pip_retrieve_data_structure()
581 cmd.data_id = data_id; in cyapa_pip_retrieve_data_structure()
585 (u8 *)&cmd, sizeof(cmd), in cyapa_pip_retrieve_data_structure()