/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/ |
H A D | aic79xx_osm.h | 527 cmd->result &= ~(CAM_STATUS_MASK << 16); in ahd_cmd_set_transaction_status() 528 cmd->result |= status << 16; in ahd_cmd_set_transaction_status() 540 cmd->result &= ~0xFFFF; in ahd_cmd_set_scsi_status() 541 cmd->result |= status; in ahd_cmd_set_scsi_status() 553 return ((cmd->result >> 16) & CAM_STATUS_MASK); in ahd_cmd_get_transaction_status() 565 return (cmd->result & 0xFFFF); in ahd_cmd_get_scsi_status() 657 if ((scb->io_ctx->result & (CAM_DEV_QFRZN << 16)) == 0) { in ahd_freeze_scb() 658 scb->io_ctx->result |= CAM_DEV_QFRZN << 16; in ahd_freeze_scb()
|
/kernel/linux/linux-5.10/drivers/usb/serial/ |
H A D | keyspan_pda.c | 106 int result; in keyspan_pda_request_unthrottle() local 110 result = usb_control_msg(serial->dev, in keyspan_pda_request_unthrottle() 120 if (result < 0) in keyspan_pda_request_unthrottle() 122 __func__, result); in keyspan_pda_request_unthrottle() 197 "%s - usb_submit_urb failed with result %d\n", in keyspan_pda_rx_interrupt() 290 int result; in keyspan_pda_break_ctl() local 296 result = usb_control_msg(serial->dev, usb_sndctrlpipe(serial->dev, 0), in keyspan_pda_break_ctl() 300 if (result < 0) in keyspan_pda_break_ctl() 302 __func__, result); in keyspan_pda_break_ctl() 448 what is left. If our write will result i in keyspan_pda_write() [all...] |
/kernel/linux/linux-5.10/drivers/usb/storage/ |
H A D | scsiglue.c | 351 * INQUIRY result as reserved and requires devices to set them in target_alloc() 381 srb->result = DID_NO_CONNECT << 16; in queuecommand_lck() 390 srb->result = SAM_STAT_CHECK_CONDITION; in queuecommand_lck() 466 int result; in device_reset() local 475 result = us->transport_reset(us); in device_reset() 478 return result < 0 ? FAILED : SUCCESS; in device_reset() 485 int result; in bus_reset() local 489 result = usb_stor_port_reset(us); in bus_reset() 490 return result < 0 ? FAILED : SUCCESS; in bus_reset()
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | ohci-da8xx.c | 232 int result; in ohci_da8xx_reset() local 237 result = ohci_da8xx_enable(hcd); in ohci_da8xx_reset() 238 if (result < 0) in ohci_da8xx_reset() 239 return result; in ohci_da8xx_reset() 247 result = ohci_setup(hcd); in ohci_da8xx_reset() 248 if (result < 0) { in ohci_da8xx_reset() 250 return result; in ohci_da8xx_reset() 274 return result; in ohci_da8xx_reset()
|
/kernel/linux/linux-5.10/include/scsi/ |
H A D | scsi_transport_fc.h | 715 * Returns a scsi result code that can be returned by the LLDD. 722 int result; in fc_remote_port_chkready() local 727 result = 0; in fc_remote_port_chkready() 729 result = DID_IMM_RETRY << 16; in fc_remote_port_chkready() 731 result = DID_NO_CONNECT << 16; in fc_remote_port_chkready() 735 result = DID_TRANSPORT_FAILFAST << 16; in fc_remote_port_chkready() 737 result = DID_IMM_RETRY << 16; in fc_remote_port_chkready() 740 result = DID_NO_CONNECT << 16; in fc_remote_port_chkready() 743 return result; in fc_remote_port_chkready()
|
/kernel/linux/linux-5.10/kernel/ |
H A D | pid.c | 398 struct task_struct *result = NULL; in pid_task() local 404 result = hlist_entry(first, struct task_struct, pid_links[(type)]); in pid_task() 406 return result; in pid_task() 450 struct task_struct *result; in get_pid_task() local 452 result = pid_task(pid, type); in get_pid_task() 453 if (result) in get_pid_task() 454 get_task_struct(result); in get_pid_task() 456 return result; in get_pid_task()
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | fib_rules.c | 84 .result = res, in __fib_lookup() 136 (struct fib_result *)arg->result, in fib4_rule_action() 147 struct fib_result *result = (struct fib_result *) arg->result; in fib4_rule_suppress() local 150 if (result->fi) { in fib4_rule_suppress() 151 struct fib_nh_common *nhc = fib_info_nhc(result->fi, 0); in fib4_rule_suppress() 156 /* do not accept result if the route does in fib4_rule_suppress() 159 if (result->prefixlen <= rule->suppress_prefixlen) in fib4_rule_suppress() 162 /* do not accept result if the route uses a device in fib4_rule_suppress() 172 fib_info_put(result in fib4_rule_suppress() [all...] |
/kernel/linux/linux-5.10/drivers/memory/ |
H A D | ti-aemif.c | 142 int result; in aemif_calc_rate() local 144 result = DIV_ROUND_UP((wanted * clk), NSEC_PER_MSEC) - 1; in aemif_calc_rate() 146 dev_dbg(&pdev->dev, "%s: result %d from %ld, %d\n", __func__, result, in aemif_calc_rate() 150 if (result < 0) in aemif_calc_rate() 151 result = 0; in aemif_calc_rate() 154 else if (result > max) in aemif_calc_rate() 155 result = -EINVAL; in aemif_calc_rate() 157 return result; in aemif_calc_rate()
|
/kernel/linux/linux-6.6/drivers/memory/ |
H A D | ti-aemif.c | 142 int result; in aemif_calc_rate() local 144 result = DIV_ROUND_UP((wanted * clk), NSEC_PER_MSEC) - 1; in aemif_calc_rate() 146 dev_dbg(&pdev->dev, "%s: result %d from %ld, %d\n", __func__, result, in aemif_calc_rate() 150 if (result < 0) in aemif_calc_rate() 151 result = 0; in aemif_calc_rate() 154 else if (result > max) in aemif_calc_rate() 155 result = -EINVAL; in aemif_calc_rate() 157 return result; in aemif_calc_rate()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
H A D | ice_arfs.c | 114 int result; in ice_arfs_del_flow_rules() local 116 result = ice_fdir_write_fltr(vsi->back, &e->fltr_info, false, in ice_arfs_del_flow_rules() 118 if (!result) in ice_arfs_del_flow_rules() 122 result, e->fltr_state, e->fltr_info.fltr_id, in ice_arfs_del_flow_rules() 151 int result; in ice_arfs_add_flow_rules() local 153 result = ice_fdir_write_fltr(vsi->back, in ice_arfs_add_flow_rules() 156 if (!result) in ice_arfs_add_flow_rules() 161 result, ep->arfs_entry->fltr_state, in ice_arfs_add_flow_rules()
|
/kernel/linux/linux-6.6/drivers/scsi/aic7xxx/ |
H A D | aic79xx_osm.h | 502 cmd->result &= ~(CAM_STATUS_MASK << 16); in ahd_cmd_set_transaction_status() 503 cmd->result |= status << 16; in ahd_cmd_set_transaction_status() 515 cmd->result &= ~0xFFFF; in ahd_cmd_set_scsi_status() 516 cmd->result |= status; in ahd_cmd_set_scsi_status() 528 return ((cmd->result >> 16) & CAM_STATUS_MASK); in ahd_cmd_get_transaction_status() 540 return (cmd->result & 0xFFFF); in ahd_cmd_get_scsi_status() 632 if ((scb->io_ctx->result & (CAM_DEV_QFRZN << 16)) == 0) { in ahd_freeze_scb() 633 scb->io_ctx->result |= CAM_DEV_QFRZN << 16; in ahd_freeze_scb()
|
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | ohci-da8xx.c | 233 int result; in ohci_da8xx_reset() local 238 result = ohci_da8xx_enable(hcd); in ohci_da8xx_reset() 239 if (result < 0) in ohci_da8xx_reset() 240 return result; in ohci_da8xx_reset() 248 result = ohci_setup(hcd); in ohci_da8xx_reset() 249 if (result < 0) { in ohci_da8xx_reset() 251 return result; in ohci_da8xx_reset() 275 return result; in ohci_da8xx_reset()
|
/kernel/linux/linux-6.6/drivers/usb/storage/ |
H A D | scsiglue.c | 358 * INQUIRY result as reserved and requires devices to set them in target_alloc() 388 srb->result = DID_NO_CONNECT << 16; in queuecommand_lck() 397 srb->result = SAM_STAT_CHECK_CONDITION; in queuecommand_lck() 472 int result; in device_reset() local 481 result = us->transport_reset(us); in device_reset() 484 return result < 0 ? FAILED : SUCCESS; in device_reset() 491 int result; in bus_reset() local 495 result = usb_stor_port_reset(us); in bus_reset() 496 return result < 0 ? FAILED : SUCCESS; in bus_reset()
|
/kernel/linux/linux-6.6/drivers/cpufreq/ |
H A D | powernow-k7.c | 572 pr_warn("cpufreq scaling has been disabled as a result of this\n"); in acer_cpufreq_pst() 596 int result; in powernow_cpu_init() local 614 result = powernow_acpi_init(); in powernow_cpu_init() 616 result = powernow_decode_bios(fidvidstatus.bits.MFID, in powernow_cpu_init() 618 if (result) { in powernow_cpu_init() 623 result = powernow_acpi_init(); in powernow_cpu_init() 624 if (result) { in powernow_cpu_init() 634 if (result) in powernow_cpu_init() 635 return result; in powernow_cpu_init()
|
H A D | s5pv210-cpufreq.c | 595 int id, result = 0; in s5pv210_cpufreq_probe() local 612 result = dev_err_probe(dev, PTR_ERR(int_regulator), in s5pv210_cpufreq_probe() 620 result = -ENODEV; in s5pv210_cpufreq_probe() 628 result = -EFAULT; in s5pv210_cpufreq_probe() 637 result = id; in s5pv210_cpufreq_probe() 645 result = -EFAULT; in s5pv210_cpufreq_probe() 653 result = -ENODEV; in s5pv210_cpufreq_probe() 678 return result; in s5pv210_cpufreq_probe()
|
/kernel/linux/linux-6.6/kernel/ |
H A D | pid.c | 401 struct task_struct *result = NULL; in pid_task() local 407 result = hlist_entry(first, struct task_struct, pid_links[(type)]); in pid_task() 409 return result; in pid_task() 453 struct task_struct *result; in get_pid_task() local 455 result = pid_task(pid, type); in get_pid_task() 456 if (result) in get_pid_task() 457 get_task_struct(result); in get_pid_task() 459 return result; in get_pid_task()
|
/kernel/linux/linux-6.6/drivers/crypto/ |
H A D | padlock-sha.c | 80 char *result = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in padlock_sha1_finup() local 112 memcpy(result, &state.state, SHA1_DIGEST_SIZE); in padlock_sha1_finup() 118 "S"(in), "D"(result)); in padlock_sha1_finup() 120 padlock_output_block((uint32_t *)result, (uint32_t *)out, 5); in padlock_sha1_finup() 141 char *result = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in padlock_sha256_finup() local 173 memcpy(result, &state.state, SHA256_DIGEST_SIZE); in padlock_sha256_finup() 179 "S"(in), "D"(result)); in padlock_sha256_finup() 181 padlock_output_block((uint32_t *)result, (uint32_t *)out, 8); in padlock_sha256_finup()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_xsk.c | 101 int err, result = IXGBE_XDP_PASS; in ixgbe_run_xdp_zc() local 115 result = IXGBE_XDP_EXIT; in ixgbe_run_xdp_zc() 117 result = IXGBE_XDP_CONSUMED; in ixgbe_run_xdp_zc() 131 result = ixgbe_xmit_xdp_ring(ring, xdpf); in ixgbe_run_xdp_zc() 134 if (result == IXGBE_XDP_CONSUMED) in ixgbe_run_xdp_zc() 138 result = IXGBE_XDP_CONSUMED; in ixgbe_run_xdp_zc() 144 result = IXGBE_XDP_CONSUMED; in ixgbe_run_xdp_zc() 148 return result; in ixgbe_run_xdp_zc()
|
/kernel/linux/linux-6.6/drivers/net/wan/ |
H A D | c101.c | 177 int result; in c101_open() local 179 result = hdlc_open(dev); in c101_open() 180 if (result) in c101_open() 181 return result; in c101_open() 304 int result; in c101_run() local 371 result = register_hdlc_device(dev); in c101_run() 372 if (result) { in c101_run() 375 return result; in c101_run()
|
/kernel/linux/linux-6.6/drivers/net/ |
H A D | mdio.c | 150 u32 result = 0; in mdio45_get_an() local 155 result |= ADVERTISED_10baseT_Half; in mdio45_get_an() 157 result |= ADVERTISED_10baseT_Full; in mdio45_get_an() 159 result |= ADVERTISED_100baseT_Half; in mdio45_get_an() 161 result |= ADVERTISED_100baseT_Full; in mdio45_get_an() 163 result |= ADVERTISED_Pause; in mdio45_get_an() 165 result |= ADVERTISED_Asym_Pause; in mdio45_get_an() 166 return result; in mdio45_get_an()
|
/kernel/linux/linux-6.6/drivers/media/pci/bt8xx/ |
H A D | bt878.c | 400 int result = 0; in bt878_probe() local 430 result = -EBUSY; in bt878_probe() 453 result = request_irq(bt->irq, bt878_irq, in bt878_probe() 455 if (result == -EINVAL) { in bt878_probe() 460 if (result == -EBUSY) { in bt878_probe() 466 if (result < 0) in bt878_probe() 472 if ((result = bt878_mem_alloc(bt))) { in bt878_probe() 493 return result; in bt878_probe()
|
/kernel/linux/linux-6.6/drivers/parisc/ |
H A D | eisa_enumerator.c | 90 int result; in configure_memory() local 97 result = request_resource(mem_parent, res); in configure_memory() 98 if (result < 0) { in configure_memory() 100 return result; in configure_memory() 174 int result; in configure_port() local 187 result = request_resource(io_parent, res); in configure_port() 188 if (result < 0) { in configure_port() 190 return result; in configure_port()
|
/kernel/linux/linux-6.6/block/ |
H A D | bsg-lib.c | 101 hdr->device_status = job->result & 0xff; in bsg_transport_sg_io_fn() 102 hdr->transport_status = host_byte(job->result); in bsg_transport_sg_io_fn() 109 if (job->result < 0) { in bsg_transport_sg_io_fn() 110 /* we're only returning the result field in the reply */ in bsg_transport_sg_io_fn() 112 ret = job->result; in bsg_transport_sg_io_fn() 184 * @result: job reply result 189 void bsg_job_done(struct bsg_job *job, int result, in bsg_job_done() argument 194 job->result = result; in bsg_job_done() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | vega10_thermal.c | 95 int result = 0; in vega10_fan_ctrl_get_fan_speed_rpm() local 101 result = vega10_get_current_rpm(hwmgr, speed); in vega10_fan_ctrl_get_fan_speed_rpm() 116 return result; in vega10_fan_ctrl_get_fan_speed_rpm() 307 int result = 0; in vega10_fan_ctrl_set_fan_speed_rpm() local 316 result = vega10_fan_ctrl_stop_smc_fan_control(hwmgr); in vega10_fan_ctrl_set_fan_speed_rpm() 318 if (!result) { in vega10_fan_ctrl_set_fan_speed_rpm() 493 int result = vega10_thermal_disable_alert(hwmgr); in vega10_thermal_stop_thermal_controller() local 498 return result; in vega10_thermal_stop_thermal_controller() 504 * Return: result from set temperature range routine 603 * Return: result fro [all...] |
/kernel/linux/linux-6.6/drivers/i2c/busses/ |
H A D | scx200_acb.c | 71 int result; member 121 iface->result = -ENXIO; in scx200_acb_machine() 180 iface->result = 0; in scx200_acb_machine() 192 iface->result = 0; in scx200_acb_machine() 213 iface->result = -EIO; in scx200_acb_machine() 243 iface->result = -EIO; in scx200_acb_poll() 327 iface->result = -EINVAL; in scx200_acb_smbus_xfer() 343 rc = iface->result; in scx200_acb_smbus_xfer() 351 dev_dbg(&adapter->dev, "transfer done, result: %d", rc); in scx200_acb_smbus_xfer()
|