Home
last modified time | relevance | path

Searched defs:s (Results 301 – 325 of 4882) sorted by relevance

1...<<11121314151617181920>>...196

/openbmc/linux/arch/arm/boot/compressed/
H A Dstring.c33 unsigned char *d = (unsigned char *)__dest, *s = (unsigned char *)__src; in memcpy() local
67 const unsigned char *s = __src; in memmove() local
80 size_t strlen(const char *s) in strlen()
89 size_t strnlen(const char *s, size_t count) in strnlen()
126 void *memchr(const void *s, int c, size_t count) in memchr()
136 char *strchr(const char *s, int c) in strchr()
144 char *strrchr(const char *s, int c) in strrchr()
156 void *memset(void *s, int c, size_t count) in memset()
/openbmc/qemu/hw/usb/
H A Dhcd-xhci-pci.c40 XHCIPciState *s = container_of(xhci, XHCIPciState, xhci); in xhci_pci_intr_update() local
62 XHCIPciState *s = container_of(xhci, XHCIPciState, xhci); in xhci_pci_intr_raise() local
87 XHCIPciState *s = XHCI_PCI(dev); in xhci_pci_reset() local
94 XHCIPciState *s = XHCI_PCI(opaque); in xhci_pci_vmstate_post_load() local
112 XHCIPciState *s = XHCI_PCI(dev); in usb_xhci_pci_realize() local
169 XHCIPciState *s = XHCI_PCI(dev); in usb_xhci_pci_exit() local
191 XHCIPciState *s = XHCI_PCI(obj); in xhci_instance_init() local
239 XHCIPciState *s = XHCI_PCI(obj); in qemu_xhci_instance_init() local
/openbmc/qemu/hw/net/
H A Deepro100.c334 static uint16_t e100_read_reg2(EEPRO100State *s, E100RegisterOffset addr) in e100_read_reg2()
341 static uint32_t e100_read_reg4(EEPRO100State *s, E100RegisterOffset addr) in e100_read_reg4()
348 static void e100_write_reg2(EEPRO100State *s, E100RegisterOffset addr, in e100_write_reg2()
356 static void e100_write_reg4(EEPRO100State *s, E100RegisterOffset addr, in e100_write_reg4()
390 static void disable_interrupt(EEPRO100State * s) in disable_interrupt()
399 static void enable_interrupt(EEPRO100State * s) in enable_interrupt()
408 static void eepro100_acknowledge(EEPRO100State * s) in eepro100_acknowledge()
417 static void eepro100_interrupt(EEPRO100State * s, uint8_t status) in eepro100_interrupt()
434 static void eepro100_cx_interrupt(EEPRO100State * s) in eepro100_cx_interrupt()
441 static void eepro100_cna_interrupt(EEPRO100State * s) in eepro100_cna_interrupt()
[all …]
H A Dsmc91c111.c122 static void smc91c111_update(smc91c111_state *s) in smc91c111_update()
134 static bool smc91c111_can_receive(smc91c111_state *s) in smc91c111_can_receive()
146 static inline void smc91c111_flush_queued_packets(smc91c111_state *s) in smc91c111_flush_queued_packets()
154 static int smc91c111_allocate_packet(smc91c111_state *s) in smc91c111_allocate_packet()
171 static void smc91c111_tx_alloc(smc91c111_state *s) in smc91c111_tx_alloc()
181 static void smc91c111_pop_rx_fifo(smc91c111_state *s) in smc91c111_pop_rx_fifo()
207 static void smc91c111_pop_tx_fifo_done(smc91c111_state *s) in smc91c111_pop_tx_fifo_done()
219 static void smc91c111_release_packet(smc91c111_state *s, int packet) in smc91c111_release_packet()
228 static void smc91c111_do_tx(smc91c111_state *s) in smc91c111_do_tx()
288 static void smc91c111_queue_tx(smc91c111_state *s, int packet) in smc91c111_queue_tx()
[all …]
/openbmc/qemu/hw/ssi/
H A Dnpcm_pspi.c44 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/qemu/accel/kvm/
H A Dkvm-all.c226 KVMState *s = KVM_STATE(current_accel()); in kvm_get_max_memslots() local
234 KVMState *s = kvm_state; in kvm_get_free_memslots() local
329 int kvm_physical_memory_addr_from_host(KVMState *s, void *ram, in kvm_physical_memory_addr_from_host()
352 KVMState *s = kvm_state; in kvm_set_user_memory_region() local
421 int kvm_unpark_vcpu(KVMState *s, unsigned long vcpu_id) in kvm_unpark_vcpu()
442 KVMState *s = param; in kvm_reset_parked_vcpus() local
453 KVMState *s = kvm_state; in kvm_create_vcpu() local
492 KVMState *s = kvm_state; in do_kvm_destroy_vcpu() local
537 KVMState *s = kvm_state; in kvm_init_vcpu() local
751 static bool kvm_slot_get_dirty_log(KVMState *s, KVMSlot *slot) in kvm_slot_get_dirty_log()
[all …]
/openbmc/qemu/hw/sensor/
H A Dlsm303dlhc_mag.c88 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
231 static void lsm303dlhc_mag_read(LSM303DLHCMagState *s) in lsm303dlhc_mag_read()
253 static void lsm303dlhc_mag_finish(LSM303DLHCMagState *s) in lsm303dlhc_mag_finish()
[all …]
/openbmc/linux/drivers/media/pci/ivtv/
H A Divtv-fileops.c35 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()
193 static struct ivtv_buffer *ivtv_get_buffer(struct ivtv_stream *s, int non_block, int *err) in ivtv_get_buffer()
286 static size_t ivtv_copy_buf_to_user(struct ivtv_stream *s, struct ivtv_buffer *buf, in ivtv_copy_buf_to_user()
346 static ssize_t ivtv_read(struct ivtv_stream *s, char __user *ubuf, size_t tot_count, int non_block) in ivtv_read()
403 static ssize_t ivtv_read_pos(struct ivtv_stream *s, char __user *ubuf, size_t count, in ivtv_read_pos()
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
[all …]
/openbmc/qemu/hw/i386/kvm/
H A Dxen_xenstore.c85 static void G_GNUC_PRINTF (4, 5) relpath_printf(XenXenstoreState *s, in relpath_printf()
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()
328 static void xs_error(XenXenstoreState *s, unsigned int id, in xs_error()
354 static void xs_ok(XenXenstoreState *s, unsigned int type, unsigned int req_id, in xs_ok()
[all …]
H A Dxen_primary_console.c53 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/qemu/hw/dma/
H A Dsparc32_dma.c77 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
296 DMADeviceState *s = SPARC32_DMA_DEVICE(obj); in sparc32_espdma_device_init() local
[all …]
H A Dxilinx_axidma.c160 static inline int stream_resetting(struct Stream *s) in stream_resetting()
165 static inline int stream_running(struct Stream *s) in stream_running()
170 static inline int stream_idle(struct Stream *s) in stream_idle()
175 static inline int stream_halted(struct Stream *s) in stream_halted()
180 static void stream_reset(struct Stream *s) in stream_reset()
197 static MemTxResult stream_desc_load(struct Stream *s, hwaddr addr) in stream_desc_load()
227 static void stream_desc_store(struct Stream *s, hwaddr addr) in stream_desc_store()
240 static void stream_update_irq(struct Stream *s) in stream_update_irq()
252 static void stream_reload_complete_cnt(struct Stream *s) in stream_reload_complete_cnt()
261 struct Stream *s = opaque; in timer_hit() local
[all …]
/openbmc/qemu/net/
H A Daf-xdp.c63 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()
81 static void af_xdp_write_poll(AFXDPState *s, bool enable) in af_xdp_write_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
195 static void af_xdp_fq_refill(AFXDPState *s, uint32_t n) in af_xdp_fq_refill()
222 AFXDPState *s = opaque; in af_xdp_send() local
[all …]
H A Dvhost-vdpa.c137 VhostVDPAState *s = DO_UPCAST(VhostVDPAState, nc, nc); in vhost_vdpa_get_vhost_net() local
194 VhostVDPAState *s; in vhost_vdpa_add() local
225 VhostVDPAState *s = DO_UPCAST(VhostVDPAState, nc, nc); in vhost_vdpa_cleanup() local
265 VhostVDPAState *s = DO_UPCAST(VhostVDPAState, nc, nc); in vhost_vdpa_has_ufo() local
295 static VhostVDPAState *vhost_vdpa_net_get_nc_vdpa(VhostVDPAState *s, int i) in vhost_vdpa_net_get_nc_vdpa()
303 static VhostVDPAState *vhost_vdpa_net_first_nc_vdpa(VhostVDPAState *s) in vhost_vdpa_net_first_nc_vdpa()
308 static void vhost_vdpa_net_log_global_enable(VhostVDPAState *s, bool enable) in vhost_vdpa_net_log_global_enable()
349 VhostVDPAState *s = container_of(notifier, VhostVDPAState, migration_state); in vdpa_net_migration_state_notifier() local
359 static void vhost_vdpa_net_data_start_first(VhostVDPAState *s) in vhost_vdpa_net_data_start_first()
373 VhostVDPAState *s = DO_UPCAST(VhostVDPAState, nc, nc); in vhost_vdpa_net_data_start() local
[all …]
/openbmc/u-boot/drivers/net/fm/
H A Dfdt.c82 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/qemu/hw/pci-host/
H A Dsabre.c63 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()
101 static inline void sabre_clear_request(SabreState *s, unsigned int irq_num) in sabre_clear_request()
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
[all …]
/openbmc/qemu/hw/i2c/
H A Dmpc_i2c.c88 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()
98 static bool mpc_i2c_direction_is_tx(MPCI2CState *s) in mpc_i2c_direction_is_tx()
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()
[all …]
/openbmc/qemu/hw/watchdog/
H A Dsbsa_gwdt.c50 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/linux/arch/xtensa/kernel/
H A Dalign.S77 .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/timer/
H A Dstm32f2xx_timer.c49 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 Dioapic_common.c39 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/linux/include/linux/mtd/
H A Dcfi_endian.h22 #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/qemu/hw/s390x/
H A Ds390-pci-bus.c52 S390pciState *s = s390_get_phb(); in pci_chsc_sei_nt2_get_event() local
87 S390pciState *s = s390_get_phb(); in pci_chsc_sei_nt2_have_event() local
92 S390PCIBusDevice *s390_pci_find_next_avail_dev(S390pciState *s, in s390_pci_find_next_avail_dev()
105 S390PCIBusDevice *s390_pci_find_dev_by_fid(S390pciState *s, uint32_t fid) in s390_pci_find_dev_by_fid()
218 static S390PCIBusDevice *s390_pci_find_dev_by_uid(S390pciState *s, uint16_t uid) in s390_pci_find_dev_by_uid()
231 S390PCIBusDevice *s390_pci_find_dev_by_target(S390pciState *s, in s390_pci_find_dev_by_target()
249 static S390PCIBusDevice *s390_pci_find_dev_by_pci(S390pciState *s, in s390_pci_find_dev_by_pci()
267 S390PCIBusDevice *s390_pci_find_dev_by_idx(S390pciState *s, uint32_t idx) in s390_pci_find_dev_by_idx()
272 S390PCIBusDevice *s390_pci_find_dev_by_fh(S390pciState *s, uint32_t fh) in s390_pci_find_dev_by_fh()
288 S390pciState *s = s390_get_phb(); in s390_pci_generate_event() local
[all …]
/openbmc/qemu/hw/arm/
H A Dintegratorcp.c85 IntegratorCMState *s = opaque; in integratorcm_read() local
157 static void integratorcm_do_remap(IntegratorCMState *s) in integratorcm_do_remap()
165 static void integratorcm_set_ctrl(IntegratorCMState *s, uint32_t value) in integratorcm_set_ctrl()
182 static void integratorcm_update(IntegratorCMState *s) in integratorcm_update()
193 IntegratorCMState *s = opaque; in integratorcm_write() local
276 IntegratorCMState *s = INTEGRATOR_CM(obj); in integratorcm_init() local
292 IntegratorCMState *s = INTEGRATOR_CM(d); in integratorcm_realize() local
354 static void icp_pic_update(icp_pic_state *s) in icp_pic_update()
366 icp_pic_state *s = (icp_pic_state *)opaque; in icp_pic_set_irq() local
377 icp_pic_state *s = (icp_pic_state *)opaque; in icp_pic_read() local
[all …]
/openbmc/qemu/hw/misc/
H A Dallwinner-h3-dramc.c56 static void allwinner_h3_dramc_map_rows(AwH3DramCtlState *s, uint8_t row_bits, in allwinner_h3_dramc_map_rows()
101 const AwH3DramCtlState *s = AW_H3_DRAMC(opaque); in allwinner_h3_dramcom_read() local
118 AwH3DramCtlState *s = AW_H3_DRAMC(opaque); in allwinner_h3_dramcom_write() local
145 const AwH3DramCtlState *s = AW_H3_DRAMC(opaque); in allwinner_h3_dramctl_read() local
162 AwH3DramCtlState *s = AW_H3_DRAMC(opaque); in allwinner_h3_dramctl_write() local
188 const AwH3DramCtlState *s = AW_H3_DRAMC(opaque); in allwinner_h3_dramphy_read() local
205 AwH3DramCtlState *s = AW_H3_DRAMC(opaque); in allwinner_h3_dramphy_write() local
254 AwH3DramCtlState *s = AW_H3_DRAMC(dev); in allwinner_h3_dramc_reset() local
264 AwH3DramCtlState *s = AW_H3_DRAMC(dev); in allwinner_h3_dramc_realize() local
296 AwH3DramCtlState *s = AW_H3_DRAMC(obj); in allwinner_h3_dramc_init() local

1...<<11121314151617181920>>...196