| /drivers/scsi/ |
| A D | wd719x.c | 176 dma_free_coherent(&wd->pdev->dev, wd->fw_size, wd->fw_virt, in wd719x_destroy() 183 wd->params, wd->params_phys); in wd719x_destroy() 185 free_irq(wd->pdev->irq, wd); in wd719x_destroy() 330 wd->fw_virt = dma_alloc_coherent(&wd->pdev->dev, wd->fw_size, in wd719x_chip_init() 822 wd->type = wd719x_detect_type(wd); in wd719x_board_found() 824 wd->sh = sh; in wd719x_board_found() 829 wd->params = dma_alloc_coherent(&wd->pdev->dev, in wd719x_board_found() 838 wd->hash_virt = dma_alloc_coherent(&wd->pdev->dev, in wd719x_board_found() 870 free_irq(wd->pdev->irq, wd); in wd719x_board_found() 876 wd->params, wd->params_phys); in wd719x_board_found() [all …]
|
| /drivers/watchdog/ |
| A D | f71808e_wdt.c | 242 wd->pulse_val = 0; in fintek_wdt_set_pulse_width() 244 wd->pulse_val = 1; in fintek_wdt_set_pulse_width() 246 wd->pulse_val = 2; in fintek_wdt_set_pulse_width() 248 wd->pulse_val = 3; in fintek_wdt_set_pulse_width() 254 wd->pulse_mode = pw; in fintek_wdt_set_pulse_width() 280 wd->timer_val); in fintek_wdt_keepalive() 304 switch (wd->type) { in fintek_wdt_start() 379 if (wd->type == f81865 || wd->type == f81866 || wd->type == f81966) in fintek_wdt_start() 461 wd = devm_kzalloc(dev, sizeof(*wd), GFP_KERNEL); in fintek_wdt_probe() 462 if (!wd) in fintek_wdt_probe() [all …]
|
| A D | pseries-wdt.c | 95 struct watchdog_device wd; member 178 pw->wd.parent = &pdev->dev; in pseries_wdt_probe() 179 pw->wd.info = &pseries_wdt_info; in pseries_wdt_probe() 180 pw->wd.ops = &pseries_wdt_ops; in pseries_wdt_probe() 184 pw->wd.timeout = timeout; in pseries_wdt_probe() 188 watchdog_stop_on_reboot(&pw->wd); in pseries_wdt_probe() 190 watchdog_set_drvdata(&pw->wd, pw); in pseries_wdt_probe() 205 if (watchdog_active(wd)) in pseries_wdt_suspend() 206 return pseries_wdt_stop(wd); in pseries_wdt_suspend() 214 if (watchdog_active(wd)) in pseries_wdt_resume() [all …]
|
| A D | intel-mid_wdt.c | 41 struct watchdog_device wd; member 55 static int wdt_start(struct watchdog_device *wd) in wdt_start() argument 57 struct mid_wdt *mid = watchdog_get_drvdata(wd); in wdt_start() 59 int timeout = wd->timeout; in wdt_start() 81 static int wdt_ping(struct watchdog_device *wd) in wdt_ping() argument 83 struct mid_wdt *mid = watchdog_get_drvdata(wd); in wdt_ping() 93 static int wdt_stop(struct watchdog_device *wd) in wdt_stop() argument 95 struct mid_wdt *mid = watchdog_get_drvdata(wd); in wdt_stop() 149 wdt_dev = &mid->wd; in mid_wdt_probe()
|
| A D | xen_wdt.c | 122 struct sched_watchdog wd = { .id = ~0 }; in xen_wdt_probe() local 123 int ret = HYPERVISOR_sched_op(SCHEDOP_watchdog, &wd); in xen_wdt_probe()
|
| /drivers/acpi/ |
| A D | glue.c | 144 if (!wd->adev) { in check_one_child() 150 wd->adev = adev; in check_one_child() 151 return !(wd->check_sta || wd->check_children); in check_one_child() 162 if (!wd->score) { in check_one_child() 163 score = find_child_checks(wd->adev, wd->check_children); in check_one_child() 167 wd->score = score; in check_one_child() 175 if (score > wd->score) { in check_one_child() 176 wd->adev = adev; in check_one_child() 180 wd->score = score; in check_one_child() 191 struct find_child_walk_data wd = { in acpi_find_child() local [all …]
|
| /drivers/acpi/arm64/ |
| A D | gtdt.c | 70 struct acpi_gtdt_watchdog *wd = platform_timer; in is_non_secure_watchdog() local 75 return !(wd->timer_flags & ACPI_GTDT_WATCHDOG_SECURE); in is_non_secure_watchdog() 343 static int __init gtdt_import_sbsa_gwdt(struct acpi_gtdt_watchdog *wd, in gtdt_import_sbsa_gwdt() argument 354 DEFINE_RES_MEM(wd->control_frame_address, SZ_4K), in gtdt_import_sbsa_gwdt() 355 DEFINE_RES_MEM(wd->refresh_frame_address, SZ_4K), in gtdt_import_sbsa_gwdt() 361 wd->refresh_frame_address, wd->control_frame_address, in gtdt_import_sbsa_gwdt() 362 wd->timer_interrupt, wd->timer_flags); in gtdt_import_sbsa_gwdt() 364 if (!(wd->refresh_frame_address && wd->control_frame_address)) { in gtdt_import_sbsa_gwdt() 369 irq = map_gt_gsi(wd->timer_interrupt, wd->timer_flags); in gtdt_import_sbsa_gwdt() 384 acpi_unregister_gsi(wd->timer_interrupt); in gtdt_import_sbsa_gwdt()
|
| /drivers/usb/misc/ |
| A D | usb-ljca.c | 427 if (acpi_match_device_ids(adev, wd->ids)) in ljca_match_device_ids() 430 if (!wd->uid) in ljca_match_device_ids() 444 uid = strchr(uid, wd->uid[0]); in ljca_match_device_ids() 446 if (!uid || strcmp(uid, wd->uid)) in ljca_match_device_ids() 450 wd->adev = adev; in ljca_match_device_ids() 475 wd.ids = ljca_gpio_hids; in ljca_auxdev_acpi_bind() 480 wd.uid = uid; in ljca_auxdev_acpi_bind() 481 wd.ids = ljca_i2c_hids; in ljca_auxdev_acpi_bind() 485 wd.ids = ljca_spi_hids; in ljca_auxdev_acpi_bind() 493 if (wd.adev) { in ljca_auxdev_acpi_bind() [all …]
|
| /drivers/hid/ |
| A D | hid-logitech-hidpp.c | 2470 wd->params[0] = hidpp_ff_find_effect(data, wd->effect_id); in hidpp_ff_work_handler() 2476 wd->command, wd->params, wd->size, &response); in hidpp_ff_work_handler() 2505 data->gain = (wd->params[0] << 8) + wd->params[1]; in hidpp_ff_work_handler() 2508 data->range = (wd->params[0] << 8) + wd->params[1]; in hidpp_ff_work_handler() 2517 kfree(wd); in hidpp_ff_work_handler() 2522 struct hidpp_ff_work_data *wd = kzalloc(sizeof(*wd), GFP_KERNEL); in hidpp_ff_queue_work() local 2525 if (!wd) in hidpp_ff_queue_work() 2530 wd->data = data; in hidpp_ff_queue_work() 2533 wd->size = size; in hidpp_ff_queue_work() 2966 wd->flip_y ? wd->y_size - touch_report->y : in wtp_touch_event() [all …]
|
| /drivers/base/power/ |
| A D | main.c | 518 struct dpm_watchdog wd 530 struct dpm_watchdog *wd = timer_container_of(wd, t, timer); in dpm_watchdog_handler() local 534 if (wd->fatal) { in dpm_watchdog_handler() 538 dev_driver_string(wd->dev), dev_name(wd->dev)); in dpm_watchdog_handler() 546 wd->fatal = true; in dpm_watchdog_handler() 559 wd->dev = dev; in dpm_watchdog_set() 560 wd->tsk = current; in dpm_watchdog_set() 1047 dpm_watchdog_set(&wd, dev); in device_resume() 1095 dpm_watchdog_clear(&wd); in device_resume() 1893 dpm_watchdog_set(&wd, dev); in device_suspend() [all …]
|
| /drivers/mfd/ |
| A D | mfd-core.c | 44 struct match_ids_walk_data *wd = data; in match_device_ids() local 46 if (!acpi_match_device_ids(adev, wd->ids)) { in match_device_ids() 47 wd->adev = adev; in match_device_ids() 77 struct match_ids_walk_data wd = { in mfd_acpi_add_device() local 83 acpi_dev_for_each_child(parent, match_device_ids, &wd); in mfd_acpi_add_device() 84 adev = wd.adev; in mfd_acpi_add_device()
|
| /drivers/acpi/apei/ |
| A D | ghes.c | 715 struct cxl_cper_prot_err_work_data wd; in cxl_cper_post_prot_err() local 750 memcpy(&wd.prot_err, prot_err, sizeof(wd.prot_err)); in cxl_cper_post_prot_err() 755 memcpy(&wd.ras_cap, cap_start, sizeof(wd.ras_cap)); in cxl_cper_post_prot_err() 756 wd.severity = cper_severity_to_aer(severity); in cxl_cper_post_prot_err() 764 if (!kfifo_put(&cxl_cper_prot_err_fifo, wd)) { in cxl_cper_post_prot_err() 797 return kfifo_get(&cxl_cper_prot_err_fifo, wd); in cxl_cper_prot_err_kfifo_get() 812 struct cxl_cper_work_data wd; in cxl_cper_post_event() local 831 wd.event_type = event_type; in cxl_cper_post_event() 832 memcpy(&wd.rec, rec, sizeof(wd.rec)); in cxl_cper_post_event() 834 if (!kfifo_put(&cxl_cper_fifo, wd)) { in cxl_cper_post_event() [all …]
|
| /drivers/cxl/core/ |
| A D | ras.c | 110 struct cxl_cper_prot_err_work_data wd; in cxl_cper_prot_err_work_fn() local 112 while (cxl_cper_prot_err_kfifo_get(&wd)) in cxl_cper_prot_err_work_fn() 113 cxl_cper_handle_prot_err(&wd); in cxl_cper_prot_err_work_fn()
|
| /drivers/net/ethernet/qlogic/qlcnic/ |
| A D | qlcnic_hw.c | 31 u32 wd[4]; member 1304 ms->wd[0] = QLCNIC_MS_WRTDATA_LO; in qlcnic_set_ms_controls() 1306 ms->wd[1] = QLCNIC_MS_WRTDATA_HI; in qlcnic_set_ms_controls() 1308 ms->wd[2] = QLCNIC_MS_WRTDATA_ULO; in qlcnic_set_ms_controls() 1309 ms->wd[3] = QLCNIC_MS_WRTDATA_UHI; in qlcnic_set_ms_controls() 1313 ms->wd[0] = QLCNIC_MS_WRTDATA_ULO; in qlcnic_set_ms_controls() 1315 ms->wd[1] = QLCNIC_MS_WRTDATA_UHI; in qlcnic_set_ms_controls() 1317 ms->wd[2] = QLCNIC_MS_WRTDATA_LO; in qlcnic_set_ms_controls() 1318 ms->wd[3] = QLCNIC_MS_WRTDATA_HI; in qlcnic_set_ms_controls() 1375 qlcnic_ind_wr(adapter, ms.wd[2], data & 0xffffffff); in qlcnic_pci_mem_write_2M() [all …]
|
| /drivers/platform/mellanox/ |
| A D | nvsw-sn2201.c | 149 struct platform_device *wd; member 1108 nvsw_sn2201->wd = in nvsw_sn2201_config_init() 1112 if (IS_ERR(nvsw_sn2201->wd)) { in nvsw_sn2201_config_init() 1113 err = PTR_ERR(nvsw_sn2201->wd); in nvsw_sn2201_config_init() 1136 if (nvsw_sn2201->wd) in nvsw_sn2201_config_init() 1137 platform_device_unregister(nvsw_sn2201->wd); in nvsw_sn2201_config_init() 1155 if (nvsw_sn2201->wd) in nvsw_sn2201_config_exit() 1156 platform_device_unregister(nvsw_sn2201->wd); in nvsw_sn2201_config_exit()
|
| /drivers/media/dvb-frontends/ |
| A D | stv0367.c | 610 int wd = 100; in stv0367ter_check_syr() local 618 while ((!SYR_var) && (wd > 0)) { in stv0367ter_check_syr() 620 wd -= 2; in stv0367ter_check_syr() 641 int wd = 0; in stv0367ter_check_cpamp() local 648 wd = 10; in stv0367ter_check_cpamp() 652 wd = 55; in stv0367ter_check_cpamp() 656 wd = 30; in stv0367ter_check_cpamp() 668 wd -= 1; in stv0367ter_check_cpamp() 688 short int wd, tempo; in stv0367ter_lock_algo() local 788 wd -= tempo; in stv0367ter_lock_algo() [all …]
|
| /drivers/gpu/drm/msm/ |
| A D | msm_iommu.c | 274 struct arm_lpae_io_pgtable_walk_data wd = {}; in msm_iommu_pagetable_walk() local 284 pagetable->pgtbl_ops->pgtable_walk(pagetable->pgtbl_ops, iova, &wd); in msm_iommu_pagetable_walk() 286 for (int i = 0; i < ARRAY_SIZE(wd.ptes); i++) in msm_iommu_pagetable_walk() 287 ptes[i] = wd.ptes[i]; in msm_iommu_pagetable_walk()
|
| /drivers/video/fbdev/matrox/ |
| A D | matroxfb_misc.c | 195 unsigned int wd; in matroxfb_vgaHWinit() local 278 wd = minfo->fbcon.var.xres_virtual * minfo->curr.final_bppShift / 64; in matroxfb_vgaHWinit() 286 wd <<= 1; in matroxfb_vgaHWinit() 289 hw->CRTCEXT[0] |= (wd & 0x300) >> 4; in matroxfb_vgaHWinit() 330 hw->CRTC[19] = wd /* & 0xFF */; in matroxfb_vgaHWinit()
|
| /drivers/net/ethernet/8390/ |
| A D | Makefile | 18 obj-$(CONFIG_WD80x3) += wd.o 8390.o
|
| /drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| A D | cfg80211.h | 423 static inline struct brcmf_cfg80211_info *wdev_to_cfg(struct wireless_dev *wd) in wdev_to_cfg() argument 425 return wiphy_to_cfg(wd->wiphy); in wdev_to_cfg()
|
| /drivers/slimbus/ |
| A D | qcom-ctrl.c | 115 struct work_struct wd; member 258 queue_work(ctrl->rxwq, &ctrl->wd); in qcom_slim_handle_rx_irq() 446 wd); in qcom_slim_rxwq() 540 INIT_WORK(&ctrl->wd, qcom_slim_rxwq); in qcom_slim_probe()
|
| /drivers/video/fbdev/ |
| A D | asiliantfb.c | 183 unsigned wd = (p->var.xres_virtual * ((p->var.bits_per_pixel+7)/8)) / 8; in asiliant_set_timing() local 209 write_cr(0x13, wd & 0xff); in asiliant_set_timing() 210 write_cr(0x41, (wd & 0xf00) >> 8); in asiliant_set_timing()
|
| /drivers/cxl/ |
| A D | pci.c | 1173 struct cxl_cper_work_data wd; in cxl_cper_work_fn() local 1175 while (cxl_cper_kfifo_get(&wd)) in cxl_cper_work_fn() 1176 cxl_handle_cper_event(wd.event_type, &wd.rec); in cxl_cper_work_fn()
|
| /drivers/net/wireless/realtek/rtw89/ |
| A D | mac_be.c | 1376 static int dle_buf_req_be(struct rtw89_dev *rtwdev, u16 buf_len, bool wd, u16 *pkt_id) in dle_buf_req_be() argument 1381 reg = wd ? R_BE_WD_BUF_REQ : R_BE_PL_BUF_REQ; in dle_buf_req_be() 1386 reg = wd ? R_BE_WD_BUF_STATUS : R_BE_PL_BUF_STATUS; in dle_buf_req_be() 1401 struct rtw89_cpuio_ctrl *ctrl_para, bool wd) in set_cpuio_be() argument 1409 reg = wd ? R_BE_WD_CPUQ_OP_3 : R_BE_PL_CPUQ_OP_3; in set_cpuio_be() 1416 reg = wd ? R_BE_WD_CPUQ_OP_1 : R_BE_PL_CPUQ_OP_1; in set_cpuio_be() 1425 reg = wd ? R_BE_WD_CPUQ_OP_2 : R_BE_PL_CPUQ_OP_2; in set_cpuio_be() 1434 reg = wd ? R_BE_WD_CPUQ_OP_0 : R_BE_PL_CPUQ_OP_0; in set_cpuio_be() 1442 reg = wd ? R_BE_WD_CPUQ_OP_STATUS : R_BE_PL_CPUQ_OP_STATUS; in set_cpuio_be()
|
| /drivers/net/ethernet/intel/ice/ |
| A D | ice_txrx.c | 1599 bool wd; in ice_napi_poll() local 1602 wd = ice_xmit_zc(tx_ring, xsk_pool); in ice_napi_poll() 1604 wd = true; in ice_napi_poll() 1606 wd = ice_clean_tx_irq(tx_ring, budget); in ice_napi_poll() 1608 if (!wd) in ice_napi_poll()
|