/openbmc/qemu/hw/misc/ |
H A D | iotkit-sysctl.c | 108 IoTKitSysCtl *s = IOTKIT_SYSCTL(opaque); in iotkit_sysctl_read() local 368 static void cpuwait_write(IoTKitSysCtl *s, uint32_t value) in cpuwait_write() 386 IoTKitSysCtl *s = IOTKIT_SYSCTL(opaque); in iotkit_sysctl_write() local 720 IoTKitSysCtl *s = IOTKIT_SYSCTL(dev); in iotkit_sysctl_reset() local 751 IoTKitSysCtl *s = IOTKIT_SYSCTL(obj); in iotkit_sysctl_init() local 760 IoTKitSysCtl *s = IOTKIT_SYSCTL(dev); in iotkit_sysctl_realize() local 770 IoTKitSysCtl *s = IOTKIT_SYSCTL(opaque); in sse300_needed() local 791 IoTKitSysCtl *s = IOTKIT_SYSCTL(opaque); in sse200_needed() local
|
/openbmc/qemu/hw/ssi/ |
H A D | aspeed_smc.c | 368 const AspeedSMCState *s = fl->controller; in aspeed_smc_flash_mode() local 417 AspeedSMCState *s = fl->controller; in aspeed_smc_flash_do_select() local 499 AspeedSMCState *s = fl->controller; in aspeed_smc_flash_read() local 578 AspeedSMCState *s = fl->controller; in aspeed_smc_do_snoop() local 631 AspeedSMCState *s = fl->controller; in aspeed_smc_flash_write() local 679 AspeedSMCState *s = fl->controller; in aspeed_smc_flash_update_ctrl() local 700 AspeedSMCState *s = ASPEED_SMC(d); in aspeed_smc_reset() local 744 AspeedSMCState *s = ASPEED_SMC(opaque); in aspeed_smc_read() local 1099 AspeedSMCState *s = ASPEED_SMC(opaque); in aspeed_smc_write() local 1159 AspeedSMCState *s = ASPEED_SMC(obj); in aspeed_smc_instance_init() local [all …]
|
H A D | npcm_pspi.c | 44 static void npcm_pspi_update_irq(NPCMPSPIState *s) in npcm_pspi_update_irq() 65 static uint16_t npcm_pspi_read_data(NPCMPSPIState *s) in npcm_pspi_read_data() 75 static void npcm_pspi_write_data(NPCMPSPIState *s, uint16_t data) in npcm_pspi_write_data() 93 NPCMPSPIState *s = opaque; in npcm_pspi_ctrl_read() local 125 NPCMPSPIState *s = opaque; in npcm_pspi_ctrl_write() local 172 NPCMPSPIState *s = NPCM_PSPI(obj); in npcm_pspi_enter_reset() local 180 NPCMPSPIState *s = NPCM_PSPI(dev); in npcm_pspi_realize() local
|
/openbmc/linux/tools/lib/subcmd/ |
H A D | parse-options.h | 123 #define OPT_BOOLEAN_SET(s, l, v, os, h) \ argument 135 #define OPT_U64(s, l, v, h) { .type = OPTION_U64, .short_name = (s), .long_name = (l), .val… argument 137 #define OPT_STRING_OPTARG(s, l, v, a, h, d) \ argument 141 #define OPT_STRING_OPTARG_SET(s, l, v, os, a, h, d) \ argument 147 #define OPT_DATE(s, l, v, h) \ argument 149 #define OPT_CALLBACK(s, l, v, a, h, f) \ argument 151 #define OPT_CALLBACK_SET(s, l, v, os, a, h, f) \ argument 153 #define OPT_CALLBACK_NOOPT(s, l, v, a, h, f) \ argument 155 #define OPT_CALLBACK_DEFAULT(s, l, v, a, h, f, d) \ argument 157 #define OPT_CALLBACK_DEFAULT_NOOPT(s, l, v, a, h, f, d) \ argument [all …]
|
/openbmc/qemu/hw/isa/ |
H A D | vt82c686.c | 76 ViaPMState *s = opaque; in vmstate_acpi_post_load() local 102 ViaPMState *s = VIA_PM(d); in pm_write_config() local 179 ViaPMState *s = VIA_PM(d); in via_pm_reset() local 199 ViaPMState *s = VIA_PM(dev); in via_pm_realize() local 619 ViaISAState *s = VIA_ISA(obj); in via_isa_init() local 709 ViaISAState *s = opaque; in via_isa_request_i8259_irq() local 715 ViaISAState *s = VIA_ISA(d); in via_isa_realize() local 797 ViaISAState *s = VIA_ISA(d); in vt82c686b_write_config() local 809 ViaISAState *s = VIA_ISA(dev); in vt82c686b_isa_reset() local 829 ViaISAState *s = VIA_ISA(obj); in vt82c686b_init() local [all …]
|
/openbmc/qemu/hw/gpio/ |
H A D | omap_gpio.c | 57 struct omap_gpio_s *s = &p->omap1; in omap_gpio_set() local 75 struct omap_gpio_s *s = opaque; in omap_gpio_read() local 113 struct omap_gpio_s *s = opaque; in omap_gpio_write() local 312 struct omap2_gpio_s *s = opaque; in omap2_gpio_module_read() local 385 struct omap2_gpio_s *s = opaque; in omap2_gpio_module_write() local 597 Omap1GpioState *s = OMAP1_GPIO(dev); in omap_gpif_reset() local 604 Omap2GpioState *s = OMAP2_GPIO(dev); in omap2_gpif_reset() local 616 Omap2GpioState *s = opaque; in omap2_gpif_top_read() local 645 Omap2GpioState *s = opaque; in omap2_gpif_top_write() local 680 Omap1GpioState *s = OMAP1_GPIO(obj); in omap_gpio_init() local [all …]
|
/openbmc/linux/drivers/usb/dwc3/ |
H A D | debugfs.c | 285 static void dwc3_host_lsp(struct seq_file *s) in dwc3_host_lsp() 315 static void dwc3_gadget_lsp(struct seq_file *s) in dwc3_gadget_lsp() 329 static int dwc3_lsp_show(struct seq_file *s, void *unused) in dwc3_lsp_show() 371 struct seq_file *s = file->private_data; in dwc3_lsp_write() local 400 static int dwc3_mode_show(struct seq_file *s, void *unused) in dwc3_mode_show() 442 struct seq_file *s = file->private_data; in dwc3_mode_write() local 475 static int dwc3_testmode_show(struct seq_file *s, void *unused) in dwc3_testmode_show() 528 struct seq_file *s = file->private_data; in dwc3_testmode_write() local 572 static int dwc3_link_state_show(struct seq_file *s, void *unused) in dwc3_link_state_show() 616 struct seq_file *s = file->private_data; in dwc3_link_state_write() local [all …]
|
/openbmc/u-boot/drivers/net/fm/ |
H A D | fdt.c | 82 char s[64]; in fdt_fixup_fman_firmware() local 91 char s[64]; in fdt_fixup_fman_firmware() local 99 char s[64]; in fdt_fixup_fman_firmware() local 107 char s[64]; in fdt_fixup_fman_firmware() local 120 char s[64]; in fdt_fixup_fman_firmware() local
|
/openbmc/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-fileops.c | 35 struct ivtv_stream *s = &itv->streams[type]; in ivtv_claim_stream() local 91 void ivtv_release_stream(struct ivtv_stream *s) in ivtv_release_stream() 418 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_start_capture() local 497 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_v4l2_read() local 514 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_start_decoding() local 540 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_write() local 725 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_v4l2_dec_poll() local 760 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_v4l2_enc_poll() local 799 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_stop_capture() local 838 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_stop_decoding() local [all …]
|
/openbmc/qemu/hw/sensor/ |
H A D | lsm303dlhc_mag.c | 88 LSM303DLHCMagState *s = LSM303DLHC_MAG(obj); in lsm303dlhc_mag_get_x() local 99 LSM303DLHCMagState *s = LSM303DLHC_MAG(obj); in lsm303dlhc_mag_get_y() local 110 LSM303DLHCMagState *s = LSM303DLHC_MAG(obj); in lsm303dlhc_mag_get_z() local 121 LSM303DLHCMagState *s = LSM303DLHC_MAG(obj); in lsm303dlhc_mag_set_x() local 144 LSM303DLHCMagState *s = LSM303DLHC_MAG(obj); in lsm303dlhc_mag_set_y() local 167 LSM303DLHCMagState *s = LSM303DLHC_MAG(obj); in lsm303dlhc_mag_set_z() local 194 LSM303DLHCMagState *s = LSM303DLHC_MAG(obj); in lsm303dlhc_mag_get_temperature() local 210 LSM303DLHCMagState *s = LSM303DLHC_MAG(obj); in lsm303dlhc_mag_set_temperature() local 304 LSM303DLHCMagState *s = LSM303DLHC_MAG(i2c); in lsm303dlhc_mag_send() local 326 LSM303DLHCMagState *s = LSM303DLHC_MAG(i2c); in lsm303dlhc_mag_recv() local [all …]
|
/openbmc/qemu/hw/net/ |
H A D | eepro100.c | 388 static void disable_interrupt(EEPRO100State * s) in disable_interrupt() 397 static void enable_interrupt(EEPRO100State * s) in enable_interrupt() 613 EEPRO100State *s = opaque; in nic_reset() local 701 static void dump_statistics(EEPRO100State * s) in dump_statistics() 728 static void read_cb(EEPRO100State *s) in read_cb() 738 static void tx_command(EEPRO100State *s) in tx_command() 823 static void set_multicast_list(EEPRO100State *s) in set_multicast_list() 840 static void action_command(EEPRO100State *s) in action_command() 1581 EEPRO100State *s = opaque; in eepro100_read() local 1594 EEPRO100State *s = opaque; in eepro100_write() local [all …]
|
/openbmc/qemu/hw/dma/ |
H A D | sparc32_dma.c | 77 DMADeviceState *s = opaque; in ledma_memory_read() local 98 DMADeviceState *s = opaque; in ledma_memory_write() local 129 DMADeviceState *s = opaque; in dma_set_irq() local 149 DMADeviceState *s = opaque; in espdma_memory_read() local 160 DMADeviceState *s = opaque; in espdma_memory_write() local 172 DMADeviceState *s = opaque; in dma_mem_read() local 183 DMADeviceState *s = opaque; in dma_mem_write() local 242 DMADeviceState *s = SPARC32_DMA_DEVICE(d); in sparc32_dma_device_reset() local 261 DMADeviceState *s = SPARC32_DMA_DEVICE(obj); in sparc32_dma_device_init() local 371 SPARC32DMAState *s = SPARC32_DMA(dev); in sparc32_dma_realize() local [all …]
|
H A D | xilinx_axidma.c | 180 static void stream_reset(struct Stream *s) in stream_reset() 261 struct Stream *s = opaque; in timer_hit() local 268 static void stream_complete(struct Stream *s) in stream_complete() 409 XilinxAXIDMA *s = XILINX_AXI_DMA(dev); in xilinx_axidma_reset() local 421 struct Stream *s = &cs->dma->streams[1]; in xilinx_axidma_control_stream_push() local 438 struct Stream *s = &ds->dma->streams[1]; in xilinx_axidma_data_stream_can_push() local 454 struct Stream *s = &ds->dma->streams[1]; in xilinx_axidma_data_stream_push() local 466 struct Stream *s; in axidma_read() local 501 struct Stream *s; in axidma_write() local 563 XilinxAXIDMA *s = XILINX_AXI_DMA(dev); in xilinx_axidma_realize() local [all …]
|
/openbmc/qemu/net/ |
H A D | af-xdp.c | 63 static void af_xdp_update_fd_handler(AFXDPState *s) in af_xdp_update_fd_handler() 72 static void af_xdp_read_poll(AFXDPState *s, bool enable) in af_xdp_read_poll() 91 AFXDPState *s = DO_UPCAST(AFXDPState, nc, nc); in af_xdp_poll() local 100 static void af_xdp_complete_tx(AFXDPState *s) in af_xdp_complete_tx() 125 AFXDPState *s = opaque; in af_xdp_writable() local 145 AFXDPState *s = DO_UPCAST(AFXDPState, nc, nc); in af_xdp_receive() local 190 AFXDPState *s = DO_UPCAST(AFXDPState, nc, nc); in af_xdp_send_completed() local 222 AFXDPState *s = opaque; in af_xdp_send() local 263 AFXDPState *s = DO_UPCAST(AFXDPState, nc, nc); in af_xdp_cleanup() local 336 static int af_xdp_socket_create(AFXDPState *s, in af_xdp_socket_create() [all …]
|
/openbmc/qemu/hw/i386/kvm/ |
H A D | xen_xenstore.c | 116 XenXenstoreState *s = XEN_XENSTORE(dev); in xen_xenstore_realize() local 192 XenXenstoreState *s = opaque; in xen_xenstore_pre_save() local 210 XenXenstoreState *s = opaque; in xen_xenstore_post_load() local 300 XenXenstoreState *s = xen_xenstore_singleton; in type_init() local 307 static bool req_pending(XenXenstoreState *s) in req_pending() 314 static void reset_req(XenXenstoreState *s) in reset_req() 320 static void reset_rsp(XenXenstoreState *s) in reset_rsp() 1067 static void process_req(XenXenstoreState *s) in process_req() 1207 static unsigned int get_req(XenXenstoreState *s) in get_req() 1342 XenXenstoreState *s = opaque; in fire_watch_cb() local [all …]
|
H A D | xen_primary_console.c | 53 XenPrimaryConsoleState *s = XEN_PRIMARY_CONSOLE(dev); in xen_primary_console_realize() local 108 XenPrimaryConsoleState *s = xen_primary_console_singleton; in type_init() local 117 XenPrimaryConsoleState *s = xen_primary_console_singleton; in xen_primary_console_set_be_port() local 125 XenPrimaryConsoleState *s = xen_primary_console_singleton; in xen_primary_console_get_pfn() local 134 XenPrimaryConsoleState *s = xen_primary_console_singleton; in xen_primary_console_get_map() local 141 static void alloc_guest_port(XenPrimaryConsoleState *s) in alloc_guest_port() 153 static void rebind_guest_port(XenPrimaryConsoleState *s) in rebind_guest_port() 169 XenPrimaryConsoleState *s = xen_primary_console_singleton; in xen_primary_console_reset() local
|
/openbmc/linux/include/linux/mtd/ |
H A D | cfi_endian.h | 22 #define cfi_default(s) ((s)?:CFI_DEFAULT_ENDIAN) argument 23 #define cfi_be(s) (cfi_default(s) == CFI_BIG_ENDIAN) argument 24 #define cfi_le(s) (cfi_default(s) == CFI_LITTLE_ENDIAN) argument 25 #define cfi_host(s) (cfi_default(s) == CFI_HOST_ENDIAN) argument 36 #define _cpu_to_cfi(w, s, x) (cfi_host(s)?(x):_swap_to_cfi(w, s, x)) argument 37 #define _cfi_to_cpu(w, s, x) (cfi_host(s)?(x):_swap_to_cpu(w, s, x)) argument 38 #define _swap_to_cfi(w, s, x) (cfi_be(s)?cpu_to_be##w(x):cpu_to_le##w(x)) argument 39 #define _swap_to_cpu(w, s, x) (cfi_be(s)?be##w##_to_cpu(x):le##w##_to_cpu(x)) argument
|
/openbmc/linux/arch/xtensa/kernel/ |
H A D | align.S | 77 .macro __sh r, s; srl \r, \s; .endm 78 .macro __sl r, s; sll \r, \s; .endm 79 .macro __exth r, s; extui \r, \s, 0, 16; .endm 80 .macro __extl r, s; slli \r, \s, 16; .endm 90 .macro __sh r, s; sll \r, \s; .endm 91 .macro __sl r, s; srl \r, \s; .endm 92 .macro __exth r, s; slli \r, \s, 16; .endm 93 .macro __extl r, s; extui \r, \s, 0, 16; .endm
|
/openbmc/qemu/hw/watchdog/ |
H A D | sbsa_gwdt.c | 50 SBSA_GWDTState *s = SBSA_GWDT(opaque); in sbsa_gwdt_rread() local 70 SBSA_GWDTState *s = SBSA_GWDT(opaque); in sbsa_gwdt_read() local 99 static void sbsa_gwdt_update_timer(SBSA_GWDTState *s, WdtRefreshType rtype) in sbsa_gwdt_update_timer() 128 SBSA_GWDTState *s = SBSA_GWDT(opaque); in sbsa_gwdt_rwrite() local 142 SBSA_GWDTState *s = SBSA_GWDT(opaque); in sbsa_gwdt_write() local 182 SBSA_GWDTState *s = SBSA_GWDT(dev); in wdt_sbsa_gwdt_reset() local 196 SBSA_GWDTState *s = SBSA_GWDT(opaque); in sbsa_gwdt_timer_sysinterrupt() local 243 SBSA_GWDTState *s = SBSA_GWDT(dev); in wdt_sbsa_gwdt_realize() local
|
/openbmc/qemu/hw/timer/ |
H A D | stm32f2xx_timer.c | 49 STM32F2XXTimerState *s = opaque; in stm32f2xx_timer_interrupt() local 69 static inline int64_t stm32f2xx_ns_to_ticks(STM32F2XXTimerState *s, int64_t t) in stm32f2xx_ns_to_ticks() 74 static void stm32f2xx_timer_set_alarm(STM32F2XXTimerState *s, int64_t now) in stm32f2xx_timer_set_alarm() 99 STM32F2XXTimerState *s = STM32F2XXTIMER(dev); in stm32f2xx_timer_reset() local 127 STM32F2XXTimerState *s = opaque; in stm32f2xx_timer_read() local 182 STM32F2XXTimerState *s = opaque; in stm32f2xx_timer_write() local 309 STM32F2XXTimerState *s = STM32F2XXTIMER(obj); in stm32f2xx_timer_init() local 320 STM32F2XXTimerState *s = STM32F2XXTIMER(dev); in stm32f2xx_timer_realize() local
|
/openbmc/qemu/hw/intc/ |
H A D | ioapic_common.c | 39 void ioapic_stat_update_irq(IOAPICCommonState *s, int irq, int level) in ioapic_stat_update_irq() 53 IOAPICCommonState *s = IOAPIC_COMMON(obj); in ioapic_get_statistics() local 78 static void ioapic_print_redtbl(GString *buf, IOAPICCommonState *s) in ioapic_print_redtbl() 121 IOAPICCommonState *s = IOAPIC_COMMON(dev); in ioapic_reset_common() local 134 IOAPICCommonState *s = IOAPIC_COMMON(opaque); in ioapic_dispatch_pre_save() local 146 IOAPICCommonState *s = IOAPIC_COMMON(opaque); in ioapic_dispatch_post_load() local 158 IOAPICCommonState *s = IOAPIC_COMMON(dev); in ioapic_common_realize() local 178 IOAPICCommonState *s = IOAPIC_COMMON(obj); in ioapic_print_info() local
|
/openbmc/qemu/hw/pci-host/ |
H A D | sabre.c | 63 static inline void sabre_set_request(SabreState *s, unsigned int irq_num) in sabre_set_request() 70 static inline void sabre_check_irqs(SabreState *s) in sabre_check_irqs() 122 SabreState *s = opaque; in sabre_config_write() local 200 SabreState *s = opaque; in sabre_config_read() local 252 SabreState *s = opaque; in sabre_pci_config_write() local 263 SabreState *s = opaque; in sabre_pci_config_read() local 303 SabreState *s = opaque; in pci_sabre_set_irq() local 334 SabreState *s = SABRE(d); in sabre_reset() local 372 SabreState *s = SABRE(dev); in sabre_realize() local 407 SabreState *s = SABRE(obj); in sabre_init() local [all …]
|
/openbmc/qemu/hw/i2c/ |
H A D | mpc_i2c.c | 88 static bool mpc_i2c_is_enabled(MPCI2CState *s) in mpc_i2c_is_enabled() argument 93 static bool mpc_i2c_is_master(MPCI2CState *s) in mpc_i2c_is_master() 103 static bool mpc_i2c_irq_pending(MPCI2CState *s) in mpc_i2c_irq_pending() 108 static bool mpc_i2c_irq_is_enabled(MPCI2CState *s) in mpc_i2c_irq_is_enabled() 125 static void mpc_i2c_irq(MPCI2CState *s) in mpc_i2c_irq() 141 static void mpc_i2c_soft_reset(MPCI2CState *s) in mpc_i2c_soft_reset() 149 static void mpc_i2c_address_send(MPCI2CState *s) in mpc_i2c_address_send() 163 static void mpc_i2c_data_send(MPCI2CState *s) in mpc_i2c_data_send() 177 static void mpc_i2c_data_recive(MPCI2CState *s) in mpc_i2c_data_recive() 195 MPCI2CState *s = opaque; in mpc_i2c_read() local [all …]
|
/openbmc/linux/fs/hpfs/ |
H A D | buffer.c | 14 secno hpfs_search_hotfix_map(struct super_block *s, secno sec) in hpfs_search_hotfix_map() 26 unsigned hpfs_search_hotfix_map_for_range(struct super_block *s, secno sec, unsigned n) in hpfs_search_hotfix_map_for_range() 38 void hpfs_prefetch_sectors(struct super_block *s, unsigned secno, int n) in hpfs_prefetch_sectors() 71 void *hpfs_map_sector(struct super_block *s, unsigned secno, struct buffer_head **bhp, in hpfs_map_sector() 93 void *hpfs_get_sector(struct super_block *s, unsigned secno, struct buffer_head **bhp) in hpfs_get_sector() 114 void *hpfs_map_4sectors(struct super_block *s, unsigned secno, struct quad_buffer_head *qbh, in hpfs_map_4sectors() 168 void *hpfs_get_4sectors(struct super_block *s, unsigned secno, in hpfs_get_4sectors()
|
/openbmc/qemu/hw/usb/ |
H A D | xlnx-versal-usb2-ctrl-regs.c | 75 static void ir_update_irq(VersalUsb2CtrlRegs *s) in ir_update_irq() 83 VersalUsb2CtrlRegs *s = XILINX_VERSAL_USB2_CTRL_REGS(reg->opaque); in ir_status_postw() local 93 VersalUsb2CtrlRegs *s = XILINX_VERSAL_USB2_CTRL_REGS(reg->opaque); in ir_enable_prew() local 103 VersalUsb2CtrlRegs *s = XILINX_VERSAL_USB2_CTRL_REGS(reg->opaque); in ir_disable_prew() local 148 VersalUsb2CtrlRegs *s = XILINX_VERSAL_USB2_CTRL_REGS(obj); in usb2_ctrl_regs_reset_init() local 158 VersalUsb2CtrlRegs *s = XILINX_VERSAL_USB2_CTRL_REGS(obj); in usb2_ctrl_regs_reset_hold() local 175 VersalUsb2CtrlRegs *s = XILINX_VERSAL_USB2_CTRL_REGS(obj); in usb2_ctrl_regs_init() local
|