/kernel/linux/linux-5.10/drivers/hsi/clients/ |
H A D | cmt_speech.c | 39 struct cs_hsi_iface *hi; member 123 static void cs_hsi_read_on_control(struct cs_hsi_iface *hi); 124 static void cs_hsi_read_on_data(struct cs_hsi_iface *hi); 211 struct cs_hsi_iface *hi = msg->context; in cs_release_cmd() local 213 list_add_tail(&msg->link, &hi->cmdqueue); in cs_release_cmd() 218 struct cs_hsi_iface *hi = msg->context; in cs_cmd_destructor() local 220 spin_lock(&hi->lock); in cs_cmd_destructor() 224 if (hi->iface_state != CS_STATE_CLOSED) in cs_cmd_destructor() 225 dev_err(&hi->cl->device, "Cmd flushed while driver active\n"); in cs_cmd_destructor() 228 hi in cs_cmd_destructor() 264 cs_alloc_cmds(struct cs_hsi_iface *hi) cs_alloc_cmds() argument 296 struct cs_hsi_iface *hi = msg->context; cs_hsi_data_destructor() local 318 cs_hsi_alloc_data(struct cs_hsi_iface *hi) cs_hsi_alloc_data() argument 359 cs_hsi_free_data(struct cs_hsi_iface *hi) cs_hsi_free_data() argument 365 __cs_hsi_error_pre(struct cs_hsi_iface *hi, struct hsi_msg *msg, const char *info, unsigned int *state) __cs_hsi_error_pre() argument 374 __cs_hsi_error_post(struct cs_hsi_iface *hi) __cs_hsi_error_post() argument 391 cs_hsi_control_read_error(struct cs_hsi_iface *hi, struct hsi_msg *msg) cs_hsi_control_read_error() argument 400 cs_hsi_control_write_error(struct cs_hsi_iface *hi, struct hsi_msg *msg) cs_hsi_control_write_error() argument 410 cs_hsi_data_read_error(struct cs_hsi_iface *hi, struct hsi_msg *msg) cs_hsi_data_read_error() argument 417 cs_hsi_data_write_error(struct cs_hsi_iface *hi, struct hsi_msg *msg) cs_hsi_data_write_error() argument 428 struct cs_hsi_iface *hi = msg->context; cs_hsi_read_on_control_complete() local 460 struct cs_hsi_iface *hi = msg->context; cs_hsi_peek_on_control_complete() local 479 cs_hsi_read_on_control(struct cs_hsi_iface *hi) cs_hsi_read_on_control() argument 511 struct cs_hsi_iface *hi = msg->context; cs_hsi_write_on_control_complete() local 526 cs_hsi_write_on_control(struct cs_hsi_iface *hi, u32 message) cs_hsi_write_on_control() argument 575 struct cs_hsi_iface *hi = msg->context; cs_hsi_read_on_data_complete() local 602 struct cs_hsi_iface *hi = msg->context; cs_hsi_peek_on_data_complete() local 650 cs_hsi_read_on_data(struct cs_hsi_iface *hi) cs_hsi_read_on_data() argument 678 struct cs_hsi_iface *hi = msg->context; cs_hsi_write_on_data_complete() local 691 cs_hsi_write_on_data(struct cs_hsi_iface *hi, unsigned int slot) cs_hsi_write_on_data() argument 735 cs_hsi_get_state(struct cs_hsi_iface *hi) cs_hsi_get_state() argument 740 cs_hsi_command(struct cs_hsi_iface *hi, u32 cmd) cs_hsi_command() argument 764 cs_hsi_set_wakeline(struct cs_hsi_iface *hi, bool new_state) cs_hsi_set_wakeline() argument 788 set_buffer_sizes(struct cs_hsi_iface *hi, int rx_bufs, int tx_bufs) set_buffer_sizes() argument 810 check_buf_params(struct cs_hsi_iface *hi, const struct cs_buffer_config *buf_cfg) check_buf_params() argument 833 cs_hsi_data_sync(struct cs_hsi_iface *hi) cs_hsi_data_sync() argument 879 cs_hsi_data_enable(struct cs_hsi_iface *hi, struct cs_buffer_config *buf_cfg) cs_hsi_data_enable() argument 915 cs_hsi_data_disable(struct cs_hsi_iface *hi, int old_state) cs_hsi_data_disable() argument 924 cs_hsi_buf_config(struct cs_hsi_iface *hi, struct cs_buffer_config *buf_cfg) cs_hsi_buf_config() argument 984 cs_hsi_start(struct cs_hsi_iface **hi, struct hsi_client *cl, unsigned long mmap_base, unsigned long mmap_size) cs_hsi_start() argument 1059 cs_hsi_stop(struct cs_hsi_iface *hi) cs_hsi_stop() argument 1407 struct cs_hsi_iface *hi; cs_hsi_client_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/hsi/clients/ |
H A D | cmt_speech.c | 39 struct cs_hsi_iface *hi; member 123 static void cs_hsi_read_on_control(struct cs_hsi_iface *hi); 124 static void cs_hsi_read_on_data(struct cs_hsi_iface *hi); 211 struct cs_hsi_iface *hi = msg->context; in cs_release_cmd() local 213 list_add_tail(&msg->link, &hi->cmdqueue); in cs_release_cmd() 218 struct cs_hsi_iface *hi = msg->context; in cs_cmd_destructor() local 220 spin_lock(&hi->lock); in cs_cmd_destructor() 224 if (hi->iface_state != CS_STATE_CLOSED) in cs_cmd_destructor() 225 dev_err(&hi->cl->device, "Cmd flushed while driver active\n"); in cs_cmd_destructor() 228 hi in cs_cmd_destructor() 264 cs_alloc_cmds(struct cs_hsi_iface *hi) cs_alloc_cmds() argument 296 struct cs_hsi_iface *hi = msg->context; cs_hsi_data_destructor() local 318 cs_hsi_alloc_data(struct cs_hsi_iface *hi) cs_hsi_alloc_data() argument 359 cs_hsi_free_data(struct cs_hsi_iface *hi) cs_hsi_free_data() argument 365 __cs_hsi_error_pre(struct cs_hsi_iface *hi, struct hsi_msg *msg, const char *info, unsigned int *state) __cs_hsi_error_pre() argument 374 __cs_hsi_error_post(struct cs_hsi_iface *hi) __cs_hsi_error_post() argument 391 cs_hsi_control_read_error(struct cs_hsi_iface *hi, struct hsi_msg *msg) cs_hsi_control_read_error() argument 400 cs_hsi_control_write_error(struct cs_hsi_iface *hi, struct hsi_msg *msg) cs_hsi_control_write_error() argument 410 cs_hsi_data_read_error(struct cs_hsi_iface *hi, struct hsi_msg *msg) cs_hsi_data_read_error() argument 417 cs_hsi_data_write_error(struct cs_hsi_iface *hi, struct hsi_msg *msg) cs_hsi_data_write_error() argument 428 struct cs_hsi_iface *hi = msg->context; cs_hsi_read_on_control_complete() local 460 struct cs_hsi_iface *hi = msg->context; cs_hsi_peek_on_control_complete() local 479 cs_hsi_read_on_control(struct cs_hsi_iface *hi) cs_hsi_read_on_control() argument 511 struct cs_hsi_iface *hi = msg->context; cs_hsi_write_on_control_complete() local 526 cs_hsi_write_on_control(struct cs_hsi_iface *hi, u32 message) cs_hsi_write_on_control() argument 575 struct cs_hsi_iface *hi = msg->context; cs_hsi_read_on_data_complete() local 602 struct cs_hsi_iface *hi = msg->context; cs_hsi_peek_on_data_complete() local 650 cs_hsi_read_on_data(struct cs_hsi_iface *hi) cs_hsi_read_on_data() argument 678 struct cs_hsi_iface *hi = msg->context; cs_hsi_write_on_data_complete() local 691 cs_hsi_write_on_data(struct cs_hsi_iface *hi, unsigned int slot) cs_hsi_write_on_data() argument 735 cs_hsi_get_state(struct cs_hsi_iface *hi) cs_hsi_get_state() argument 740 cs_hsi_command(struct cs_hsi_iface *hi, u32 cmd) cs_hsi_command() argument 764 cs_hsi_set_wakeline(struct cs_hsi_iface *hi, bool new_state) cs_hsi_set_wakeline() argument 788 set_buffer_sizes(struct cs_hsi_iface *hi, int rx_bufs, int tx_bufs) set_buffer_sizes() argument 810 check_buf_params(struct cs_hsi_iface *hi, const struct cs_buffer_config *buf_cfg) check_buf_params() argument 833 cs_hsi_data_sync(struct cs_hsi_iface *hi) cs_hsi_data_sync() argument 879 cs_hsi_data_enable(struct cs_hsi_iface *hi, struct cs_buffer_config *buf_cfg) cs_hsi_data_enable() argument 915 cs_hsi_data_disable(struct cs_hsi_iface *hi, int old_state) cs_hsi_data_disable() argument 924 cs_hsi_buf_config(struct cs_hsi_iface *hi, struct cs_buffer_config *buf_cfg) cs_hsi_buf_config() argument 984 cs_hsi_start(struct cs_hsi_iface **hi, struct hsi_client *cl, unsigned long mmap_base, unsigned long mmap_size) cs_hsi_start() argument 1059 cs_hsi_stop(struct cs_hsi_iface *hi) cs_hsi_stop() argument 1407 struct cs_hsi_iface *hi; cs_hsi_client_remove() local [all...] |
/kernel/linux/linux-5.10/arch/mips/loongson2ef/common/cs5536/ |
H A D | cs5536_ehci.c | 17 u32 hi = 0, lo = value; in pci_ehci_write_reg() local 21 _rdmsr(USB_MSR_REG(USB_EHCI), &hi, &lo); in pci_ehci_write_reg() local 23 hi |= PCI_COMMAND_MASTER; in pci_ehci_write_reg() 25 hi &= ~PCI_COMMAND_MASTER; in pci_ehci_write_reg() 28 hi |= PCI_COMMAND_MEMORY; in pci_ehci_write_reg() 30 hi &= ~PCI_COMMAND_MEMORY; in pci_ehci_write_reg() 31 _wrmsr(USB_MSR_REG(USB_EHCI), hi, lo); in pci_ehci_write_reg() local 35 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); in pci_ehci_write_reg() local 38 _wrmsr(SB_MSR_REG(SB_ERROR), hi, lo); in pci_ehci_write_reg() local 44 _rdmsr(GLCP_MSR_REG(GLCP_SOFT_COM), &hi, in pci_ehci_write_reg() local 46 _wrmsr(GLCP_MSR_REG(GLCP_SOFT_COM), hi, lo); pci_ehci_write_reg() local 48 _rdmsr(USB_MSR_REG(USB_EHCI), &hi, &lo); pci_ehci_write_reg() local 50 _wrmsr(USB_MSR_REG(USB_EHCI), hi, lo); pci_ehci_write_reg() local 55 _wrmsr(GLIU_MSR_REG(GLIU_P2D_BM4), hi, lo); pci_ehci_write_reg() local 59 _rdmsr(USB_MSR_REG(USB_EHCI), &hi, &lo); pci_ehci_write_reg() local 62 _wrmsr(USB_MSR_REG(USB_EHCI), hi, lo); pci_ehci_write_reg() local 65 _rdmsr(USB_MSR_REG(USB_EHCI), &hi, &lo); pci_ehci_write_reg() local 68 _wrmsr(USB_MSR_REG(USB_EHCI), hi, lo); pci_ehci_write_reg() local 78 u32 hi, lo; pci_ehci_read_reg() local 86 _rdmsr(USB_MSR_REG(USB_EHCI), &hi, &lo); pci_ehci_read_reg() local 95 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); pci_ehci_read_reg() local 101 _rdmsr(USB_MSR_REG(USB_CAP), &hi, &lo); pci_ehci_read_reg() local 111 _rdmsr(GLCP_MSR_REG(GLCP_SOFT_COM), &hi, &lo); pci_ehci_read_reg() local 116 _wrmsr(GLCP_MSR_REG(GLCP_SOFT_COM), hi, lo); pci_ehci_read_reg() local 118 _rdmsr(USB_MSR_REG(USB_EHCI), &hi, &lo); pci_ehci_read_reg() local 140 _rdmsr(USB_MSR_REG(USB_EHCI), &hi, &lo); pci_ehci_read_reg() local 144 _rdmsr(USB_MSR_REG(USB_EHCI), &hi, &lo); pci_ehci_read_reg() local 148 _rdmsr(USB_MSR_REG(USB_EHCI), &hi, &lo); pci_ehci_read_reg() local [all...] |
H A D | cs5536_ide.c | 17 u32 hi = 0, lo = value; in pci_ide_write_reg() local 21 _rdmsr(GLIU_MSR_REG(GLIU_PAE), &hi, &lo); in pci_ide_write_reg() local 26 _wrmsr(GLIU_MSR_REG(GLIU_PAE), hi, lo); in pci_ide_write_reg() local 30 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); in pci_ide_write_reg() local 33 _wrmsr(SB_MSR_REG(SB_ERROR), hi, lo); in pci_ide_write_reg() local 39 _rdmsr(SB_MSR_REG(SB_CTRL), &hi, &lo); in pci_ide_write_reg() local 40 hi &= 0xffffff00; in pci_ide_write_reg() 41 hi |= (value >> 8); in pci_ide_write_reg() 42 _wrmsr(SB_MSR_REG(SB_CTRL), hi, lo); in pci_ide_write_reg() local 46 _rdmsr(GLCP_MSR_REG(GLCP_SOFT_COM), &hi, in pci_ide_write_reg() local 48 _wrmsr(GLCP_MSR_REG(GLCP_SOFT_COM), hi, lo); pci_ide_write_reg() local 50 _rdmsr(IDE_MSR_REG(IDE_IO_BAR), &hi, &lo); pci_ide_write_reg() local 52 _wrmsr(IDE_MSR_REG(IDE_IO_BAR), hi, lo); pci_ide_write_reg() local 57 _wrmsr(GLIU_MSR_REG(GLIU_IOD_BM2), hi, lo); pci_ide_write_reg() local 62 _rdmsr(DIVIL_MSR_REG(DIVIL_BALL_OPTS), &hi, &lo); pci_ide_write_reg() local 64 _wrmsr(DIVIL_MSR_REG(DIVIL_BALL_OPTS), hi, lo); pci_ide_write_reg() local 66 _rdmsr(IDE_MSR_REG(IDE_CFG), &hi, &lo); pci_ide_write_reg() local 68 _wrmsr(IDE_MSR_REG(IDE_CFG), hi, lo); pci_ide_write_reg() local 72 _rdmsr(IDE_MSR_REG(IDE_DTC), &hi, &lo); pci_ide_write_reg() local 74 _wrmsr(IDE_MSR_REG(IDE_DTC), hi, lo); pci_ide_write_reg() local 77 _rdmsr(IDE_MSR_REG(IDE_CAST), &hi, &lo); pci_ide_write_reg() local 79 _wrmsr(IDE_MSR_REG(IDE_CAST), hi, lo); pci_ide_write_reg() local 82 _rdmsr(IDE_MSR_REG(IDE_ETC), &hi, &lo); pci_ide_write_reg() local 84 _wrmsr(IDE_MSR_REG(IDE_ETC), hi, lo); pci_ide_write_reg() local 87 _rdmsr(IDE_MSR_REG(IDE_INTERNAL_PM), &hi, &lo); pci_ide_write_reg() local 89 _wrmsr(IDE_MSR_REG(IDE_INTERNAL_PM), hi, lo); pci_ide_write_reg() local 99 u32 hi, lo; pci_ide_read_reg() local 107 _rdmsr(IDE_MSR_REG(IDE_IO_BAR), &hi, &lo); pci_ide_read_reg() local 110 _rdmsr(GLIU_MSR_REG(GLIU_PAE), &hi, &lo); pci_ide_read_reg() local 117 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); pci_ide_read_reg() local 123 _rdmsr(IDE_MSR_REG(IDE_CAP), &hi, &lo); pci_ide_read_reg() local 128 _rdmsr(SB_MSR_REG(SB_CTRL), &hi, &lo); pci_ide_read_reg() local 133 _rdmsr(GLCP_MSR_REG(GLCP_SOFT_COM), &hi, &lo); pci_ide_read_reg() local 138 _wrmsr(GLCP_MSR_REG(GLCP_SOFT_COM), hi, lo); pci_ide_read_reg() local 140 _rdmsr(IDE_MSR_REG(IDE_IO_BAR), &hi, &lo); pci_ide_read_reg() local 164 _rdmsr(IDE_MSR_REG(IDE_CFG), &hi, &lo); pci_ide_read_reg() local 168 _rdmsr(IDE_MSR_REG(IDE_DTC), &hi, &lo); pci_ide_read_reg() local 172 _rdmsr(IDE_MSR_REG(IDE_CAST), &hi, &lo); pci_ide_read_reg() local 176 _rdmsr(IDE_MSR_REG(IDE_ETC), &hi, &lo); pci_ide_read_reg() local 180 _rdmsr(IDE_MSR_REG(IDE_INTERNAL_PM), &hi, &lo); pci_ide_read_reg() local [all...] |
H A D | cs5536_isa.c | 51 u32 hi, lo; in divil_lbar_enable() local 59 _rdmsr(DIVIL_MSR_REG(offset), &hi, &lo); in divil_lbar_enable() local 60 hi |= 0x01; in divil_lbar_enable() 61 _wrmsr(DIVIL_MSR_REG(offset), hi, lo); in divil_lbar_enable() local 70 u32 hi, lo; in divil_lbar_disable() local 74 _rdmsr(DIVIL_MSR_REG(offset), &hi, &lo); in divil_lbar_disable() local 75 hi &= ~0x01; in divil_lbar_disable() 76 _wrmsr(DIVIL_MSR_REG(offset), hi, lo); in divil_lbar_disable() local 86 u32 hi = 0, lo = value; in pci_isa_write_bar() local 89 _rdmsr(GLCP_MSR_REG(GLCP_SOFT_COM), &hi, in pci_isa_write_bar() local 91 _wrmsr(GLCP_MSR_REG(GLCP_SOFT_COM), hi, lo); pci_isa_write_bar() local 113 u32 hi, lo; pci_isa_read_bar() local 115 _rdmsr(GLCP_MSR_REG(GLCP_SOFT_COM), &hi, &lo); pci_isa_read_bar() local 119 _wrmsr(GLCP_MSR_REG(GLCP_SOFT_COM), hi, lo); pci_isa_read_bar() local 136 u32 hi = 0, lo = value; pci_isa_write_reg() local 147 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); pci_isa_write_reg() local 166 _wrmsr(SB_MSR_REG(SB_ERROR), hi, lo); pci_isa_write_reg() local 170 _rdmsr(SB_MSR_REG(SB_CTRL), &hi, &lo); pci_isa_write_reg() local 173 _wrmsr(SB_MSR_REG(SB_CTRL), hi, lo); pci_isa_write_reg() local 194 _rdmsr(DIVIL_MSR_REG(PIC_YSEL_HIGH), &hi, &lo); pci_isa_write_reg() local 199 _wrmsr(DIVIL_MSR_REG(PIC_YSEL_HIGH), hi, lo); pci_isa_write_reg() local 202 _rdmsr(DIVIL_MSR_REG(PIC_YSEL_HIGH), &hi, &lo); pci_isa_write_reg() local 207 _wrmsr(DIVIL_MSR_REG(PIC_YSEL_HIGH), hi, lo); pci_isa_write_reg() local 212 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); pci_isa_write_reg() local 214 _wrmsr(SB_MSR_REG(SB_ERROR), hi, lo); pci_isa_write_reg() local 231 u32 hi, lo; pci_isa_read_reg() local 241 _rdmsr(DIVIL_MSR_REG(DIVIL_LBAR_SMB), &hi, &lo); pci_isa_read_reg() local 250 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); pci_isa_read_reg() local 261 _rdmsr(GLCP_MSR_REG(GLCP_CHIP_REV_ID), &hi, &lo); pci_isa_read_reg() local 266 _rdmsr(SB_MSR_REG(SB_CTRL), &hi, &lo); pci_isa_read_reg() local [all...] |
H A D | cs5536_ohci.c | 17 u32 hi = 0, lo = value; in pci_ohci_write_reg() local 21 _rdmsr(USB_MSR_REG(USB_OHCI), &hi, &lo); in pci_ohci_write_reg() local 23 hi |= PCI_COMMAND_MASTER; in pci_ohci_write_reg() 25 hi &= ~PCI_COMMAND_MASTER; in pci_ohci_write_reg() 28 hi |= PCI_COMMAND_MEMORY; in pci_ohci_write_reg() 30 hi &= ~PCI_COMMAND_MEMORY; in pci_ohci_write_reg() 31 _wrmsr(USB_MSR_REG(USB_OHCI), hi, lo); in pci_ohci_write_reg() local 35 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); in pci_ohci_write_reg() local 38 _wrmsr(SB_MSR_REG(SB_ERROR), hi, lo); in pci_ohci_write_reg() local 44 _rdmsr(GLCP_MSR_REG(GLCP_SOFT_COM), &hi, in pci_ohci_write_reg() local 46 _wrmsr(GLCP_MSR_REG(GLCP_SOFT_COM), hi, lo); pci_ohci_write_reg() local 48 _rdmsr(USB_MSR_REG(USB_OHCI), &hi, &lo); pci_ohci_write_reg() local 50 _wrmsr(USB_MSR_REG(USB_OHCI), hi, lo); pci_ohci_write_reg() local 55 _wrmsr(GLIU_MSR_REG(GLIU_P2D_BM3), hi, lo); pci_ohci_write_reg() local 59 _rdmsr(DIVIL_MSR_REG(PIC_YSEL_LOW), &hi, &lo); pci_ohci_write_reg() local 63 _wrmsr(DIVIL_MSR_REG(PIC_YSEL_LOW), hi, lo); pci_ohci_write_reg() local 73 u32 hi, lo; pci_ohci_read_reg() local 81 _rdmsr(USB_MSR_REG(USB_OHCI), &hi, &lo); pci_ohci_read_reg() local 90 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); pci_ohci_read_reg() local 96 _rdmsr(USB_MSR_REG(USB_CAP), &hi, &lo); pci_ohci_read_reg() local 106 _rdmsr(GLCP_MSR_REG(GLCP_SOFT_COM), &hi, &lo); pci_ohci_read_reg() local 111 _wrmsr(GLCP_MSR_REG(GLCP_SOFT_COM), hi, lo); pci_ohci_read_reg() local 113 _rdmsr(USB_MSR_REG(USB_OHCI), &hi, &lo); pci_ohci_read_reg() local 136 _rdmsr(DIVIL_MSR_REG(PIC_YSEL_LOW), &hi, &lo); pci_ohci_read_reg() local [all...] |
H A D | cs5536_acc.c | 17 u32 hi = 0, lo = value; in pci_acc_write_reg() local 21 _rdmsr(GLIU_MSR_REG(GLIU_PAE), &hi, &lo); in pci_acc_write_reg() local 26 _wrmsr(GLIU_MSR_REG(GLIU_PAE), hi, lo); in pci_acc_write_reg() local 30 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); in pci_acc_write_reg() local 33 _wrmsr(SB_MSR_REG(SB_ERROR), hi, lo); in pci_acc_write_reg() local 39 _rdmsr(GLCP_MSR_REG(GLCP_SOFT_COM), &hi, &lo); in pci_acc_write_reg() local 41 _wrmsr(GLCP_MSR_REG(GLCP_SOFT_COM), hi, lo); in pci_acc_write_reg() local 44 hi = 0xA0000000 | ((value & 0x000ff000) >> 12); in pci_acc_write_reg() 46 _wrmsr(GLIU_MSR_REG(GLIU_IOD_BM1), hi, lo); in pci_acc_write_reg() local 50 _rdmsr(DIVIL_MSR_REG(PIC_YSEL_LOW), &hi, in pci_acc_write_reg() local 55 _wrmsr(DIVIL_MSR_REG(PIC_YSEL_LOW), hi, lo); pci_acc_write_reg() local 64 u32 hi, lo; pci_acc_read_reg() local 73 _rdmsr(GLIU_MSR_REG(GLIU_IOD_BM1), &hi, &lo); pci_acc_read_reg() local 77 _rdmsr(GLIU_MSR_REG(GLIU_PAE), &hi, &lo); pci_acc_read_reg() local 84 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); pci_acc_read_reg() local 90 _rdmsr(ACC_MSR_REG(ACC_CAP), &hi, &lo); pci_acc_read_reg() local 100 _rdmsr(GLCP_MSR_REG(GLCP_SOFT_COM), &hi, &lo); pci_acc_read_reg() local 105 _wrmsr(GLCP_MSR_REG(GLCP_SOFT_COM), hi, lo); pci_acc_read_reg() local 107 _rdmsr(GLIU_MSR_REG(GLIU_IOD_BM1), &hi, &lo); pci_acc_read_reg() local [all...] |
/kernel/linux/linux-6.6/arch/mips/loongson2ef/common/cs5536/ |
H A D | cs5536_ehci.c | 17 u32 hi = 0, lo = value; in pci_ehci_write_reg() local 21 _rdmsr(USB_MSR_REG(USB_EHCI), &hi, &lo); in pci_ehci_write_reg() local 23 hi |= PCI_COMMAND_MASTER; in pci_ehci_write_reg() 25 hi &= ~PCI_COMMAND_MASTER; in pci_ehci_write_reg() 28 hi |= PCI_COMMAND_MEMORY; in pci_ehci_write_reg() 30 hi &= ~PCI_COMMAND_MEMORY; in pci_ehci_write_reg() 31 _wrmsr(USB_MSR_REG(USB_EHCI), hi, lo); in pci_ehci_write_reg() local 35 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); in pci_ehci_write_reg() local 38 _wrmsr(SB_MSR_REG(SB_ERROR), hi, lo); in pci_ehci_write_reg() local 44 _rdmsr(GLCP_MSR_REG(GLCP_SOFT_COM), &hi, in pci_ehci_write_reg() local 46 _wrmsr(GLCP_MSR_REG(GLCP_SOFT_COM), hi, lo); pci_ehci_write_reg() local 48 _rdmsr(USB_MSR_REG(USB_EHCI), &hi, &lo); pci_ehci_write_reg() local 50 _wrmsr(USB_MSR_REG(USB_EHCI), hi, lo); pci_ehci_write_reg() local 55 _wrmsr(GLIU_MSR_REG(GLIU_P2D_BM4), hi, lo); pci_ehci_write_reg() local 59 _rdmsr(USB_MSR_REG(USB_EHCI), &hi, &lo); pci_ehci_write_reg() local 62 _wrmsr(USB_MSR_REG(USB_EHCI), hi, lo); pci_ehci_write_reg() local 65 _rdmsr(USB_MSR_REG(USB_EHCI), &hi, &lo); pci_ehci_write_reg() local 68 _wrmsr(USB_MSR_REG(USB_EHCI), hi, lo); pci_ehci_write_reg() local 78 u32 hi, lo; pci_ehci_read_reg() local 86 _rdmsr(USB_MSR_REG(USB_EHCI), &hi, &lo); pci_ehci_read_reg() local 95 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); pci_ehci_read_reg() local 101 _rdmsr(USB_MSR_REG(USB_CAP), &hi, &lo); pci_ehci_read_reg() local 111 _rdmsr(GLCP_MSR_REG(GLCP_SOFT_COM), &hi, &lo); pci_ehci_read_reg() local 116 _wrmsr(GLCP_MSR_REG(GLCP_SOFT_COM), hi, lo); pci_ehci_read_reg() local 118 _rdmsr(USB_MSR_REG(USB_EHCI), &hi, &lo); pci_ehci_read_reg() local 140 _rdmsr(USB_MSR_REG(USB_EHCI), &hi, &lo); pci_ehci_read_reg() local 144 _rdmsr(USB_MSR_REG(USB_EHCI), &hi, &lo); pci_ehci_read_reg() local 148 _rdmsr(USB_MSR_REG(USB_EHCI), &hi, &lo); pci_ehci_read_reg() local [all...] |
H A D | cs5536_ide.c | 17 u32 hi = 0, lo = value; in pci_ide_write_reg() local 21 _rdmsr(GLIU_MSR_REG(GLIU_PAE), &hi, &lo); in pci_ide_write_reg() local 26 _wrmsr(GLIU_MSR_REG(GLIU_PAE), hi, lo); in pci_ide_write_reg() local 30 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); in pci_ide_write_reg() local 33 _wrmsr(SB_MSR_REG(SB_ERROR), hi, lo); in pci_ide_write_reg() local 39 _rdmsr(SB_MSR_REG(SB_CTRL), &hi, &lo); in pci_ide_write_reg() local 40 hi &= 0xffffff00; in pci_ide_write_reg() 41 hi |= (value >> 8); in pci_ide_write_reg() 42 _wrmsr(SB_MSR_REG(SB_CTRL), hi, lo); in pci_ide_write_reg() local 46 _rdmsr(GLCP_MSR_REG(GLCP_SOFT_COM), &hi, in pci_ide_write_reg() local 48 _wrmsr(GLCP_MSR_REG(GLCP_SOFT_COM), hi, lo); pci_ide_write_reg() local 50 _rdmsr(IDE_MSR_REG(IDE_IO_BAR), &hi, &lo); pci_ide_write_reg() local 52 _wrmsr(IDE_MSR_REG(IDE_IO_BAR), hi, lo); pci_ide_write_reg() local 57 _wrmsr(GLIU_MSR_REG(GLIU_IOD_BM2), hi, lo); pci_ide_write_reg() local 62 _rdmsr(DIVIL_MSR_REG(DIVIL_BALL_OPTS), &hi, &lo); pci_ide_write_reg() local 64 _wrmsr(DIVIL_MSR_REG(DIVIL_BALL_OPTS), hi, lo); pci_ide_write_reg() local 66 _rdmsr(IDE_MSR_REG(IDE_CFG), &hi, &lo); pci_ide_write_reg() local 68 _wrmsr(IDE_MSR_REG(IDE_CFG), hi, lo); pci_ide_write_reg() local 72 _rdmsr(IDE_MSR_REG(IDE_DTC), &hi, &lo); pci_ide_write_reg() local 74 _wrmsr(IDE_MSR_REG(IDE_DTC), hi, lo); pci_ide_write_reg() local 77 _rdmsr(IDE_MSR_REG(IDE_CAST), &hi, &lo); pci_ide_write_reg() local 79 _wrmsr(IDE_MSR_REG(IDE_CAST), hi, lo); pci_ide_write_reg() local 82 _rdmsr(IDE_MSR_REG(IDE_ETC), &hi, &lo); pci_ide_write_reg() local 84 _wrmsr(IDE_MSR_REG(IDE_ETC), hi, lo); pci_ide_write_reg() local 87 _rdmsr(IDE_MSR_REG(IDE_INTERNAL_PM), &hi, &lo); pci_ide_write_reg() local 89 _wrmsr(IDE_MSR_REG(IDE_INTERNAL_PM), hi, lo); pci_ide_write_reg() local 99 u32 hi, lo; pci_ide_read_reg() local 107 _rdmsr(IDE_MSR_REG(IDE_IO_BAR), &hi, &lo); pci_ide_read_reg() local 110 _rdmsr(GLIU_MSR_REG(GLIU_PAE), &hi, &lo); pci_ide_read_reg() local 117 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); pci_ide_read_reg() local 123 _rdmsr(IDE_MSR_REG(IDE_CAP), &hi, &lo); pci_ide_read_reg() local 128 _rdmsr(SB_MSR_REG(SB_CTRL), &hi, &lo); pci_ide_read_reg() local 133 _rdmsr(GLCP_MSR_REG(GLCP_SOFT_COM), &hi, &lo); pci_ide_read_reg() local 138 _wrmsr(GLCP_MSR_REG(GLCP_SOFT_COM), hi, lo); pci_ide_read_reg() local 140 _rdmsr(IDE_MSR_REG(IDE_IO_BAR), &hi, &lo); pci_ide_read_reg() local 164 _rdmsr(IDE_MSR_REG(IDE_CFG), &hi, &lo); pci_ide_read_reg() local 168 _rdmsr(IDE_MSR_REG(IDE_DTC), &hi, &lo); pci_ide_read_reg() local 172 _rdmsr(IDE_MSR_REG(IDE_CAST), &hi, &lo); pci_ide_read_reg() local 176 _rdmsr(IDE_MSR_REG(IDE_ETC), &hi, &lo); pci_ide_read_reg() local 180 _rdmsr(IDE_MSR_REG(IDE_INTERNAL_PM), &hi, &lo); pci_ide_read_reg() local [all...] |
H A D | cs5536_isa.c | 51 u32 hi, lo; in divil_lbar_enable() local 59 _rdmsr(DIVIL_MSR_REG(offset), &hi, &lo); in divil_lbar_enable() local 60 hi |= 0x01; in divil_lbar_enable() 61 _wrmsr(DIVIL_MSR_REG(offset), hi, lo); in divil_lbar_enable() local 70 u32 hi, lo; in divil_lbar_disable() local 74 _rdmsr(DIVIL_MSR_REG(offset), &hi, &lo); in divil_lbar_disable() local 75 hi &= ~0x01; in divil_lbar_disable() 76 _wrmsr(DIVIL_MSR_REG(offset), hi, lo); in divil_lbar_disable() local 86 u32 hi = 0, lo = value; in pci_isa_write_bar() local 89 _rdmsr(GLCP_MSR_REG(GLCP_SOFT_COM), &hi, in pci_isa_write_bar() local 91 _wrmsr(GLCP_MSR_REG(GLCP_SOFT_COM), hi, lo); pci_isa_write_bar() local 113 u32 hi, lo; pci_isa_read_bar() local 115 _rdmsr(GLCP_MSR_REG(GLCP_SOFT_COM), &hi, &lo); pci_isa_read_bar() local 119 _wrmsr(GLCP_MSR_REG(GLCP_SOFT_COM), hi, lo); pci_isa_read_bar() local 136 u32 hi = 0, lo = value; pci_isa_write_reg() local 147 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); pci_isa_write_reg() local 166 _wrmsr(SB_MSR_REG(SB_ERROR), hi, lo); pci_isa_write_reg() local 170 _rdmsr(SB_MSR_REG(SB_CTRL), &hi, &lo); pci_isa_write_reg() local 173 _wrmsr(SB_MSR_REG(SB_CTRL), hi, lo); pci_isa_write_reg() local 194 _rdmsr(DIVIL_MSR_REG(PIC_YSEL_HIGH), &hi, &lo); pci_isa_write_reg() local 199 _wrmsr(DIVIL_MSR_REG(PIC_YSEL_HIGH), hi, lo); pci_isa_write_reg() local 202 _rdmsr(DIVIL_MSR_REG(PIC_YSEL_HIGH), &hi, &lo); pci_isa_write_reg() local 207 _wrmsr(DIVIL_MSR_REG(PIC_YSEL_HIGH), hi, lo); pci_isa_write_reg() local 212 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); pci_isa_write_reg() local 214 _wrmsr(SB_MSR_REG(SB_ERROR), hi, lo); pci_isa_write_reg() local 231 u32 hi, lo; pci_isa_read_reg() local 241 _rdmsr(DIVIL_MSR_REG(DIVIL_LBAR_SMB), &hi, &lo); pci_isa_read_reg() local 250 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); pci_isa_read_reg() local 261 _rdmsr(GLCP_MSR_REG(GLCP_CHIP_REV_ID), &hi, &lo); pci_isa_read_reg() local 266 _rdmsr(SB_MSR_REG(SB_CTRL), &hi, &lo); pci_isa_read_reg() local [all...] |
H A D | cs5536_ohci.c | 17 u32 hi = 0, lo = value; in pci_ohci_write_reg() local 21 _rdmsr(USB_MSR_REG(USB_OHCI), &hi, &lo); in pci_ohci_write_reg() local 23 hi |= PCI_COMMAND_MASTER; in pci_ohci_write_reg() 25 hi &= ~PCI_COMMAND_MASTER; in pci_ohci_write_reg() 28 hi |= PCI_COMMAND_MEMORY; in pci_ohci_write_reg() 30 hi &= ~PCI_COMMAND_MEMORY; in pci_ohci_write_reg() 31 _wrmsr(USB_MSR_REG(USB_OHCI), hi, lo); in pci_ohci_write_reg() local 35 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); in pci_ohci_write_reg() local 38 _wrmsr(SB_MSR_REG(SB_ERROR), hi, lo); in pci_ohci_write_reg() local 44 _rdmsr(GLCP_MSR_REG(GLCP_SOFT_COM), &hi, in pci_ohci_write_reg() local 46 _wrmsr(GLCP_MSR_REG(GLCP_SOFT_COM), hi, lo); pci_ohci_write_reg() local 48 _rdmsr(USB_MSR_REG(USB_OHCI), &hi, &lo); pci_ohci_write_reg() local 50 _wrmsr(USB_MSR_REG(USB_OHCI), hi, lo); pci_ohci_write_reg() local 55 _wrmsr(GLIU_MSR_REG(GLIU_P2D_BM3), hi, lo); pci_ohci_write_reg() local 59 _rdmsr(DIVIL_MSR_REG(PIC_YSEL_LOW), &hi, &lo); pci_ohci_write_reg() local 63 _wrmsr(DIVIL_MSR_REG(PIC_YSEL_LOW), hi, lo); pci_ohci_write_reg() local 73 u32 hi, lo; pci_ohci_read_reg() local 81 _rdmsr(USB_MSR_REG(USB_OHCI), &hi, &lo); pci_ohci_read_reg() local 90 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); pci_ohci_read_reg() local 96 _rdmsr(USB_MSR_REG(USB_CAP), &hi, &lo); pci_ohci_read_reg() local 106 _rdmsr(GLCP_MSR_REG(GLCP_SOFT_COM), &hi, &lo); pci_ohci_read_reg() local 111 _wrmsr(GLCP_MSR_REG(GLCP_SOFT_COM), hi, lo); pci_ohci_read_reg() local 113 _rdmsr(USB_MSR_REG(USB_OHCI), &hi, &lo); pci_ohci_read_reg() local 136 _rdmsr(DIVIL_MSR_REG(PIC_YSEL_LOW), &hi, &lo); pci_ohci_read_reg() local [all...] |
H A D | cs5536_acc.c | 17 u32 hi = 0, lo = value; in pci_acc_write_reg() local 21 _rdmsr(GLIU_MSR_REG(GLIU_PAE), &hi, &lo); in pci_acc_write_reg() local 26 _wrmsr(GLIU_MSR_REG(GLIU_PAE), hi, lo); in pci_acc_write_reg() local 30 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); in pci_acc_write_reg() local 33 _wrmsr(SB_MSR_REG(SB_ERROR), hi, lo); in pci_acc_write_reg() local 39 _rdmsr(GLCP_MSR_REG(GLCP_SOFT_COM), &hi, &lo); in pci_acc_write_reg() local 41 _wrmsr(GLCP_MSR_REG(GLCP_SOFT_COM), hi, lo); in pci_acc_write_reg() local 44 hi = 0xA0000000 | ((value & 0x000ff000) >> 12); in pci_acc_write_reg() 46 _wrmsr(GLIU_MSR_REG(GLIU_IOD_BM1), hi, lo); in pci_acc_write_reg() local 50 _rdmsr(DIVIL_MSR_REG(PIC_YSEL_LOW), &hi, in pci_acc_write_reg() local 55 _wrmsr(DIVIL_MSR_REG(PIC_YSEL_LOW), hi, lo); pci_acc_write_reg() local 64 u32 hi, lo; pci_acc_read_reg() local 73 _rdmsr(GLIU_MSR_REG(GLIU_IOD_BM1), &hi, &lo); pci_acc_read_reg() local 77 _rdmsr(GLIU_MSR_REG(GLIU_PAE), &hi, &lo); pci_acc_read_reg() local 84 _rdmsr(SB_MSR_REG(SB_ERROR), &hi, &lo); pci_acc_read_reg() local 90 _rdmsr(ACC_MSR_REG(ACC_CAP), &hi, &lo); pci_acc_read_reg() local 100 _rdmsr(GLCP_MSR_REG(GLCP_SOFT_COM), &hi, &lo); pci_acc_read_reg() local 105 _wrmsr(GLCP_MSR_REG(GLCP_SOFT_COM), hi, lo); pci_acc_read_reg() local 107 _rdmsr(GLIU_MSR_REG(GLIU_IOD_BM1), &hi, &lo); pci_acc_read_reg() local [all...] |
/kernel/linux/linux-5.10/arch/csky/kernel/ |
H A D | perf_event.c | 92 uint32_t lo, hi, tmp; in csky_pmu_read_cc() local 98 hi = cprgr("<0, 0x3>"); in csky_pmu_read_cc() 99 } while (hi != tmp); in csky_pmu_read_cc() 101 result = (uint64_t) (hi) << 32; in csky_pmu_read_cc() 116 uint32_t lo, hi, tmp; in csky_pmu_read_ic() local 122 hi = cprgr("<0, 0x5>"); in csky_pmu_read_ic() 123 } while (hi != tmp); in csky_pmu_read_ic() 125 result = (uint64_t) (hi) << 32; in csky_pmu_read_ic() 140 uint32_t lo, hi, tmp; in csky_pmu_read_icac() local 146 hi in csky_pmu_read_icac() 164 uint32_t lo, hi, tmp; csky_pmu_read_icmc() local 188 uint32_t lo, hi, tmp; csky_pmu_read_dcac() local 212 uint32_t lo, hi, tmp; csky_pmu_read_dcmc() local 236 uint32_t lo, hi, tmp; csky_pmu_read_l2ac() local 260 uint32_t lo, hi, tmp; csky_pmu_read_l2mc() local 284 uint32_t lo, hi, tmp; csky_pmu_read_iutlbmc() local 308 uint32_t lo, hi, tmp; csky_pmu_read_dutlbmc() local 332 uint32_t lo, hi, tmp; csky_pmu_read_jtlbmc() local 356 uint32_t lo, hi, tmp; csky_pmu_read_softc() local 380 uint32_t lo, hi, tmp; csky_pmu_read_cbmc() local 404 uint32_t lo, hi, tmp; csky_pmu_read_cbic() local 428 uint32_t lo, hi, tmp; csky_pmu_read_ibmc() local 452 uint32_t lo, hi, tmp; csky_pmu_read_ibic() local 476 uint32_t lo, hi, tmp; csky_pmu_read_lsfc() local 500 uint32_t lo, hi, tmp; csky_pmu_read_sic() local 524 uint32_t lo, hi, tmp; csky_pmu_read_dcrac() local 548 uint32_t lo, hi, tmp; csky_pmu_read_dcrmc() local 572 uint32_t lo, hi, tmp; csky_pmu_read_dcwac() local 596 uint32_t lo, hi, tmp; csky_pmu_read_dcwmc() local 620 uint32_t lo, hi, tmp; csky_pmu_read_l2rac() local 644 uint32_t lo, hi, tmp; csky_pmu_read_l2rmc() local 668 uint32_t lo, hi, tmp; csky_pmu_read_l2wac() local 692 uint32_t lo, hi, tmp; csky_pmu_read_l2wmc() local [all...] |
/kernel/linux/linux-6.6/arch/csky/kernel/ |
H A D | perf_event.c | 92 uint32_t lo, hi, tmp; in csky_pmu_read_cc() local 98 hi = cprgr("<0, 0x3>"); in csky_pmu_read_cc() 99 } while (hi != tmp); in csky_pmu_read_cc() 101 result = (uint64_t) (hi) << 32; in csky_pmu_read_cc() 116 uint32_t lo, hi, tmp; in csky_pmu_read_ic() local 122 hi = cprgr("<0, 0x5>"); in csky_pmu_read_ic() 123 } while (hi != tmp); in csky_pmu_read_ic() 125 result = (uint64_t) (hi) << 32; in csky_pmu_read_ic() 140 uint32_t lo, hi, tmp; in csky_pmu_read_icac() local 146 hi in csky_pmu_read_icac() 164 uint32_t lo, hi, tmp; csky_pmu_read_icmc() local 188 uint32_t lo, hi, tmp; csky_pmu_read_dcac() local 212 uint32_t lo, hi, tmp; csky_pmu_read_dcmc() local 236 uint32_t lo, hi, tmp; csky_pmu_read_l2ac() local 260 uint32_t lo, hi, tmp; csky_pmu_read_l2mc() local 284 uint32_t lo, hi, tmp; csky_pmu_read_iutlbmc() local 308 uint32_t lo, hi, tmp; csky_pmu_read_dutlbmc() local 332 uint32_t lo, hi, tmp; csky_pmu_read_jtlbmc() local 356 uint32_t lo, hi, tmp; csky_pmu_read_softc() local 380 uint32_t lo, hi, tmp; csky_pmu_read_cbmc() local 404 uint32_t lo, hi, tmp; csky_pmu_read_cbic() local 428 uint32_t lo, hi, tmp; csky_pmu_read_ibmc() local 452 uint32_t lo, hi, tmp; csky_pmu_read_ibic() local 476 uint32_t lo, hi, tmp; csky_pmu_read_lsfc() local 500 uint32_t lo, hi, tmp; csky_pmu_read_sic() local 524 uint32_t lo, hi, tmp; csky_pmu_read_dcrac() local 548 uint32_t lo, hi, tmp; csky_pmu_read_dcrmc() local 572 uint32_t lo, hi, tmp; csky_pmu_read_dcwac() local 596 uint32_t lo, hi, tmp; csky_pmu_read_dcwmc() local 620 uint32_t lo, hi, tmp; csky_pmu_read_l2rac() local 644 uint32_t lo, hi, tmp; csky_pmu_read_l2rmc() local 668 uint32_t lo, hi, tmp; csky_pmu_read_l2wac() local 692 uint32_t lo, hi, tmp; csky_pmu_read_l2wmc() local [all...] |
/kernel/linux/linux-5.10/block/ |
H A D | badblocks.c | 56 int hi; in badblocks_check() local 76 hi = bb->count; in badblocks_check() 78 /* Binary search between lo and hi for 'target' in badblocks_check() 81 /* INVARIANT: ranges before 'lo' and at-or-after 'hi' in badblocks_check() 83 * VARIANT: hi-lo is the number of possible in badblocks_check() 86 while (hi - lo > 1) { in badblocks_check() 87 int mid = (lo + hi) / 2; in badblocks_check() 97 hi = mid; in badblocks_check() 99 /* 'lo' might be the last that started before target, but 'hi' isn't */ in badblocks_check() 100 if (hi > l in badblocks_check() 167 int lo, hi; badblocks_set() local 334 int lo, hi; badblocks_clear() local [all...] |
/kernel/linux/linux-6.6/block/ |
H A D | badblocks.c | 56 int hi; in badblocks_check() local 75 hi = bb->count; in badblocks_check() 77 /* Binary search between lo and hi for 'target' in badblocks_check() 80 /* INVARIANT: ranges before 'lo' and at-or-after 'hi' in badblocks_check() 82 * VARIANT: hi-lo is the number of possible in badblocks_check() 85 while (hi - lo > 1) { in badblocks_check() 86 int mid = (lo + hi) / 2; in badblocks_check() 96 hi = mid; in badblocks_check() 98 /* 'lo' might be the last that started before target, but 'hi' isn't */ in badblocks_check() 99 if (hi > l in badblocks_check() 166 int lo, hi; badblocks_set() local 333 int lo, hi; badblocks_clear() local [all...] |
/kernel/linux/linux-6.6/arch/parisc/net/ |
H A D | bpf_jit_comp32.c | 28 * | hi(R9) | 30 * | hi(FP) | 110 static s8 hi(const s8 *r) in hi() function 163 REG_SET_SEEN(ctx, hi(rd)); in emit_imm32() 165 emit_hppa_copy(HPPA_REG_ZERO, hi(rd), ctx); in emit_imm32() 167 emit(hppa_ldi(-1, hi(rd)), ctx); in emit_imm32() 173 emit_imm(hi(rd), imm_hi, ctx); in emit_imm64() 227 if (is_stacked(hi(reg))) { in bpf_get_reg64_offset() 228 emit(hppa_ldw(REG_SIZE * hi(reg) - offset_sp, HPPA_REG_SP, hi(tm in bpf_get_reg64_offset() [all...] |
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | utmath.c | 17 u32 hi; member 62 ACPI_MUL_64_BY_32(0, multiplicand_ovl.part.hi, multiplier, in acpi_ut_short_multiply() 63 product.part.hi, carry32); in acpi_ut_short_multiply() 68 product.part.hi += carry32; in acpi_ut_short_multiply() 100 operand_ovl.part.hi = operand_ovl.part.lo; in acpi_ut_short_shift_left() 104 ACPI_SHIFT_LEFT_64_BY_32(operand_ovl.part.hi, in acpi_ut_short_shift_left() 137 operand_ovl.part.lo = operand_ovl.part.hi; in acpi_ut_short_shift_right() 138 operand_ovl.part.hi = 0; in acpi_ut_short_shift_right() 141 ACPI_SHIFT_RIGHT_64_BY_32(operand_ovl.part.hi, in acpi_ut_short_shift_right() 278 ACPI_DIV_64_BY_32(0, dividend_ovl.part.hi, diviso in acpi_ut_short_divide() [all...] |
/kernel/linux/linux-6.6/drivers/acpi/acpica/ |
H A D | utmath.c | 17 u32 hi; member 62 ACPI_MUL_64_BY_32(0, multiplicand_ovl.part.hi, multiplier, in acpi_ut_short_multiply() 63 product.part.hi, carry32); in acpi_ut_short_multiply() 68 product.part.hi += carry32; in acpi_ut_short_multiply() 100 operand_ovl.part.hi = operand_ovl.part.lo; in acpi_ut_short_shift_left() 104 ACPI_SHIFT_LEFT_64_BY_32(operand_ovl.part.hi, in acpi_ut_short_shift_left() 137 operand_ovl.part.lo = operand_ovl.part.hi; in acpi_ut_short_shift_right() 138 operand_ovl.part.hi = 0; in acpi_ut_short_shift_right() 141 ACPI_SHIFT_RIGHT_64_BY_32(operand_ovl.part.hi, in acpi_ut_short_shift_right() 278 ACPI_DIV_64_BY_32(0, dividend_ovl.part.hi, diviso in acpi_ut_short_divide() [all...] |
/kernel/linux/linux-5.10/arch/riscv/net/ |
H A D | bpf_jit_comp32.c | 25 * | hi(R6) | 27 * | hi(R7) | JIT scratch space for BPF registers 101 static s8 hi(const s8 *r) in hi() function 131 emit(rv_addi(hi(rd), RV_REG_ZERO, 0), ctx); in emit_imm32() 133 emit(rv_addi(hi(rd), RV_REG_ZERO, -1), ctx); in emit_imm32() 140 emit_imm(hi(rd), imm_hi, ctx); in emit_imm64() 151 emit(rv_addi(RV_REG_A1, hi(r0), 0), ctx); in __build_epilogue() 188 if (is_stacked(hi(reg))) { in bpf_get_reg64() 189 emit(rv_lw(hi(tmp), hi(re in bpf_get_reg64() [all...] |
/kernel/linux/linux-6.6/arch/riscv/net/ |
H A D | bpf_jit_comp32.c | 25 * | hi(R6) | 27 * | hi(R7) | JIT scratch space for BPF registers 101 static s8 hi(const s8 *r) in hi() function 131 emit(rv_addi(hi(rd), RV_REG_ZERO, 0), ctx); in emit_imm32() 133 emit(rv_addi(hi(rd), RV_REG_ZERO, -1), ctx); in emit_imm32() 140 emit_imm(hi(rd), imm_hi, ctx); in emit_imm64() 151 emit(rv_addi(RV_REG_A1, hi(r0), 0), ctx); in __build_epilogue() 188 if (is_stacked(hi(reg))) { in bpf_get_reg64() 189 emit(rv_lw(hi(tmp), hi(re in bpf_get_reg64() [all...] |
/kernel/linux/linux-6.6/arch/mips/net/ |
H A D | bpf_jit_comp32.c | 154 static inline u8 hi(const u8 reg[]) in hi() function 178 emit(ctx, addiu, hi(dst), MIPS_R_ZERO, -1); in emit_mov_se_i64() 180 emit(ctx, move, hi(dst), MIPS_R_ZERO); in emit_mov_se_i64() 188 emit(ctx, move, hi(dst), MIPS_R_ZERO); in emit_zext_ver() 189 clobber_reg(ctx, hi(dst)); in emit_zext_ver() 230 emit(ctx, addu, hi(dst), hi(dst), MIPS_R_T9); in emit_alu_i64() 232 emit(ctx, addiu, hi(dst), hi(dst), -1); in emit_alu_i64() 238 emit(ctx, subu, hi(ds in emit_alu_i64() [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | minmax.h | 60 #define __clamp(val, lo, hi) \ 61 ((val) >= (hi) ? (hi) : ((val) <= (lo) ? (lo) : (val))) 63 #define __clamp_once(val, lo, hi, unique_val, unique_lo, unique_hi) ({ \ 66 typeof(hi) unique_hi = (hi); \ 67 static_assert(__builtin_choose_expr(__is_constexpr((lo) > (hi)), \ 68 (lo) <= (hi), true), \ 69 "clamp() low limit " #lo " greater than high limit " #hi); \ 71 static_assert(__types_ok(val, hi), "clam [all...] |
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | trampoline_64.S | 85 sethi %hi(0x80000000), %g5 101 sethi %hi(0x80000000), %g2 108 sethi %hi(prom_entry_lock), %g2 116 sethi %hi(tramp_stack), %g1 129 sethi %hi(KERNBASE), %l3 130 sethi %hi(kern_locked_tte_data), %l4 133 sethi %hi(num_kernel_image_mappings), %l6 144 sethi %hi(call_method), %g2 151 sethi %hi(itlb_load), %g2 154 sethi %hi(prom_mmu_ihandle_cach [all...] |
/kernel/linux/linux-6.6/arch/sparc/kernel/ |
H A D | trampoline_64.S | 85 sethi %hi(0x80000000), %g5 101 sethi %hi(0x80000000), %g2 108 sethi %hi(prom_entry_lock), %g2 116 sethi %hi(tramp_stack), %g1 129 sethi %hi(KERNBASE), %l3 130 sethi %hi(kern_locked_tte_data), %l4 133 sethi %hi(num_kernel_image_mappings), %l6 144 sethi %hi(call_method), %g2 151 sethi %hi(itlb_load), %g2 154 sethi %hi(prom_mmu_ihandle_cach [all...] |