/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A D | tls.c | 906 int status; in TEST_F() local 917 pid2 = wait(&status); in TEST_F() 918 EXPECT_EQ(status, 0); in TEST_F() 960 int status; in TEST_F() local 977 pid2 = wait(&status); in TEST_F() 979 EXPECT_EQ(status, 0); in TEST_F() 1038 int status; in test_mutliproc() local 1040 wait(&status); in test_mutliproc() 1041 EXPECT_EQ(status, 0); in test_mutliproc()
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-mpath.c | 47 bool is_active:1; /* Path status */ 1484 * Set/clear bypassed status of a PG. 1862 if (pg->ps.type->status) in multipath_status() 1863 sz += pg->ps.type->status(&pg->ps, NULL, type, in multipath_status() 1876 if (pg->ps.type->status) in multipath_status() 1877 sz += pg->ps.type->status(&pg->ps, in multipath_status() 1888 if (pg->ps.type->status) in multipath_status() 1889 sz += pg->ps.type->status(&pg->ps, NULL, type, in multipath_status() 1900 if (pg->ps.type->status) in multipath_status() 1901 sz += pg->ps.type->status( in multipath_status() [all...] |
/kernel/linux/linux-5.10/drivers/media/i2c/s5c73m3/ |
H A D | s5c73m3-core.c | 244 u16 status; in s5c73m3_check_status() local 248 ret = s5c73m3_read(state, REG_STATUS, &status); in s5c73m3_check_status() 249 if (ret < 0 || status == value) in s5c73m3_check_status() 257 "status check took %dms\n", in s5c73m3_check_status() 260 if (ret == 0 && status != value) { in s5c73m3_check_status() 268 "wrong status %#x, expected: %#x, i2c_status: %#x/%#x\n", in s5c73m3_check_status() 269 status, value, i2c_status, i2c_seq_status); in s5c73m3_check_status() 522 u16 status = COMM_FW_UPDATE_NOT_READY; in s5c73m3_fw_update_from() local 528 if (status == COMM_FW_UPDATE_NOT_READY) { in s5c73m3_fw_update_from() 534 ret = s5c73m3_read(state, 0x00095906, &status); in s5c73m3_fw_update_from() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/ |
H A D | scheduler.c | 794 workload->status = ret; in dispatch_workload() 1041 * be set to -EIO. Use -EIO to set workload status so in complete_current_workload() 1045 if (likely(workload->status == -EINPROGRESS)) { in complete_current_workload() 1047 workload->status = -EIO; in complete_current_workload() 1049 workload->status = 0; in complete_current_workload() 1052 if (!workload->status && in complete_current_workload() 1064 gvt_dbg_sched("ring id %d complete workload %p status %d\n", in complete_current_workload() 1065 ring_id, workload, workload->status); in complete_current_workload() 1071 if (workload->status || vgpu->resetting_eng & BIT(ring_id)) { in complete_current_workload() 1072 /* if workload->status i in complete_current_workload() [all...] |
/kernel/linux/linux-5.10/drivers/mtd/devices/ |
H A D | st_spi_fsm.c | 250 uint32_t status; member 870 uint32_t status; in stfsm_wait_busy() local 891 stfsm_read_fifo(fsm, &status, 4); in stfsm_wait_busy() 893 if ((status & FLASH_STATUS_BUSY) == 0) in stfsm_wait_busy() 897 ((status & S25FL_STATUS_P_ERR) || in stfsm_wait_busy() 898 (status & S25FL_STATUS_E_ERR))) in stfsm_wait_busy() 899 return (uint8_t)(status & 0xff); in stfsm_wait_busy() 921 dev_dbg(fsm->dev, "read 'status' register [0x%02x], %d byte(s)\n", in stfsm_read_status() 947 "write 'status' register [0x%02x], %d byte(s), 0x%04x\n" in stfsm_write_status() 955 seq->status in stfsm_write_status() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
H A D | siena_sriov.c | 403 struct vfdi_status *status = nic_data->vfdi_status.addr; in __efx_siena_sriov_push_vf_status() local 413 status->local = vf->addr; in __efx_siena_sriov_push_vf_status() 414 status->generation_end = ++status->generation_start; in __efx_siena_sriov_push_vf_status() 418 copy[0].from_buf = &status->generation_start; in __efx_siena_sriov_push_vf_status() 422 copy[0].length = sizeof(status->generation_start); in __efx_siena_sriov_push_vf_status() 432 copy[1].length = status->length - data_offset; in __efx_siena_sriov_push_vf_status() 459 copy[pos].from_buf = &status->generation_end; in __efx_siena_sriov_push_vf_status() 463 copy[pos].length = sizeof(status->generation_end); in __efx_siena_sriov_push_vf_status()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/neterion/vxge/ |
H A D | vxge-ethtool.c | 131 enum vxge_hw_status status; in vxge_ethtool_gregs() local 142 status = vxge_hw_mgmt_reg_read(hldev, in vxge_ethtool_gregs() 146 if (status != VXGE_HW_OK) { in vxge_ethtool_gregs() 233 enum vxge_hw_status status; in vxge_get_ethtool_stats() local 277 status = vxge_hw_device_xmac_stats_get(hldev, xmac_stats); in vxge_get_ethtool_stats() 278 if (status != VXGE_HW_OK) { in vxge_get_ethtool_stats() 279 if (status != VXGE_HW_ERR_PRIVILEGED_OPERATION) { in vxge_get_ethtool_stats() 292 status = vxge_hw_device_stats_get(hldev, hw_stats); in vxge_get_ethtool_stats() 293 if (status != VXGE_HW_OK) { in vxge_get_ethtool_stats()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | init.c | 952 * Allocate a page for device and port status. in hfi1_init() 955 dd->status = vmalloc_user(PAGE_SIZE); in hfi1_init() 956 if (!dd->status) in hfi1_init() 957 dd_dev_err(dd, "Failed to allocate dev status page\n"); in hfi1_init() 960 if (dd->status) in hfi1_init() 962 ppd->statusp = &dd->status->port; in hfi1_init() 972 * Set status even if port serdes is not initialized in hfi1_init() 975 if (dd->status) in hfi1_init() 976 dd->status->dev |= HFI1_STATUS_CHIP_PRESENT | in hfi1_init() 998 * Set status eve in hfi1_init() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | fwsignal.c | 255 * Flags : b[30:27] => command, status flags 1551 u32 status; in brcmf_fws_txstatus_indicate() local 1560 status = le32_to_cpu(status_le); in brcmf_fws_txstatus_indicate() 1561 flags = brcmf_txstatus_get_field(status, FLAGS); in brcmf_fws_txstatus_indicate() 1562 hslot = brcmf_txstatus_get_field(status, HSLOT); in brcmf_fws_txstatus_indicate() 1563 genbit = brcmf_txstatus_get_field(status, GENERATION); in brcmf_fws_txstatus_indicate() 1849 s32 status; in brcmf_fws_hdrpull() local 1872 status = BRCMF_FWS_RET_OK_NOSCHEDULE; in brcmf_fws_hdrpull() 1942 status = BRCMF_FWS_RET_OK_SCHEDULE; in brcmf_fws_hdrpull() 1950 if (status in brcmf_fws_hdrpull() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/ |
H A D | lio_core.c | 466 wq->wq = alloc_workqueue("rxq-oom-status", in setup_rx_oom_poll_fn() 469 dev_err(&oct->pci_dev->dev, "unable to create cavium rxq oom status wq\n"); in setup_rx_oom_poll_fn() 674 /* Setting Encapsulation field on basis of status received in liquidio_push_packet() 776 /* sub-queue status update */ in liquidio_napi_poll() 999 if (!(atomic_read(&oct->status) == OCT_DEV_IN_RESET)) in liquidio_legacy_intr_handler() 1291 u32 status, void *ptr) in octnet_nic_stats_callback() 1301 if (status != OCTEON_REQUEST_TIMEOUT && !resp->status) { in octnet_nic_stats_callback() 1381 resp->status = 1; in octnet_nic_stats_callback() 1384 resp->status in octnet_nic_stats_callback() 1290 octnet_nic_stats_callback(struct octeon_device *oct_dev, u32 status, void *ptr) octnet_nic_stats_callback() argument [all...] |
/kernel/linux/linux-5.10/drivers/tty/ |
H A D | moxa.c | 291 int status, ret = 0; in moxa_ioctl() local 331 status = MoxaPortTxQueue(ch); in moxa_ioctl() 332 ret = put_user(status, (unsigned long __user *)argp); in moxa_ioctl() 335 status = MoxaPortRxQueue(ch); in moxa_ioctl() 336 ret = put_user(status, (unsigned long __user *)argp); in moxa_ioctl() 355 status = MoxaPortLineStatus(p); in moxa_ioctl() 358 if (status & 1) in moxa_ioctl() 360 if (status & 2) in moxa_ioctl() 362 if (status & 4) in moxa_ioctl() 1398 intr = readw(ip); /* port irq status */ in moxa_poll_port() [all...] |
/kernel/linux/linux-5.10/include/linux/platform_data/ |
H A D | cros_ec_commands.h | 106 #define EC_MEMMAP_ACC_STATUS 0x90 /* Accelerometer status (8 bits )*/ 122 /* Define the format of the accelerometer mapped memory status byte. */ 433 /* LPC command status byte masks */ 566 * raw event status via EC_MEMMAP_HOST_EVENTS but the LPC interface is 1090 * Check EC communications status (busy). This is needed on i2c/spi but not 1093 * lpc must read the status from the command register. Attempting this on 1104 * struct ec_response_get_comms_status - Response to the get comms status 1527 * RO flash code protected now. If this bit is set, at-boot status cannot 2161 uint8_t status; /* enum ec_vboot_hash_status */ member 2171 EC_VBOOT_HASH_GET = 0, /* Get current hash status */ 3296 } status; global() member 4355 } status; global() member 4392 uint8_t status; /* Status flags (0: unlocked, 1: locked) */ global() member 4814 uint8_t status; /* EC status */ global() member 4832 uint16_t status; /* PD MCU status */ global() member 4845 uint32_t status; /* PD MCU host event status */ global() member 5270 uint32_t status; global() member 5778 uint32_t status; global() member [all...] |
/kernel/linux/linux-5.10/security/selinux/ |
H A D | selinuxfs.c | 48 SEL_ENFORCE, /* get or set enforcing status */ 63 SEL_STATUS, /* export current status using mmap() */ 225 struct page *status = selinux_kernel_status_page(fsi->state); in sel_open_handle_status() local 227 if (!status) in sel_open_handle_status() 230 filp->private_data = status; in sel_open_handle_status() 238 struct page *status = filp->private_data; in sel_read_handle_status() local 240 BUG_ON(!status); in sel_read_handle_status() 243 page_address(status), in sel_read_handle_status() 250 struct page *status = filp->private_data; in sel_mmap_handle_status() local 253 BUG_ON(!status); in sel_mmap_handle_status() [all...] |
/kernel/linux/linux-5.10/net/appletalk/ |
H A D | ddp.c | 232 iface->status = 0; in atif_add_device() 261 atif->status |= ATIF_PROBE; in atif_probe_device() 272 if (!(atif->status & ATIF_PROBE_FAIL)) { in atif_probe_device() 273 atif->status &= ~ATIF_PROBE; in atif_probe_device() 277 atif->status &= ~ATIF_PROBE_FAIL; in atif_probe_device() 283 atif->status &= ~ATIF_PROBE; in atif_probe_device() 380 if (!iface || iface->status & ATIF_PROBE) in atalk_find_anynet() 405 !(iface->status & ATIF_PROBE)) in atalk_find_interface() 719 if (atif->status & ATIF_PROBE) in atif_ioctl() 820 * we aren't concerned about its current status (a in atif_ioctl() [all...] |
/kernel/linux/linux-5.10/net/mac80211/ |
H A D | ieee80211_i.h | 1605 ieee80211_have_rx_timestamp(struct ieee80211_rx_status *status) in ieee80211_have_rx_timestamp() argument 1607 WARN_ON_ONCE(status->flag & RX_FLAG_MACTIME_START && in ieee80211_have_rx_timestamp() 1608 status->flag & RX_FLAG_MACTIME_END); in ieee80211_have_rx_timestamp() 1609 if (status->flag & (RX_FLAG_MACTIME_START | RX_FLAG_MACTIME_END)) in ieee80211_have_rx_timestamp() 1612 if (status->flag & RX_FLAG_MACTIME_PLCP_START && in ieee80211_have_rx_timestamp() 1613 status->encoding == RX_ENC_LEGACY) in ieee80211_have_rx_timestamp() 1636 struct ieee80211_rx_status *status, 1831 struct ieee80211_tx_status *status); 2166 u16 transaction, u16 auth_alg, u16 status,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/mgag200/ |
H A D | mgag200_mode.c | 90 unsigned int status = 0; in mga_wait_vsync() local 93 status = RREG32(MGAREG_Status); in mga_wait_vsync() 94 } while ((status & 0x08) && time_before(jiffies, timeout)); in mga_wait_vsync() 96 status = 0; in mga_wait_vsync() 98 status = RREG32(MGAREG_Status); in mga_wait_vsync() 99 } while (!(status & 0x08) && time_before(jiffies, timeout)); in mga_wait_vsync() 105 unsigned int status = 0; in mga_wait_busy() local 107 status = RREG8(MGAREG_Status + 2); in mga_wait_busy() 108 } while ((status & 0x01) && time_before(jiffies, timeout)); in mga_wait_busy()
|
/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-core.c | 698 device->status &= ~HID_STAT_PARSED; in hid_close_report() 1220 if (WARN_ON(device->status & HID_STAT_PARSED)) in hid_open_report() 1299 device->status |= HID_STAT_PARSED; in hid_open_report() 2277 clear_bit(ffs(HID_STAT_REPROBED), &hdev->status); in hid_device_probe() 2413 if (WARN_ON(hdev->status & HID_STAT_ADDED)) in hid_add_device() 2463 hdev->status |= HID_STAT_ADDED; in hid_add_device() 2509 if (hdev->status & HID_STAT_ADDED) { in hid_remove_device() 2512 hdev->status &= ~HID_STAT_ADDED; in hid_remove_device() 2542 !test_and_set_bit(ffs(HID_STAT_REPROBED), &hdev->status)) in __hid_bus_reprobe_drivers()
|
/kernel/linux/linux-5.10/drivers/media/radio/ |
H A D | radio-wl1273.c | 127 #define WL1273_FIFO_HAS_DATA(status) (1 << 5 & status) 136 u8 b0 = WL1273_RDS_DATA_GET, status; in wl1273_fm_rds() local 175 status = rds.block; in wl1273_fm_rds() 177 if (!WL1273_FIFO_HAS_DATA(status)) in wl1273_fm_rds() 181 rds.block = V4L2_RDS_BLOCK_MSK & status; in wl1273_fm_rds() 185 if (WL1273_RDS_UNCORRECTABLE_ERROR & status) { in wl1273_fm_rds() 188 } else if (WL1273_RDS_CORRECTABLE_ERROR & status) { in wl1273_fm_rds() 209 } while (WL1273_FIFO_HAS_DATA(status)); in wl1273_fm_rds()
|
/kernel/linux/linux-5.10/drivers/nvme/host/ |
H A D | lightnvm.c | 635 static void nvme_nvm_end_io(struct request *rq, blk_status_t status) in nvme_nvm_end_io() argument 640 rqd->error = nvme_req(rq)->status; in nvme_nvm_end_io() 756 u32 *result, u64 *status, unsigned int timeout) in nvme_nvm_submit_user_cmd() 827 else if (nvme_req(rq)->status & 0x7ff) in nvme_nvm_submit_user_cmd() 830 *result = nvme_req(rq)->status & 0x7ff; in nvme_nvm_submit_user_cmd() 831 if (status) in nvme_nvm_submit_user_cmd() 832 *status = le64_to_cpu(nvme_req(rq)->result.u64); in nvme_nvm_submit_user_cmd() 879 &vio.result, &vio.status, 0); in nvme_nvm_submit_vio() 926 &vcmd.result, &vcmd.status, timeout); in nvme_nvm_user_vcmd() 750 nvme_nvm_submit_user_cmd(struct request_queue *q, struct nvme_ns *ns, struct nvme_nvm_command *vcmd, void __user *ubuf, unsigned int bufflen, void __user *meta_buf, unsigned int meta_len, void __user *ppa_buf, unsigned int ppa_len, u32 *result, u64 *status, unsigned int timeout) nvme_nvm_submit_user_cmd() argument
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | 53c700.c | 68 * correct cacheline separation for scsi messages and status for 176 "after status phase", 321 hostdata->status = memory + STATUS_OFFSET; in NCR_700_detect() 976 DEBUG((" COMMAND COMPLETE, status=%02x\n", in process_script_interrupt() 977 hostdata->status[0])); in process_script_interrupt() 984 if(status_byte(hostdata->status[0]) == CHECK_CONDITION || in process_script_interrupt() 985 status_byte(hostdata->status[0]) == COMMAND_TERMINATED) { in process_script_interrupt() 993 NCR_700_scsi_done(hostdata, SCp, hostdata->status[0]); in process_script_interrupt() 999 printk(" cmd %p has status %d, requesting sense\n", in process_script_interrupt() 1000 SCp, hostdata->status[ in process_script_interrupt() [all...] |
/kernel/linux/linux-5.10/include/linux/greybus/ |
H A D | greybus_protocols.h | 135 * layout and status codes. 149 __u8 status; member 163 __u8 status; member 296 __u8 status; member 310 __u8 status; member 323 __u8 status; member 384 /* Greybus bootrom ready to boot status */ 423 __u8 status; member 474 /* Greybus power supply status values */ 889 * changing the chipselect status, the 1190 __u8 status; global() member 1247 __u8 status; global() member 1256 __u8 status; global() member [all...] |
/kernel/linux/linux-5.10/drivers/spi/ |
H A D | spi-tegra114.c | 247 /* Write 1 to clear status register */ in tegra_spi_clear_status() 251 /* Clear fifo status error if any */ in tegra_spi_clear_status() 514 u32 status; in tegra_spi_flush_fifos() local 516 status = tegra_spi_readl(tspi, SPI_FIFO_STATUS); in tegra_spi_flush_fifos() 517 if ((status & SPI_FIFO_EMPTY) != SPI_FIFO_EMPTY) { in tegra_spi_flush_fifos() 518 status |= SPI_RX_FIFO_FLUSH | SPI_TX_FIFO_FLUSH; in tegra_spi_flush_fifos() 519 tegra_spi_writel(tspi, status, SPI_FIFO_STATUS); in tegra_spi_flush_fifos() 520 while ((status & SPI_FIFO_EMPTY) != SPI_FIFO_EMPTY) { in tegra_spi_flush_fifos() 521 status = tegra_spi_readl(tspi, SPI_FIFO_STATUS); in tegra_spi_flush_fifos() 1045 msg->status in tegra_spi_transfer_one_message() [all...] |
/kernel/linux/linux-6.6/drivers/media/radio/ |
H A D | radio-wl1273.c | 127 #define WL1273_FIFO_HAS_DATA(status) (1 << 5 & status) 136 u8 b0 = WL1273_RDS_DATA_GET, status; in wl1273_fm_rds() local 175 status = rds.block; in wl1273_fm_rds() 177 if (!WL1273_FIFO_HAS_DATA(status)) in wl1273_fm_rds() 181 rds.block = V4L2_RDS_BLOCK_MSK & status; in wl1273_fm_rds() 185 if (WL1273_RDS_UNCORRECTABLE_ERROR & status) { in wl1273_fm_rds() 188 } else if (WL1273_RDS_CORRECTABLE_ERROR & status) { in wl1273_fm_rds() 209 } while (WL1273_FIFO_HAS_DATA(status)); in wl1273_fm_rds()
|
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/ |
H A D | renesas-nand-controller.c | 359 u32 status; in rnandc_wait_end_of_op() local 362 ret = readl_poll_timeout(rnandc->regs + STATUS_REG, status, in rnandc_wait_end_of_op() 363 MEM_RDY(cs, status) && CTRL_RDY(status), in rnandc_wait_end_of_op() 366 dev_err(rnandc->dev, "Operation timed out, status: 0x%08x\n", in rnandc_wait_end_of_op() 367 status); in rnandc_wait_end_of_op() 381 u32 status; in rnandc_wait_end_of_io() local 383 ret = readl_poll_timeout(rnandc->regs + INT_STATUS_REG, status, in rnandc_wait_end_of_io() 384 MEM_IS_RDY(cs, status) & in rnandc_wait_end_of_io() 385 DMA_HAS_ENDED(status), in rnandc_wait_end_of_io() [all...] |
/kernel/linux/linux-6.6/drivers/mtd/devices/ |
H A D | st_spi_fsm.c | 250 uint32_t status; member 870 uint32_t status; in stfsm_wait_busy() local 891 stfsm_read_fifo(fsm, &status, 4); in stfsm_wait_busy() 893 if ((status & FLASH_STATUS_BUSY) == 0) in stfsm_wait_busy() 897 ((status & S25FL_STATUS_P_ERR) || in stfsm_wait_busy() 898 (status & S25FL_STATUS_E_ERR))) in stfsm_wait_busy() 899 return (uint8_t)(status & 0xff); in stfsm_wait_busy() 921 dev_dbg(fsm->dev, "read 'status' register [0x%02x], %d byte(s)\n", in stfsm_read_status() 947 "write 'status' register [0x%02x], %d byte(s), 0x%04x\n" in stfsm_write_status() 955 seq->status in stfsm_write_status() [all...] |