/kernel/linux/linux-5.10/drivers/bluetooth/ |
H A D | hci_ath.c | 52 int status = tty->driver->ops->tiocmget(tty); in ath_wakeup_ar3k() local 54 if (status & TIOCM_CTS) in ath_wakeup_ar3k() 55 return status; in ath_wakeup_ar3k() 67 status = tty->driver->ops->tiocmget(tty); in ath_wakeup_ar3k() 68 return status; in ath_wakeup_ar3k() 73 int status; in ath_hci_uart_work() local 85 status = ath_wakeup_ar3k(tty); in ath_hci_uart_work() 86 if (!(status & TIOCM_CTS)) in ath_hci_uart_work()
|
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/ |
H A D | icp_qat_fw.h | 227 #define ICP_QAT_FW_COMN_RESP_CRYPTO_STAT_GET(status) \ 228 QAT_FIELD_GET(status, QAT_COMN_RESP_CRYPTO_STATUS_BITPOS, \ 231 #define ICP_QAT_FW_COMN_RESP_CMP_STAT_GET(status) \ 232 QAT_FIELD_GET(status, QAT_COMN_RESP_CMP_STATUS_BITPOS, \ 235 #define ICP_QAT_FW_COMN_RESP_XLAT_STAT_GET(status) \ 236 QAT_FIELD_GET(status, QAT_COMN_RESP_XLAT_STATUS_BITPOS, \ 239 #define ICP_QAT_FW_COMN_RESP_CMP_END_OF_LAST_BLK_FLAG_GET(status) \ 240 QAT_FIELD_GET(status, QAT_COMN_RESP_CMP_END_OF_LAST_BLK_BITPOS, \
|
/kernel/linux/linux-5.10/tools/testing/selftests/wireguard/qemu/ |
H A D | init.c | 169 int status, fd; in launch_tests() local 180 if (waitpid(pid, &status, 0) < 0) in launch_tests() 182 if (WIFEXITED(status) && WEXITSTATUS(status) == 0) { in launch_tests() 210 if (WIFEXITED(status)) { in launch_tests() 212 what = WEXITSTATUS(status); in launch_tests() 213 } else if (WIFSIGNALED(status)) { in launch_tests() 215 what = WTERMSIG(status); in launch_tests()
|
/kernel/linux/linux-5.10/tools/usb/usbip/libsrc/ |
H A D | usbip_host_common.c | 34 char status[2] = { 0 }; in read_attr_usbip_status() local 52 length = read(fd, status, 1); in read_attr_usbip_status() 59 value = atoi(status); in read_attr_usbip_status() 85 edev->status = read_attr_usbip_status(&edev->udev); in usbip_exported_device_new() 86 if (edev->status < 0) in usbip_exported_device_new() 220 if (edev->status != SDEV_ST_AVAILABLE) { in usbip_export_device() 222 switch (edev->status) { in usbip_export_device() 224 dbg("status SDEV_ST_ERROR"); in usbip_export_device() 228 dbg("status SDEV_ST_USED"); in usbip_export_device() 232 dbg("status unknow in usbip_export_device() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/core/ |
H A D | close_range_test.c | 97 int i, ret, status; in TEST() local 179 EXPECT_EQ(waitpid(pid, &status, 0), pid); in TEST() 180 EXPECT_EQ(true, WIFEXITED(status)); in TEST() 181 EXPECT_EQ(0, WEXITSTATUS(status)); in TEST() 186 int i, ret, status; in TEST() local 222 EXPECT_EQ(waitpid(pid, &status, 0), pid); in TEST() 223 EXPECT_EQ(true, WIFEXITED(status)); in TEST() 224 EXPECT_EQ(0, WEXITSTATUS(status)); in TEST()
|
/kernel/linux/linux-5.10/drivers/media/cec/platform/s5p/ |
H A D | exynos_hdmi_cecctrl.c | 170 u32 status = 0; in s5p_cec_get_status() local 172 status = readb(cec->reg + S5P_CEC_STATUS_0) & 0xf; in s5p_cec_get_status() 173 status |= (readb(cec->reg + S5P_CEC_TX_STAT1) & 0xf) << 4; in s5p_cec_get_status() 174 status |= readb(cec->reg + S5P_CEC_STATUS_1) << 8; in s5p_cec_get_status() 175 status |= readb(cec->reg + S5P_CEC_STATUS_2) << 16; in s5p_cec_get_status() 176 status |= readb(cec->reg + S5P_CEC_STATUS_3) << 24; in s5p_cec_get_status() 178 dev_dbg(cec->dev, "status = 0x%x!\n", status); in s5p_cec_get_status() 180 return status; in s5p_cec_get_status()
|
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
H A D | tda665x.c | 66 static int tda665x_get_status(struct dvb_frontend *fe, u32 *status) in tda665x_get_status() argument 72 *status = 0; in tda665x_get_status() 80 *status = 1; in tda665x_get_status() 94 u32 frequency, status = 0; in tda665x_set_frequency() local 159 /* check status */ in tda665x_set_frequency() 160 err = tda665x_get_status(fe, &status); in tda665x_set_frequency() 164 if (status == 1) { in tda665x_set_frequency() 165 printk(KERN_DEBUG "%s: Tuner Phase locked: status=%d\n", in tda665x_set_frequency() 166 __func__, status); in tda665x_set_frequency() 169 printk(KERN_ERR "%s: No Phase lock: status in tda665x_set_frequency() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
H A D | gk20a.c | 96 struct gk20a_pmu_dvfs_dev_status *status) in gk20a_pmu_dvfs_get_dev_status() 100 status->busy = nvkm_falcon_rd32(falcon, 0x508 + (BUSY_SLOT * 0x10)); in gk20a_pmu_dvfs_get_dev_status() 101 status->total= nvkm_falcon_rd32(falcon, 0x508 + (CLK_SLOT * 0x10)); in gk20a_pmu_dvfs_get_dev_status() 119 struct gk20a_pmu_dvfs_dev_status status; in gk20a_pmu_dvfs_work() local 135 gk20a_pmu_dvfs_get_dev_status(pmu, &status); in gk20a_pmu_dvfs_work() 137 if (status.total) in gk20a_pmu_dvfs_work() 138 utilization = div_u64((u64)status.busy * 100, status.total); in gk20a_pmu_dvfs_work() 95 gk20a_pmu_dvfs_get_dev_status(struct gk20a_pmu *pmu, struct gk20a_pmu_dvfs_dev_status *status) gk20a_pmu_dvfs_get_dev_status() argument
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | trans-gen2.c | 99 set_bit(STATUS_DEVICE_ENABLED, &trans->status); in iwl_pcie_gen2_apm_init() 109 if (!test_bit(STATUS_DEVICE_ENABLED, &trans->status)) in iwl_pcie_gen2_apm_stop() 124 clear_bit(STATUS_DEVICE_ENABLED, &trans->status); in iwl_pcie_gen2_apm_stop() 162 if (test_and_clear_bit(STATUS_DEVICE_ENABLED, &trans->status)) { in _iwl_trans_pcie_gen2_stop_device() 202 /* clear all status bits */ in _iwl_trans_pcie_gen2_stop_device() 203 clear_bit(STATUS_SYNC_HCMD_ACTIVE, &trans->status); in _iwl_trans_pcie_gen2_stop_device() 204 clear_bit(STATUS_INT_ENABLED, &trans->status); in _iwl_trans_pcie_gen2_stop_device() 205 clear_bit(STATUS_TPOWER_PMI, &trans->status); in _iwl_trans_pcie_gen2_stop_device() 224 was_in_rfkill = test_bit(STATUS_RFKILL_OPMODE, &trans->status); in iwl_trans_pcie_gen2_stop_device()
|
/kernel/linux/linux-5.10/drivers/spi/ |
H A D | spi-butterfly.c | 179 int status; in butterfly_attach() local 194 status = -ENOMEM; in butterfly_attach() 220 status = -ENOMEM; in butterfly_attach() 225 status = parport_claim(pd); in butterfly_attach() 226 if (status < 0) in butterfly_attach() 252 status = spi_bitbang_start(&pp->bitbang); in butterfly_attach() 253 if (status < 0) in butterfly_attach() 285 pr_debug("%s: butterfly probe, fail %d\n", p->name, status); in butterfly_attach()
|
/kernel/linux/linux-5.10/drivers/usb/typec/ucsi/ |
H A D | psy.c | 36 if (con->status.flags & UCSI_CONSTAT_CONNECTED && in ucsi_psy_get_online() 37 (con->status.flags & UCSI_CONSTAT_PWR_DIR) == TYPEC_SINK) in ucsi_psy_get_online() 47 switch (UCSI_CONSTAT_PWR_OPMODE(con->status.flags)) { in ucsi_psy_get_voltage_min() 70 switch (UCSI_CONSTAT_PWR_OPMODE(con->status.flags)) { in ucsi_psy_get_voltage_max() 98 switch (UCSI_CONSTAT_PWR_OPMODE(con->status.flags)) { in ucsi_psy_get_voltage_now() 126 switch (UCSI_CONSTAT_PWR_OPMODE(con->status.flags)) { in ucsi_psy_get_current_max() 154 u16 flags = con->status.flags; in ucsi_psy_get_current_now() 166 u16 flags = con->status.flags; in ucsi_psy_get_usb_type()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
H A D | nouveau_dp.c | 53 enum drm_connector_status status = connector_status_disconnected; in nouveau_dp_probe_dpcd() local 91 status = connector_status_connected; in nouveau_dp_probe_dpcd() 93 if (status != connector_status_connected) { in nouveau_dp_probe_dpcd() 97 return status; in nouveau_dp_probe_dpcd() 108 enum drm_connector_status status; in nouveau_dp_detect() local 122 * report the last status of the connector. We'll reprobe it in nouveau_dp_detect() 128 else if (connector->status == in nouveau_dp_detect() 136 status = nouveau_dp_probe_dpcd(nv_connector, nv_encoder); in nouveau_dp_detect() 137 if (status == connector_status_disconnected) in nouveau_dp_detect()
|
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-ds1390.c | 71 int status; in ds1390_get_reg() local 79 status = spi_write_then_read(spi, chip->txrx_buf, 1, chip->txrx_buf, 1); in ds1390_get_reg() 80 if (status != 0) in ds1390_get_reg() 81 return status; in ds1390_get_reg() 131 int status; in ds1390_read_time() local 137 status = spi_write_then_read(spi, chip->txrx_buf, 1, chip->txrx_buf, 8); in ds1390_read_time() 138 if (status != 0) in ds1390_read_time() 139 return status; in ds1390_read_time()
|
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A D | tda665x.c | 66 static int tda665x_get_status(struct dvb_frontend *fe, u32 *status) in tda665x_get_status() argument 72 *status = 0; in tda665x_get_status() 80 *status = 1; in tda665x_get_status() 94 u32 frequency, status = 0; in tda665x_set_frequency() local 159 /* check status */ in tda665x_set_frequency() 160 err = tda665x_get_status(fe, &status); in tda665x_set_frequency() 164 if (status == 1) { in tda665x_set_frequency() 165 printk(KERN_DEBUG "%s: Tuner Phase locked: status=%d\n", in tda665x_set_frequency() 166 __func__, status); in tda665x_set_frequency() 169 printk(KERN_ERR "%s: No Phase lock: status in tda665x_set_frequency() [all...] |
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-ds1390.c | 71 int status; in ds1390_get_reg() local 79 status = spi_write_then_read(spi, chip->txrx_buf, 1, chip->txrx_buf, 1); in ds1390_get_reg() 80 if (status != 0) in ds1390_get_reg() 81 return status; in ds1390_get_reg() 131 int status; in ds1390_read_time() local 137 status = spi_write_then_read(spi, chip->txrx_buf, 1, chip->txrx_buf, 8); in ds1390_read_time() 138 if (status != 0) in ds1390_read_time() 139 return status; in ds1390_read_time()
|
/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spi-butterfly.c | 179 int status; in butterfly_attach() local 194 status = -ENOMEM; in butterfly_attach() 220 status = -ENOMEM; in butterfly_attach() 225 status = parport_claim(pd); in butterfly_attach() 226 if (status < 0) in butterfly_attach() 252 status = spi_bitbang_start(&pp->bitbang); in butterfly_attach() 253 if (status < 0) in butterfly_attach() 285 pr_debug("%s: butterfly probe, fail %d\n", p->name, status); in butterfly_attach()
|
/kernel/linux/linux-6.6/drivers/usb/typec/ucsi/ |
H A D | psy.c | 57 if (con->status.flags & UCSI_CONSTAT_CONNECTED && in ucsi_psy_get_online() 58 (con->status.flags & UCSI_CONSTAT_PWR_DIR) == TYPEC_SINK) in ucsi_psy_get_online() 68 switch (UCSI_CONSTAT_PWR_OPMODE(con->status.flags)) { in ucsi_psy_get_voltage_min() 91 switch (UCSI_CONSTAT_PWR_OPMODE(con->status.flags)) { in ucsi_psy_get_voltage_max() 119 switch (UCSI_CONSTAT_PWR_OPMODE(con->status.flags)) { in ucsi_psy_get_voltage_now() 147 switch (UCSI_CONSTAT_PWR_OPMODE(con->status.flags)) { in ucsi_psy_get_current_max() 175 u16 flags = con->status.flags; in ucsi_psy_get_current_now() 187 u16 flags = con->status.flags; in ucsi_psy_get_usb_type()
|
/kernel/linux/linux-6.6/drivers/bluetooth/ |
H A D | hci_ath.c | 52 int status = tty->driver->ops->tiocmget(tty); in ath_wakeup_ar3k() local 54 if (status & TIOCM_CTS) in ath_wakeup_ar3k() 55 return status; in ath_wakeup_ar3k() 67 status = tty->driver->ops->tiocmget(tty); in ath_wakeup_ar3k() 68 return status; in ath_wakeup_ar3k() 73 int status; in ath_hci_uart_work() local 85 status = ath_wakeup_ar3k(tty); in ath_hci_uart_work() 86 if (!(status & TIOCM_CTS)) in ath_hci_uart_work()
|
/kernel/linux/linux-6.6/drivers/char/hw_random/ |
H A D | cn10k-rng.c | 80 u64 status; in check_rng_health() local 87 status = readq(rng->reg_base + RNM_PF_EBG_HEALTH); in check_rng_health() 88 if (status & BIT_ULL(20)) { in check_rng_health() 91 dev_err(&rng->pdev->dev, "HWRNG: Health test failed (status=%llx)\n", in check_rng_health() 92 status); in check_rng_health() 106 u64 status; in cn10k_read_trng() local 113 status = readq(rng->reg_base + RNM_PF_TRNG_RES); in cn10k_read_trng() 114 if (!status && (retry_count++ > 0x1000)) in cn10k_read_trng() 116 } while (!status); in cn10k_read_trng()
|
/kernel/linux/linux-6.6/drivers/gpio/ |
H A D | gpio-kempld.c | 37 u8 status; in kempld_gpio_bitop() local 39 status = kempld_read8(pld, reg); in kempld_gpio_bitop() 41 status |= KEMPLD_GPIO_MASK(bit); in kempld_gpio_bitop() 43 status &= ~KEMPLD_GPIO_MASK(bit); in kempld_gpio_bitop() 44 kempld_write8(pld, reg, status); in kempld_gpio_bitop() 49 u8 status; in kempld_gpio_get_bit() local 52 status = kempld_read8(pld, reg); in kempld_gpio_get_bit() 55 return !!(status & KEMPLD_GPIO_MASK(bit)); in kempld_gpio_get_bit()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/link/protocols/ |
H A D | link_dpcd.c | 208 enum dc_status status = DC_ERROR_UNEXPECTED; in core_link_read_dpcd() local 218 status = internal_link_read_dpcd(link, partitioned_address, &extended_data[data_index], partition_size); in core_link_read_dpcd() 219 if (status != DC_OK) in core_link_read_dpcd() 226 return status; in core_link_read_dpcd() 237 enum dc_status status = DC_ERROR_UNEXPECTED; in core_link_write_dpcd() local 241 status = internal_link_write_dpcd(link, address, &data[data_index], partition_size); in core_link_write_dpcd() 242 if (status != DC_OK) in core_link_write_dpcd() 248 return status; in core_link_write_dpcd()
|
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | mptcp.h | 10 #define show_mapping_status(status) \ 11 __print_symbolic(status, \ 162 TP_PROTO(__u8 status, struct sk_buff *skb), 164 TP_ARGS(status, skb), 167 __field(u8, status) 172 __entry->status = status; 177 show_mapping_status(__entry->status),
|
/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/ |
H A D | icp_qat_fw.h | 251 #define ICP_QAT_FW_COMN_RESP_CRYPTO_STAT_GET(status) \ 252 QAT_FIELD_GET(status, QAT_COMN_RESP_CRYPTO_STATUS_BITPOS, \ 255 #define ICP_QAT_FW_COMN_RESP_CMP_STAT_GET(status) \ 256 QAT_FIELD_GET(status, QAT_COMN_RESP_CMP_STATUS_BITPOS, \ 259 #define ICP_QAT_FW_COMN_RESP_XLAT_STAT_GET(status) \ 260 QAT_FIELD_GET(status, QAT_COMN_RESP_XLAT_STATUS_BITPOS, \ 263 #define ICP_QAT_FW_COMN_RESP_CMP_END_OF_LAST_BLK_FLAG_GET(status) \ 264 QAT_FIELD_GET(status, QAT_COMN_RESP_CMP_END_OF_LAST_BLK_BITPOS, \
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
H A D | gk20a.c | 96 struct gk20a_pmu_dvfs_dev_status *status) in gk20a_pmu_dvfs_get_dev_status() 100 status->busy = nvkm_falcon_rd32(falcon, 0x508 + (BUSY_SLOT * 0x10)); in gk20a_pmu_dvfs_get_dev_status() 101 status->total= nvkm_falcon_rd32(falcon, 0x508 + (CLK_SLOT * 0x10)); in gk20a_pmu_dvfs_get_dev_status() 119 struct gk20a_pmu_dvfs_dev_status status; in gk20a_pmu_dvfs_work() local 135 gk20a_pmu_dvfs_get_dev_status(pmu, &status); in gk20a_pmu_dvfs_work() 137 if (status.total) in gk20a_pmu_dvfs_work() 138 utilization = div_u64((u64)status.busy * 100, status.total); in gk20a_pmu_dvfs_work() 95 gk20a_pmu_dvfs_get_dev_status(struct gk20a_pmu *pmu, struct gk20a_pmu_dvfs_dev_status *status) gk20a_pmu_dvfs_get_dev_status() argument
|
/kernel/linux/linux-6.6/drivers/media/cec/platform/s5p/ |
H A D | exynos_hdmi_cecctrl.c | 170 u32 status = 0; in s5p_cec_get_status() local 172 status = readb(cec->reg + S5P_CEC_STATUS_0) & 0xf; in s5p_cec_get_status() 173 status |= (readb(cec->reg + S5P_CEC_TX_STAT1) & 0xf) << 4; in s5p_cec_get_status() 174 status |= readb(cec->reg + S5P_CEC_STATUS_1) << 8; in s5p_cec_get_status() 175 status |= readb(cec->reg + S5P_CEC_STATUS_2) << 16; in s5p_cec_get_status() 176 status |= readb(cec->reg + S5P_CEC_STATUS_3) << 24; in s5p_cec_get_status() 178 dev_dbg(cec->dev, "status = 0x%x!\n", status); in s5p_cec_get_status() 180 return status; in s5p_cec_get_status()
|