/openbmc/u-boot/drivers/ddr/marvell/a38x/ |
H A D | xor.c | 23 u32 reg, ui, cs_count; in mv_sys_xor_init() local 35 for (ui = 0, cs_count = 0; in mv_sys_xor_init() 36 (cs_count < num_of_cs) && (ui < 8); in mv_sys_xor_init() 37 ui++, cs_count++) { in mv_sys_xor_init() 48 cs_count = 0; in mv_sys_xor_init() 49 for (ui = 0, cs_count = 0; in mv_sys_xor_init() 50 (cs_count < num_of_cs) && (ui < 8); in mv_sys_xor_init() 51 ui++, cs_count++) { in mv_sys_xor_init()
|
/openbmc/linux/drivers/usb/host/ |
H A D | xhci-mtk-sch.c | 301 sch_ep->cs_count = 0; in setup_sch_info() 319 sch_ep->cs_count = 0; in setup_sch_info() 358 sch_ep->cs_count = DIV_ROUND_UP(maxpkt, FS_PAYLOAD_MAX); in setup_sch_info() 359 sch_ep->num_budget_microframes = sch_ep->cs_count; in setup_sch_info() 437 last_ss = start_ss + sch_ep->cs_count - 1; in check_sch_tt() 447 u32 cs_count = DIV_ROUND_UP(sch_ep->maxpkt, FS_PAYLOAD_MAX); in check_sch_tt() local 458 last_cs = start_cs + cs_count - 1; in check_sch_tt() 463 if (cs_count > 7) in check_sch_tt() 464 cs_count = 7; /* HW limit */ in check_sch_tt() 466 sch_ep->cs_count = cs_count; in check_sch_tt() [all …]
|
H A D | xhci-mtk.h | 109 u32 cs_count; member
|
/openbmc/qemu/hw/ssi/ |
H A D | npcm7xx_fiu.c | 111 g_assert(index >= 0 && index < fiu->cs_count); in npcm7xx_fiu_cs_index() 121 if (cs_id < s->cs_count) { in npcm7xx_fiu_select() 127 DEVICE(s)->canonical_path, cs_id, s->cs_count); in npcm7xx_fiu_select() 493 for (i = 0; i < s->cs_count; i++) { in npcm7xx_fiu_hold_reset() 504 if (s->cs_count <= 0) { in npcm7xx_fiu_realize() 506 dev->canonical_path, s->cs_count); in npcm7xx_fiu_realize() 511 s->cs_lines = g_new0(qemu_irq, s->cs_count); in npcm7xx_fiu_realize() 512 qdev_init_gpio_out_named(DEVICE(s), s->cs_lines, "cs", s->cs_count); in npcm7xx_fiu_realize() 513 s->flash = g_new0(NPCM7xxFIUFlash, s->cs_count); in npcm7xx_fiu_realize() 523 for (i = 0; i < s->cs_count; i++) { in npcm7xx_fiu_realize() [all …]
|
/openbmc/u-boot/drivers/ddr/marvell/axp/ |
H A D | ddr3_spd.c | 585 __maybe_unused u32 dimm_cnt, cs_count, dimm; local 894 cs_count = 0; 898 if (dimm_info[dimm_cnt].num_of_module_ranks == cs_count) { 900 cs_count = 0; 902 cs_count++; 918 cs_count = 0; 922 if (dimm_info[dimm_cnt].num_of_module_ranks == cs_count) { 924 cs_count = 0; 926 cs_count++; 1011 cs_count = 0; [all …]
|
H A D | xor.c | 25 u32 reg, ui, base, cs_count; in mv_sys_xor_init() local 49 cs_count = 0; in mv_sys_xor_init() 71 reg_write(XOR_BASE_ADDR_REG(0, cs_count), base); in mv_sys_xor_init() 74 reg_write(XOR_SIZE_MASK_REG(0, cs_count), 0x0FFF0000); in mv_sys_xor_init() 75 cs_count++; in mv_sys_xor_init()
|
H A D | ddr3_dqs.c | 310 u32 uj, cs_count, cs_tmp, ii; in ddr3_find_adll_limits() local 332 cs_count = 0; in ddr3_find_adll_limits() 335 cs_count++; in ddr3_find_adll_limits() 337 sdram_offset = cs_count * (SDRAM_CS_SIZE + 1); in ddr3_find_adll_limits() 1329 u32 cs, cs_count, cs_tmp, victim_dq; in ddr3_load_dqs_patterns() local 1336 cs_count = 0; in ddr3_load_dqs_patterns() 1339 cs_count++; in ddr3_load_dqs_patterns() 1343 sdram_addr = (cs_count * (SDRAM_CS_SIZE + 1) + in ddr3_load_dqs_patterns() 1358 sdram_addr = (cs_count * (SDRAM_CS_SIZE + 1) + in ddr3_load_dqs_patterns()
|
H A D | ddr3_pbs.c | 1532 u32 cs, cs_count, cs_tmp; in ddr3_load_pbs_patterns() local 1561 cs_count = 0; in ddr3_load_pbs_patterns() 1564 cs_count++; in ddr3_load_pbs_patterns() 1568 sdram_addr = (cs_count * (SDRAM_CS_SIZE + 1) + in ddr3_load_pbs_patterns() 1578 sdram_addr = (cs_count * (SDRAM_CS_SIZE + 1) + in ddr3_load_pbs_patterns()
|
H A D | ddr3_init.c | 1073 u32 cs_count = 0; in ddr3_get_cs_num_from_reg() local 1078 cs_count++; in ddr3_get_cs_num_from_reg() 1081 return cs_count; in ddr3_get_cs_num_from_reg()
|
/openbmc/linux/drivers/bus/ |
H A D | imx-weim.c | 20 unsigned int cs_count; member 29 .cs_count = 6, 35 .cs_count = 6, 41 .cs_count = 4, 50 .cs_count = 6, 150 if (WARN_ON(devtype->cs_count > MAX_CS_COUNT)) in weim_timing_setup() 178 if (cs_idx >= devtype->cs_count) in weim_timing_setup()
|
/openbmc/qemu/include/hw/ssi/ |
H A D | npcm7xx_fiu.h | 60 int32_t cs_count; member
|
/openbmc/qemu/hw/arm/ |
H A D | npcm7xx.c | 293 int cs_count; member 299 .cs_count = ARRAY_SIZE(npcm7xx_fiu0_flash_addr), 304 .cs_count = ARRAY_SIZE(npcm7xx_fiu3_flash_addr), 737 npcm7xx_fiu[i].cs_count, &error_abort); in npcm7xx_realize() 741 for (j = 0; j < npcm7xx_fiu[i].cs_count; j++) { in npcm7xx_realize()
|
/openbmc/linux/drivers/spi/ |
H A D | spi-tegra210-quad.c | 168 unsigned int cs_count; member 1467 .cs_count = 1, 1474 .cs_count = 1, 1481 .cs_count = 1, 1488 .cs_count = 4, 1567 master->num_chipselect = tqspi->soc_data->cs_count; in tegra_qspi_probe()
|
H A D | spi-dln2.c | 191 __le16 cs_count; in dln2_spi_get_cs_num() member 203 *cs_num = le16_to_cpu(rx.cs_count); in dln2_spi_get_cs_num()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | mac-cfg.h | 209 u8 cs_count; member
|
/openbmc/linux/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_core.c | 6789 u_int cs_count; in ahc_loadseq() local 6801 cs_count = 0; in ahc_loadseq() 6854 if (begin_set[cs_count] == TRUE in ahc_loadseq() 6855 && end_set[cs_count] == FALSE) { in ahc_loadseq() 6856 cs_table[cs_count].end = downloaded; in ahc_loadseq() 6857 end_set[cs_count] = TRUE; in ahc_loadseq() 6858 cs_count++; in ahc_loadseq() 6863 && begin_set[cs_count] == FALSE) { in ahc_loadseq() 6864 cs_table[cs_count].begin = downloaded; in ahc_loadseq() 6865 begin_set[cs_count] = TRUE; in ahc_loadseq() [all …]
|
H A D | aic79xx_core.c | 9262 u_int cs_count; in ahd_loadseq() local 9285 cs_count = 0; in ahd_loadseq() 9378 if (begin_set[cs_count] == TRUE in ahd_loadseq() 9379 && end_set[cs_count] == FALSE) { in ahd_loadseq() 9380 cs_table[cs_count].end = downloaded; in ahd_loadseq() 9381 end_set[cs_count] = TRUE; in ahd_loadseq() 9382 cs_count++; in ahd_loadseq() 9387 && begin_set[cs_count] == FALSE) { in ahd_loadseq() 9388 cs_table[cs_count].begin = downloaded; in ahd_loadseq() 9389 begin_set[cs_count] = TRUE; in ahd_loadseq() [all …]
|
/openbmc/linux/fs/nfsd/ |
H A D | state.h | 64 refcount_t cs_count; member
|
H A D | nfs4state.c | 1018 refcount_set(&cps->cp_stateid.cs_count, 1); in nfs4_alloc_init_cpntf_state() 6554 if (!refcount_dec_and_test(&cps->cp_stateid.cs_count)) in _free_cpntf_state_locked() 6585 refcount_inc(&state->cp_stateid.cs_count); in manage_cpntf_state()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | mac80211.c | 5356 .cs_count = chsw->count, in iwl_mvm_schedule_client_csa() 5535 .cs_count = chsw->count, in iwl_mvm_channel_switch_rx_beacon()
|
/openbmc/linux/net/wireless/ |
H A D | nl80211.c | 10146 u32 cs_count; in nl80211_channel_switch() 10193 cs_count = nla_get_u32(info->attrs[NL80211_ATTR_CH_SWITCH_COUNT]); in nl80211_channel_switch() 10194 if (cs_count > 255) in nl80211_channel_switch() 10197 params.count = cs_count; in nl80211_channel_switch() 10141 u32 cs_count; nl80211_channel_switch() local
|