Home
last modified time | relevance | path

Searched refs:usb4_switch_op (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/thunderbolt/
H A Dusb4.c19 enum usb4_switch_op { enum
175 static int usb4_switch_op(struct tb_switch *sw, u16 opcode, u8 *status) in usb4_switch_op() function
356 ret = usb4_switch_op(sw, USB4_SWITCH_OP_DROM_READ, &status); in usb4_switch_drom_read_block()
516 ret = usb4_switch_op(sw, USB4_SWITCH_OP_NVM_SECTOR_SIZE, &status); in usb4_switch_nvm_sector_size()
547 ret = usb4_switch_op(sw, USB4_SWITCH_OP_NVM_READ, &status); in usb4_switch_nvm_read_block()
589 ret = usb4_switch_op(sw, USB4_SWITCH_OP_NVM_SET_OFFSET, &status); in usb4_switch_nvm_set_offset()
607 ret = usb4_switch_op(sw, USB4_SWITCH_OP_NVM_WRITE, &status); in usb4_switch_nvm_write_next_block()
651 ret = usb4_switch_op(sw, USB4_SWITCH_OP_NVM_AUTH, &status); in usb4_switch_nvm_authenticate()
688 ret = usb4_switch_op(sw, USB4_SWITCH_OP_QUERY_DP_RESOURCE, &status); in usb4_switch_query_dp_resource()
720 ret = usb4_switch_op(s in usb4_switch_alloc_dp_resource()
[all...]
/kernel/linux/linux-6.6/drivers/thunderbolt/
H A Dusb4.c124 if (cm_ops->usb4_switch_op) { in __usb4_switch_op()
127 ret = cm_ops->usb4_switch_op(sw, opcode, metadata, status, in __usb4_switch_op()
143 static inline int usb4_switch_op(struct tb_switch *sw, u16 opcode, in usb4_switch_op() function
526 ret = usb4_switch_op(sw, USB4_SWITCH_OP_NVM_SECTOR_SIZE, &metadata, in usb4_switch_nvm_sector_size()
595 ret = usb4_switch_op(sw, USB4_SWITCH_OP_NVM_SET_OFFSET, &metadata, in usb4_switch_nvm_set_offset()
658 ret = usb4_switch_op(sw, USB4_SWITCH_OP_NVM_AUTH, NULL, NULL); in usb4_switch_nvm_authenticate()
876 ret = usb4_switch_op(sw, USB4_SWITCH_OP_QUERY_DP_RESOURCE, &metadata, in usb4_switch_query_dp_resource()
906 ret = usb4_switch_op(sw, USB4_SWITCH_OP_ALLOC_DP_RESOURCE, &metadata, in usb4_switch_alloc_dp_resource()
929 ret = usb4_switch_op(sw, USB4_SWITCH_OP_DEALLOC_DP_RESOURCE, &metadata, in usb4_switch_dealloc_dp_resource()
H A Dtb_regs.h229 enum usb4_switch_op { enum
H A Dicm.c2408 .usb4_switch_op = icm_usb4_switch_op,
2424 .usb4_switch_op = icm_usb4_switch_op,
H A Dtb.h476 * @usb4_switch_op: Optional proxy for USB4 router operations. If set
515 int (*usb4_switch_op)(struct tb_switch *sw, u16 opcode, u32 *metadata, member

Completed in 13 milliseconds