Home
last modified time | relevance | path

Searched refs:count (Results 1 – 21 of 21) sorted by relevance

/hal_microchip-3.7.0/mpfs/drivers/mss/mss_ethernet_mac/
Dvsc8662_phy.c88 uint32_t count; in vsc8662_enable_LED_blink() local
92 for(count = 0; count != 2; count++) in vsc8662_enable_LED_blink()
95 MSS_MAC_write_phy_reg(this_mac, (uint8_t)(phy_base_address + count), 31, 0x0001U); in vsc8662_enable_LED_blink()
96 temp_reg = MSS_MAC_read_phy_reg(this_mac, (uint8_t)(phy_base_address + count), 19); in vsc8662_enable_LED_blink()
98 MSS_MAC_write_phy_reg(this_mac, (uint8_t)(phy_base_address + count), 19, temp_reg); in vsc8662_enable_LED_blink()
101 MSS_MAC_write_phy_reg(this_mac, (uint8_t)(phy_base_address + count), 31, 0x0000U); in vsc8662_enable_LED_blink()
102 MSS_MAC_write_phy_reg(this_mac, (uint8_t)(phy_base_address + count), 0, 0x9040U); in vsc8662_enable_LED_blink()
114 uint32_t count; in vsc8662_100tx_1000t_amplitude_fix() local
118 for(count = 0; count != 2; count++) in vsc8662_100tx_1000t_amplitude_fix()
120 MSS_MAC_write_phy_reg(this_mac, (uint8_t)(phy_base_address + count), 31, 0x52B5U); in vsc8662_100tx_1000t_amplitude_fix()
[all …]
Dti_dp83867_phy.c396 int32_t count; in dump_ti_regs() local
402 for(count = 0; count <= 0x1F; count++) in dump_ti_regs()
405 … TI_reg_0[count] = MSS_MAC_read_phy_reg(this_mac, (uint8_t)this_mac->phy_addr, (uint8_t)count); in dump_ti_regs()
415 for(count = 0; 0xFFFFU != phy_reg_list[count]; count++) in dump_ti_regs()
419 …phy_reg(this_mac, (uint8_t)this_mac->phy_addr, MII_TI_ADDAR, phy_reg_list[count]); /* Select new i… in dump_ti_regs()
421 …TI_reg_1[count] = MSS_MAC_read_phy_reg(this_mac, (uint8_t)this_mac->phy_addr, MII_TI_ADDAR); /… in dump_ti_regs()
431 for(count = 0; count <= 0x10; count++) in dump_ti_regs()
433 …TI_MSS_SGMII_reg[count] = MSS_MAC_read_phy_reg(this_mac, (uint8_t)this_mac->pcs_phy_addr, (uint8_t… in dump_ti_regs()
437 for(count = 0; count < 19; count++) in dump_ti_regs()
439 TI_MSS_MAC_reg[count] = *pbigdata; in dump_ti_regs()
[all …]
Dvsc8541_phy.c441 volatile int32_t count; in dump_vsc8541_regs() local
472 for(count = 0; count <= 0x1F; count++) in dump_vsc8541_regs()
479 … pdata[count] = MSS_MAC_read_phy_reg(this_mac, (uint8_t)this_mac->phy_addr, (uint8_t)count); in dump_vsc8541_regs()
482 MSS_MAC_read_phy_reg(this_mac, (uint8_t)10, (uint8_t)count); in dump_vsc8541_regs()
488 for(count = 0x10; count <= 0x1F; count++) in dump_vsc8541_regs()
495 … pdata[count - 0X10] = MSS_MAC_read_phy_reg(this_mac, (uint8_t)this_mac->phy_addr, (uint8_t)count); in dump_vsc8541_regs()
Dvsc8575_phy.c70 int32_t count; in dump_vsc8575_regs() local
109 for(count = 0; count <= 0x1F; count++) in dump_vsc8575_regs()
116 … pdata[count] = MSS_MAC_read_phy_reg(this_mac, (uint8_t)this_mac->phy_addr, (uint8_t)count); in dump_vsc8575_regs()
125 for(count = 0x10; count <= 0x1F; count++) in dump_vsc8575_regs()
132 … pdata[count - 0X10] = MSS_MAC_read_phy_reg(this_mac,(uint8_t) this_mac->phy_addr, (uint8_t)count); in dump_vsc8575_regs()
165 for(count = 0; count <= 0x10; count++) in dump_vsc8575_regs()
167 …VSC8575_MSS_SGMII_reg16[count] = MSS_MAC_read_phy_reg(this_mac, (uint8_t)this_mac->pcs_phy_addr, (… in dump_vsc8575_regs()
175 for(count = 0; count < 19; count++, pbigdata++) in dump_vsc8575_regs()
177 VSC8575_MSS_MAC_reg[count] = *pbigdata; in dump_vsc8575_regs()
181 for(count = 0; count < 8; count++, pbigdata++) in dump_vsc8575_regs()
[all …]
Dmss_ethernet_mac.c2334 void copy8b(uint64_t *dest, uint64_t *source, uint32_t count) in copy8b() argument
2336 while(count--) in copy8b()
/hal_microchip-3.7.0/mpfs/mpfs_hal/common/nwc/
Dmss_cfm.c122 cfm_error_id_t MSS_CFM_get_count(cfm_count_id_t ch, uint32_t *count) in MSS_CFM_get_count() argument
125 if(count == NULL) in MSS_CFM_get_count()
128 *count = 0; in MSS_CFM_get_count()
136 *count = CFM_REG->count0; in MSS_CFM_get_count()
140 *count = CFM_REG->count1; in MSS_CFM_get_count()
144 *count = CFM_REG->count2; in MSS_CFM_get_count()
148 *count = CFM_REG->count3; in MSS_CFM_get_count()
152 *count = CFM_REG->count4; in MSS_CFM_get_count()
156 *count = CFM_REG->count5; in MSS_CFM_get_count()
160 *count = CFM_REG->count6; in MSS_CFM_get_count()
[all …]
Dmss_nwc_init.c371 volatile uint32_t count = n; in delay() local
372 while(count!=0U) in delay()
374 count--; in delay()
390 volatile uint32_t count = 0ULL; in mtime_delay() local
394 count++; in mtime_delay()
Dmss_cfm.h301 cfm_error_id_t MSS_CFM_get_count(cfm_count_id_t ch, uint32_t *count);
Dmss_ddr.c131 static uint8_t rw_sanity_chk(uint64_t * address, uint32_t count);
3136 static uint8_t rw_sanity_chk(uint64_t * address, uint32_t count) in rw_sanity_chk() argument
3149 while(i < count) in rw_sanity_chk()
3175 while(i < count) in rw_sanity_chk()
3197 static uint8_t read_back_sanity_check(uint64_t * address, uint32_t count)
3214 while(i < count)
3688 uint32_t count = 0U; in FPGA_VREFDQ_calibration_using_mtc() local
/hal_microchip-3.7.0/mpfs/drivers/mss/mss_usb/
Dmss_usb_host_msc.c131 static uint8_t usbh_msc_cep_done_cb(uint8_t tdev_addr, uint8_t status, uint32_t count);
135 uint32_t count);
137 static uint8_t usbh_msc_rx_cb(uint8_t tdev_addr, uint8_t status, uint32_t count);
975 uint32_t count in MSS_USBH_MSC_read() argument
984 count, in MSS_USBH_MSC_read()
990 (count*512u), in MSS_USBH_MSC_read()
1008 uint32_t count in MSS_USBH_MSC_write() argument
1017 count, in MSS_USBH_MSC_write()
1023 (count*512u), in MSS_USBH_MSC_write()
1106 uint32_t count in usbh_msc_cep_done_cb() argument
[all …]
Dmss_usb_host_hid.c122 uint8_t status, uint32_t count);
125 uint32_t count);
126 static uint8_t usbh_hid_rx_cb(uint8_t tdev_addr, uint8_t status, uint32_t count);
506 uint32_t count in usbh_hid_cep_done_cb() argument
523 uint32_t count in usbh_hid_tx_complete_cb() argument
540 uint32_t count in usbh_hid_rx_cb() argument
Dmss_usb_host_msc.h590 uint32_t count
648 uint32_t count
Dmss_usb_host.h489 uint32_t count);
493 uint32_t count);
497 uint32_t count);
Dmss_usb_host_reg_io.h848 uint32_t count in MSS_USBH_CIF_rx_ep_set_reqpkt_count() argument
856 USB->RQ_PKT_CNT[ep_num] = count; in MSS_USBH_CIF_rx_ep_set_reqpkt_count()
Dmss_usb_common_reg_io.h1386 uint32_t count in MSS_USB_CIF_dma_write_count() argument
1389 USB->DMA_CHANNEL[dma_channel].COUNT = count; in MSS_USB_CIF_dma_write_count()
/hal_microchip-3.7.0/mec5/drivers/
Dmec_htimer.c71 ctx->count = ctx->preload; in mec_hal_htimer_init()
111 ctx->count = regs->COUNT; in mec_hal_htimer_halt()
122 regs->PRELOAD = ctx->count; in mec_hal_htimer_unhalt()
Dmec_btimer.c99 uint32_t count, uint32_t flags) in mec_hal_btimer_init() argument
112 regs->PRELOAD = count; in mec_hal_btimer_init()
113 regs->COUNT = count; in mec_hal_btimer_init()
Dmec_htimer_api.h42 uint16_t count; member
Dmec_btimer_api.h46 uint32_t count, uint32_t flags);
Dmec_defs.h156 size_t count; member
/hal_microchip-3.7.0/mpfs/drivers/mss/mss_mmc/
Dmss_mmc_regs.h1023 static inline uint32_t CQ_DESC_SET_BLOCK_COUNT(uint32_t count) in CQ_DESC_SET_BLOCK_COUNT() argument
1025 return ((count & 0xFFFFu) << 16); in CQ_DESC_SET_BLOCK_COUNT()