scs 261 drivers/clk/qcom/common.c scd->scs = desc->gdscs; scs 362 drivers/clk/qcom/gdsc.c struct gdsc **scs = desc->scs; scs 376 drivers/clk/qcom/gdsc.c if (!scs[i]) scs 378 drivers/clk/qcom/gdsc.c scs[i]->regmap = regmap; scs 379 drivers/clk/qcom/gdsc.c scs[i]->rcdev = rcdev; scs 380 drivers/clk/qcom/gdsc.c ret = gdsc_init(scs[i]); scs 383 drivers/clk/qcom/gdsc.c data->domains[i] = &scs[i]->pd; scs 388 drivers/clk/qcom/gdsc.c if (!scs[i]) scs 390 drivers/clk/qcom/gdsc.c if (scs[i]->parent) scs 391 drivers/clk/qcom/gdsc.c pm_genpd_add_subdomain(scs[i]->parent, &scs[i]->pd); scs 401 drivers/clk/qcom/gdsc.c struct gdsc **scs = desc->scs; scs 406 drivers/clk/qcom/gdsc.c if (!scs[i]) scs 408 drivers/clk/qcom/gdsc.c if (scs[i]->parent) scs 409 drivers/clk/qcom/gdsc.c pm_genpd_remove_subdomain(scs[i]->parent, &scs[i]->pd); scs 59 drivers/clk/qcom/gdsc.h struct gdsc **scs; scs 473 drivers/infiniband/hw/hfi1/pio.c struct sc_config_sizes *scs = &dd->sc_sizes[i]; scs 475 drivers/infiniband/hw/hfi1/pio.c for (j = 0; j < scs->count; j++) { scs 480 drivers/infiniband/hw/hfi1/pio.c sci->credits = scs->size; scs 483 drivers/infiniband/hw/hfi1/pio.c base += scs->size; scs 1275 drivers/net/wireless/intel/iwlwifi/mvm/d3.c static void iwl_mvm_set_aes_rx_seq(struct iwl_mvm *mvm, struct aes_sc *scs, scs 1298 drivers/net/wireless/intel/iwlwifi/mvm/d3.c iwl_mvm_aes_sc_to_seq(&scs[tid], &seq); scs 1308 drivers/net/wireless/intel/iwlwifi/mvm/d3.c iwl_mvm_aes_sc_to_seq(&scs[tid], &seq); scs 1314 drivers/net/wireless/intel/iwlwifi/mvm/d3.c static void iwl_mvm_set_tkip_rx_seq(struct tkip_sc *scs, scs 1324 drivers/net/wireless/intel/iwlwifi/mvm/d3.c iwl_mvm_tkip_sc_to_seq(&scs[tid], &seq); scs 383 drivers/staging/isdn/gigaset/ser-gigaset.c struct ser_cardstate *scs; scs 385 drivers/staging/isdn/gigaset/ser-gigaset.c scs = kzalloc(sizeof(struct ser_cardstate), GFP_KERNEL); scs 386 drivers/staging/isdn/gigaset/ser-gigaset.c if (!scs) { scs 390 drivers/staging/isdn/gigaset/ser-gigaset.c cs->hw.ser = scs; scs 54 sound/firewire/oxfw/oxfw-scs1x.c static void midi_input_byte(struct fw_scs1x *scs, scs 59 sound/firewire/oxfw/oxfw-scs1x.c if (scs->input_escape_count > 0) { scs 61 sound/firewire/oxfw/oxfw-scs1x.c scs->input_escape_count--; scs 62 sound/firewire/oxfw/oxfw-scs1x.c if (scs->input_escape_count == 0) scs 69 sound/firewire/oxfw/oxfw-scs1x.c scs->input_escape_count = 3; scs 75 sound/firewire/oxfw/oxfw-scs1x.c static void midi_input_packet(struct fw_scs1x *scs, scs 84 sound/firewire/oxfw/oxfw-scs1x.c midi_input_byte(scs, stream, data[i]); scs 99 sound/firewire/oxfw/oxfw-scs1x.c struct fw_scs1x *scs = callback_data; scs 103 sound/firewire/oxfw/oxfw-scs1x.c if (offset != scs->hss_handler.offset) { scs 114 sound/firewire/oxfw/oxfw-scs1x.c stream = READ_ONCE(scs->input); scs 116 sound/firewire/oxfw/oxfw-scs1x.c midi_input_packet(scs, stream, data, length); scs 127 sound/firewire/oxfw/oxfw-scs1x.c struct fw_scs1x *scs = callback_data; scs 132 sound/firewire/oxfw/oxfw-scs1x.c scs->transaction_bytes = 0; scs 134 sound/firewire/oxfw/oxfw-scs1x.c scs->error = true; scs 137 sound/firewire/oxfw/oxfw-scs1x.c scs->transaction_running = false; scs 138 sound/firewire/oxfw/oxfw-scs1x.c schedule_work(&scs->work); scs 176 sound/firewire/oxfw/oxfw-scs1x.c struct fw_scs1x *scs = container_of(work, struct fw_scs1x, work); scs 182 sound/firewire/oxfw/oxfw-scs1x.c if (scs->transaction_running) scs 185 sound/firewire/oxfw/oxfw-scs1x.c stream = READ_ONCE(scs->output); scs 186 sound/firewire/oxfw/oxfw-scs1x.c if (!stream || scs->error) { scs 187 sound/firewire/oxfw/oxfw-scs1x.c scs->output_idle = true; scs 188 sound/firewire/oxfw/oxfw-scs1x.c wake_up(&scs->idle_wait); scs 192 sound/firewire/oxfw/oxfw-scs1x.c if (scs->transaction_bytes > 0) scs 195 sound/firewire/oxfw/oxfw-scs1x.c i = scs->output_bytes; scs 198 sound/firewire/oxfw/oxfw-scs1x.c scs->output_bytes = i; scs 199 sound/firewire/oxfw/oxfw-scs1x.c scs->output_idle = true; scs 200 sound/firewire/oxfw/oxfw-scs1x.c wake_up(&scs->idle_wait); scs 207 sound/firewire/oxfw/oxfw-scs1x.c if (scs->output_escaped && byte < 0x80) { scs 208 sound/firewire/oxfw/oxfw-scs1x.c if (scs->output_escape_high_nibble) { scs 210 sound/firewire/oxfw/oxfw-scs1x.c scs->buffer[i] = byte << 4; scs 211 sound/firewire/oxfw/oxfw-scs1x.c scs->output_escape_high_nibble = false; scs 214 sound/firewire/oxfw/oxfw-scs1x.c scs->buffer[i++] |= byte & 0x0f; scs 215 sound/firewire/oxfw/oxfw-scs1x.c scs->output_escape_high_nibble = true; scs 220 sound/firewire/oxfw/oxfw-scs1x.c scs->output_status)) scs 222 sound/firewire/oxfw/oxfw-scs1x.c scs->buffer[0] = HSS1394_TAG_USER_DATA; scs 223 sound/firewire/oxfw/oxfw-scs1x.c scs->buffer[i++] = scs->output_status; scs 225 sound/firewire/oxfw/oxfw-scs1x.c scs->buffer[i++] = byte; scs 226 sound/firewire/oxfw/oxfw-scs1x.c if ((i == 3 && is_two_bytes_cmd(scs->output_status)) || scs 227 sound/firewire/oxfw/oxfw-scs1x.c (i == 4 && is_three_bytes_cmd(scs->output_status))) scs 230 sound/firewire/oxfw/oxfw-scs1x.c !memcmp(scs->buffer + 1, sysex_escape_prefix, scs 232 sound/firewire/oxfw/oxfw-scs1x.c scs->output_escaped = true; scs 233 sound/firewire/oxfw/oxfw-scs1x.c scs->output_escape_high_nibble = true; scs 239 sound/firewire/oxfw/oxfw-scs1x.c if (scs->output_escaped) { scs 240 sound/firewire/oxfw/oxfw-scs1x.c if (i >= 1 && scs->output_escape_high_nibble && scs 241 sound/firewire/oxfw/oxfw-scs1x.c scs->buffer[0] != scs 245 sound/firewire/oxfw/oxfw-scs1x.c if (i > 1 && scs->output_status == 0xf0) { scs 246 sound/firewire/oxfw/oxfw-scs1x.c scs->buffer[i++] = 0xf7; scs 251 sound/firewire/oxfw/oxfw-scs1x.c scs->output_escaped = false; scs 254 sound/firewire/oxfw/oxfw-scs1x.c scs->buffer[0] = HSS1394_TAG_USER_DATA; scs 255 sound/firewire/oxfw/oxfw-scs1x.c scs->buffer[i++] = byte; scs 256 sound/firewire/oxfw/oxfw-scs1x.c scs->output_status = byte; scs 257 sound/firewire/oxfw/oxfw-scs1x.c scs->output_escaped = false; scs 262 sound/firewire/oxfw/oxfw-scs1x.c scs->output_bytes = 1; scs 263 sound/firewire/oxfw/oxfw-scs1x.c scs->output_escaped = false; scs 265 sound/firewire/oxfw/oxfw-scs1x.c scs->transaction_bytes = i; scs 267 sound/firewire/oxfw/oxfw-scs1x.c scs->transaction_running = true; scs 268 sound/firewire/oxfw/oxfw-scs1x.c generation = scs->fw_dev->generation; scs 270 sound/firewire/oxfw/oxfw-scs1x.c fw_send_request(scs->fw_dev->card, &scs->transaction, scs 271 sound/firewire/oxfw/oxfw-scs1x.c TCODE_WRITE_BLOCK_REQUEST, scs->fw_dev->node_id, scs 272 sound/firewire/oxfw/oxfw-scs1x.c generation, scs->fw_dev->max_speed, HSS1394_ADDRESS, scs 273 sound/firewire/oxfw/oxfw-scs1x.c scs->buffer, scs->transaction_bytes, scs 274 sound/firewire/oxfw/oxfw-scs1x.c scs_write_callback, scs); scs 289 sound/firewire/oxfw/oxfw-scs1x.c struct fw_scs1x *scs = stream->rmidi->private_data; scs 292 sound/firewire/oxfw/oxfw-scs1x.c scs->input_escape_count = 0; scs 293 sound/firewire/oxfw/oxfw-scs1x.c WRITE_ONCE(scs->input, stream); scs 295 sound/firewire/oxfw/oxfw-scs1x.c WRITE_ONCE(scs->input, NULL); scs 311 sound/firewire/oxfw/oxfw-scs1x.c struct fw_scs1x *scs = stream->rmidi->private_data; scs 314 sound/firewire/oxfw/oxfw-scs1x.c scs->output_status = 0; scs 315 sound/firewire/oxfw/oxfw-scs1x.c scs->output_bytes = 1; scs 316 sound/firewire/oxfw/oxfw-scs1x.c scs->output_escaped = false; scs 317 sound/firewire/oxfw/oxfw-scs1x.c scs->output_idle = false; scs 318 sound/firewire/oxfw/oxfw-scs1x.c scs->transaction_bytes = 0; scs 319 sound/firewire/oxfw/oxfw-scs1x.c scs->error = false; scs 321 sound/firewire/oxfw/oxfw-scs1x.c WRITE_ONCE(scs->output, stream); scs 322 sound/firewire/oxfw/oxfw-scs1x.c schedule_work(&scs->work); scs 324 sound/firewire/oxfw/oxfw-scs1x.c WRITE_ONCE(scs->output, NULL); scs 329 sound/firewire/oxfw/oxfw-scs1x.c struct fw_scs1x *scs = stream->rmidi->private_data; scs 331 sound/firewire/oxfw/oxfw-scs1x.c wait_event(scs->idle_wait, scs->output_idle); scs 336 sound/firewire/oxfw/oxfw-scs1x.c struct fw_scs1x *scs = oxfw->spec; scs 340 sound/firewire/oxfw/oxfw-scs1x.c scs->hss_handler.offset); scs 347 sound/firewire/oxfw/oxfw-scs1x.c struct fw_scs1x *scs = rmidi->private_data; scs 349 sound/firewire/oxfw/oxfw-scs1x.c fw_core_remove_address_handler(&scs->hss_handler); scs 371 sound/firewire/oxfw/oxfw-scs1x.c struct fw_scs1x *scs; scs 374 sound/firewire/oxfw/oxfw-scs1x.c scs = devm_kzalloc(&oxfw->card->card_dev, sizeof(struct fw_scs1x), scs 376 sound/firewire/oxfw/oxfw-scs1x.c if (!scs) scs 378 sound/firewire/oxfw/oxfw-scs1x.c scs->fw_dev = fw_parent_device(oxfw->unit); scs 379 sound/firewire/oxfw/oxfw-scs1x.c oxfw->spec = scs; scs 382 sound/firewire/oxfw/oxfw-scs1x.c scs->hss_handler.length = HSS1394_MAX_PACKET_SIZE; scs 383 sound/firewire/oxfw/oxfw-scs1x.c scs->hss_handler.address_callback = handle_hss; scs 384 sound/firewire/oxfw/oxfw-scs1x.c scs->hss_handler.callback_data = scs; scs 385 sound/firewire/oxfw/oxfw-scs1x.c err = fw_core_add_address_handler(&scs->hss_handler, scs 398 sound/firewire/oxfw/oxfw-scs1x.c rmidi->private_data = scs; scs 412 sound/firewire/oxfw/oxfw-scs1x.c INIT_WORK(&scs->work, scs_output_work); scs 413 sound/firewire/oxfw/oxfw-scs1x.c init_waitqueue_head(&scs->idle_wait); scs 414 sound/firewire/oxfw/oxfw-scs1x.c scs->output_idle = true; scs 418 sound/firewire/oxfw/oxfw-scs1x.c fw_core_remove_address_handler(&scs->hss_handler);