/drivers/base/ |
H A D | attribute_container.c | 29 struct attribute_container *cont; member in struct:internal_container 60 return ic->cont; 71 * @cont: The container to register. This must be allocated by the 75 attribute_container_register(struct attribute_container *cont) argument 77 INIT_LIST_HEAD(&cont->node); 78 klist_init(&cont->containers,internal_container_klist_get, 82 list_add_tail(&cont->node, &attribute_container_list); 92 * @cont: previously registered container to remove 95 attribute_container_unregister(struct attribute_container *cont) argument 99 spin_lock(&cont 147 struct attribute_container *cont; local 212 struct attribute_container *cont; local 256 struct attribute_container *cont; local 296 struct attribute_container *cont; local 317 struct attribute_container *cont = local 365 attribute_container_add_class_device_adapter(struct attribute_container *cont, struct device *dev, struct device *classdev) argument 381 struct attribute_container *cont = local 423 attribute_container_find_class_device(struct attribute_container *cont, struct device *dev) argument [all...] |
H A D | transport_class.c | 117 static int transport_setup_classdev(struct attribute_container *cont, argument 121 struct transport_class *tclass = class_to_transport_class(cont->class); 122 struct transport_container *tcont = attribute_container_to_transport_container(cont); 151 static int transport_add_class_device(struct attribute_container *cont, argument 157 attribute_container_to_transport_container(cont); 183 static int transport_configure(struct attribute_container *cont, argument 187 struct transport_class *tclass = class_to_transport_class(cont->class); 188 struct transport_container *tcont = attribute_container_to_transport_container(cont); 214 static int transport_remove_classdev(struct attribute_container *cont, argument 219 attribute_container_to_transport_container(cont); 253 transport_destroy_classdev(struct attribute_container *cont, struct device *dev, struct device *classdev) argument [all...] |
H A D | firmware_class.c | 630 void (*cont)(const struct firmware *fw, void *context); member in struct:firmware_work 663 fw_work->cont(fw, fw_work->context); 677 * @context: will be passed over to @cont, and 679 * @cont: function will be called asynchronously when the firmware 690 void (*cont)(const struct firmware *fw, void *context)) 702 fw_work->cont = cont;
|
/drivers/block/paride/ |
H A D | bpck6.c | 59 static int bpck6_read_regr(PIA *pi, int cont, int reg) argument 64 if (reg<0 || reg>7 || cont<0 || cont>2) 68 out=ppc6_rd_port(PPCSTRUCT(pi),cont?reg|8:reg); 72 static void bpck6_write_regr(PIA *pi, int cont, int reg, int val) argument 75 if (reg>=0 && reg<=7 && cont>=0 && cont<=1) 77 ppc6_wr_port(PPCSTRUCT(pi),cont?reg|8:reg,(u8)val);
|
H A D | paride.c | 44 void pi_write_regr(PIA * pi, int cont, int regr, int val) argument 46 pi->proto->write_regr(pi, cont, regr, val); 51 int pi_read_regr(PIA * pi, int cont, int regr) argument 53 return pi->proto->read_regr(pi, cont, regr); 76 void (*cont) (void) = NULL; 81 cont = pi->claim_cont; 90 if (cont) 91 cont(); 94 int pi_schedule_claimed(PIA * pi, void (*cont) (void)) 100 pi->claim_cont = cont; [all...] |
H A D | aten.c | 32 /* cont = 0 - access the IDE register file 33 cont = 1 - access the IDE command set 38 static void aten_write_regr( PIA *pi, int cont, int regr, int val) argument 42 r = regr + cont_map[cont] + 0x80; 47 static int aten_read_regr( PIA *pi, int cont, int regr ) argument 51 r = regr + cont_map[cont] + 0x40;
|
H A D | fit2.c | 30 /* cont = 0 - access the IDE register file 31 cont = 1 - access the IDE command set 40 static void fit2_write_regr( PIA *pi, int cont, int regr, int val) argument 42 { if (cont == 1) return; 46 static int fit2_read_regr( PIA *pi, int cont, int regr ) argument 50 if (cont) {
|
H A D | ktti.c | 26 /* cont = 0 - access the IDE register file 27 cont = 1 - access the IDE command set 32 static void ktti_write_regr( PIA *pi, int cont, int regr, int val) argument 36 r = regr + cont_map[cont]; 42 static int ktti_read_regr( PIA *pi, int cont, int regr ) argument 46 r = regr + cont_map[cont];
|
H A D | on20.c | 32 /* cont = 0 - access the IDE register file 33 cont = 1 - access the IDE command set 36 static int on20_read_regr( PIA *pi, int cont, int regr ) argument 40 r = (regr<<2) + 1 + cont; 59 static void on20_write_regr( PIA *pi, int cont, int regr, int val ) argument 63 r = (regr<<2) + 1 + cont;
|
H A D | paride.h | 76 /* registers are addressed as (cont,regr) 78 cont: 0 for command register file, 1 for control register(s) 83 extern void pi_write_regr(PIA *pi, int cont, int regr, int val); 85 extern int pi_read_regr(PIA *pi, int cont, int regr); 95 extern void pi_do_claimed(PIA *pi, void (*cont)(void)); 96 extern int pi_schedule_claimed(PIA *pi, void (*cont)(void));
|
H A D | comm.c | 39 /* cont = 0 - access the IDE register file 40 cont = 1 - access the IDE command set 45 static int comm_read_regr( PIA *pi, int cont, int regr ) argument 49 r = regr + cont_map[cont]; 71 static void comm_write_regr( PIA *pi, int cont, int regr, int val ) argument 75 r = regr + cont_map[cont];
|
H A D | dstr.c | 41 /* cont = 0 - access the IDE register file 42 cont = 1 - access the IDE command set 47 static int dstr_read_regr( PIA *pi, int cont, int regr ) argument 51 r = regr + cont_map[cont]; 74 static void dstr_write_regr( PIA *pi, int cont, int regr, int val ) argument 78 r = regr + cont_map[cont];
|
H A D | fit3.c | 37 /* cont = 0 - access the IDE register file 38 cont = 1 - access the IDE command set 42 static void fit3_write_regr( PIA *pi, int cont, int regr, int val) argument 44 { if (cont == 1) return; 62 static int fit3_read_regr( PIA *pi, int cont, int regr ) argument 66 if (cont) {
|
H A D | friq.c | 45 /* cont = 0 - access the IDE register file 46 cont = 1 - access the IDE command set 51 static int friq_read_regr( PIA *pi, int cont, int regr ) argument 55 r = regr + cont_map[cont]; 66 static void friq_write_regr( PIA *pi, int cont, int regr, int val) argument 70 r = regr + cont_map[cont];
|
H A D | epat.c | 40 /* cont = 0 IDE register file 41 cont = 1 IDE control registers 42 cont = 2 internal EPAT registers 47 static void epat_write_regr( PIA *pi, int cont, int regr, int val) argument 51 r = regr + cont_map[cont]; 68 static int epat_read_regr( PIA *pi, int cont, int regr ) argument 72 r = regr + cont_map[cont];
|
H A D | epia.c | 43 /* cont = 0 IDE register file 44 cont = 1 IDE control registers 49 static int epia_read_regr( PIA *pi, int cont, int regr ) argument 53 regr += cont_map[cont]; 82 static void epia_write_regr( PIA *pi, int cont, int regr, int val) argument 86 regr += cont_map[cont];
|
H A D | frpw.c | 41 /* cont = 0 - access the IDE register file 42 cont = 1 - access the IDE command set 47 static int frpw_read_regr( PIA *pi, int cont, int regr ) argument 51 r = regr + cont_map[cont]; 63 static void frpw_write_regr( PIA *pi, int cont, int regr, int val) argument 67 r = regr + cont_map[cont];
|
H A D | kbic.c | 39 /* cont = 0 - access the IDE register file 40 cont = 1 - access the IDE command set 45 static int kbic_read_regr( PIA *pi, int cont, int regr ) argument 49 s = cont_map[cont]; 75 static void kbic_write_regr( PIA *pi, int cont, int regr, int val) argument 79 s = cont_map[cont];
|
H A D | on26.c | 43 /* cont = 0 - access the IDE register file 44 cont = 1 - access the IDE command set 47 static int on26_read_regr( PIA *pi, int cont, int regr ) argument 51 r = (regr<<2) + 1 + cont; 76 static void on26_write_regr( PIA *pi, int cont, int regr, int val ) argument 80 r = (regr<<2) + 1 + cont;
|
H A D | bpck.c | 41 /* cont = 0 - access the IDE register file 42 cont = 1 - access the IDE command set 43 cont = 2 - use internal bpck register addressing 48 static int bpck_read_regr( PIA *pi, int cont, int regr ) argument 52 r = regr + cont_map[cont]; 79 static void bpck_write_regr( PIA *pi, int cont, int regr, int val ) argument 83 r = regr + cont_map[cont];
|
/drivers/scsi/ |
H A D | scsi_transport_srp.c | 151 static int srp_rport_match(struct attribute_container *cont, argument 167 return &i->rport_attr_cont.ac == cont; 170 static int srp_host_match(struct attribute_container *cont, struct device *dev) argument 185 return &i->t.host_attrs.ac == cont;
|
/drivers/block/ |
H A D | floppy.c | 548 } *cont; variable in typeref:struct:cont_t 895 cont = NULL; 997 cont->done(0); 1010 cont->interrupt(); 1044 cont->done(0); 1050 cont->done(0); 1061 cont->done(0); 1189 cont->done(0); 1410 cont->done(0); 1427 cont [all...] |
/drivers/ata/ |
H A D | libata-transport.c | 240 static int ata_tport_match(struct attribute_container *cont, argument 245 return &ata_scsi_transport_template->host_attrs.ac == cont; 363 static int ata_tlink_match(struct attribute_container *cont, argument 369 return &i->link_attr_cont.ac == cont; 580 static int ata_tdev_match(struct attribute_container *cont, argument 586 return &i->dev_attr_cont.ac == cont;
|
/drivers/net/can/ |
H A D | pch_can.c | 148 u32 cont; member in struct:pch_can_regs 220 pch_can_bit_clear(&priv->regs->cont, PCH_CTRL_INIT); 224 pch_can_bit_set(&priv->regs->cont, PCH_CTRL_INIT); 243 pch_can_bit_set(&priv->regs->cont, PCH_CTRL_OPT); 269 pch_can_bit_clear(&priv->regs->cont, PCH_CTRL_IE); 273 pch_can_bit_set(&priv->regs->cont, PCH_CTRL_IE_SIE_EIE); 277 pch_can_bit_clear(&priv->regs->cont, PCH_CTRL_IE_SIE_EIE); 793 pch_can_bit_set(&priv->regs->cont, PCH_CTRL_CCE); 802 pch_can_bit_clear(&priv->regs->cont, PCH_CTRL_CCE); 977 pch_can_bit_clear(&priv->regs->cont, PCH_CTRL_IE_SIE_EI [all...] |
/drivers/isdn/mISDN/ |
H A D | dsp_core.c | 286 int cont; local 292 cont = *((int *)skb->data); 296 switch (cont) { 582 /* set new cont */ 584 cont = DSP_BF_ACCEPT; 586 cont = DSP_BF_REJECT; 589 sizeof(int), &cont, GFP_ATOMIC); 618 __func__, cont);
|