Lines Matching defs:disc
146 memset(port->disc.fanout_sas_addr, 0, SAS_ADDR_SIZE);
147 memset(port->disc.eeds_a, 0, SAS_ADDR_SIZE);
148 memset(port->disc.eeds_b, 0, SAS_ADDR_SIZE);
149 port->disc.max_level = 0;
277 sas_begin_event(DISCE_DISCOVER_DOMAIN, &port->disc.disc_event_lock,
278 &port->disc.pending);
337 sas_begin_event(DISCE_REVALIDATE_DOMAIN, &port->disc.disc_event_lock,
338 &port->disc.pending);
353 struct sas_discovery *disc;
357 disc = &port->disc;
361 sas_queue_event(ev, &disc->disc_event_lock, &disc->pending,
362 &disc->disc_work[ev].work, port->ha);
373 void sas_init_disc(struct sas_discovery *disc, struct asd_sas_port *port)
382 spin_lock_init(&disc->disc_event_lock);
383 disc->pending = 0;
385 INIT_WORK(&disc->disc_work[i].work, sas_event_fns[i]);
386 disc->disc_work[i].port = port;