/openbmc/linux/arch/powerpc/kernel/ |
H A D | sysfs.c | 267 u32 value; in show_pw20_state() 296 u32 value; in store_pw20_state() 313 u32 value; in show_pw20_wait_time() 329 u32 rem_us; in show_pw20_wait_time() 345 u32 pw20_idle; in set_pw20_wait_entry_bit() 363 u32 entry_bit; in store_pw20_wait_time() 389 u32 value; in show_altivec_idle() 418 u32 value; in store_altivec_idle() 435 u32 value; in show_altivec_idle_wait_time() 451 u32 rem_us; in show_altivec_idle_wait_time() [all …]
|
/openbmc/linux/drivers/mmc/host/ |
H A D | sdhci-pci-o2micro.c | 87 u32 scratch32; in sdhci_o2_wait_card_detect_stable() 113 u32 scratch32; in sdhci_o2_enable_internal_clock() 169 u32 scratch_32; in o2_pci_set_baseclk() 194 u32 scratch32 = 0; in sdhci_o2_wait_dll_detect_lock() 320 u32 scratch32 = 0; in sdhci_o2_execute_tuning() 323 u32 reg_val; in sdhci_o2_execute_tuning() 434 u32 scratch_32; in o2_pci_led_enable() 458 u32 scratch_32; in sdhci_pci_o2_fujin2_pci_init() 582 u32 scratch_32; in sdhci_pci_o2_set_clock() 730 u32 reg, caps; in sdhci_pci_o2_probe_slot() [all …]
|
/openbmc/linux/drivers/parisc/ |
H A D | ccio-dma.c | 218 u32 pdir_size; /* bytes, function of IOV Space size */ 219 u32 res_hint; /* next available IOVP - 221 u32 res_size; /* size of resource map in bytes */ 510 static u32 hint_lookup[] = { 562 ((u32 *)pdir_ptr)[1] = (u32) pa; in ccio_io_pdir_entry() 589 ((u32 *)pdir_ptr)[0] = (u32) pa; in ccio_io_pdir_entry() 619 u32 chain_size = 1 << ioc->chainid_shift; in ccio_clear_io_tlb() 652 u32 iovp = (u32)CCIO_IOVP(iova); in ccio_mark_invalid() 761 (u32) (((u32 *) pdir_start)[0]), in ccio_map_single() 762 (u32) (((u32 *) pdir_start)[1])); in ccio_map_single() [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtw88/ |
H A D | usb.c | 66 static u32 rtw_usb_read(struct rtw_dev *rtwdev, u32 addr, u16 len) in rtw_usb_read() 99 static u8 rtw_usb_read8(struct rtw_dev *rtwdev, u32 addr) in rtw_usb_read8() 104 static u16 rtw_usb_read16(struct rtw_dev *rtwdev, u32 addr) in rtw_usb_read16() 109 static u32 rtw_usb_read32(struct rtw_dev *rtwdev, u32 addr) in rtw_usb_read32() 111 return (u32)rtw_usb_read(rtwdev, addr, 4); in rtw_usb_read32() 114 static void rtw_usb_write(struct rtw_dev *rtwdev, u32 addr, u32 val, int len) in rtw_usb_write() 157 static void rtw_usb_write32(struct rtw_dev *rtwdev, u32 addr, u32 val) in rtw_usb_write32() 467 u32 size) in rtw_usb_write_data_rsvd_page() 547 u32 pkt_desc_sz = chip->rx_pkt_desc_sz; in rtw_usb_rx_handler() 548 u32 pkt_offset; in rtw_usb_rx_handler() [all …]
|
/openbmc/linux/drivers/ntb/hw/mscc/ |
H A D | ntb_hw_switchtec.c | 35 u32 magic; 36 u32 link_sta; 37 u32 partition_id; 39 u32 spad[128]; 109 u32 ps; in switchtec_ntb_part_op() 156 u32 val) in switchtec_ntb_send_msg() 225 u32 ctl_val; in switchtec_ntb_mw_clr_direct() 248 u32 ctl_val; in switchtec_ntb_mw_set_direct() 916 u32 ctl_val; in config_rsvd_lut_win() 955 u32 error; in config_req_id_table() [all …]
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_debugfs.c | 586 u32 i, j; in hns3_dbg_tx_spare_info() 638 u32 j = 0; in hns3_dump_rx_queue_info() 687 u32 i; in hns3_dbg_rx_queue_info() 740 u32 j = 0; in hns3_dump_tx_queue_info() 790 u32 i; in hns3_dbg_tx_queue_info() 841 u32 i; in hns3_dbg_queue_map() 1145 u32 i; in hns3_dbg_page_pool_info() 1181 u32 i; in hns3_dbg_get_cmd_index() 1235 u32 i; in hns3_dbg_read_cmd() 1375 u32 i; in hns3_dbg_init() [all …]
|
/openbmc/linux/net/sched/ |
H A D | cls_u32.c | 46 u32 handle; 56 u32 flags; 59 u32 val; 60 u32 mask; 61 u32 __percpu *pcpu_success; 72 u32 handle; 73 u32 prio; 79 u32 flags; 689 static u32 gen_new_kid(struct tc_u_hnode *ht, u32 htid) in gen_new_kid() 692 u32 max = htid | 0xFFF; in gen_new_kid() [all …]
|
/openbmc/linux/drivers/pmdomain/qcom/ |
H A D | cpr.c | 218 u32 save_ctl; 219 u32 save_irq; 238 u32 gcnt; 261 static u32 cpr_read(struct cpr_drv *drv, u32 offset) in cpr_read() 267 cpr_masked_write(struct cpr_drv *drv, u32 offset, u32 mask, u32 value) in cpr_masked_write() 269 u32 val; in cpr_masked_write() 306 u32 val, mask; in cpr_ctl_enable() 343 u32 reg_val; in cpr_ctl_is_enabled() 351 u32 reg_val; in cpr_ctl_is_busy() 593 u32 val; in cpr_irq_handler() [all …]
|
/openbmc/linux/drivers/dma/ |
H A D | tegra20-apb-dma.c | 132 u32 csr; 133 u32 ahb_ptr; 134 u32 apb_ptr; 135 u32 ahb_seq; 136 u32 apb_seq; 137 u32 wcount; 236 u32 reg, u32 val) in tdc_write() 664 u32 status; in tegra_dma_isr() 795 u32 status; in tegra_dma_eoc_interrupt_deasserted() 961 u32 len) in get_burst_size() [all …]
|
/openbmc/linux/fs/adfs/ |
H A D | map.c | 57 u32 _frag = get_unaligned_le32(_m); \ 69 const u32 frag_id, unsigned int *offset) in lookup_zone() 72 const u32 idmask = (1 << idlen) - 1; in lookup_zone() 76 u32 frag; in lookup_zone() 120 const u32 idmask = (1 << frag_idlen) - 1; in scan_free_map() 123 u32 frag; in scan_free_map() 160 const u32 frag_id, unsigned int mapoff) in scan_map() 217 int adfs_map_lookup(struct super_block *sb, u32 frag_id, unsigned int offset) in adfs_map_lookup()
|
/openbmc/linux/drivers/clk/berlin/ |
H A D | berlin2-avpll.c | 116 u32 reg; in berlin2_avpll_vco_is_enabled() 128 u32 reg; in berlin2_avpll_vco_enable() 143 u32 reg; in berlin2_avpll_vco_disable() 159 u32 reg, refdiv, fbdiv; in berlin2_avpll_vco_recalc_rate() 215 u32 reg; in berlin2_avpll_channel_is_enabled() 229 u32 reg; in berlin2_avpll_channel_enable() 241 u32 reg; in berlin2_avpll_channel_disable() 255 u32 reg, div_av2, div_av3, divider = 1; in berlin2_avpll_channel_recalc_rate()
|
/openbmc/u-boot/arch/powerpc/cpu/mpc8xxx/ |
H A D | fsl_pamu.c | 231 u32 base_addr = CONFIG_SYS_PAMU_ADDR; in pamu_init() 233 u32 i = 0; in pamu_init() 292 u32 i = 0; in pamu_enable() 293 u32 base_addr = CONFIG_SYS_PAMU_ADDR; in pamu_enable() 304 u32 i = 0; in pamu_reset() 305 u32 base_addr = CONFIG_SYS_PAMU_ADDR; in pamu_reset() 328 u32 i = 0; in pamu_disable() 329 u32 base_addr = CONFIG_SYS_PAMU_ADDR; in pamu_disable()
|
/openbmc/u-boot/drivers/video/ |
H A D | fsl_diu_fb.c | 184 u32 paddr; /* 32-bit physical address */ 193 static int allocate_buf(struct diu_addr *buf, u32 size, u32 bytes_align) in allocate_buf() 195 u32 offset, ssize; in allocate_buf() 196 u32 mask; in allocate_buf() 205 offset = (u32)buf->vaddr & mask; in allocate_buf() 250 int fsl_diu_init(u16 xres, u16 yres, u32 pixel_format, int gamma_fix) in fsl_diu_init() 261 #define RESOLUTION(x, y) (((u32)(x) << 16) | (y)) in fsl_diu_init()
|
/openbmc/u-boot/drivers/fastboot/ |
H A D | fb_mmc.c | 101 u32 download_bytes, char *response) in write_raw_image() 190 u32 download_bytes, in fb_mmc_update_zimage() 197 u32 ramdisk_sector_start; in fb_mmc_update_zimage() 198 u32 ramdisk_sectors; in fb_mmc_update_zimage() 199 u32 kernel_sector_start; in fb_mmc_update_zimage() 200 u32 kernel_sectors; in fb_mmc_update_zimage() 201 u32 sectors_per_page; in fb_mmc_update_zimage() 334 u32 download_bytes, char *response) in fastboot_mmc_flash_write()
|
/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | dynack.c | 31 static u32 ath_dynack_get_max_to(struct ath_hw *ah) in ath_dynack_get_max_to() 65 static inline u32 ath_dynack_get_sifs(struct ath_hw *ah, int phy) in ath_dynack_get_sifs() 67 u32 sifs = CCK_SIFS_TIME; in ath_dynack_get_sifs() 148 u32 ackto, ack_ts, max_to; in ath_dynack_compute_to() 214 u32 dur = ts->duration; in ath_dynack_sample_tx_ts() 229 u32 max_to = ath_dynack_get_max_to(ah); in ath_dynack_sample_tx_ts() 259 u32 phy; in ath_dynack_sample_tx_ts() 294 u32 ts) in ath_dynack_sample_ack_ts()
|
/openbmc/linux/drivers/gpu/ipu-v3/ |
H A D | ipu-dp.c | 46 u32 flow; 69 static u32 ipu_dp_flow_base[] = {DP_SYNC, DP_ASYNC0, DP_ASYNC1}; 84 u32 reg; in ipu_dp_set_global_alpha() 97 writel(reg | ((u32) alpha << 24), in ipu_dp_set_global_alpha() 133 u32 place) in ipu_dp_csc_init() 135 u32 reg; in ipu_dp_csc_init() 250 u32 reg; in ipu_dp_enable_channel() 273 u32 reg, csc; in ipu_dp_disable_channel()
|
/openbmc/linux/drivers/iio/orientation/ |
H A D | hid-sensor-incl-3d.c | 31 u32 incl_val[INCLI_3D_CHANNEL_MAX]; 41 static const u32 incl_3d_addresses[INCLI_3D_CHANNEL_MAX] = { 47 static const u32 incl_3d_sensitivity_addresses[] = { 96 chan->scan_type.storagebits = sizeof(u32) * 8; in incl_3d_adjust_channel_bit_mask() 107 u32 address; in incl_3d_read_raw() 225 incl_state->scan.incl_val[CHANNEL_SCAN_INDEX_X] = *(u32 *)raw_data; in incl_3d_capture_sample() 228 incl_state->scan.incl_val[CHANNEL_SCAN_INDEX_Y] = *(u32 *)raw_data; in incl_3d_capture_sample() 231 incl_state->scan.incl_val[CHANNEL_SCAN_INDEX_Z] = *(u32 *)raw_data; in incl_3d_capture_sample()
|
/openbmc/linux/drivers/thermal/ |
H A D | imx8mm_thermal.c | 79 u32 num_sensors; 80 u32 version; 86 u32 hw_id; 101 u32 val; in imx8mm_tmu_get_temp() 155 u32 val; in imx8mm_tmu_enable() 166 u32 val; in imx8mm_tmu_probe_sel_all() 177 u32 ana0; in imx8mm_tmu_probe_set_calib_v1() 203 u32 trim[4] = { 0 }; in imx8mm_tmu_probe_set_calib_v2()
|
/openbmc/linux/arch/sh/include/asm/ |
H A D | io.h | 31 #define __raw_writel(v,a) (__chk_io_ptr(a), *(volatile u32 __force *)(a) = (v)) 36 #define __raw_readl(a) (__chk_io_ptr(a), *(volatile u32 __force *)(a)) 41 #define readl_relaxed(c) ({ u32 __v = ioswabl(__raw_readl(c)); __v; }) 46 #define writel_relaxed(v,c) ((void)__raw_writel((__force u32)ioswabl(v),c)) 51 #define readl(a) ({ u32 r_ = readl_relaxed(a); rmb(); r_; }) 86 __BUILD_UNCACHED_IO(l, u32) 210 BUILDIO_IOPORT(l, u32) 239 __BUILD_IOPORT_STRING(l, u32)
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-optee.c | 23 u32 tm_sec; 24 u32 tm_min; 25 u32 tm_hour; 26 u32 tm_mday; 27 u32 tm_mon; 28 u32 tm_year; 29 u32 tm_wday; 50 u32 session_id;
|
/openbmc/linux/drivers/xen/xen-pciback/ |
H A D | conf_space_header.c | 21 u32 val; 22 u32 len_val; 127 static int rom_write(struct pci_dev *dev, int offset, u32 value, void *data) in rom_write() 142 u32 tmpval; in rom_write() 160 static int bar_write(struct pci_dev *dev, int offset, u32 value, void *data) in bar_write() 165 u32 mask; in bar_write() 184 u32 tmpval; in bar_write() 196 static int bar_read(struct pci_dev *dev, int offset, u32 * value, void *data) in bar_read()
|
/openbmc/linux/include/net/ |
H A D | cfg802154.h | 145 u32 channels[IEEE802154_MAX_PAGE + 1], 224 u32 symbol_duration; 320 u32 channels; 374 u32 cmd_frame_ids; 414 u32 sec_levels; 423 u32 frame_counter; 434 u32 frame_counter; 461 u32 identifier;
|
/openbmc/linux/drivers/net/wireless/silabs/wfx/ |
H A D | fwio.c | 80 static int wfx_sram_write_dma_safe(struct wfx_dev *wdev, u32 addr, const u8 *buf, size_t len) in wfx_sram_write_dma_safe() 98 static int get_firmware(struct wfx_dev *wdev, u32 keyset_chip, in get_firmware() 147 static int wait_ncp_status(struct wfx_dev *wdev, u32 status) in wait_ncp_status() 150 u32 reg; in wait_ncp_status() 174 u32 offs, bytes_done = 0; in upload_firmware() 213 u32 reg; in print_boot_status() 300 u32 value; in init_gpr() 324 u32 reg; in wfx_init_device()
|
/openbmc/linux/drivers/media/pci/tw686x/ |
H A D | tw686x-core.c | 53 static u32 dma_interval = 0x00098968; 95 u32 dma_en = reg_read(dev, DMA_CHANNEL_ENABLE); in tw686x_disable_channel() 96 u32 dma_cmd = reg_read(dev, DMA_CMD); in tw686x_disable_channel() 114 u32 dma_en = reg_read(dev, DMA_CHANNEL_ENABLE); in tw686x_enable_channel() 115 u32 dma_cmd = reg_read(dev, DMA_CMD); in tw686x_enable_channel() 143 u32 dma_en, dma_cmd; in tw686x_reset_channels() 169 u32 fifo_status, fifo_signal, fifo_ov, fifo_bad, fifo_errors; in tw686x_irq() 170 u32 int_status, dma_en, video_en, pb_status; in tw686x_irq()
|
/openbmc/linux/drivers/usb/cdns3/ |
H A D | cdns3-imx.c | 97 static inline u32 cdns_imx_readl(struct cdns_imx *data, u32 offset) in cdns_imx_readl() 102 static inline void cdns_imx_writel(struct cdns_imx *data, u32 offset, u32 value) in cdns_imx_writel() 117 u32 value; in cdns_imx_noncore_init() 237 u32 value; in cdns3_set_wakeup() 256 u32 value; in cdns_imx_platform_suspend() 367 u32 value; in cdns_imx_is_power_lost()
|