Home
last modified time | relevance | path

Searched refs:assert (Results 1 – 25 of 51) sorted by relevance

123

/drivers/ide/
Dcs5520.c48 int assert; member
69 (cs5520_pio_clocks[pio].assert)); in cs5520_set_pio_mode()
77 (cs5520_pio_clocks[pio].assert)); in cs5520_set_pio_mode()
81 (cs5520_pio_clocks[pio].assert)); in cs5520_set_pio_mode()
/drivers/reset/sti/
Dreset-syscfg.c53 unsigned long idx, int assert) in syscfg_reset_program_hw() argument
57 u32 ctrl_val = rst->active_low ? !assert : !!assert; in syscfg_reset_program_hw()
115 .assert = syscfg_reset_assert,
/drivers/net/ethernet/hisilicon/hns/
Dhns_ae_adapt.c248 assert(mac_cb); in hns_ae_set_multicast_one()
379 assert(handle); in hns_ae_get_pauseparam()
388 assert(handle); in hns_ae_set_autoneg()
402 assert(handle); in hns_ae_get_autoneg()
442 assert(handle); in hns_ae_get_rx_max_coalesced_frames()
457 assert(handle); in hns_ae_set_coalesce_usecs()
471 assert(handle); in hns_ae_set_coalesce_frames()
605 assert(handle); in hns_ae_get_strings()
632 assert(handle); in hns_ae_get_sset_count()
669 assert(handle); in hns_ae_update_led_status()
[all …]
Dhnae.h46 #ifndef assert
47 #define assert(expr) \ macro
58 #ifndef assert
59 #define assert(expr) macro
260 assert((idx) >= 0 && (idx) < (ring)->desc_num)
493 #ifndef assert
494 #define assert(cond) macro
Dhnae.c200 assert(!ring->desc && !ring->desc_cb && !ring->desc_dma_addr); in hnae_init_ring()
203 assert(ring->next_to_use == 0); in hnae_init_ring()
204 assert(ring->next_to_clean == 0); in hnae_init_ring()
Dhns_enet.c115 assert(ring->max_desc_num_per_pkt <= ring->desc_num); in hns_nic_net_xmit_hw()
136 assert(skb_shinfo(skb)->nr_frags == 1); in hns_nic_net_xmit_hw()
173 assert(skb->queue_mapping < priv->ae_handle->q_num); in hns_nic_net_xmit_hw()
594 assert(u > 0 && u < ring->desc_num); in is_valid_clean_head()
595 assert(c > 0 && c < ring->desc_num); in is_valid_clean_head()
596 assert(u != c && h != c); /* must be checked before call this func */ in is_valid_clean_head()
1091 assert(skb->queue_mapping < ndev->ae_handle->q_num); in hns_nic_net_xmit()
1330 assert(!test_bit(NIC_STATE_SERVICE_SCHED, &priv->state)); in hns_nic_service_event_complete()
1497 assert(action == HNAE_AE_REGISTER); in hns_nic_notifier_action()
Dhns_ethtool.c50 assert(priv && priv->ae_handle); in hns_nic_get_link()
664 assert(priv); in hns_nic_get_drvinfo()
737 assert(priv || priv->ae_handle); in hns_set_pauseparam()
797 assert(priv || priv->ae_handle); in hns_set_coalesce()
1141 assert(priv || priv->ae_handle); in hns_get_regs()
1165 assert(priv || priv->ae_handle); in hns_get_regs_len()
/drivers/reset/
Dreset-ath79.c26 unsigned long id, bool assert) in ath79_reset_update() argument
35 if (assert) in ath79_reset_update()
70 .assert = ath79_reset_assert,
Dcore.c108 if (rstc->rcdev->ops->assert) in reset_control_assert()
109 return rstc->rcdev->ops->assert(rstc->rcdev, rstc->id); in reset_control_assert()
Dreset-zynq.c90 .assert = zynq_reset_assert,
/drivers/w1/
Dw1_log.h28 # define assert(expr) do {} while (0) macro
30 # define assert(expr) \ macro
/drivers/ata/
Dpata_cs5520.c48 int assert; member
79 (cs5520_pio_clocks[pio].assert)); in cs5520_set_timings()
84 (cs5520_pio_clocks[pio].assert)); in cs5520_set_timings()
88 (cs5520_pio_clocks[pio].assert)); in cs5520_set_timings()
Dahci_imx.c78 static int imx_phy_crbit_assert(void __iomem *mmio, u32 bit, bool assert) in imx_phy_crbit_assert() argument
86 if (assert) in imx_phy_crbit_assert()
95 if ((assert ? srval : ~srval) & IMX_P0PHYSR_CR_ACK) in imx_phy_crbit_assert()
/drivers/w1/masters/
Dmatrox_w1.c160 assert(pdev != NULL); in matrox_w1_probe()
161 assert(ent != NULL); in matrox_w1_probe()
227 assert(dev != NULL); in matrox_w1_remove()
/drivers/clk/qcom/
Dreset.c24 rcdev->ops->assert(rcdev, id); in qcom_reset()
60 .assert = qcom_reset_assert,
/drivers/block/
Dsx8.c94 #define assert(expr) macro
96 #define assert(expr) \ macro
525 assert(host->n_msgs <= CARM_MAX_REQ); in carm_get_request()
536 assert(crq->tag < max_queue); in carm_put_request()
541 assert(host->hw_sg_used >= crq->n_elem); in carm_put_request()
618 assert(host->state == HST_DEV_SCAN_START || in carm_array_info()
759 assert(rc == 0); in carm_end_request_queued()
822 assert(crq != NULL); in carm_oob_rq_fn()
823 assert(crq->rq == rq); in carm_oob_rq_fn()
997 assert(host->state == HST_DEV_SCAN); in carm_handle_array_info()
[all …]
/drivers/clk/tegra/
Dclk.c275 .assert = tegra_clk_rst_assert,
309 int (*assert)(unsigned long), in tegra_init_special_resets()
313 special_reset_assert = assert; in tegra_init_special_resets()
/drivers/video/fbdev/
Dcirrusfb.c71 #define assert(expr) \ macro
77 #define assert(expr) macro
637 assert(cinfo != NULL); in cirrusfb_set_mclk_as_source()
1451 assert(cinfo != NULL); in init_vgachip()
1499 assert(info->screen_size > 0); in init_vgachip()
1904 assert(pdev != NULL); in get_pci_addrs()
1905 assert(display != NULL); in get_pci_addrs()
1906 assert(registers != NULL); in get_pci_addrs()
1921 assert(*display != 0); in get_pci_addrs()
2027 assert(cinfo->btype != BT_NONE); in cirrusfb_register()
[all …]
/drivers/net/ethernet/realtek/
D8139too.c134 # define assert(expr) do {} while (0) macro
136 # define assert(expr) \ macro
723 assert (dev != NULL); in __rtl8139_cleanup_dev()
724 assert (tp->pci_dev != NULL); in __rtl8139_cleanup_dev()
773 assert (pdev != NULL); in rtl8139_init_board()
961 assert (pdev != NULL); in rtl8139_init_one()
962 assert (ent != NULL); in rtl8139_init_one()
997 assert (dev != NULL); in rtl8139_init_one()
1002 assert (ioaddr != NULL); in rtl8139_init_one()
1125 assert (dev != NULL); in rtl8139_remove_one()
[all …]
/drivers/memory/
Djz4780-nemc.c121 void jz4780_nemc_assert(struct device *dev, unsigned int bank, bool assert) in jz4780_nemc_assert() argument
128 if (assert) in jz4780_nemc_assert()
/drivers/clk/mediatek/
Dreset.c61 .assert = mtk_reset_assert,
/drivers/pps/
Dsysfs.c44 static DEVICE_ATTR_RO(assert);
/drivers/clk/mmp/
Dreset.c78 .assert = mmp_clk_reset_assert,
/drivers/clk/rockchip/
Dsoftrst.c85 .assert = rockchip_softrst_assert,
/drivers/net/caif/
Dcaif_spi.c452 static void cfspi_ss_cb(bool assert, struct cfspi_ifc *ifc) in cfspi_ss_cb() argument
467 if (assert) { in cfspi_ss_cb()
477 if (assert) in cfspi_ss_cb()

123